/external/puffin/src/ |
D | utils_unittest.cc | 88 const vector<BitExtent>& deflates) { in FindDeflatesInZlibBlocks() 97 vector<BitExtent> deflates_out; in FindDeflatesInZlibBlocks() 103 const vector<BitExtent>& deflates, in CheckFindPuffLocation() 128 vector<BitExtent> deflates; in TEST() 129 vector<BitExtent> expected_deflates = {{16, 98}}; in TEST() 137 vector<BitExtent> empty_deflates; in TEST() 146 vector<BitExtent> deflates; in TEST() 159 vector<BitExtent> deflates; in TEST() 160 vector<BitExtent> expected_deflates = {{472, 46}, {992, 46}}; in TEST() 168 vector<BitExtent> deflates; in TEST() [all …]
|
D | utils.cc | 37 puffin::BitExtent extent; 42 ExtentData(const puffin::BitExtent& in_extent, const puffin::Buffer& in_data) in ExtentData() 77 vector<BitExtent>* deflates, in LocateDeflatesInDeflateStream() 82 vector<BitExtent> sub_deflates; in LocateDeflatesInDeflateStream() 99 bool LocateDeflatesInZlib(const Buffer& data, vector<BitExtent>* deflates) { in LocateDeflatesInZlib() 133 vector<BitExtent>* subblock_deflates) { in FindDeflateSubBlocks() 148 vector<BitExtent> subblocks; in FindDeflateSubBlocks() 162 vector<BitExtent>* deflates) { in LocateDeflatesInZlibBlocks() 171 vector<BitExtent> tmp_deflates; in LocateDeflatesInZlibBlocks() 193 bool LocateDeflatesInGzip(const Buffer& data, vector<BitExtent>* deflates) { in LocateDeflatesInGzip() [all …]
|
D | puffdiff.cc | 38 google::protobuf::RepeatedPtrField<metadata::BitExtent>* to, in CopyVectorToRpf() 53 const vector<BitExtent>& src_deflates, in CreatePatch() 54 const vector<BitExtent>& dst_deflates, in CreatePatch() 101 const vector<BitExtent>& src_deflates, in PuffDiff() 102 const vector<BitExtent>& dst_deflates, in PuffDiff() 108 [&puffer](UniqueStreamPtr stream, const vector<BitExtent>& deflates, in PuffDiff() 156 const vector<BitExtent>& src_deflates, in PuffDiff() 157 const vector<BitExtent>& dst_deflates, in PuffDiff() 168 const vector<BitExtent>& src_deflates, in PuffDiff() 169 const vector<BitExtent>& dst_deflates, in PuffDiff()
|
D | unittest_common.cc | 53 const vector<BitExtent> kSubblockDeflateExtentsSample1 = { 74 const vector<BitExtent> kSubblockDeflateExtentsSample2 = { 89 const vector<BitExtent> kProblematicCacheDeflateExtents = {{2, 606}}; 90 const vector<BitExtent> kProblematicCachePuffExtents = {{1, 185}};
|
D | unittest_common.h | 40 extern const std::vector<BitExtent> kSubblockDeflateExtentsSample1; 46 extern const std::vector<BitExtent> kSubblockDeflateExtentsSample2; 50 extern const std::vector<BitExtent> kProblematicCacheDeflateExtents; 51 extern const std::vector<BitExtent> kProblematicCachePuffExtents;
|
D | puffin_stream.h | 49 const std::vector<BitExtent>& deflates, 63 const std::vector<BitExtent>& deflates, 94 const std::vector<BitExtent>& deflates, 117 std::vector<BitExtent> deflates_; 119 std::vector<BitExtent>::iterator cur_deflate_;
|
D | fuzzer_puffpatch.cc | 14 using puffin::BitExtent; 26 vector<BitExtent>* src_deflates, 27 vector<BitExtent>* dst_deflates, 59 vector<BitExtent> src_deflates, dst_deflates; in FuzzPuffPatch()
|
D | puffin.proto | 10 message BitExtent { message 16 repeated BitExtent deflates = 1; 17 repeated BitExtent puffs = 2;
|
D | puffin_unittest.cc | 187 const vector<BitExtent>& deflate_extents, in CheckBitExtentsPuffAndHuff() 273 vector<BitExtent> deflates; in TEST_F() 288 vector<BitExtent> deflates; in TEST_F() 504 vector<BitExtent> deflates; in TEST_F() 506 const vector<BitExtent> kExpectedDeflates = {{0, 18}}; in TEST_F() 563 const vector<BitExtent> kGapSubblockDeflateExtents = { 585 vector<BitExtent> deflates, empty; in TEST_F() 599 vector<BitExtent> deflates; in TEST_F()
|
D | puffpatch.cc | 39 const google::protobuf::RepeatedPtrField<metadata::BitExtent>& from, in CopyRpfToVector() 101 vector<BitExtent>* src_deflates, in DecodePatch() 102 vector<BitExtent>* dst_deflates, in DecodePatch() 148 vector<BitExtent> src_deflates, dst_deflates; in PuffPatch()
|
D | fuzzer_puff.cc | 15 using puffin::BitExtent; 27 vector<BitExtent> bit_extents; in FuzzPuff()
|
D | patching_unittest.cc | 133 const vector<BitExtent>& src_deflates, in TestPatching() 134 const vector<BitExtent>& dst_deflates, in TestPatching()
|
D | main.cc | 28 using puffin::BitExtent; 95 vector<BitExtent>* deflates) { in LocateDeflatesBasedOnFileType() 215 auto src_deflates_bit = StringToExtents<BitExtent>(FLAGS_src_deflates_bit); in Main() 216 auto dst_deflates_bit = StringToExtents<BitExtent>(FLAGS_dst_deflates_bit); in Main()
|
D | puffin_stream.cc | 32 const vector<BitExtent>& deflates, in CheckArgsIntegrity() 60 const vector<BitExtent>& deflates, in CreateForPuff() 77 const vector<BitExtent>& deflates, in CreateForHuff() 93 const vector<BitExtent>& deflates, in PuffinStream()
|
D | puffer.cc | 37 vector<BitExtent>* deflates) const { in PuffDeflate()
|
/external/puffin/src/include/puffin/ |
D | utils.h | 39 std::vector<BitExtent>* deflates, 44 bool LocateDeflatesInZlib(const Buffer& data, std::vector<BitExtent>* deflates); 50 std::vector<BitExtent>* deflates); 54 bool LocateDeflatesInGzip(const Buffer& data, std::vector<BitExtent>* deflates); 58 std::vector<BitExtent>* deflates); 66 std::vector<BitExtent>* subblock_deflates); 72 const std::vector<BitExtent>& deflates, 81 std::vector<BitExtent>* extents1, 82 std::vector<BitExtent>* extents2); 88 std::vector<BitExtent>* deflates);
|
D | puffdiff.h | 32 const std::vector<BitExtent>& src_deflates, 33 const std::vector<BitExtent>& dst_deflates, 42 const std::vector<BitExtent>& src_deflates, 43 const std::vector<BitExtent>& dst_deflates, 52 const std::vector<BitExtent>& src_deflates, 53 const std::vector<BitExtent>& dst_deflates,
|
D | common.h | 45 struct BitExtent { struct 46 BitExtent(uint64_t offset, uint64_t length) in BitExtent() function 49 bool operator==(const BitExtent& other) const {
|
D | puffer.h | 45 std::vector<BitExtent>* deflates) const;
|