Searched refs:tokenizer (Results 1 – 6 of 6) sorted by relevance
/system/core/init/parser/ |
D | tokenizer_test.cpp | 26 Tokenizer tokenizer(data); \ 27 ASSERT_EQ(Tokenizer::TOK_START, tokenizer.current().type) 30 ASSERT_TRUE(tokenizer.Next()); \ 31 ASSERT_EQ(test_text, tokenizer.current().text); \ 32 ASSERT_EQ(Tokenizer::TOK_TEXT, tokenizer.current().type) 35 ASSERT_TRUE(tokenizer.Next()); \ 36 ASSERT_EQ(Tokenizer::TOK_NEWLINE, tokenizer.current().type) 40 ASSERT_FALSE(tokenizer.Next()); in TEST() 46 ASSERT_FALSE(tokenizer.Next()); in TEST() 52 ASSERT_FALSE(tokenizer.Next()); in TEST() [all …]
|
/system/core/init/ |
D | tokenizer_test.cpp | 60 TEST(tokenizer, null) { in TEST() argument 64 TEST(tokenizer, simple_oneline) { in TEST() argument 68 TEST(tokenizer, simple_multiline) { in TEST() argument 72 TEST(tokenizer, preceding_space) { in TEST() argument 78 TEST(tokenizer, comments) { in TEST() argument 89 TEST(tokenizer, control_chars) { in TEST() argument 118 TEST(tokenizer, cr_lf) { in TEST() argument 139 TEST(tokenizer, quoted) { in TEST() argument
|
D | Android.bp | 35 "tokenizer.cpp",
|
/system/core/property_service/libpropertyinfoserializer/ |
D | property_info_file.cpp | 61 auto tokenizer = SpaceTokenizer(line); in ParsePropertyInfoLine() local 63 auto property = tokenizer.GetNext(); in ParsePropertyInfoLine() 69 auto context = tokenizer.GetNext(); in ParsePropertyInfoLine() 76 auto match_operation = tokenizer.GetNext(); in ParsePropertyInfoLine() 80 auto type = tokenizer.GetNext(); in ParsePropertyInfoLine() 83 type = tokenizer.GetNext(); in ParsePropertyInfoLine()
|
/system/core/libutils/ |
D | PropertyMap.cpp | 117 Tokenizer* tokenizer; in load() local 118 status_t status = Tokenizer::open(filename, &tokenizer); in load() 130 Parser parser(map, tokenizer); in load() 135 tokenizer->getFilename().string(), tokenizer->getLineNumber(), in load() 144 delete tokenizer; in load() 152 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) : in Parser() argument 153 mMap(map), mTokenizer(tokenizer) { in Parser()
|
/system/core/libutils/include/utils/ |
D | PropertyMap.h | 89 Parser(PropertyMap* map, Tokenizer* tokenizer);
|