Lines Matching refs:chunk
133 << "unknown chunk of type '"
197 bool BinaryResourceParser::parseSymbolTable(const ResChunk_header* chunk) {
198 const SymbolTable_header* symbolTableHeader = convertTo<SymbolTable_header>(chunk);
201 << "could not parse chunk as SymbolTable_header."
209 << "entries extend beyond chunk."
222 << "failed to parse chunk: "
247 bool BinaryResourceParser::parseTable(const ResChunk_header* chunk) {
248 const ResTable_header* tableHeader = convertTo<ResTable_header>(chunk);
251 << "could not parse chunk as ResTable_header."
309 << "unexpected chunk of type "
327 bool BinaryResourceParser::parsePackage(const ResChunk_header* chunk) {
335 const ResTable_package* packageHeader = convertTo<ResTable_package>(chunk);
338 << "could not parse chunk as ResTable_header."
427 << "unexpected chunk of type "
458 bool BinaryResourceParser::parsePublic(const ResChunk_header* chunk) {
459 const Public_header* header = convertTo<Public_header>(chunk);
475 const uintptr_t chunkEnd = reinterpret_cast<uintptr_t>(chunk) + chunk->size;
481 << "Public_entry extends beyond chunk."
514 bool BinaryResourceParser::parseTypeSpec(const ResChunk_header* chunk) {
522 const ResTable_typeSpec* typeSpec = convertTo<ResTable_typeSpec>(chunk);
525 << "could not parse chunk as ResTable_typeSpec."
541 bool BinaryResourceParser::parseType(const ResChunk_header* chunk) {
556 const ResTable_type* type = convertTo<ResTable_type>(chunk);
559 << "could not parse chunk as ResTable_type."