Home
last modified time | relevance | path

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

/bootable/deprecated-ota/applypatch/
Dimgdiff.cpp960 size_t src_length = src->GetRawDataLength(); in SplitZipModeImageWithLimit() local
962 CHECK(src_length > 0); in SplitZipModeImageWithLimit()
963 CHECK_LE(src_length, limit); in SplitZipModeImageWithLimit()
967 if (!RemoveUsedBlocks(&src_offset, &src_length, used_src_ranges)) { in SplitZipModeImageWithLimit()
970 } else if (src_ranges.blocks() * BLOCK_SIZE + src_length <= limit) { in SplitZipModeImageWithLimit()
971 src_ranges.Insert(src_offset, src_length); in SplitZipModeImageWithLimit()
974 if (src->GetType() == CHUNK_DEFLATE && src_length == src->GetRawDataLength()) { in SplitZipModeImageWithLimit()