Home
last modified time | relevance | path

Searched refs:chunk_len (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPngChunkFilter.cpp118 const uint32_t chunk_len = Peek32LE(data_.data() + window_end_); in Next() local
119 if ((size_t)chunk_len > data_.size() - window_end_ - kMinChunkHeaderSize) { in Next()
125 chunk_type, (size_t)chunk_len, window_end_ + kMinChunkHeaderSize, data_.size()); in Next()
133 window_end_ += kMinChunkHeaderSize + chunk_len; in Next()
153 window_end_ += kMinChunkHeaderSize + chunk_len; in Next()
DPngCrunch.cpp447 size_t chunk_len = 0; in WriteNinePatch() local
450 nine_patch->SerializeRoundedRectOutline(&chunk_len); in WriteNinePatch()
452 unknown_chunks[index].size = chunk_len; in WriteNinePatch()
459 serialized_layout_bounds = nine_patch->SerializeLayoutBounds(&chunk_len); in WriteNinePatch()
461 unknown_chunks[index].size = chunk_len; in WriteNinePatch()
467 std::unique_ptr<uint8_t[]> serialized_nine_patch = nine_patch->SerializeBase(&chunk_len); in WriteNinePatch()
469 unknown_chunks[index].size = chunk_len; in WriteNinePatch()
DNinePatch.cpp632 size_t chunk_len = sizeof(uint32_t) * 4; in SerializeLayoutBounds() local
633 auto buffer = std::unique_ptr<uint8_t[]>(new uint8_t[chunk_len]); in SerializeLayoutBounds()
648 *out_len = chunk_len; in SerializeLayoutBounds()
654 size_t chunk_len = sizeof(uint32_t) * 6; in SerializeRoundedRectOutline() local
655 auto buffer = std::unique_ptr<uint8_t[]>(new uint8_t[chunk_len]); in SerializeRoundedRectOutline()
675 *out_len = chunk_len; in SerializeRoundedRectOutline()