Lines Matching refs:arch
249 char *path, *fname, *arch, *entry, *test; in phar_find_in_include_path() local
267 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_find_in_include_path()
273 …name, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry,… in phar_find_in_include_path()
282 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in phar_find_in_include_path()
283 efree(arch); in phar_find_in_include_path()
296 ret = strpprintf(0, "phar://%s%s", arch, test); in phar_find_in_include_path()
297 efree(arch); in phar_find_in_include_path()
303 ret = strpprintf(0, "phar://%s/%s", arch, test); in phar_find_in_include_path()
304 efree(arch); in phar_find_in_include_path()
312 …spprintf(&path, MAXPATHLEN + 1 + strlen(PG(include_path)), "phar://%s/%s%c%s", arch, PHAR_G(cwd), … in phar_find_in_include_path()
313 efree(arch); in phar_find_in_include_path()
319 …if (SUCCESS != phar_split_fname(ZSTR_VAL(ret), ZSTR_LEN(ret), &arch, &arch_len, &entry, &entry_len… in phar_find_in_include_path()
323 *pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), arch, arch_len); in phar_find_in_include_path()
326 *pphar = zend_hash_str_find_ptr(&cached_phars, arch, arch_len); in phar_find_in_include_path()
329 efree(arch); in phar_find_in_include_path()