/external/pdfium/core/fxcodec/gif/ |
D | cfx_lzwdecompressor_unittest.cpp | 19 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/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | DecompressorRegistry.java | 79 String previousEncoding = di.decompressor.getMessageEncoding(); in DecompressorRegistry() 82 previousEncoding, new DecompressorInfo(di.decompressor, di.advertised)); in DecompressorRegistry() 138 return info != null ? info.decompressor : null; in lookupDecompressor() 145 final Decompressor decompressor; field in DecompressorRegistry.DecompressorInfo 148 DecompressorInfo(Decompressor decompressor, boolean advertised) { in DecompressorInfo() argument 149 this.decompressor = checkNotNull(decompressor, "decompressor"); in DecompressorInfo()
|
/external/libtextclassifier/annotator/ |
D | zlib-utils_test.cc | 63 std::unique_ptr<ZlibDecompressor> decompressor = ZlibDecompressor::Instance(); in TEST() local 64 ASSERT_TRUE(decompressor != nullptr); in TEST() 66 EXPECT_TRUE(decompressor->MaybeDecompress( in TEST() 70 EXPECT_TRUE(decompressor->MaybeDecompress( in TEST() 74 EXPECT_TRUE(decompressor->MaybeDecompress(compressed_model->datetime_model() in TEST() 82 EXPECT_TRUE(decompressor->MaybeDecompress(compressed_model->datetime_model() in TEST()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | MessageDeframer.java | 92 private Decompressor decompressor; field in MessageDeframer 119 Decompressor decompressor, in MessageDeframer() argument 124 this.decompressor = checkNotNull(decompressor, "decompressor"); in MessageDeframer() 140 public void setDecompressor(Decompressor decompressor) { in setDecompressor() argument 142 this.decompressor = checkNotNull(decompressor, "Can't pass an empty decompressor"); in setDecompressor() 147 checkState(decompressor == Codec.Identity.NONE, "per-message decompressor already set"); in setFullStreamDecompressor() 421 if (decompressor == Codec.Identity.NONE) { in getCompressedBody() 430 decompressor.decompress(ReadableBuffers.openStream(nextFrame, true)); in getCompressedBody()
|
D | AbstractClientStream.java | 318 Decompressor decompressor = decompressorRegistry.lookupDecompressor(messageEncoding); in inboundHeadersReceived() local 319 if (decompressor == null) { in inboundHeadersReceived() 325 } else if (decompressor != Codec.Identity.NONE) { in inboundHeadersReceived() 334 setDecompressor(decompressor); in inboundHeadersReceived()
|
D | ApplicationThreadDeframer.java | 62 public void setDecompressor(Decompressor decompressor) { in setDecompressor() argument 63 deframer.setDecompressor(decompressor); in setDecompressor()
|
D | AbstractStream.java | 215 protected final void setDecompressor(Decompressor decompressor) { in setDecompressor() argument 216 deframer.setDecompressor(decompressor); in setDecompressor()
|
D | Deframer.java | 33 void setDecompressor(Decompressor decompressor); in setDecompressor() argument
|
D | AbstractServerStream.java | 161 public final void setDecompressor(Decompressor decompressor) { in setDecompressor() argument 162 transportState().setDecompressor(Preconditions.checkNotNull(decompressor, "decompressor")); in setDecompressor()
|
/external/brotli/python/tests/ |
D | decompressor_test.py | 22 self.decompressor = brotli.Decompressor() 25 self.decompressor = None 39 out_file.write(self.decompressor.process(data)) 40 self.assertTrue(self.decompressor.is_finished())
|
/external/libtextclassifier/actions/ |
D | zlib-utils_test.cc | 54 std::unique_ptr<ZlibDecompressor> decompressor = ZlibDecompressor::Instance(); in TEST() local 55 ASSERT_TRUE(decompressor != nullptr); in TEST() 57 EXPECT_TRUE(decompressor->MaybeDecompress( in TEST() 61 EXPECT_TRUE(decompressor->MaybeDecompress( in TEST()
|
D | ranker.h | 33 ZlibDecompressor* decompressor, 47 bool InitializeAndValidate(ZlibDecompressor* decompressor);
|
D | ranker.cc | 198 const RankingOptions* options, ZlibDecompressor* decompressor, in CreateActionsSuggestionsRanker() argument 203 if (!ranker->InitializeAndValidate(decompressor)) { in CreateActionsSuggestionsRanker() 212 ZlibDecompressor* decompressor) { in InitializeAndValidate() argument 221 decompressor, &lua_ranking_script) && in InitializeAndValidate()
|
D | actions-suggestions.cc | 267 std::unique_ptr<ZlibDecompressor> decompressor = ZlibDecompressor::Instance(); in ValidateAndInitialize() local 268 if (!InitializeRules(decompressor.get())) { in ValidateAndInitialize() 291 decompressor.get(), &actions_script) && in ValidateAndInitialize() 300 model_->ranking_options(), decompressor.get(), in ValidateAndInitialize() 420 bool ActionsSuggestions::InitializeRules(ZlibDecompressor* decompressor) { in InitializeRules() argument 422 if (!InitializeRules(decompressor, model_->rules(), &rules_)) { in InitializeRules() 429 if (!InitializeRules(decompressor, model_->low_confidence_rules(), in InitializeRules() 461 ZlibDecompressor* decompressor, const RulesModel* rules, in InitializeRules() argument 467 rules->lazy_regex_compilation(), decompressor); in InitializeRules() 479 rules->lazy_regex_compilation(), decompressor); in InitializeRules()
|
D | zlib-utils.cc | 163 ZlibDecompressor* decompressor, std::string* out) { in GetUncompressedString() argument 169 return decompressor->MaybeDecompressOptionallyCompressedBuffer( in GetUncompressedString()
|
D | zlib-utils.h | 39 ZlibDecompressor* decompressor, std::string* out);
|
/external/pdfium/testing/libfuzzer/ |
D | pdf_lzw_fuzzer.cc | 19 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/libtextclassifier/utils/zlib/ |
D | zlib_regex.cc | 29 ZlibDecompressor* decompressor, std::string* result_pattern_text) { in UncompressMakeRegexPattern() argument 34 if (decompressor == nullptr || in UncompressMakeRegexPattern() 35 !decompressor->MaybeDecompress(compressed_pattern, in UncompressMakeRegexPattern()
|
D | zlib_regex.h | 32 ZlibDecompressor* decompressor, std::string* result_pattern_text = nullptr);
|
/external/python/cpython2/Demo/zlib/ |
D | zlibdemo.py | 32 decompressor = zlib.decompressobj() 40 decomp = decomp + decompressor.decompress(comptext[i:i+chunk]) 41 decomp=decomp+decompressor.flush()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ForwardingClientStreamTest.java | 113 DecompressorRegistry decompressor = in setDecompressorRegistryTest() local 125 forward.setDecompressorRegistry(decompressor); in setDecompressorRegistryTest() 126 verify(mock).setDecompressorRegistry(same(decompressor)); in setDecompressorRegistryTest()
|
/external/libtextclassifier/utils/ |
D | resources.cc | 131 std::unique_ptr<ZlibDecompressor> decompressor = ZlibDecompressor::Instance( in GetResourceContent() local 134 if (decompressor != nullptr && in GetResourceContent() 135 decompressor->MaybeDecompress(resource->compressed_content(), result)) { in GetResourceContent()
|
/external/libtextclassifier/annotator/datetime/ |
D | parser.cc | 31 const CalendarLib& calendarlib, ZlibDecompressor* decompressor) { in Instance() argument 33 new DatetimeParser(model, unilib, calendarlib, decompressor)); in Instance() 42 ZlibDecompressor* decompressor) in DatetimeParser() argument 57 model->lazy_regex_compilation(), decompressor); in DatetimeParser() 78 model->lazy_regex_compilation(), decompressor); in DatetimeParser()
|
D | parser.h | 42 const CalendarLib& calendarlib, ZlibDecompressor* decompressor); 70 ZlibDecompressor* decompressor);
|
/external/zlib/src/doc/ |
D | rfc1950.txt | 136 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 …]
|