Searched refs:is_tar (Results 1 – 13 of 13) sorted by relevance
53 file_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
9 is_json.c is_tar.c is_simh.c magic.c print.c \
23 libmagic/is_tar.c
107 bool is_tar; in phar_is_tar() local117 is_tar = (checksum == phar_tar_checksum(buf, 512)); in phar_is_tar()122 if (!is_tar && (bname = strstr(fname, ".tar")) && (bname[4] == '\0' || bname[4] == '.')) { in phar_is_tar()126 return is_tar; in phar_is_tar()145 if (phar->is_tar) { in phar_open_or_create_tar()150 phar->is_tar = 1; in phar_open_or_create_tar()245 myphar->is_tar = 1; in phar_parse_tarfile()249 entry.is_tar = 1; in phar_parse_tarfile()950 newentry.is_tar = 1; in phar_tar_setupmetadata()978 entry.is_tar = 1; in phar_tar_flush()[all …]
1189 phar_data->is_tar = 0; in PHP_METHOD()2023 } else if (phar->is_tar) { in phar_rename_archive()2131 pphar->is_tar = phar->is_tar; in phar_rename_archive()2248 phar->is_tar = 1; in phar_convert_to_other()2305 newentry.is_tar = phar->is_tar; in phar_convert_to_other()2307 if (newentry.is_tar) { in phar_convert_to_other()3247 if (phar_obj->archive->is_tar) { in PHP_METHOD()3286 if (phar_obj->archive->is_tar) { in PHP_METHOD()3346 if (phar_obj->archive->is_tar) { in PHP_METHOD()3402 if (phar_obj->archive->is_tar) { in PHP_METHOD()[all …]
238 uint32_t is_tar:1; member283 uint32_t is_tar:1; member
393 entry->tar_type = (entry->is_tar ? TAR_FILE : '\0'); in phar_create_writeable_entry()454 entry->tar_type = (entry->is_tar ? TAR_FILE : '\0'); in phar_separate_entry_fp()586 entry->tar_type = (entry->is_tar ? TAR_FILE : '\0'); in phar_get_entry_data()709 if (phar->is_tar) { in phar_get_or_create_entry_data()710 etemp.is_tar = phar->is_tar; in phar_get_or_create_entry_data()784 dest->tar_type = (dest->is_tar ? TAR_FILE : '\0'); in phar_copy_entry_fp()
439 if (phar->is_tar) { in phar_wrapper_mkdir()440 entry.is_tar = 1; in phar_wrapper_mkdir()
528 if (!phar->halt_offset && !phar->is_brandnew && (phar->is_tar || phar->is_zip)) { in phar_open_parsed_phar()1345 if ((*test)->is_data && !(*test)->is_tar && !(*test)->is_zip) { in phar_open_or_create_filename()1352 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) { in phar_open_or_create_filename()1489 mydata->is_tar = 1; in phar_create_or_parse_filename()2578 if (phar->is_tar) { in phar_flush_ex()3266 if (phar->is_zip || phar->is_tar) { in phar_compile_file()
244 if (phar->is_tar || phar->is_zip) { in phar_wrapper_open_url()331 …if ((idata->phar->is_tar || idata->phar->is_zip) && idata->internal_file->filename_len == sizeof("… in phar_wrapper_open_url()
848 phar->is_tar = 0; in phar_open_or_create_zip()
2668 # pre-POSIX "tar" archives are also handled in the C code ../../src/is_tar.c.
Completed in 167 milliseconds