Home
last modified time | relevance | path

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

/php-src/ext/fileinfo/libmagic/
H A Dis_tar.c53 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
/php-src/ext/fileinfo/
H A Dconfig.w329 is_json.c is_tar.c is_simh.c magic.c print.c \
H A Dconfig.m423 libmagic/is_tar.c
/php-src/ext/phar/
H A Dtar.c107 bool is_tar; in phar_is_tar() local
117 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 …]
H A Dphar_object.c1189 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 …]
H A Dphar_internal.h238 uint32_t is_tar:1; member
283 uint32_t is_tar:1; member
H A Dutil.c393 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()
H A Ddirstream.c439 if (phar->is_tar) { in phar_wrapper_mkdir()
440 entry.is_tar = 1; in phar_wrapper_mkdir()
H A Dphar.c528 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()
H A Dstream.c244 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()
H A Dzip.c848 phar->is_tar = 0; in phar_open_or_create_zip()
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます2668 # pre-POSIX "tar" archives are also handled in the C code ../../src/is_tar.c.
H A Dmagic2668 # pre-POSIX "tar" archives are also handled in the C code ../../src/is_tar.c.

Completed in 167 milliseconds