Home
last modified time | relevance | path

Searched refs:compression_type (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.121.3/bsd/sys/
H A Ddecmpfs.h115 uint32_t compression_type; /* see the enum below */ member
127 uint32_t compression_type; member
143 if (hdr->compression_magic == DECMPFS_MAGIC && hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) { in decmpfs_get_uncompressed_size()
153 if (hdr->compression_magic == DECMPFS_MAGIC && hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) { in decmpfs_get_directory_entries()
268 errno_t register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *regist…
269 errno_t unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registrati…
/xnu-8020.121.3/bsd/kern/
H A Ddecmpfs.c515 hdr->compression_type = cp->cmp_type;
516 if (hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) {
565 hdr->compression_type = OSSwapLittleToHostInt32(hdr->compression_type);
582 if (hdr->compression_type >= CMP_MAX && !decmpfs_type_is_dataless(hdr->compression_type)) {
587 ErrorLogWithPath("compression_type %d out of range\n", hdr->compression_type);
683 if (!decmpfs_type_is_dataless(hdr->compression_type)) {
685 …decmpfs_validate_compressed_file_func validate = decmp_get_func(vp, hdr->compression_type, validat…
689 } else if (decmp_get_func(vp, hdr->compression_type, fetch) == NULL) {
825 !(decmpfs_type_is_dataless(hdr->compression_type) && vnode_isdir(vp))) {
853 if (hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) {
[all …]
/xnu-8020.121.3/tests/
H A Dstackshot_tests.m2269 uint64_t compression_type = 0, totalout = 0, totalin = 0;
2276 compression_type = *data;
2286 T_ASSERT_EQ(compression_type, UINT64_C(1), "zlib compression is used");