OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ByteExtent
(Results
1 - 18
of
18
) sorted by null
/external/puffin/src/include/puffin/
utils.h
16
// Counts the number of bytes in a list of |
ByteExtent
|s.
18
uint64_t BytesInByteExtents(const std::vector<
ByteExtent
>& extents);
35
std::vector<
ByteExtent
>* deflate_blocks);
42
const std::vector<
ByteExtent
>& zlibs,
48
std::vector<
ByteExtent
>* deflate_blocks);
53
std::vector<
ByteExtent
>* deflate_blocks);
66
const std::vector<
ByteExtent
>& deflates,
74
std::vector<
ByteExtent
>* puffs,
common.h
40
struct PUFFIN_EXPORT
ByteExtent
{
41
ByteExtent
(uint64_t offset, uint64_t length)
44
bool operator==(const
ByteExtent
& other) const {
/external/puffin/src/
extent_stream.h
23
const std::vector<
ByteExtent
>& extents);
26
const std::vector<
ByteExtent
>& extents);
38
const std::vector<
ByteExtent
>& extents,
51
std::vector<
ByteExtent
> extents_;
53
// The current |
ByteExtent
| that is being read from or write into.
54
std::vector<
ByteExtent
>::iterator cur_extent_;
56
// The current offset in the current |
ByteExtent
| |cur_extent_|.
puffin_stream.h
50
const std::vector<
ByteExtent
>& puffs,
64
const std::vector<
ByteExtent
>& puffs);
95
const std::vector<
ByteExtent
>& puffs,
119
std::vector<
ByteExtent
> puffs_;
121
std::vector<
ByteExtent
>::iterator cur_puff_;
utils_unittest.cc
87
const vector<
ByteExtent
>& zlibs,
104
const vector<
ByteExtent
>& expected_puffs,
107
vector<
ByteExtent
> puffs;
128
vector<
ByteExtent
> deflates;
131
EXPECT_EQ(
ByteExtent
(2, 13), deflates[0]);
136
vector<
ByteExtent
> empty_zlibs;
146
vector<
ByteExtent
> deflates;
159
vector<
ByteExtent
> deflates;
162
EXPECT_EQ(
ByteExtent
(59, 6), deflates[0]);
163
EXPECT_EQ(
ByteExtent
(124, 6), deflates[1])
[
all
...]
utils.cc
82
uint64_t BytesInByteExtents(const vector<
ByteExtent
>& extents) {
96
std::vector<
ByteExtent
>* deflate_blocks) {
127
const vector<
ByteExtent
>& deflates,
154
const vector<
ByteExtent
>& zlibs,
165
vector<
ByteExtent
> deflate_blocks;
184
vector<
ByteExtent
>* deflate_blocks) {
237
deflate_blocks->push_back(
ByteExtent
(offset, compressed_size));
256
vector<
ByteExtent
>* deflate_blocks) {
333
vector<
ByteExtent
> deflate_blocks;
344
vector<
ByteExtent
>* puffs
[
all
...]
extent_stream.cc
17
UniqueStreamPtr stream, const vector<
ByteExtent
>& extents) {
22
const vector<
ByteExtent
>& extents) {
27
const vector<
ByteExtent
>& extents,
puffdiff.cc
53
const vector<
ByteExtent
>& src_puffs,
54
const vector<
ByteExtent
>& dst_puffs,
106
Buffer* puff_buffer, vector<
ByteExtent
>* puffs) {
122
vector<
ByteExtent
> src_puffs, dst_puffs;
main.cc
30
using puffin::
ByteExtent
;
95
vector<
ByteExtent
>* deflates) {
130
*deflates = {
ByteExtent
(0, stream_size)};
215
auto src_deflates_byte = StringToExtents<
ByteExtent
>(FLAGS_src_deflates_byte);
216
auto dst_deflates_byte = StringToExtents<
ByteExtent
>(FLAGS_dst_deflates_byte);
219
auto src_puffs = StringToExtents<
ByteExtent
>(FLAGS_src_puffs);
220
auto dst_puffs = StringToExtents<
ByteExtent
>(FLAGS_dst_puffs);
221
auto src_extents = StringToExtents<
ByteExtent
>(FLAGS_src_extents);
222
auto dst_extents = StringToExtents<
ByteExtent
>(FLAGS_dst_extents);
puffpatch.cc
53
vector<
ByteExtent
>* src_puffs,
54
vector<
ByteExtent
>* dst_puffs,
141
vector<
ByteExtent
> src_puffs, dst_puffs;
puffin_stream.cc
33
const std::vector<
ByteExtent
>& puffs) {
62
const std::vector<
ByteExtent
>& puffs,
80
const std::vector<
ByteExtent
>& puffs) {
96
const vector<
ByteExtent
>& puffs,
puffin_unittest.cc
197
const vector<
ByteExtent
>& puff_extents) {
201
vector<
ByteExtent
> out_puff_extents;
unittest_common.h
123
const std::vector<
ByteExtent
> kDeflateExtents8 = {{2, 7}, {10, 2}, {12, 3}};
126
const std::vector<
ByteExtent
> kPuffExtents8 = {{2, 11}, {15, 5}, {21, 7}};
145
const std::vector<
ByteExtent
> kDeflateExtents9 = {{0, 7}, {9, 10}, {19, 3}};
148
const std::vector<
ByteExtent
> kPuffExtents9 = {{0, 11}, {14, 11}, {25, 7}};
434
const std::vector<
ByteExtent
> kPuffExtents11 = {
stream_unittest.cc
251
vector<
ByteExtent
> extents = {{10, 10}, {25, 0}, {30, 10}};
/system/update_engine/payload_generator/
deflate_utils.h
92
// Expands a BitExtents to a
ByteExtent
.
93
puffin::
ByteExtent
ExpandToByteExtent(const puffin::BitExtent& extent);
squashfs_filesystem.cc
112
vector<puffin::
ByteExtent
> zlib_blks;
225
[](const puffin::
ByteExtent
& a, const puffin::
ByteExtent
& b) {
233
[](const puffin::
ByteExtent
& a, const puffin::
ByteExtent
& b) {
deflate_utils_unittest.cc
34
using puffin::
ByteExtent
;
40
vector<BitExtent> ByteToBitExtent(const vector<
ByteExtent
>& byte_extents) {
deflate_utils.cc
37
using puffin::
ByteExtent
;
107
ByteExtent
ExpandToByteExtent(const BitExtent& extent) {
Completed in 116 milliseconds