Home
last modified time | relevance | path

Searched refs:ZSTD_inBuffer (Results 1 – 25 of 42) sorted by relevance

12

/external/zstd/tests/fuzz/
Dstream_round_trip.c44 static ZSTD_inBuffer makeInBuffer(const uint8_t **src, size_t *size, in makeInBuffer()
47 ZSTD_inBuffer buffer = { *src, 0, 0 }; in makeInBuffer()
67 ZSTD_inBuffer in = makeInBuffer(&src, &srcSize, producer); in compress()
101 ZSTD_inBuffer nullIn = { NULL, 0, 0 }; in compress()
120 ZSTD_inBuffer in = {NULL, 0, 0}; in compress()
Ddictionary_stream_round_trip.c44 static ZSTD_inBuffer makeInBuffer(const uint8_t **src, size_t *size, in makeInBuffer()
47 ZSTD_inBuffer buffer = { *src, 0, 0 }; in makeInBuffer()
81 ZSTD_inBuffer in = makeInBuffer(&src, &srcSize, producer); in compress()
115 ZSTD_inBuffer nullIn = { NULL, 0, 0 }; in compress()
134 ZSTD_inBuffer in = {NULL, 0, 0}; in compress()
Dstream_decompress.c46 static ZSTD_inBuffer makeInBuffer(const uint8_t **src, size_t *size, in makeInBuffer()
49 ZSTD_inBuffer buffer = { *src, 0, 0 }; in makeInBuffer()
101 ZSTD_inBuffer in = makeInBuffer(&src, &size, producer); in LLVMFuzzerTestOneInput()
/external/zstd/contrib/linux-kernel/
Dzstd_compress_module.c56 ZSTD_STATIC_ASSERT(sizeof(ZSTD_inBuffer) == sizeof(struct zstd_in_buffer)); in zstd_check_structs()
57 ZSTD_STATIC_ASSERT(offsetof(ZSTD_inBuffer, src) == in zstd_check_structs()
59 ZSTD_STATIC_ASSERT(offsetof(ZSTD_inBuffer, size) == in zstd_check_structs()
61 ZSTD_STATIC_ASSERT(offsetof(ZSTD_inBuffer, pos) == in zstd_check_structs()
169 ZSTD_inBuffer i; in zstd_compress_stream()
Dzstd_decompress_module.c81 ZSTD_inBuffer i; in zstd_decompress_stream()
/external/zstd/examples/
Dstreaming_memory_usage.c89 ZSTD_inBuffer inBuff = { dataToCompress, sizeof(dataToCompress), 0 }; in main()
108 { ZSTD_inBuffer inBuff = { compressedData, compressedSize, 0 }; in main()
Dstreaming_decompression.c41 ZSTD_inBuffer input = { buffIn, read, 0 }; in decompressFile_orDie()
Dstreaming_compression.c62 ZSTD_inBuffer input = { buffIn, read, 0 }; in compressFile_orDie()
Dmultiple_streaming_compression.c78 ZSTD_inBuffer input = { ress.buffIn, read, 0 }; in compressFile_orDie()
Dstreaming_compression_thread_pool.c79 ZSTD_inBuffer input = { buffIn, read, 0 }; in compressFile_orDie()
/external/zstd/tests/
Dbigdict.c27 ZSTD_inBuffer in = {src, srcSize, 0}; in compress()
40 ZSTD_inBuffer rtIn = {dst, out.pos, 0}; in compress()
Dzstreamtest.c175 ZSTD_inBuffer cin = {data, size, 0}; in SEQ_roundTrip()
180 ZSTD_inBuffer din = { compressed, 0, 0 }; in SEQ_roundTrip()
278 ZSTD_inBuffer inBuff, inBuff2; in basicUnitTests()
759 ZSTD_inBuffer in; in basicUnitTests()
1013 ZSTD_inBuffer decIn = {outBuff.dst, outBuff.pos, 0}; in basicUnitTests()
1038 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
1046 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
1052 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
1059 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
1066 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
[all …]
Dfuzzer.c225 ZSTD_inBuffer in = { inBuffer, inSize, 0 }; in FUZ_mallocTests_internal()
262 ZSTD_inBuffer in = { inBuffer, inSize, 0 }; in FUZ_mallocTests_internal()
464 ZSTD_inBuffer inb = { CNBuffer, CNBuffSize, 0 }; in basicUnitTests()
659 ZSTD_inBuffer in = {(void*)(dst + consumed), MIN(1, srcSize - consumed), 0}; in basicUnitTests()
738 ZSTD_inBuffer in = { src, flushSize, 0 }; in basicUnitTests()
805 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
816 ZSTD_inBuffer in = {CNBuffer, srcSize1, 0}; in basicUnitTests()
824 ZSTD_inBuffer in = {CNBuffer, srcSize2, 0}; in basicUnitTests()
832 ZSTD_inBuffer in = {compressedBuffer, cSize, 0}; in basicUnitTests()
944 ZSTD_inBuffer in = {src, streamCompressDelta, 0}; in basicUnitTests()
[all …]
Dfullbench.c206 ZSTD_inBuffer buffIn; in local_ZSTD_compressStream()
253 ZSTD_inBuffer buffIn; in local_ZSTD_compressStream2_end()
271 ZSTD_inBuffer buffIn; in local_ZSTD_compressStream2_continue()
300 ZSTD_inBuffer buffIn; in local_ZSTD_compress_generic_T2_continue()
321 ZSTD_inBuffer buffIn; in local_ZSTD_decompressStream()
Dlegacy.c82 ZSTD_inBuffer input = { COMPRESSED, COMPRESSED_SIZE, 0 }; in testStreamingAPI()
Dlongmatch.c23 ZSTD_inBuffer in = { data, size, 0 }; in compress()
/external/zstd/lib/compress/
Dzstdmt_compress.h83 ZSTD_inBuffer* input,
/external/zstd/contrib/pzstd/
DPzstd.cpp223 static ZSTD_inBuffer makeZstdInBuffer(const Buffer& buffer) { in makeZstdInBuffer()
224 return ZSTD_inBuffer{buffer.data(), buffer.size(), 0}; in makeZstdInBuffer()
231 void advance(Buffer& buffer, ZSTD_inBuffer& inBuffer) { in advance()
479 ZSTD_inBuffer zstdInBuffer{nullptr, 0, 0}; in decompress()
/external/zstd/lib/deprecated/
Dzbuff_decompress.c56 ZSTD_inBuffer inBuff; in ZBUFF_decompressContinue()
Dzbuff_compress.c99 ZSTD_inBuffer inBuff; in ZBUFF_compressContinue()
/external/kmod/libkmod/
Dlibkmod-file.c71 ZSTD_inBuffer *input, size_t *input_capacity) in zstd_read_block()
118 ZSTD_inBuffer *input, ZSTD_outBuffer *output, in zstd_decompress_block()
153 ZSTD_inBuffer zst_inb = { 0 }; in load_zstd()
/external/zstd/contrib/seekable_format/
Dzstd_seekable.h83 …_seekable_compressStream(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* input);
Dzstdseek_compress.c233 …D_seekable_compressStream(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* input) in ZSTD_seekable_compressStream()
242 ZSTD_inBuffer inTmp = { inBase, inLen, 0 }; in ZSTD_seekable_compressStream()
/external/zstd/lib/
Dzstd.h593 } ZSTD_inBuffer; typedef
708 ZSTD_inBuffer* input,
751 ZSTDLIB_API size_t ZSTD_compressStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* in…
800 ZSTDLIB_API size_t ZSTD_decompressStream(ZSTD_DStream* zds, ZSTD_outBuffer* output, ZSTD_inBuffer* …
/external/zstd/contrib/seekable_format/examples/
Dseekable_compression.c79 ZSTD_inBuffer input = { buffIn, read, 0 }; in compressFile_orDie()

12