Lines Matching refs:arch
44 char *arch, *entry, *fname; in PHAR_FUNC() local
55 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in PHAR_FUNC()
68 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
70 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
73 efree(arch); in PHAR_FUNC()
123 char *arch, *entry, *fname; in PHAR_FUNC() local
134 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in PHAR_FUNC()
144 efree(arch); in PHAR_FUNC()
150 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in PHAR_FUNC()
151 efree(arch); in PHAR_FUNC()
160 efree(arch); in PHAR_FUNC()
169 efree(arch); in PHAR_FUNC()
180 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
182 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
190 efree(arch); in PHAR_FUNC()
253 char *arch, *entry, *fname; in PHAR_FUNC() local
265 if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in PHAR_FUNC()
274 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in PHAR_FUNC()
275 efree(arch); in PHAR_FUNC()
281 efree(arch); in PHAR_FUNC()
293 efree(arch); in PHAR_FUNC()
303 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
305 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
310 efree(arch); in PHAR_FUNC()
354 char *arch, *entry, *fname; in PHAR_FUNC() local
366 if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in PHAR_FUNC()
375 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in PHAR_FUNC()
376 efree(arch); in PHAR_FUNC()
382 efree(arch); in PHAR_FUNC()
394 efree(arch); in PHAR_FUNC()
405 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
407 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
412 efree(arch); in PHAR_FUNC()
597 char *arch, *entry, *fname; in phar_file_stat() local
613 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_file_stat()
621 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in phar_file_stat()
627 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in phar_file_stat()
628 efree(arch); in phar_file_stat()
647 efree(arch); in phar_file_stat()
678 efree(arch); in phar_file_stat()
687 efree(arch); in phar_file_stat()
702 efree(arch); in phar_file_stat()
710 efree(arch); in phar_file_stat()
853 char *arch, *entry, *fname; in PharFileFunction() local
864 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in PharFileFunction()
872 if (SUCCESS == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in PharFileFunction()
881 efree(arch); in PharFileFunction()
893 efree(arch); in PharFileFunction()
920 char *arch, *entry, *fname; in PHAR_FUNC() local
931 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) { in PHAR_FUNC()
939 if (SUCCESS == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL)) { in PHAR_FUNC()
948 efree(arch); in PHAR_FUNC()
958 efree(arch); in PHAR_FUNC()