Home
last modified time | relevance | path

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

/system/core/init/parser/
Dtokenizer_test.cpp26 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/
Dtokenizer_test.cpp60 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
DAndroid.bp35 "tokenizer.cpp",
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp61 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/
DPropertyMap.cpp117 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/
DPropertyMap.h89 Parser(PropertyMap* map, Tokenizer* tokenizer);