Home
last modified time | relevance | path

Searched refs:metablock_start (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/brotli/c/enc/
Dcompress_fragment.c394 const uint8_t* metablock_start, const uint8_t* next_emit, in ShouldUseUncompressedMode() argument
396 const size_t compressed = (size_t)(next_emit - metablock_start); in ShouldUseUncompressedMode()
447 const uint8_t* metablock_start = input; in BrotliCompressFragmentFastImpl() local
572 } else if (ShouldUseUncompressedMode(metablock_start, next_emit, insert, in BrotliCompressFragmentFastImpl()
574 EmitUncompressedMetaBlock(metablock_start, base, mlen_storage_ix - 3, in BrotliCompressFragmentFastImpl()
687 } else if (ShouldUseUncompressedMode(metablock_start, next_emit, insert, in BrotliCompressFragmentFastImpl()
689 EmitUncompressedMetaBlock(metablock_start, ip_end, mlen_storage_ix - 3, in BrotliCompressFragmentFastImpl()
704 metablock_start = input; in BrotliCompressFragmentFastImpl()
Dencode.c1229 size_t metablock_start = 0; in BrotliCompressBufferQuality10() local
1255 while (ok && metablock_start < input_size) { in BrotliCompressBufferQuality10()
1257 BROTLI_MIN(size_t, input_size, metablock_start + max_metablock_size); in BrotliCompressBufferQuality10()
1259 (metablock_end - metablock_start) / 12 + 16; in BrotliCompressBufferQuality10()
1271 input_buffer, metablock_start, mask, metablock_end - metablock_start); in BrotliCompressBufferQuality10()
1275 for (block_start = metablock_start; block_start < metablock_end; ) { in BrotliCompressBufferQuality10()
1326 is_last = TO_BROTLI_BOOL(metablock_start + metablock_size == input_size); in BrotliCompressBufferQuality10()
1338 } else if (!ShouldCompress(input_buffer, mask, metablock_start, in BrotliCompressBufferQuality10()
1348 metablock_start, mask, metablock_size, in BrotliCompressBufferQuality10()
1354 BrotliBuildMetaBlock(m, input_buffer, metablock_start, mask, in BrotliCompressBufferQuality10()
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dcompress_fragment.c394 const uint8_t* metablock_start, const uint8_t* next_emit, in ShouldUseUncompressedMode() argument
396 const size_t compressed = (size_t)(next_emit - metablock_start); in ShouldUseUncompressedMode()
447 const uint8_t* metablock_start = input; in BrotliCompressFragmentFastImpl() local
572 } else if (ShouldUseUncompressedMode(metablock_start, next_emit, insert, in BrotliCompressFragmentFastImpl()
574 EmitUncompressedMetaBlock(metablock_start, base, mlen_storage_ix - 3, in BrotliCompressFragmentFastImpl()
687 } else if (ShouldUseUncompressedMode(metablock_start, next_emit, insert, in BrotliCompressFragmentFastImpl()
689 EmitUncompressedMetaBlock(metablock_start, ip_end, mlen_storage_ix - 3, in BrotliCompressFragmentFastImpl()
704 metablock_start = input; in BrotliCompressFragmentFastImpl()
Dencode.c1229 size_t metablock_start = 0; in BrotliCompressBufferQuality10() local
1255 while (ok && metablock_start < input_size) { in BrotliCompressBufferQuality10()
1257 BROTLI_MIN(size_t, input_size, metablock_start + max_metablock_size); in BrotliCompressBufferQuality10()
1259 (metablock_end - metablock_start) / 12 + 16; in BrotliCompressBufferQuality10()
1271 input_buffer, metablock_start, mask, metablock_end - metablock_start); in BrotliCompressBufferQuality10()
1275 for (block_start = metablock_start; block_start < metablock_end; ) { in BrotliCompressBufferQuality10()
1326 is_last = TO_BROTLI_BOOL(metablock_start + metablock_size == input_size); in BrotliCompressBufferQuality10()
1338 } else if (!ShouldCompress(input_buffer, mask, metablock_start, in BrotliCompressBufferQuality10()
1348 metablock_start, mask, metablock_size, in BrotliCompressBufferQuality10()
1354 BrotliBuildMetaBlock(m, input_buffer, metablock_start, mask, in BrotliCompressBufferQuality10()
[all …]