resource_to 754 ext/phar/stream.c php_url *resource_from, *resource_to; resource_to 780 ext/phar/stream.c if ((resource_to = phar_parse_url(wrapper, url_to, "wb", options|PHP_STREAM_URL_STAT_QUIET)) == NULL) { resource_to 785 ext/phar/stream.c if (SUCCESS != phar_get_archive(&pto, resource_to->host, strlen(resource_to->host), NULL, 0, &error)) { resource_to 797 ext/phar/stream.c if (strcmp(resource_from->host, resource_to->host)) { resource_to 799 ext/phar/stream.c php_url_free(resource_to); resource_to 807 ext/phar/stream.c php_url_free(resource_to); resource_to 812 ext/phar/stream.c if (!resource_to->scheme || !resource_to->host || !resource_to->path) { resource_to 814 ext/phar/stream.c php_url_free(resource_to); resource_to 821 ext/phar/stream.c php_url_free(resource_to); resource_to 826 ext/phar/stream.c if (strcasecmp("phar", resource_to->scheme)) { resource_to 828 ext/phar/stream.c php_url_free(resource_to); resource_to 837 ext/phar/stream.c php_url_free(resource_to); resource_to 845 ext/phar/stream.c php_url_free(resource_to); resource_to 856 ext/phar/stream.c php_url_free(resource_to); resource_to 870 ext/phar/stream.c entry = zend_hash_str_add_mem(&(phar->manifest), resource_to->path+1, strlen(resource_to->path)-1, (void **)&new, sizeof(phar_entry_info)); resource_to 872 ext/phar/stream.c entry->filename = estrdup(resource_to->path+1); resource_to 875 ext/phar/stream.c php_url_free(resource_to); resource_to 890 ext/phar/stream.c php_url_free(resource_to); resource_to 903 ext/phar/stream.c uint to_len = strlen(resource_to->path+1); resource_to 914 ext/phar/stream.c memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); resource_to 939 ext/phar/stream.c memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); resource_to 957 ext/phar/stream.c memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); resource_to 973 ext/phar/stream.c php_url_free(resource_to); resource_to 981 ext/phar/stream.c php_url_free(resource_to); resource_to 952 ext/standard/ftp_fopen_wrapper.c php_url *resource_from = NULL, *resource_to = NULL; resource_to 957 ext/standard/ftp_fopen_wrapper.c resource_to = php_url_parse(url_to); resource_to 962 ext/standard/ftp_fopen_wrapper.c !resource_to || resource_to 964 ext/standard/ftp_fopen_wrapper.c !resource_to->scheme || resource_to 965 ext/standard/ftp_fopen_wrapper.c strcmp(resource_from->scheme, resource_to->scheme) || resource_to 967 ext/standard/ftp_fopen_wrapper.c !resource_to->host || resource_to 968 ext/standard/ftp_fopen_wrapper.c strcmp(resource_from->host, resource_to->host) || resource_to 969 ext/standard/ftp_fopen_wrapper.c (resource_from->port != resource_to->port && resource_to 970 ext/standard/ftp_fopen_wrapper.c resource_from->port * resource_to->port != 0 && resource_to 971 ext/standard/ftp_fopen_wrapper.c resource_from->port + resource_to->port != 21) || resource_to 973 ext/standard/ftp_fopen_wrapper.c !resource_to->path) { resource_to 997 ext/standard/ftp_fopen_wrapper.c php_stream_printf(stream, "RNTO %s\r\n", (resource_to->path != NULL ? resource_to->path : "/")); resource_to 1008 ext/standard/ftp_fopen_wrapper.c php_url_free(resource_to); resource_to 1016 ext/standard/ftp_fopen_wrapper.c if (resource_to) { resource_to 1017 ext/standard/ftp_fopen_wrapper.c php_url_free(resource_to);