Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp108 static status_t validate_chunk(const ResChunk_header* chunk, in validate_chunk() function
471 if (validate_chunk(reinterpret_cast<const ResChunk_header*>(data), sizeof(ResStringPool_header), in setTo()
1684 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), mDataEnd, "XML"); in setTo()
1759 status_t err = validate_chunk( in validateNode()
4178 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), header->dataEnd, "ResTable"); in addInternal()
6566 status_t err = validate_chunk(&pkg->header, sizeof(*pkg) - sizeof(pkg->typeIdOffset), in parsePackage()
6692 err = validate_chunk(&typeSpec->header, sizeof(*typeSpec), in parsePackage()
6766 err = validate_chunk(&type->header, sizeof(*type)-sizeof(ResTable_config)+4, in parsePackage()
6845 status_t err = validate_chunk(&lib->header, sizeof(*lib), in parsePackage()
6869 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), in parsePackage()