Home
last modified time | relevance | path

Searched refs:tokenizer (Results 1 – 5 of 5) 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.bp52 "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/chre/host/common/include/chre_host/
Dtokenized_log_message_parser.h26 using pw::tokenizer::DetokenizedString;
27 using pw::tokenizer::Detokenizer;
66 pw::tokenizer::TokenDatabase database = in logDetokenizerInit()
67 pw::tokenizer::TokenDatabase::Create(tokenData); in logDetokenizerInit()