resource          113 Zend/zend_list.c 	void *resource;
resource          138 Zend/zend_list.c 	resource = zend_list_find(id, &actual_resource_type);
resource          139 Zend/zend_list.c 	if (!resource) {
resource          154 Zend/zend_list.c 			return resource;
resource          351 Zend/zend_list.c const char *zend_rsrc_list_get_rsrc_type(int resource TSRMLS_DC)
resource          356 Zend/zend_list.c 	if (!zend_list_find(resource, &rsrc_type))
resource           85 Zend/zend_list.h ZEND_API const char *zend_rsrc_list_get_rsrc_type(int resource TSRMLS_DC);
resource          752 ext/ldap/ldap.c 		zval **entry, *resource;
resource          835 ext/ldap/ldap.c 			MAKE_STD_ZVAL(resource);
resource          840 ext/ldap/ldap.c 				ZEND_REGISTER_RESOURCE(resource, ldap_res, le_result);
resource          841 ext/ldap/ldap.c 				add_next_index_zval(return_value, resource);
resource          573 ext/libxml/libxml.c 	const char			*resource	= NULL;
resource          635 ext/libxml/libxml.c 			resource = Z_STRVAL_P(retval_ptr);
resource          673 ext/libxml/libxml.c 		if (resource == NULL) {
resource          681 ext/libxml/libxml.c 			ret = xmlNewInputFromFile(context, resource);
resource          358 ext/oci8/php_oci8_int.h #define PHP_OCI_REGISTER_RESOURCE(resource, le_resource) \
resource          360 ext/oci8/php_oci8_int.h 		resource->id = ZEND_REGISTER_RESOURCE(NULL, resource, le_resource); \
resource          304 ext/phar/dirstream.c 	php_url *resource = NULL;
resource          313 ext/phar/dirstream.c 	if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
resource          319 ext/phar/dirstream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          320 ext/phar/dirstream.c 		if (resource->host && !resource->path) {
resource          321 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "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          322 ext/phar/dirstream.c 			php_url_free(resource);
resource          325 ext/phar/dirstream.c 		php_url_free(resource);
resource          330 ext/phar/dirstream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          331 ext/phar/dirstream.c 		php_url_free(resource);
resource          336 ext/phar/dirstream.c 	host_len = strlen(resource->host);
resource          338 ext/phar/dirstream.c 	internal_file = resource->path + 1; /* strip leading "/" */
resource          340 ext/phar/dirstream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error TSRMLS_CC)) {
resource          345 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host);
resource          347 ext/phar/dirstream.c 		php_url_free(resource);
resource          359 ext/phar/dirstream.c 		php_url_free(resource);
resource          364 ext/phar/dirstream.c 		php_url_free(resource);
resource          369 ext/phar/dirstream.c 		php_url_free(resource);
resource          373 ext/phar/dirstream.c 			php_url_free(resource);
resource          377 ext/phar/dirstream.c 		php_url_free(resource);
resource          392 ext/phar/dirstream.c 					php_url_free(resource);
resource          403 ext/phar/dirstream.c 	php_url_free(resource);
resource          417 ext/phar/dirstream.c 	php_url *resource = NULL;
resource          438 ext/phar/dirstream.c 	if ((resource = phar_parse_url(wrapper, url_from, "w", options TSRMLS_CC)) == NULL) {
resource          443 ext/phar/dirstream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          444 ext/phar/dirstream.c 		php_url_free(resource);
resource          449 ext/phar/dirstream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          450 ext/phar/dirstream.c 		php_url_free(resource);
resource          455 ext/phar/dirstream.c 	host_len = strlen(resource->host);
resource          457 ext/phar/dirstream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error TSRMLS_CC)) {
resource          458 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", error retrieving phar information: %s", resource->path+1, resource->host, error);
resource          460 ext/phar/dirstream.c 		php_url_free(resource);
resource          464 ext/phar/dirstream.c 	if ((e = phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 2, &error, 1 TSRMLS_CC))) {
resource          470 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", directory already exists", resource->path+1, resource->host);
resource          471 ext/phar/dirstream.c 		php_url_free(resource);
resource          476 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", %s", resource->path+1, resource->host, error);
resource          478 ext/phar/dirstream.c 		php_url_free(resource);
resource          482 ext/phar/dirstream.c 	if (phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 0, &error, 1 TSRMLS_CC)) {
resource          484 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", file already exists", resource->path+1, resource->host);
resource          485 ext/phar/dirstream.c 		php_url_free(resource);
resource          490 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", %s", resource->path+1, resource->host, error);
resource          492 ext/phar/dirstream.c 		php_url_free(resource);
resource          503 ext/phar/dirstream.c 	entry.filename = estrdup(resource->path + 1);
resource          510 ext/phar/dirstream.c 	entry.filename_len = strlen(resource->path + 1);
resource          511 ext/phar/dirstream.c 	php_url_free(resource);
resource          549 ext/phar/dirstream.c 	php_url *resource = NULL;
resource          574 ext/phar/dirstream.c 	if ((resource = phar_parse_url(wrapper, url, "w", options TSRMLS_CC)) == 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 TSRMLS_CC)) {
resource          594 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "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 TSRMLS_CC))) {
resource          604 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "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 TSRMLS_CC, "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(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(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_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         3842 ext/phar/phar_object.c 	php_stream *resource;
resource         3863 ext/phar/phar_object.c 	if (!(resource = php_stream_open_wrapper(fname, "rb", 0, NULL))) {
resource         3874 ext/phar/phar_object.c 	php_stream_to_zval(resource, zresource);
resource         3877 ext/phar/phar_object.c 	php_stream_close(resource);
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 TSRMLS_CC) == 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 TSRMLS_CC) == 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 TSRMLS_CC)) == 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 TSRMLS_CC))) {
resource          198 ext/phar/stream.c 				php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "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 TSRMLS_CC)) {
resource          242 ext/phar/stream.c 				php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "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 TSRMLS_CC)) || !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 TSRMLS_CC)) || !idata) {
resource          292 ext/phar/stream.c 				php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "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          569 ext/phar/stream.c 	php_url *resource = NULL;
resource          576 ext/phar/stream.c 	if ((resource = phar_parse_url(wrapper, url, "r", flags|PHP_STREAM_URL_STAT_QUIET TSRMLS_CC)) == NULL) {
resource          581 ext/phar/stream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          582 ext/phar/stream.c 		php_url_free(resource);
resource          586 ext/phar/stream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          587 ext/phar/stream.c 		php_url_free(resource);
resource          591 ext/phar/stream.c 	host_len = strlen(resource->host);
resource          594 ext/phar/stream.c 	internal_file = resource->path + 1; /* strip leading "/" */
resource          596 ext/phar/stream.c 	if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error TSRMLS_CC)) {
resource          597 ext/phar/stream.c 		php_url_free(resource);
resource          609 ext/phar/stream.c 		php_url_free(resource);
resource          613 ext/phar/stream.c 		php_url_free(resource);
resource          620 ext/phar/stream.c 		php_url_free(resource);
resource          625 ext/phar/stream.c 		php_url_free(resource);
resource          667 ext/phar/stream.c 				php_url_free(resource);
resource          673 ext/phar/stream.c 	php_url_free(resource);
resource          683 ext/phar/stream.c 	php_url *resource;
resource          690 ext/phar/stream.c 	if ((resource = phar_parse_url(wrapper, url, "rb", options TSRMLS_CC)) == NULL) {
resource          696 ext/phar/stream.c 	if (!resource->scheme || !resource->host || !resource->path) {
resource          697 ext/phar/stream.c 		php_url_free(resource);
resource          702 ext/phar/stream.c 	if (strcasecmp("phar", resource->scheme)) {
resource          703 ext/phar/stream.c 		php_url_free(resource);
resource          708 ext/phar/stream.c 	host_len = strlen(resource->host);
resource          711 ext/phar/stream.c 	if (FAILURE == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), resource->host, host_len, (void **) &pphar)) {
resource          715 ext/phar/stream.c 		php_url_free(resource);
resource          721 ext/phar/stream.c 	internal_file = estrdup(resource->path + 1);
resource          723 ext/phar/stream.c 	if (FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, internal_file_len, "r", 0, &error, 1 TSRMLS_CC)) {
resource          732 ext/phar/stream.c 		php_url_free(resource);
resource          740 ext/phar/stream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: \"%s\" in phar \"%s\", has open file pointers, cannot unlink", internal_file, resource->host);
resource          742 ext/phar/stream.c 		php_url_free(resource);
resource          746 ext/phar/stream.c 	php_url_free(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 = 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 = php_raw_url_decode(resource->user, 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 TSRMLS_CC, "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 = php_raw_url_decode(resource->pass, 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 TSRMLS_CC, "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 TSRMLS_CC);
resource          478 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "SIZE %s\r\n", resource->path);
resource          507 ext/standard/ftp_fopen_wrapper.c 				php_stream_printf(stream TSRMLS_CC, "DELE %s\r\n", resource->path);
resource          551 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "%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          700 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          708 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 TSRMLS_CC);
resource          726 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          730 ext/standard/ftp_fopen_wrapper.c 		hoststart = resource->host;
resource          759 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          769 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          770 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          788 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          795 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL TSRMLS_CC);
resource          801 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "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          817 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          832 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          892 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          896 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          897 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          911 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource          915 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRMLS_CC);
resource          923 ext/standard/ftp_fopen_wrapper.c 	if (resource->path == NULL) {
resource          931 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/"));
resource          941 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource          946 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource          947 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource         1040 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource         1044 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRMLS_CC);
resource         1052 ext/standard/ftp_fopen_wrapper.c 	if (resource->path == NULL) {
resource         1060 ext/standard/ftp_fopen_wrapper.c 		php_stream_printf(stream TSRMLS_CC, "MKD %s\r\n", resource->path);
resource         1066 ext/standard/ftp_fopen_wrapper.c         buf = estrdup(resource->path);
resource         1080 ext/standard/ftp_fopen_wrapper.c 			php_stream_printf(stream TSRMLS_CC, "MKD %s\r\n", resource->path);
resource         1108 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource         1119 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource         1120 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource         1134 ext/standard/ftp_fopen_wrapper.c 	php_url *resource = NULL;
resource         1138 ext/standard/ftp_fopen_wrapper.c 	stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRMLS_CC);
resource         1146 ext/standard/ftp_fopen_wrapper.c 	if (resource->path == NULL) {
resource         1153 ext/standard/ftp_fopen_wrapper.c 	php_stream_printf(stream TSRMLS_CC, "RMD %s\r\n", resource->path);
resource         1163 ext/standard/ftp_fopen_wrapper.c 	php_url_free(resource);
resource         1169 ext/standard/ftp_fopen_wrapper.c 	if (resource) {
resource         1170 ext/standard/ftp_fopen_wrapper.c 		php_url_free(resource);
resource          117 ext/standard/http_fopen_wrapper.c 	php_url *resource = NULL;
resource          152 ext/standard/http_fopen_wrapper.c 	resource = php_url_parse(path);
resource          153 ext/standard/http_fopen_wrapper.c 	if (resource == NULL) {
resource          157 ext/standard/http_fopen_wrapper.c 	if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
resource          162 ext/standard/http_fopen_wrapper.c 			php_url_free(resource);
resource          177 ext/standard/http_fopen_wrapper.c 			php_url_free(resource);
resource          181 ext/standard/http_fopen_wrapper.c 		use_ssl = resource->scheme && (strlen(resource->scheme) > 4) && resource->scheme[4] == 's';
resource          183 ext/standard/http_fopen_wrapper.c 		if (use_ssl && resource->port == 0)
resource          184 ext/standard/http_fopen_wrapper.c 			resource->port = 443;
resource          185 ext/standard/http_fopen_wrapper.c 		else if (resource->port == 0)
resource          186 ext/standard/http_fopen_wrapper.c 			resource->port = 80;
resource          196 ext/standard/http_fopen_wrapper.c 			transport_len = spprintf(&transport_string, 0, "%s://%s:%d", use_ssl ? "ssl" : "tcp", resource->host, resource->port);
resource          232 ext/standard/http_fopen_wrapper.c 			ZVAL_STRING(ssl_proxy_peer_name, resource->host, 1);
resource          237 ext/standard/http_fopen_wrapper.c 		smart_str_appends(&header, resource->host);
resource          239 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          535 ext/standard/http_fopen_wrapper.c 	if (((have_header & HTTP_HEADER_AUTH) == 0) && resource->user) {
resource          537 ext/standard/http_fopen_wrapper.c 		php_url_decode(resource->user, strlen(resource->user));
resource          540 ext/standard/http_fopen_wrapper.c 		strcpy(scratch, resource->user);
resource          544 ext/standard/http_fopen_wrapper.c 		if (resource->pass) {
resource          545 ext/standard/http_fopen_wrapper.c 			php_url_decode(resource->pass, strlen(resource->pass));
resource          546 ext/standard/http_fopen_wrapper.c 			strcat(scratch, resource->pass);
resource          568 ext/standard/http_fopen_wrapper.c 		if ((use_ssl && resource->port != 443 && resource->port != 0) ||
resource          569 ext/standard/http_fopen_wrapper.c 			(!use_ssl && resource->port != 80 && resource->port != 0)) {
resource          570 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s:%i\r\n", resource->host, resource->port) > 0)
resource          573 ext/standard/http_fopen_wrapper.c 			if (snprintf(scratch, scratch_len, "Host: %s\r\n", resource->host) > 0) {
resource          839 ext/standard/http_fopen_wrapper.c 					if (*(location+1) != '\0' && resource->path) {
resource          840 ext/standard/http_fopen_wrapper.c 						char *s = strrchr(resource->path, '/');
resource          842 ext/standard/http_fopen_wrapper.c 							s = resource->path;
resource          845 ext/standard/http_fopen_wrapper.c 								s = resource->path = estrdup("/");
resource          851 ext/standard/http_fopen_wrapper.c 						if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') {
resource          852 ext/standard/http_fopen_wrapper.c 							snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", resource->path, location);
resource          854 ext/standard/http_fopen_wrapper.c 							snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", resource->path, location);
resource          862 ext/standard/http_fopen_wrapper.c 				if ((use_ssl && resource->port != 443) || (!use_ssl && resource->port != 80)) {
resource          863 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          865 ext/standard/http_fopen_wrapper.c 					snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path);
resource          871 ext/standard/http_fopen_wrapper.c 			php_url_free(resource);
resource          873 ext/standard/http_fopen_wrapper.c 			if ((resource = php_url_parse(new_path)) == NULL) {
resource          895 ext/standard/http_fopen_wrapper.c 				CHECK_FOR_CNTRL_CHARS(resource->user)
resource          896 ext/standard/http_fopen_wrapper.c 				CHECK_FOR_CNTRL_CHARS(resource->pass)
resource          897 ext/standard/http_fopen_wrapper.c 				CHECK_FOR_CNTRL_CHARS(resource->path)
resource          917 ext/standard/http_fopen_wrapper.c 	if (resource) {
resource          918 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, 1);
resource          397 ext/standard/url.c 				if (resource->host != NULL) RETVAL_STRING(resource->host, 1);
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, 1);
resource          406 ext/standard/url.c 				if (resource->pass != NULL) RETVAL_STRING(resource->pass, 1);
resource          409 ext/standard/url.c 				if (resource->path != NULL) RETVAL_STRING(resource->path, 1);
resource          412 ext/standard/url.c 				if (resource->query != NULL) RETVAL_STRING(resource->query, 1);
resource          415 ext/standard/url.c 				if (resource->fragment != NULL) RETVAL_STRING(resource->fragment, 1);
resource          428 ext/standard/url.c 	if (resource->scheme != NULL)
resource          429 ext/standard/url.c 		add_assoc_string(return_value, "scheme", resource->scheme, 1);
resource          430 ext/standard/url.c 	if (resource->host != NULL)
resource          431 ext/standard/url.c 		add_assoc_string(return_value, "host", resource->host, 1);
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, 1);
resource          436 ext/standard/url.c 	if (resource->pass != NULL)
resource          437 ext/standard/url.c 		add_assoc_string(return_value, "pass", resource->pass, 1);
resource          438 ext/standard/url.c 	if (resource->path != NULL)
resource          439 ext/standard/url.c 		add_assoc_string(return_value, "path", resource->path, 1);
resource          440 ext/standard/url.c 	if (resource->query != NULL)
resource          441 ext/standard/url.c 		add_assoc_string(return_value, "query", resource->query, 1);
resource          442 ext/standard/url.c 	if (resource->fragment != NULL)
resource          443 ext/standard/url.c 		add_assoc_string(return_value, "fragment", resource->fragment, 1);
resource          445 ext/standard/url.c 	php_url_free(resource);
resource          327 ext/tidy/tidy.c 	ZEND_ARG_INFO(0, resource)