Lines Matching refs:arch
268 char *path, *arch, *entry, *test; in phar_find_in_include_path() local
296 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_find_in_include_path()
302 …if (!is_file_a_phar_wrapper || SUCCESS != phar_split_fname(ZSTR_VAL(fname), ZSTR_LEN(fname), &arch… in phar_find_in_include_path()
311 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in phar_find_in_include_path()
312 efree(arch); in phar_find_in_include_path()
325 ret = strpprintf(0, "phar://%s%s", arch, test); in phar_find_in_include_path()
326 efree(arch); in phar_find_in_include_path()
332 ret = strpprintf(0, "phar://%s/%s", arch, test); in phar_find_in_include_path()
333 efree(arch); in phar_find_in_include_path()
341 …spprintf(&path, MAXPATHLEN + 1 + strlen(PG(include_path)), "phar://%s/%s%c%s", arch, PHAR_G(cwd), … in phar_find_in_include_path()
342 efree(arch); in phar_find_in_include_path()
348 …if (SUCCESS != phar_split_fname(ZSTR_VAL(ret), ZSTR_LEN(ret), &arch, &arch_len, &entry, &entry_len… in phar_find_in_include_path()
352 *pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), arch, arch_len); in phar_find_in_include_path()
355 *pphar = zend_hash_str_find_ptr(&cached_phars, arch, arch_len); in phar_find_in_include_path()
358 efree(arch); in phar_find_in_include_path()