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) == … 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) == FAILURE) 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 …ons, "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)) { in phar_wrapper_open_url()
242 …_stream_wrapper_log_error(wrapper, options, "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 …rapper, options, "phar error: \"%s\" is not a file in phar \"%s\"", internal_file, resource->host); in phar_wrapper_open_url()
584 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat()
594 host_len = strlen(resource->host); in phar_wrapper_stat()
599 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) { in phar_wrapper_stat()
693 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_unlink()
705 host_len = strlen(resource->host); in phar_wrapper_unlink()
708 pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), resource->host, host_len); in phar_wrapper_unlink()
718 …if (FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, internal_file_… in phar_wrapper_unlink()
735 …ror: \"%s\" in phar \"%s\", has open file pointers, cannot unlink", internal_file, resource->host); in phar_wrapper_unlink()
768 …if (SUCCESS != phar_get_archive(&pfrom, resource_from->host, strlen(resource_from->host), NULL, 0,… in phar_wrapper_rename()
785 …if (SUCCESS != phar_get_archive(&pto, resource_to->host, strlen(resource_to->host), NULL, 0, &erro… in phar_wrapper_rename()
797 if (strcmp(resource_from->host, resource_to->host)) { in phar_wrapper_rename()
805 if (!resource_from->scheme || !resource_from->host || !resource_from->path) { in phar_wrapper_rename()
812 if (!resource_to->scheme || !resource_to->host || !resource_to->path) { 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()