Searched refs:scratchbuf_size (Results 1 – 2 of 2) sorted by relevance
559 size_t scratchbuf_size = 0; in DecompressPacket() local561 scratchbuf_size = compression_decode_scratch_buffer_size (COMPRESSION_LZFSE); in DecompressPacket()563 scratchbuf_size = compression_decode_scratch_buffer_size (COMPRESSION_LZ4_RAW); in DecompressPacket()565 scratchbuf_size = compression_decode_scratch_buffer_size (COMPRESSION_ZLIB); in DecompressPacket()567 scratchbuf_size = compression_decode_scratch_buffer_size (COMPRESSION_LZMA); in DecompressPacket()569 scratchbuf_size = compression_decode_scratch_buffer_size (COMPRESSION_LZFSE); in DecompressPacket()570 if (scratchbuf_size > 0) { in DecompressPacket()571 m_decompression_scratch = (void*) malloc (scratchbuf_size); in DecompressPacket()
716 size_t scratchbuf_size = 0; in CompressString() local719 scratchbuf_size = compression_encode_scratch_buffer_size (COMPRESSION_LZ4_RAW); in CompressString()722 scratchbuf_size = compression_encode_scratch_buffer_size (COMPRESSION_ZLIB); in CompressString()725 scratchbuf_size = compression_encode_scratch_buffer_size (COMPRESSION_LZMA); in CompressString()728 scratchbuf_size = compression_encode_scratch_buffer_size (COMPRESSION_LZFSE); in CompressString()733 if (scratchbuf_size > 0) { in CompressString()734 g_libcompress_scratchbuf = (void*) malloc (scratchbuf_size); in CompressString()