Home
last modified time | relevance | path

Searched refs:is_tar (Results 1 – 13 of 13) sorted by relevance

/PHP-8.1/ext/fileinfo/libmagic/
H A Dis_tar.c53 private int is_tar(const unsigned char *, size_t);
77 tar = is_tar(buf, nbytes); in file_is_tar()
99 is_tar(const unsigned char *buf, size_t nbytes) in is_tar() function
/PHP-8.1/ext/fileinfo/
H A Dconfig.w329 is_json.c is_tar.c magic.c print.c \
H A Dconfig.m413 libmagic/is_json.c libmagic/is_tar.c libmagic/magic.c libmagic/print.c \
/PHP-8.1/ext/phar/
H A Dutil.c434 (*ret)->is_tar = entry->is_tar; in phar_get_entry_data()
457 entry->tar_type = (entry->is_tar ? TAR_FILE : '\0'); in phar_get_entry_data()
482 (*ret)->is_tar = entry->is_tar; in phar_get_entry_data()
583 if (phar->is_tar) { in phar_get_or_create_entry_data()
584 etemp.is_tar = phar->is_tar; in phar_get_or_create_entry_data()
611 ret->is_tar = entry->is_tar; in phar_get_or_create_entry_data()
651 dest->tar_type = (dest->is_tar ? TAR_FILE : '\0'); in phar_copy_entry_fp()
827 entry->tar_type = (entry->is_tar ? TAR_FILE : '\0'); in phar_create_writeable_entry()
888 entry->tar_type = (entry->is_tar ? TAR_FILE : '\0'); in phar_separate_entry_fp()
H A Dphar_object.c1171 phar_data->is_tar = 0; in PHP_METHOD()
2000 } else if (phar->is_tar) { in phar_rename_archive()
2108 pphar->is_tar = phar->is_tar; in phar_rename_archive()
2223 phar->is_tar = 1; in phar_convert_to_other()
2280 newentry.is_tar = phar->is_tar; in phar_convert_to_other()
2282 if (newentry.is_tar) { in phar_convert_to_other()
3209 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3248 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3308 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3364 if (phar_obj->archive->is_tar) { in PHP_METHOD()
[all …]
H A Dtar.c142 if (phar->is_tar) { in phar_open_or_create_tar()
147 phar->is_tar = 1; in phar_open_or_create_tar()
250 myphar->is_tar = 1; in phar_parse_tarfile()
254 entry.is_tar = 1; in phar_parse_tarfile()
951 newentry.is_tar = 1; in phar_tar_setupmetadata()
978 entry.is_tar = 1; in phar_tar_flush()
1188 newentry.is_tar = 1; in phar_tar_flush()
H A Dphar_internal.h271 uint32_t is_tar:1; member
317 uint32_t is_tar:1; member
464 uint32_t is_tar:1; member
H A Ddirstream.c491 if (phar->is_tar) { in phar_wrapper_mkdir()
492 entry.is_tar = 1; in phar_wrapper_mkdir()
H A Dphar.c526 if (!phar->halt_offset && !phar->is_brandnew && (phar->is_tar || phar->is_zip)) { in phar_open_parsed_phar()
1341 if ((*test)->is_data && !(*test)->is_tar && !(*test)->is_zip) { in phar_open_or_create_filename()
1348 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) { in phar_open_or_create_filename()
1484 mydata->is_tar = 1; in phar_create_or_parse_filename()
2583 if (phar->is_tar) { in phar_flush()
3315 if (phar->is_zip || phar->is_tar) { in phar_compile_file()
H A Dstream.c246 if (phar->is_tar || phar->is_zip) { in phar_wrapper_open_url()
322 …if ((idata->phar->is_tar || idata->phar->is_zip) && idata->internal_file->filename_len == sizeof("… in phar_wrapper_open_url()
H A Dzip.c795 phar->is_tar = 0; in phar_open_or_create_zip()
/PHP-8.1/ext/fileinfo/tests/
H A Dmagic2580 # pre-POSIX "tar" archives are also handled in the C code ../../src/is_tar.c.
H A Dmagic私はガラスを食べられます2580 # pre-POSIX "tar" archives are also handled in the C code ../../src/is_tar.c.

Completed in 199 milliseconds