Searched refs:chunk_len (Results 1 – 3 of 3) sorted by relevance
115 const uint32_t chunk_len = Peek32LE(data_.data() + window_end_); in Next() local116 if ((size_t)chunk_len > data_.size() - window_end_ - kMinChunkHeaderSize) { in Next()122 chunk_type, (size_t)chunk_len, window_end_ + kMinChunkHeaderSize, data_.size()); in Next()130 window_end_ += kMinChunkHeaderSize + chunk_len; in Next()150 window_end_ += kMinChunkHeaderSize + chunk_len; in Next()
438 size_t chunk_len = 0; in WriteNinePatch() local441 nine_patch->SerializeRoundedRectOutline(&chunk_len); in WriteNinePatch()443 unknown_chunks[index].size = chunk_len; in WriteNinePatch()450 serialized_layout_bounds = nine_patch->SerializeLayoutBounds(&chunk_len); in WriteNinePatch()452 unknown_chunks[index].size = chunk_len; in WriteNinePatch()458 std::unique_ptr<uint8_t[]> serialized_nine_patch = nine_patch->SerializeBase(&chunk_len); in WriteNinePatch()460 unknown_chunks[index].size = chunk_len; in WriteNinePatch()
610 size_t chunk_len = sizeof(uint32_t) * 4; in SerializeLayoutBounds() local611 auto buffer = std::unique_ptr<uint8_t[]>(new uint8_t[chunk_len]); in SerializeLayoutBounds()626 *out_len = chunk_len; in SerializeLayoutBounds()631 size_t chunk_len = sizeof(uint32_t) * 6; in SerializeRoundedRectOutline() local632 auto buffer = std::unique_ptr<uint8_t[]>(new uint8_t[chunk_len]); in SerializeRoundedRectOutline()652 *out_len = chunk_len; in SerializeRoundedRectOutline()