Lines Matching refs:resource_from
754 php_url *resource_from, *resource_to; in phar_wrapper_rename() local
764 …if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET)) =… in phar_wrapper_rename()
768 …if (SUCCESS != phar_get_archive(&pfrom, resource_from->host, strlen(resource_from->host), NULL, 0,… in phar_wrapper_rename()
775 php_url_free(resource_from); in phar_wrapper_rename()
781 php_url_free(resource_from); in phar_wrapper_rename()
792 php_url_free(resource_from); in phar_wrapper_rename()
797 if (strcmp(resource_from->host, resource_to->host)) { in phar_wrapper_rename()
798 php_url_free(resource_from); in phar_wrapper_rename()
805 if (!resource_from->scheme || !resource_from->host || !resource_from->path) { in phar_wrapper_rename()
806 php_url_free(resource_from); in phar_wrapper_rename()
813 php_url_free(resource_from); in phar_wrapper_rename()
819 if (strcasecmp("phar", resource_from->scheme)) { in phar_wrapper_rename()
820 php_url_free(resource_from); in phar_wrapper_rename()
827 php_url_free(resource_from); in phar_wrapper_rename()
833 host_len = strlen(resource_from->host); in phar_wrapper_rename()
835 if (SUCCESS != phar_get_archive(&phar, resource_from->host, host_len, NULL, 0, &error)) { in phar_wrapper_rename()
836 php_url_free(resource_from); in phar_wrapper_rename()
844 php_url_free(resource_from); in phar_wrapper_rename()
850 … != (entry = zend_hash_str_find_ptr(&(phar->manifest), resource_from->path+1, strlen(resource_from… in phar_wrapper_rename()
855 php_url_free(resource_from); in phar_wrapper_rename()
874 php_url_free(resource_from); in phar_wrapper_rename()
886 …is_dir = zend_hash_str_exists(&(phar->virtual_dirs), resource_from->path+1, strlen(resource_from->… in phar_wrapper_rename()
889 php_url_free(resource_from); in phar_wrapper_rename()
902 uint from_len = strlen(resource_from->path+1); in phar_wrapper_rename()
910 memcmp(ZSTR_VAL(str_key), resource_from->path+1, from_len) == 0 && in phar_wrapper_rename()
935 memcmp(ZSTR_VAL(str_key), resource_from->path+1, from_len) == 0 && in phar_wrapper_rename()
953 memcmp(ZSTR_VAL(str_key), resource_from->path+1, from_len) == 0 && in phar_wrapper_rename()
972 php_url_free(resource_from); in phar_wrapper_rename()
980 php_url_free(resource_from); in phar_wrapper_rename()