Searched refs:chunk_len (Results 1 – 3 of 3) sorted by relevance
118 const uint32_t chunk_len = Peek32LE(data_.data() + window_end_); in Next() local119 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()
447 size_t chunk_len = 0; in WriteNinePatch() local450 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()
632 size_t chunk_len = sizeof(uint32_t) * 4; in SerializeLayoutBounds() local633 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() local655 auto buffer = std::unique_ptr<uint8_t[]>(new uint8_t[chunk_len]); in SerializeRoundedRectOutline()675 *out_len = chunk_len; in SerializeRoundedRectOutline()