Lines Matching refs:scheme
44 if (theurl->scheme) in php_url_free()
45 efree(theurl->scheme); in php_url_free()
123 ret->scheme = estrndup(s, (e - s)); in php_url_parse_ex()
124 php_replace_controlchars_ex(ret->scheme, (e - s)); in php_url_parse_ex()
145 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex()
146 php_replace_controlchars_ex(ret->scheme, (e - s)); in php_url_parse_ex()
152 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex()
153 php_replace_controlchars_ex(ret->scheme, (e - s)); in php_url_parse_ex()
157 if (!strncasecmp("file", ret->scheme, sizeof("file"))) { in php_url_parse_ex()
169 if (!strncasecmp("file", ret->scheme, sizeof("file"))) { in php_url_parse_ex()
196 STR_FREE(ret->scheme); in php_url_parse_ex()
201 STR_FREE(ret->scheme); in php_url_parse_ex()
273 STR_FREE(ret->scheme); in php_url_parse_ex()
286 STR_FREE(ret->scheme); in php_url_parse_ex()
301 STR_FREE(ret->scheme); in php_url_parse_ex()
391 if (resource->scheme != NULL) RETVAL_STRING(resource->scheme, 1); in PHP_FUNCTION()
425 if (resource->scheme != NULL) in PHP_FUNCTION()
426 add_assoc_string(return_value, "scheme", resource->scheme, 1); in PHP_FUNCTION()