Lines Matching refs:host

87 	resource->host = arch;  in phar_parse_url()
96 fprintf(stderr, "Host: %s\n", resource->host); in phar_parse_url()
116 …if (phar_open_or_create_filename(resource->host, arch_len, NULL, 0, 0, options, &phar, &error TSRM… in phar_parse_url()
129 …intf(&error, 0, "Cannot open cached phar '%s' as writeable, copy on write failed", resource->host); in phar_parse_url()
139 …if (phar_open_from_filename(resource->host, arch_len, NULL, 0, options, NULL, &error TSRMLS_CC) ==… in phar_parse_url()
175 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url()
187 host_len = strlen(resource->host); in phar_wrapper_open_url()
193 …if (NULL == (idata = phar_get_or_create_entry_data(resource->host, host_len, internal_file, strlen… in phar_wrapper_open_url()
198 …_CC, "phar error: file \"%s\" could not be created in phar \"%s\"", internal_file, resource->host); in phar_wrapper_open_url()
241 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, NULL TSRMLS_CC)) { in phar_wrapper_open_url()
242 …apper_log_error(wrapper, options TSRMLS_CC, "file %s is not a valid phar archive", resource->host); in phar_wrapper_open_url()
248 …if ((FAILURE == phar_get_entry_data(&idata, resource->host, host_len, ".phar/stub.php", sizeof(".p… in phar_wrapper_open_url()
286 …if ((FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, strlen(intern… in phar_wrapper_open_url()
292 …tions TSRMLS_CC, "phar error: \"%s\" is not a file in phar \"%s\"", internal_file, resource->host); in phar_wrapper_open_url()
581 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat()
591 host_len = strlen(resource->host); in phar_wrapper_stat()
596 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error TSRMLS_CC)) { in phar_wrapper_stat()
704 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_unlink()
716 host_len = strlen(resource->host); in phar_wrapper_unlink()
719 …if (FAILURE == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), resource->host, host_len, (void **)… in phar_wrapper_unlink()
731 …if (FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, internal_file_… in phar_wrapper_unlink()
748 …ror: \"%s\" in phar \"%s\", has open file pointers, cannot unlink", internal_file, resource->host); in phar_wrapper_unlink()
781 …if (SUCCESS != phar_get_archive(&pfrom, resource_from->host, strlen(resource_from->host), NULL, 0,… in phar_wrapper_rename()
798 …if (SUCCESS != phar_get_archive(&pto, resource_to->host, strlen(resource_to->host), NULL, 0, &erro… in phar_wrapper_rename()
810 if (strcmp(resource_from->host, resource_to->host)) { in phar_wrapper_rename()
818 if (!resource_from->scheme || !resource_from->host || !resource_from->path) { in phar_wrapper_rename()
825 if (!resource_to->scheme || !resource_to->host || !resource_to->path) { in phar_wrapper_rename()
846 host_len = strlen(resource_from->host); in phar_wrapper_rename()
848 if (SUCCESS != phar_get_archive(&phar, resource_from->host, host_len, NULL, 0, &error TSRMLS_CC)) { in phar_wrapper_rename()