Lines Matching refs:arch
46 char *arch, *entry, *fname; in PHAR_FUNC() local
57 …if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in PHAR_FUNC()
70 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
72 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
75 efree(arch); in PHAR_FUNC()
121 char *arch, *entry, *fname; in PHAR_FUNC() local
131 …if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in PHAR_FUNC()
141 efree(arch); in PHAR_FUNC()
147 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in PHAR_FUNC()
148 efree(arch); in PHAR_FUNC()
157 efree(arch); in PHAR_FUNC()
166 efree(arch); in PHAR_FUNC()
177 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
179 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
187 efree(arch); in PHAR_FUNC()
251 char *arch, *entry, *fname; in PHAR_FUNC() local
262 …if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in PHAR_FUNC()
271 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in PHAR_FUNC()
272 efree(arch); in PHAR_FUNC()
278 efree(arch); in PHAR_FUNC()
290 efree(arch); in PHAR_FUNC()
300 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
302 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
307 efree(arch); in PHAR_FUNC()
347 char *arch, *entry, *fname; in PHAR_FUNC() local
358 …if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in PHAR_FUNC()
367 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in PHAR_FUNC()
368 efree(arch); in PHAR_FUNC()
374 efree(arch); in PHAR_FUNC()
386 efree(arch); in PHAR_FUNC()
397 spprintf(&name, 4096, "phar://%s%s", arch, entry); in PHAR_FUNC()
399 spprintf(&name, 4096, "phar://%s/%s", arch, entry); in PHAR_FUNC()
404 efree(arch); in PHAR_FUNC()
618 char *arch, *entry, *fname; in phar_file_stat() local
634 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_file_stat()
642 …if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in phar_file_stat()
648 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in phar_file_stat()
649 efree(arch); in phar_file_stat()
668 efree(arch); in phar_file_stat()
705 efree(arch); in phar_file_stat()
714 efree(arch); in phar_file_stat()
735 efree(arch); in phar_file_stat()
743 efree(arch); in phar_file_stat()
912 char *arch, *entry, *fname; in PharFileFunction() local
923 …if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in PharFileFunction()
931 if (SUCCESS == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in PharFileFunction()
940 efree(arch); in PharFileFunction()
952 efree(arch); in PharFileFunction()
979 char *arch, *entry, *fname; in PHAR_FUNC() local
990 …if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRML… in PHAR_FUNC()
998 if (SUCCESS == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in PHAR_FUNC()
1007 efree(arch); in PHAR_FUNC()
1017 efree(arch); in PHAR_FUNC()