Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/kern/
H A Ddecmpfs.c539 hdr->compression_type = cp->cmp_type;
540 if (hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) {
595 hdr->compression_type = OSSwapLittleToHostInt32(hdr->compression_type);
612 if (hdr->compression_type >= CMP_MAX && !decmpfs_type_is_dataless(hdr->compression_type)) {
617 ErrorLogWithPath("compression_type %d out of range\n", hdr->compression_type);
713 if (!decmpfs_type_is_dataless(hdr->compression_type)) {
715 …decmpfs_validate_compressed_file_func validate = decmp_get_func(vp, hdr->compression_type, validat…
719 } else if (decmp_get_func(vp, hdr->compression_type, fetch) == NULL) {
855 !(decmpfs_type_is_dataless(hdr->compression_type) && vnode_isdir(vp))) {
883 if (hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) {
[all …]
/xnu-11417.121.6/bsd/sys/
H A Ddecmpfs.h117 uint32_t compression_type; /* see the enum below */ member
129 uint32_t compression_type; member
145 if (hdr->compression_magic == DECMPFS_MAGIC && hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) { in decmpfs_get_uncompressed_size()
155 if (hdr->compression_magic == DECMPFS_MAGIC && hdr->compression_type == DATALESS_PKG_CMPFS_TYPE) { in decmpfs_get_directory_entries()
278 errno_t register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *regist…
279 errno_t unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registrati…
/xnu-11417.121.6/tests/
H A Dstackshot_tests.m3011 uint64_t compression_type = 0, totalout = 0, totalin = 0;
3018 compression_type = *data;
3028 T_ASSERT_EQ(compression_type, UINT64_C(1), "zlib compression is used");