Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/io/
DUtil.cpp101 size_t out_len; in Copy() local
102 if (!out->Next(&out_buffer, &out_len)) { in Copy()
106 const size_t bytes_to_copy = in_len < out_len ? in_len : out_len; in Copy()
108 out->BackUp(out_len - bytes_to_copy); in Copy()
119 size_t out_len; in Copy() local
120 if (!out->Next(&out_buffer, &out_len)) { in Copy()
124 const size_t bytes_to_copy = in_len < out_len ? in_len : out_len; in Copy()
126 out->BackUp(out_len - bytes_to_copy); in Copy()
/frameworks/base/libs/androidfw/include/androidfw/
DImage.h185 std::unique_ptr<uint8_t[]> SerializeBase(size_t* out_len) const;
190 std::unique_ptr<uint8_t[]> SerializeLayoutBounds(size_t* out_len) const;
195 std::unique_ptr<uint8_t[]> SerializeRoundedRectOutline(size_t* out_len) const;
/frameworks/base/libs/androidfw/
DPngCrunch.cpp113 size_t out_len; in WriteDataToStream() local
115 if (!out->Next(&out_buffer, &out_len)) { in WriteDataToStream()
128 const size_t bytes_written = std::min(out_len, len); in WriteDataToStream()
136 out_len -= bytes_written; in WriteDataToStream()
140 if (out_len > 0) { in WriteDataToStream()
141 out->BackUp(out_len); in WriteDataToStream()
DNinePatch.cpp609 std::unique_ptr<uint8_t[]> NinePatch::SerializeLayoutBounds(size_t* out_len) const { in SerializeLayoutBounds()
626 *out_len = chunk_len; in SerializeLayoutBounds()
630 std::unique_ptr<uint8_t[]> NinePatch::SerializeRoundedRectOutline(size_t* out_len) const { in SerializeRoundedRectOutline()
652 *out_len = chunk_len; in SerializeRoundedRectOutline()
/frameworks/base/tools/aapt2/format/
DContainer.h63 size_t* out_len);
DContainer.cpp203 off64_t* out_offset, size_t* out_len) { in GetResFileOffsets() argument
252 *out_len = data_length; in GetResFileOffsets()