Searched refs:ResChunkPullParser (Results 1 – 5 of 5) sorted by relevance
36 class ResChunkPullParser {51 ResChunkPullParser(const void* data, size_t len);61 DISALLOW_COPY_AND_ASSIGN(ResChunkPullParser);90 inline bool ResChunkPullParser::IsGoodEvent(ResChunkPullParser::Event event) { in IsGoodEvent()94 inline ResChunkPullParser::ResChunkPullParser(const void* data, size_t len) in ResChunkPullParser() function101 inline ResChunkPullParser::Event ResChunkPullParser::event() const { in event()105 inline const std::string& ResChunkPullParser::error() const { in error()109 inline const android::ResChunk_header* ResChunkPullParser::chunk() const { in chunk()
96 ResChunkPullParser parser(data_, data_len_); in Parse()98 if (!ResChunkPullParser::IsGoodEvent(parser.Next())) { in Parse()113 if (parser.Next() != ResChunkPullParser::Event::kEndDocument) { in Parse()114 if (parser.event() == ResChunkPullParser::Event::kBadDocument) { in Parse()134 ResChunkPullParser parser(GetChunkData(&table_header->header), in ParseTable()136 while (ResChunkPullParser::IsGoodEvent(parser.Next())) { in ParseTable()169 if (parser.event() == ResChunkPullParser::Event::kBadDocument) { in ParseTable()208 ResChunkPullParser parser(GetChunkData(&package_header->header), in ParsePackage()210 while (ResChunkPullParser::IsGoodEvent(parser.Next())) { in ParsePackage()266 if (parser.event() == ResChunkPullParser::Event::kBadDocument) { in ParsePackage()[all …]
39 ResChunkPullParser::Event ResChunkPullParser::Next() { in Next()
257 ResChunkPullParser parser(result.data(), result.size()); in TEST_F()262 ResChunkPullParser table_parser(GetChunkData(parser.chunk()), GetChunkDataLen(parser.chunk())); in TEST_F()273 ResChunkPullParser package_parser(GetChunkData(table_parser.chunk()), in TEST_F()
95 "format/binary/ResChunkPullParser.cpp",