Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp116 const incfs::map_ptr<uint8_t> dataEnd, in validate_chunk() argument
129 if ((size_t)size <= (size_t)(dataEnd-chunk.convert<uint8_t>())) { in validate_chunk()
133 name, size, (void*)(dataEnd-chunk.convert<uint8_t>())); in validate_chunk()
3706 const uint8_t* dataEnd; member
4415 header->dataEnd = ((const uint8_t*)header->header) + header->size; in addInternal()
4423 while (((const uint8_t*)chunk) <= (header->dataEnd-sizeof(ResChunk_header)) && in addInternal()
4424 ((const uint8_t*)chunk) <= (header->dataEnd-dtohl(chunk->size))) { in addInternal()
4425 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), header->dataEnd, "ResTable"); in addInternal()
6836 header->dataEnd, "ResTable_package"); in parsePackage()
6894 header->dataEnd-(base+dtohl(pkg->typeStrings))); in parsePackage()
[all …]