Home
last modified time | relevance | path

Searched refs:BitExtent (Results 1 – 19 of 19) sorted by relevance

/external/puffin/src/
Dutils_unittest.cc88 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 …]
Dutils.cc37 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 …]
Dpuffdiff.cc38 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()
Dunittest_common.cc53 const vector<BitExtent> kSubblockDeflateExtentsSample1 = {
74 const vector<BitExtent> kSubblockDeflateExtentsSample2 = {
89 const vector<BitExtent> kProblematicCacheDeflateExtents = {{2, 606}};
90 const vector<BitExtent> kProblematicCachePuffExtents = {{1, 185}};
Dunittest_common.h40 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;
Dpuffin_stream.h49 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_;
Dfuzzer_puffpatch.cc14 using puffin::BitExtent;
26 vector<BitExtent>* src_deflates,
27 vector<BitExtent>* dst_deflates,
59 vector<BitExtent> src_deflates, dst_deflates; in FuzzPuffPatch()
Dpuffin.proto10 message BitExtent { message
16 repeated BitExtent deflates = 1;
17 repeated BitExtent puffs = 2;
Dpuffin_unittest.cc187 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()
Dpuffpatch.cc39 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()
Dfuzzer_puff.cc15 using puffin::BitExtent;
27 vector<BitExtent> bit_extents; in FuzzPuff()
Dpatching_unittest.cc133 const vector<BitExtent>& src_deflates, in TestPatching()
134 const vector<BitExtent>& dst_deflates, in TestPatching()
Dmain.cc28 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()
Dpuffin_stream.cc32 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()
Dpuffer.cc37 vector<BitExtent>* deflates) const { in PuffDeflate()
/external/puffin/src/include/puffin/
Dutils.h39 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);
Dpuffdiff.h32 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,
Dcommon.h45 struct BitExtent { struct
46 BitExtent(uint64_t offset, uint64_t length) in BitExtent() function
49 bool operator==(const BitExtent& other) const {
Dpuffer.h45 std::vector<BitExtent>* deflates) const;