resource          755 ext/ldap/ldap.c 		zval *entry, resource;
resource          842 ext/ldap/ldap.c 				ZVAL_RES(&resource, zend_register_resource(ldap_res, le_result));
resource          843 ext/ldap/ldap.c 				add_next_index_zval(return_value, &resource);
resource          578 ext/libxml/libxml.c 	const char			*resource	= NULL;
resource          639 ext/libxml/libxml.c 			resource = Z_STRVAL(retval);
resource          676 ext/libxml/libxml.c 		if (resource == NULL) {
resource          684 ext/libxml/libxml.c 			ret = xmlNewInputFromFile(context, resource);
resource          365 ext/oci8/php_oci8_int.h #define PHP_OCI_REGISTER_RESOURCE(resource, le_resource) \
resource          367 ext/oci8/php_oci8_int.h 		resource->id = zend_register_resource(resource, le_resource); \
resource          306 ext/phar/dirstream.c 	php_url *resource = NULL;
resource          315 ext/phar/dirstream.c 	if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) {
resource          321 ext/phar/dirstream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          322 ext/phar/dirstream.c 		if (resource->host && !resource->path) {
resource          323 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options, "phar error: no directory in \"%s\", must have at least phar://%s/ for root directory (always use full path to a new phar)", path, resource->host);
resource          324 ext/phar/dirstream.c 			php_url_free(resource);
resource          327 ext/phar/dirstream.c 		php_url_free(resource);
resource          332 ext/phar/dirstream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          333 ext/phar/dirstream.c 		php_url_free(resource);
resource          338 ext/phar/dirstream.c 	host_len = strlen(resource->host);
resource          340 ext/phar/dirstream.c 	internal_file = resource->path + 1; /* strip leading "/" */
resource          342 ext/phar/dirstream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
resource          347 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options, "phar file \"%s\" is unknown", resource->host);
resource          349 ext/phar/dirstream.c 		php_url_free(resource);
resource          361 ext/phar/dirstream.c 		php_url_free(resource);
resource          366 ext/phar/dirstream.c 		php_url_free(resource);
resource          371 ext/phar/dirstream.c 		php_url_free(resource);
resource          375 ext/phar/dirstream.c 			php_url_free(resource);
resource          379 ext/phar/dirstream.c 		php_url_free(resource);
resource          393 ext/phar/dirstream.c 					php_url_free(resource);
resource          404 ext/phar/dirstream.c 	php_url_free(resource);
resource          418 ext/phar/dirstream.c 	php_url *resource = NULL;
resource          439 ext/phar/dirstream.c 	if ((resource = phar_parse_url(wrapper, url_from, "w", options)) == NULL) {
resource          444 ext/phar/dirstream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          445 ext/phar/dirstream.c 		php_url_free(resource);
resource          450 ext/phar/dirstream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          451 ext/phar/dirstream.c 		php_url_free(resource);
resource          456 ext/phar/dirstream.c 	host_len = strlen(resource->host);
resource          458 ext/phar/dirstream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
resource          459 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", error retrieving phar information: %s", resource->path+1, resource->host, error);
resource          461 ext/phar/dirstream.c 		php_url_free(resource);
resource          465 ext/phar/dirstream.c 	if ((e = phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 2, &error, 1))) {
resource          471 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", directory already exists", resource->path+1, resource->host);
resource          472 ext/phar/dirstream.c 		php_url_free(resource);
resource          477 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", %s", resource->path+1, resource->host, error);
resource          479 ext/phar/dirstream.c 		php_url_free(resource);
resource          483 ext/phar/dirstream.c 	if (phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 0, &error, 1)) {
resource          485 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", file already exists", resource->path+1, resource->host);
resource          486 ext/phar/dirstream.c 		php_url_free(resource);
resource          491 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", %s", resource->path+1, resource->host, error);
resource          493 ext/phar/dirstream.c 		php_url_free(resource);
resource          504 ext/phar/dirstream.c 	entry.filename = estrdup(resource->path + 1);
resource          511 ext/phar/dirstream.c 	entry.filename_len = strlen(resource->path + 1);
resource          512 ext/phar/dirstream.c 	php_url_free(resource);
resource          550 ext/phar/dirstream.c 	php_url *resource = NULL;
resource          574 ext/phar/dirstream.c 	if ((resource = phar_parse_url(wrapper, url, "w", options)) == NULL) {
resource          579 ext/phar/dirstream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          580 ext/phar/dirstream.c 		php_url_free(resource);
resource          585 ext/phar/dirstream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          586 ext/phar/dirstream.c 		php_url_free(resource);
resource          591 ext/phar/dirstream.c 	host_len = strlen(resource->host);
resource          593 ext/phar/dirstream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
resource          594 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot remove directory \"%s\" in phar \"%s\", error retrieving phar information: %s", resource->path+1, resource->host, error);
resource          596 ext/phar/dirstream.c 		php_url_free(resource);
resource          600 ext/phar/dirstream.c 	path_len = strlen(resource->path+1);
resource          602 ext/phar/dirstream.c 	if (!(entry = phar_get_entry_info_dir(phar, resource->path + 1, path_len, 2, &error, 1))) {
resource          604 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options, "phar error: cannot remove directory \"%s\" in phar \"%s\", %s", resource->path+1, resource->host, error);
resource          607 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options, "phar error: cannot remove directory \"%s\" in phar \"%s\", directory does not exist", resource->path+1, resource->host);
resource          609 ext/phar/dirstream.c 		php_url_free(resource);
resource          619 ext/phar/dirstream.c 				memcmp(ZSTR_VAL(str_key), resource->path+1, path_len) == 0 &&
resource          626 ext/phar/dirstream.c 				php_url_free(resource);
resource          636 ext/phar/dirstream.c 				memcmp(ZSTR_VAL(str_key), resource->path+1, path_len) == 0 &&
resource          643 ext/phar/dirstream.c 				php_url_free(resource);
resource          650 ext/phar/dirstream.c 		zend_hash_str_del(&phar->virtual_dirs, resource->path+1, path_len);
resource          660 ext/phar/dirstream.c 			php_url_free(resource);
resource          666 ext/phar/dirstream.c 	php_url_free(resource);
resource         3794 ext/phar/phar_object.c 	php_stream *resource;
resource         3815 ext/phar/phar_object.c 	if (!(resource = php_stream_open_wrapper(fname, "rb", 0, NULL))) {
resource         3825 ext/phar/phar_object.c 	php_stream_to_zval(resource, &zresource);
resource           61 ext/phar/stream.c 	php_url *resource;
resource           85 ext/phar/stream.c 	resource = ecalloc(1, sizeof(php_url));
resource           86 ext/phar/stream.c 	resource->scheme = estrndup("phar", 4);
resource           87 ext/phar/stream.c 	resource->host = arch;
resource           89 ext/phar/stream.c 	resource->path = entry;
resource           91 ext/phar/stream.c 		if (resource) {
resource           93 ext/phar/stream.c 			fprintf(stderr, "Scheme:    %s\n", resource->scheme);
resource           96 ext/phar/stream.c 			fprintf(stderr, "Host:      %s\n", resource->host);
resource           98 ext/phar/stream.c 			fprintf(stderr, "Path:      %s\n", resource->path);
resource          113 ext/phar/stream.c 			php_url_free(resource);
resource          116 ext/phar/stream.c 		if (phar_open_or_create_filename(resource->host, arch_len, NULL, 0, 0, options, &phar, &error) == FAILURE)
resource          124 ext/phar/stream.c 			php_url_free(resource);
resource          129 ext/phar/stream.c 				spprintf(&error, 0, "Cannot open cached phar '%s' as writeable, copy on write failed", resource->host);
resource          135 ext/phar/stream.c 			php_url_free(resource);
resource          139 ext/phar/stream.c 		if (phar_open_from_filename(resource->host, arch_len, NULL, 0, options, NULL, &error) == FAILURE)
resource          147 ext/phar/stream.c 			php_url_free(resource);
resource          151 ext/phar/stream.c 	return resource;
resource          165 ext/phar/stream.c 	php_url *resource = NULL;
resource          170 ext/phar/stream.c 	if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) {
resource          175 ext/phar/stream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          176 ext/phar/stream.c 		php_url_free(resource);
resource          181 ext/phar/stream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          182 ext/phar/stream.c 		php_url_free(resource);
resource          187 ext/phar/stream.c 	host_len = strlen(resource->host);
resource          191 ext/phar/stream.c 	internal_file = estrdup(resource->path + 1);
resource          193 ext/phar/stream.c 		if (NULL == (idata = phar_get_or_create_entry_data(resource->host, host_len, internal_file, strlen(internal_file), mode, 0, &error, 1))) {
resource          198 ext/phar/stream.c 				php_stream_wrapper_log_error(wrapper, options, "phar error: file \"%s\" could not be created in phar \"%s\"", internal_file, resource->host);
resource          201 ext/phar/stream.c 			php_url_free(resource);
resource          208 ext/phar/stream.c 		php_url_free(resource);
resource          241 ext/phar/stream.c 			if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, NULL)) {
resource          242 ext/phar/stream.c 				php_stream_wrapper_log_error(wrapper, options, "file %s is not a valid phar archive", resource->host);
resource          244 ext/phar/stream.c 				php_url_free(resource);
resource          248 ext/phar/stream.c 				if ((FAILURE == phar_get_entry_data(&idata, resource->host, host_len, ".phar/stub.php", sizeof(".phar/stub.php")-1, "r", 0, &error, 0)) || !idata) {
resource          255 ext/phar/stream.c 				php_url_free(resource);
resource          277 ext/phar/stream.c 				php_url_free(resource);
resource          286 ext/phar/stream.c 		if ((FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, strlen(internal_file), "r", 0, &error, 0)) || !idata) {
resource          292 ext/phar/stream.c 				php_stream_wrapper_log_error(wrapper, options, "phar error: \"%s\" is not a file in phar \"%s\"", internal_file, resource->host);
resource          295 ext/phar/stream.c 			php_url_free(resource);
resource          299 ext/phar/stream.c 	php_url_free(resource);
resource          572 ext/phar/stream.c 	php_url *resource = NULL;
resource          579 ext/phar/stream.c 	if ((resource = phar_parse_url(wrapper, url, "r", flags|PHP_STREAM_URL_STAT_QUIET)) == NULL) {
resource          584 ext/phar/stream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          585 ext/phar/stream.c 		php_url_free(resource);
resource          589 ext/phar/stream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          590 ext/phar/stream.c 		php_url_free(resource);
resource          594 ext/phar/stream.c 	host_len = strlen(resource->host);
resource          597 ext/phar/stream.c 	internal_file = resource->path + 1; /* strip leading "/" */
resource          599 ext/phar/stream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
resource          600 ext/phar/stream.c 		php_url_free(resource);
resource          612 ext/phar/stream.c 		php_url_free(resource);
resource          616 ext/phar/stream.c 		php_url_free(resource);
resource          623 ext/phar/stream.c 		php_url_free(resource);
resource          628 ext/phar/stream.c 		php_url_free(resource);
resource          664 ext/phar/stream.c 				php_url_free(resource);
resource          670 ext/phar/stream.c 	php_url_free(resource);
resource          680 ext/phar/stream.c 	php_url *resource;
resource          687 ext/phar/stream.c 	if ((resource = phar_parse_url(wrapper, url, "rb", options)) == NULL) {
resource          693 ext/phar/stream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          694 ext/phar/stream.c 		php_url_free(resource);
resource          699 ext/phar/stream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          700 ext/phar/stream.c 		php_url_free(resource);
resource          705 ext/phar/stream.c 	host_len = strlen(resource->host);
resource          708 ext/phar/stream.c 	pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), resource->host, host_len);
resource          710 ext/phar/stream.c 		php_url_free(resource);
resource          716 ext/phar/stream.c 	internal_file = estrdup(resource->path + 1);
resource          718 ext/phar/stream.c 	if (FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, internal_file_len, "r", 0, &error, 1)) {
resource          727 ext/phar/stream.c 		php_url_free(resource);
resource          735 ext/phar/stream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: \"%s\" in phar \"%s\", has open file pointers, cannot unlink", internal_file, resource->host);
resource          737 ext/phar/stream.c 		php_url_free(resource);
resource          741 ext/phar/stream.c 	php_url_free(resource);
resource          204 ext/posix/posix.c 	ZEND_ARG_INFO(0, resource)
resource          138 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          144 ext/standard/ftp_fopen_wrapper.c 	resource = php_url_parse(path);
resource          145 ext/standard/ftp_fopen_wrapper.c 	if (resource == NULL || resource->path == NULL) {
resource          146 ext/standard/ftp_fopen_wrapper.c 		if (resource && presource) {
resource          147 ext/standard/ftp_fopen_wrapper.c 			*presource = resource;
resource          152 ext/standard/ftp_fopen_wrapper.c 	use_ssl = resource->scheme && (strlen(resource->scheme) > 3) && resource->scheme[3] == 's';
resource          155 ext/standard/ftp_fopen_wrapper.c 	if (resource->port == 0)
resource          156 ext/standard/ftp_fopen_wrapper.c 		resource->port = 21;
resource          158 ext/standard/ftp_fopen_wrapper.c 	transport_len = (int)spprintf(&transport, 0, "tcp://%s:%d", resource->host, resource->port);
resource          247 ext/standard/ftp_fopen_wrapper.c 	if (resource->user != NULL) {
resource          248 ext/standard/ftp_fopen_wrapper.c 		tmp_len = (int)php_raw_url_decode(resource->user, (int)strlen(resource->user));
resource          250 ext/standard/ftp_fopen_wrapper.c 		PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s")
resource          252 ext/standard/ftp_fopen_wrapper.c 		php_stream_printf(stream, "USER %s\r\n", resource->user);
resource          264 ext/standard/ftp_fopen_wrapper.c 		if (resource->pass != NULL) {
resource          265 ext/standard/ftp_fopen_wrapper.c 			tmp_len = (int)php_raw_url_decode(resource->pass, (int)strlen(resource->pass));
resource          267 ext/standard/ftp_fopen_wrapper.c 			PHP_FTP_CNTRL_CHK(resource->pass, tmp_len, "Invalid password %s")
resource          269 ext/standard/ftp_fopen_wrapper.c 			php_stream_printf(stream, "PASS %s\r\n", resource->pass);
resource          303 ext/standard/ftp_fopen_wrapper.c 		*presource = resource;
resource          309 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          310 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          418 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          466 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data);
resource          478 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "SIZE %s\r\n", resource->path);
resource          507 ext/standard/ftp_fopen_wrapper.c 				php_stream_printf(stream, "DELE %s\r\n", resource->path);
resource          551 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "%s %s\r\n", tmp_line, (resource->path != NULL ? resource->path : "/"));
resource          555 ext/standard/ftp_fopen_wrapper.c 		hoststart = resource->host;
resource          590 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          594 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          595 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          691 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          699 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data);
resource          717 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          721 ext/standard/ftp_fopen_wrapper.c 		hoststart = resource->host;
resource          750 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          760 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          761 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          779 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          786 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL);
resource          792 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "CWD %s\r\n", (resource->path != NULL ? resource->path : "/")); /* If we can CWD to it, it's a directory (maybe a link, but we can't tell) */
resource          808 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          823 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          883 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          887 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          888 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          902 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          906 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL);
resource          914 ext/standard/ftp_fopen_wrapper.c 	if (resource->path == NULL) {
resource          922 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          932 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          937 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          938 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource         1031 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource         1035 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL);
resource         1043 ext/standard/ftp_fopen_wrapper.c 	if (resource->path == NULL) {
resource         1051 ext/standard/ftp_fopen_wrapper.c 		php_stream_printf(stream, "MKD %s\r\n", resource->path);
resource         1057 ext/standard/ftp_fopen_wrapper.c         buf = estrdup(resource->path);
resource         1071 ext/standard/ftp_fopen_wrapper.c 			php_stream_printf(stream, "MKD %s\r\n", resource->path);
resource         1099 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource         1110 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource         1111 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource         1125 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource         1129 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL);
resource         1137 ext/standard/ftp_fopen_wrapper.c 	if (resource->path == NULL) {
resource         1144 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream, "RMD %s\r\n", resource->path);
resource         1154 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource         1160 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource         1161 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          117 ext/standard/http_fopen_wrapper.c 	php_url *resource = NULL;
resource          157 ext/standard/http_fopen_wrapper.c 	resource = php_url_parse(path);
resource          158 ext/standard/http_fopen_wrapper.c 	if (resource == NULL) {
resource          162 ext/standard/http_fopen_wrapper.c 	if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
resource          167 ext/standard/http_fopen_wrapper.c 			php_url_free(resource);
resource          182 ext/standard/http_fopen_wrapper.c 			php_url_free(resource);
resource          186 ext/standard/http_fopen_wrapper.c 		use_ssl = resource->scheme && (strlen(resource->scheme) > 4) && resource->scheme[4] == 's';
resource          188 ext/standard/http_fopen_wrapper.c 		if (use_ssl && resource->port == 0)
resource          189 ext/standard/http_fopen_wrapper.c 			resource->port = 443;
resource          190 ext/standard/http_fopen_wrapper.c 		else if (resource->port == 0)
resource          191 ext/standard/http_fopen_wrapper.c 			resource->port = 80;
resource          201 ext/standard/http_fopen_wrapper.c 			transport_len = spprintf(&transport_string, 0, "%s://%s:%d", use_ssl ? "ssl" : "tcp", resource->host, resource->port);
resource          244 ext/standard/http_fopen_wrapper.c 			ZVAL_STRING(&ssl_proxy_peer_name, resource->host);
resource          250 ext/standard/http_fopen_wrapper.c 		smart_str_appends(&header, resource->host);
resource          252 ext/standard/http_fopen_wrapper.c 		smart_str_append_unsigned(&header, resource->port);
resource          404 ext/standard/http_fopen_wrapper.c 		if (resource->path && *resource->path) {
resource          405 ext/standard/http_fopen_wrapper.c 			strlcat(scratch, resource->path, scratch_len);
resource          411 ext/standard/http_fopen_wrapper.c 		if (resource->query) {
resource          413 ext/standard/http_fopen_wrapper.c 			strlcat(scratch, resource->query, scratch_len);
resource          539 ext/standard/http_fopen_wrapper.c 	if (((have_header & HTTP_HEADER_AUTH) == 0) && resource->user) {
resource          542 ext/standard/http_fopen_wrapper.c 		php_url_decode(resource->user, strlen(resource->user));
resource          545 ext/standard/http_fopen_wrapper.c 		strcpy(scratch, resource->user);
resource          549 ext/standard/http_fopen_wrapper.c 		if (resource->pass) {
resource          550 ext/standard/http_fopen_wrapper.c 			php_url_decode(resource->pass, strlen(resource->pass));
resource          551 ext/standard/http_fopen_wrapper.c 			strcat(scratch, resource->pass);
resource          572 ext/standard/http_fopen_wrapper.c 		if ((use_ssl && resource->port != 443 && resource->port != 0) ||
resource          573 ext/standard/http_fopen_wrapper.c 			(!use_ssl && resource->port != 80 && resource->port != 0)) {
resource          574 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0)
resource          577 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) {
resource          830 ext/standard/http_fopen_wrapper.c 					if (*(location+1) != '\0' && resource->path) {
resource          831 ext/standard/http_fopen_wrapper.c 						char *s = strrchr(resource->path, '/');
resource          833 ext/standard/http_fopen_wrapper.c 							s = resource->path;
resource          836 ext/standard/http_fopen_wrapper.c 								s = resource->path = estrdup("/");
resource          842 ext/standard/http_fopen_wrapper.c 						if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') {
resource          843 ext/standard/http_fopen_wrapper.c 							snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", resource->path, location);
resource          845 ext/standard/http_fopen_wrapper.c 							snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", resource->path, location);
resource          853 ext/standard/http_fopen_wrapper.c 				if ((use_ssl && resource->port != 443) || (!use_ssl && resource->port != 80)) {
resource          854 ext/standard/http_fopen_wrapper.c 					snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", resource->scheme, resource->host, resource->port, loc_path);
resource          856 ext/standard/http_fopen_wrapper.c 					snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path);
resource          862 ext/standard/http_fopen_wrapper.c 			php_url_free(resource);
resource          864 ext/standard/http_fopen_wrapper.c 			if ((resource = php_url_parse(new_path)) == NULL) {
resource          886 ext/standard/http_fopen_wrapper.c 				CHECK_FOR_CNTRL_CHARS(resource->user)
resource          887 ext/standard/http_fopen_wrapper.c 				CHECK_FOR_CNTRL_CHARS(resource->pass)
resource          888 ext/standard/http_fopen_wrapper.c 				CHECK_FOR_CNTRL_CHARS(resource->path)
resource          908 ext/standard/http_fopen_wrapper.c 	if (resource) {
resource          909 ext/standard/http_fopen_wrapper.c 		php_url_free(resource);
resource          378 ext/standard/url.c 	php_url *resource;
resource          385 ext/standard/url.c 	resource = php_url_parse_ex(str, str_len);
resource          386 ext/standard/url.c 	if (resource == NULL) {
resource          394 ext/standard/url.c 				if (resource->scheme != NULL) RETVAL_STRING(resource->scheme);
resource          397 ext/standard/url.c 				if (resource->host != NULL) RETVAL_STRING(resource->host);
resource          400 ext/standard/url.c 				if (resource->port != 0) RETVAL_LONG(resource->port);
resource          403 ext/standard/url.c 				if (resource->user != NULL) RETVAL_STRING(resource->user);
resource          406 ext/standard/url.c 				if (resource->pass != NULL) RETVAL_STRING(resource->pass);
resource          409 ext/standard/url.c 				if (resource->path != NULL) RETVAL_STRING(resource->path);
resource          412 ext/standard/url.c 				if (resource->query != NULL) RETVAL_STRING(resource->query);
resource          415 ext/standard/url.c 				if (resource->fragment != NULL) RETVAL_STRING(resource->fragment);
resource          428 ext/standard/url.c 	if (resource->scheme != NULL)
resource          429 ext/standard/url.c 		add_assoc_string(return_value, "scheme", resource->scheme);
resource          430 ext/standard/url.c 	if (resource->host != NULL)
resource          431 ext/standard/url.c 		add_assoc_string(return_value, "host", resource->host);
resource          432 ext/standard/url.c 	if (resource->port != 0)
resource          433 ext/standard/url.c 		add_assoc_long(return_value, "port", resource->port);
resource          434 ext/standard/url.c 	if (resource->user != NULL)
resource          435 ext/standard/url.c 		add_assoc_string(return_value, "user", resource->user);
resource          436 ext/standard/url.c 	if (resource->pass != NULL)
resource          437 ext/standard/url.c 		add_assoc_string(return_value, "pass", resource->pass);
resource          438 ext/standard/url.c 	if (resource->path != NULL)
resource          439 ext/standard/url.c 		add_assoc_string(return_value, "path", resource->path);
resource          440 ext/standard/url.c 	if (resource->query != NULL)
resource          441 ext/standard/url.c 		add_assoc_string(return_value, "query", resource->query);
resource          442 ext/standard/url.c 	if (resource->fragment != NULL)
resource          443 ext/standard/url.c 		add_assoc_string(return_value, "fragment", resource->fragment);
resource          445 ext/standard/url.c 	php_url_free(resource);
resource          326 ext/tidy/tidy.c 	ZEND_ARG_INFO(0, resource)
resource         1302 ext/zlib/zlib.c 	ZEND_ARG_INFO(0, resource)
resource         1312 ext/zlib/zlib.c 	ZEND_ARG_INFO(0, resource)