resource_from 754 ext/phar/stream.c php_url *resource_from, *resource_to; resource_from 764 ext/phar/stream.c if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET)) == NULL) { resource_from 768 ext/phar/stream.c if (SUCCESS != phar_get_archive(&pfrom, resource_from->host, strlen(resource_from->host), NULL, 0, &error)) { resource_from 775 ext/phar/stream.c php_url_free(resource_from); resource_from 781 ext/phar/stream.c php_url_free(resource_from); resource_from 792 ext/phar/stream.c php_url_free(resource_from); resource_from 797 ext/phar/stream.c if (strcmp(resource_from->host, resource_to->host)) { resource_from 798 ext/phar/stream.c php_url_free(resource_from); resource_from 805 ext/phar/stream.c if (!resource_from->scheme || !resource_from->host || !resource_from->path) { resource_from 806 ext/phar/stream.c php_url_free(resource_from); resource_from 813 ext/phar/stream.c php_url_free(resource_from); resource_from 819 ext/phar/stream.c if (strcasecmp("phar", resource_from->scheme)) { resource_from 820 ext/phar/stream.c php_url_free(resource_from); resource_from 827 ext/phar/stream.c php_url_free(resource_from); resource_from 833 ext/phar/stream.c host_len = strlen(resource_from->host); resource_from 835 ext/phar/stream.c if (SUCCESS != phar_get_archive(&phar, resource_from->host, host_len, NULL, 0, &error)) { resource_from 836 ext/phar/stream.c php_url_free(resource_from); resource_from 844 ext/phar/stream.c php_url_free(resource_from); resource_from 850 ext/phar/stream.c if (NULL != (entry = zend_hash_str_find_ptr(&(phar->manifest), resource_from->path+1, strlen(resource_from->path)-1))) { resource_from 855 ext/phar/stream.c php_url_free(resource_from); resource_from 874 ext/phar/stream.c php_url_free(resource_from); resource_from 886 ext/phar/stream.c is_dir = zend_hash_str_exists(&(phar->virtual_dirs), resource_from->path+1, strlen(resource_from->path)-1); resource_from 889 ext/phar/stream.c php_url_free(resource_from); resource_from 902 ext/phar/stream.c uint from_len = strlen(resource_from->path+1); resource_from 910 ext/phar/stream.c memcmp(ZSTR_VAL(str_key), resource_from->path+1, from_len) == 0 && resource_from 935 ext/phar/stream.c memcmp(ZSTR_VAL(str_key), resource_from->path+1, from_len) == 0 && resource_from 953 ext/phar/stream.c memcmp(ZSTR_VAL(str_key), resource_from->path+1, from_len) == 0 && resource_from 972 ext/phar/stream.c php_url_free(resource_from); resource_from 980 ext/phar/stream.c php_url_free(resource_from); resource_from 952 ext/standard/ftp_fopen_wrapper.c php_url *resource_from = NULL, *resource_to = NULL; resource_from 956 ext/standard/ftp_fopen_wrapper.c resource_from = php_url_parse(url_from); resource_from 961 ext/standard/ftp_fopen_wrapper.c if (!resource_from || resource_from 963 ext/standard/ftp_fopen_wrapper.c !resource_from->scheme || resource_from 965 ext/standard/ftp_fopen_wrapper.c strcmp(resource_from->scheme, resource_to->scheme) || resource_from 966 ext/standard/ftp_fopen_wrapper.c !resource_from->host || resource_from 968 ext/standard/ftp_fopen_wrapper.c strcmp(resource_from->host, resource_to->host) || resource_from 969 ext/standard/ftp_fopen_wrapper.c (resource_from->port != resource_to->port && resource_from 970 ext/standard/ftp_fopen_wrapper.c resource_from->port * resource_to->port != 0 && resource_from 971 ext/standard/ftp_fopen_wrapper.c resource_from->port + resource_to->port != 21) || resource_from 972 ext/standard/ftp_fopen_wrapper.c !resource_from->path || resource_from 980 ext/standard/ftp_fopen_wrapper.c php_error_docref(NULL, E_WARNING, "Unable to connect to %s", resource_from->host); resource_from 986 ext/standard/ftp_fopen_wrapper.c php_stream_printf(stream, "RNFR %s\r\n", (resource_from->path != NULL ? resource_from->path : "/")); resource_from 1007 ext/standard/ftp_fopen_wrapper.c php_url_free(resource_from); resource_from 1013 ext/standard/ftp_fopen_wrapper.c if (resource_from) { resource_from 1014 ext/standard/ftp_fopen_wrapper.c php_url_free(resource_from);