Home
last modified time | relevance | path

Searched refs:decompressor (Results 1 – 25 of 49) sorted by relevance

12

/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp19 auto decompressor = CFX_LZWDecompressor::Create(palette_exp, code_exp); in TEST() local
20 ASSERT_NE(nullptr, decompressor); in TEST()
24 std::vector<uint8_t>* decompressed = decompressor->DecompressedForTest(); in TEST()
26 *(decompressor->DecompressedNextForTest()) = decompressed->size(); in TEST()
30 EXPECT_EQ(0u, decompressor->ExtractDataForTest(des_buf, 0)); in TEST()
34 EXPECT_EQ(10u, *(decompressor->DecompressedNextForTest())); in TEST()
35 for (size_t i = 0; i < *(decompressor->DecompressedNextForTest()); ++i) in TEST()
41 std::vector<uint8_t>* decompressed = decompressor->DecompressedForTest(); in TEST()
43 *(decompressor->DecompressedNextForTest()) = decompressed->size(); in TEST()
47 EXPECT_EQ(5u, decompressor->ExtractDataForTest(des_buf, 5)); in TEST()
[all …]
/external/libtextclassifier/
Dzlib-utils_test.cc62 std::unique_ptr<ZlibDecompressor> decompressor = ZlibDecompressor::Instance(); in TEST() local
63 ASSERT_TRUE(decompressor != nullptr); in TEST()
65 EXPECT_TRUE(decompressor->Decompress( in TEST()
69 EXPECT_TRUE(decompressor->Decompress( in TEST()
73 EXPECT_TRUE(decompressor->Decompress(compressed_model->datetime_model() in TEST()
81 EXPECT_TRUE(decompressor->Decompress(compressed_model->datetime_model() in TEST()
Dzlib-utils.cc232 const CompressedBuffer* compressed_pattern, ZlibDecompressor* decompressor, in UncompressMakeRegexPattern() argument
238 if (decompressor == nullptr || in UncompressMakeRegexPattern()
239 !decompressor->Decompress(compressed_pattern, &decompressed_pattern)) { in UncompressMakeRegexPattern()
Dzlib-utils.h74 const CompressedBuffer* compressed_pattern, ZlibDecompressor* decompressor,
Dtext-classifier.cc245 std::unique_ptr<ZlibDecompressor> decompressor = ZlibDecompressor::Instance(); in ValidateAndInitialize() local
247 if (!InitializeRegexModel(decompressor.get())) { in ValidateAndInitialize()
255 *unilib_, decompressor.get()); in ValidateAndInitialize()
286 bool TextClassifier::InitializeRegexModel(ZlibDecompressor* decompressor) { in InitializeRegexModel() argument
297 decompressor); in InitializeRegexModel()
Dtext-classifier.h195 bool InitializeRegexModel(ZlibDecompressor* decompressor);
/external/pdfium/testing/libfuzzer/
Dpdf_lzw_fuzzer.cc19 std::unique_ptr<CFX_LZWDecompressor> decompressor = in LZWFuzz() local
21 if (!decompressor) in LZWFuzz()
31 decompressor->Decode(const_cast<uint8_t*>(src_buf), src_size, in LZWFuzz()
/external/brotli/python/tests/
Ddecompressor_test.py22 self.decompressor = brotli.Decompressor()
36 out_file.write(self.decompressor.process(data))
37 self.assertTrue(self.decompressor.is_finished())
/external/python/cpython2/Demo/zlib/
Dzlibdemo.py32 decompressor = zlib.decompressobj()
40 decomp = decomp + decompressor.decompress(comptext[i:i+chunk])
41 decomp=decomp+decompressor.flush()
/external/libtextclassifier/datetime/
Dparser.cc30 ZlibDecompressor* decompressor) { in Instance() argument
32 new DatetimeParser(model, unilib, decompressor)); in Instance()
40 ZlibDecompressor* decompressor) in DatetimeParser() argument
55 decompressor); in DatetimeParser()
76 decompressor); in DatetimeParser()
Dparser.h42 ZlibDecompressor* decompressor);
61 ZlibDecompressor* decompressor);
/external/zlib/src/doc/
Drfc1950.txt136 Unless otherwise indicated below, a compliant decompressor must be
293 below). The decompressor can use this identifier to determine
353 A compliant decompressor must check CMF, FLG, and ADLER32, and
355 A compliant decompressor must give an error indication if CM is
359 data to be interpreted incorrectly. A compliant decompressor must
361 identifier of a known preset dictionary. A decompressor may
364 decompressor must support all the preset dictionaries specified by
366 dictionary feature, a compliant decompressor must reject any
462 decompressor can be initialized with the appropriate context by
468 The compressor and the decompressor must use exactly the same
[all …]
Drfc1952.txt145 Unless otherwise indicated below, a compliant decompressor must be
318 decompressor can use FTEXT to choose the appropriate format.
321 leaving it cleared and a decompressor always has the option
470 A compliant decompressor must check ID1, ID2, and CM, and
475 trailer; in particular, a decompressor may ignore FTEXT and OS
477 compliant decompressor must give an error indication if any
581 includes a modification time, the gzip decompressor provides a
/external/syslinux/gpxe/src/arch/i386/
DREADME.i386110 Etherboot is conceptually divided into the prefix, the decompressor,
111 and the runtime image. (For non-compressed images, the decompressor
114 decompressor.
123 Call the decompressor, if the runtime image is compressed. This
147 Call the decompressor.
/external/xz-embedded/linux/Documentation/
Dxz.txt13 The XZ decompressor in Linux is called XZ Embedded. It supports
26 The xz_dec module provides XZ decompressor with single-call (buffer
31 useful unless you are hacking the XZ decompressor. xz_dec_test
/external/syslinux/lzo/doc/
DLZO.TXT45 compressor. The speed of the decompressor is not reduced.
60 LZO1X decompressor in optimized i386 assembler code runs about at
63 In fact I first wrote the decompressor of each algorithm thereby
180 decompressor is too slow, and there is no fast compressor anyway.
/external/xz-embedded/linux/lib/xz/
DKconfig48 tristate "XZ decompressor tester"
/external/lz4/doc/
Dlz4_Block_format.md18 not how the compressor nor decompressor actually work.
19 The correctness of the decompressor should not depend
/external/python/cpython3/Doc/library/
Dlzma.rst30 decompression, or while initializing the compressor/decompressor state.
213 Create a decompressor object, which can be used to decompress data
225 that the decompressor can use. When this argument is used, decompression will
238 create a new decompressor for each stream.
Dbz2.rst169 Create a new decompressor object. This object may be used to decompress data
177 you must use a new decompressor for each stream.
Dzlib.rst195 call to the decompressor's ``decompress()`` method.
294 of the decompressor midway through the data stream in order to speed up random
/external/python/cpython2/Doc/library/
Dbz2.rst183 Create a new decompressor object. This object may be used to decompress data
190 Provide more data to the decompressor object. It will return chunks of
Djpeg.rst17 The module :mod:`jpeg` provides access to the jpeg compressor and decompressor
/external/syslinux/lzo/src/
Dlzo1_d.ch54 // The fastest decompressor results when testing for no overruns
/external/libjpeg-turbo/
Dstructure.txt89 The compressor and decompressor are each divided into two main sections:
90 the JPEG compressor or decompressor proper, and the preprocessing or
116 The decompressor library contains the following main elements:
135 in the decompressor, where a wide range of speed/quality tradeoffs is very
497 decompressor is divided into two sections that can run independently:
522 The main impact of dividing the decompressor in this fashion is that we must
885 1. Testing for a DNL marker must occur in the inner loop of the decompressor's
899 this approach we'd simply treat DNL as a no-op in the decompressor (at most,

12