Lines Matching refs:arch
245 char *path, *fname, *arch, *entry, *test; in phar_find_in_include_path() local
263 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_find_in_include_path()
269 …name, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry,… in phar_find_in_include_path()
278 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in phar_find_in_include_path()
279 efree(arch); in phar_find_in_include_path()
292 ret = strpprintf(0, "phar://%s%s", arch, test); in phar_find_in_include_path()
293 efree(arch); in phar_find_in_include_path()
299 ret = strpprintf(0, "phar://%s/%s", arch, test); in phar_find_in_include_path()
300 efree(arch); in phar_find_in_include_path()
308 …spprintf(&path, MAXPATHLEN + 1 + strlen(PG(include_path)), "phar://%s/%s%c%s", arch, PHAR_G(cwd), … in phar_find_in_include_path()
309 efree(arch); in phar_find_in_include_path()
315 …if (SUCCESS != phar_split_fname(ZSTR_VAL(ret), ZSTR_LEN(ret), &arch, &arch_len, &entry, &entry_len… in phar_find_in_include_path()
319 *pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), arch, arch_len); in phar_find_in_include_path()
322 *pphar = zend_hash_str_find_ptr(&cached_phars, arch, arch_len); in phar_find_in_include_path()
325 efree(arch); in phar_find_in_include_path()