Searched refs:Tokenizer (Results 1 – 8 of 8) sorted by relevance
/system/core/init/parser/ |
D | tokenizer_test.cpp | 26 Tokenizer tokenizer(data); \ 27 ASSERT_EQ(Tokenizer::TOK_START, tokenizer.current().type) 32 ASSERT_EQ(Tokenizer::TOK_TEXT, tokenizer.current().type) 36 ASSERT_EQ(Tokenizer::TOK_NEWLINE, tokenizer.current().type) 38 TEST(Tokenizer, Empty) { in TEST() argument 43 TEST(Tokenizer, Simple) { in TEST() argument 49 TEST(Tokenizer, LeadingWhiteSpace) { in TEST() argument 55 TEST(Tokenizer, TrailingWhiteSpace) { in TEST() argument 61 TEST(Tokenizer, WhiteSpace) { in TEST() argument 68 TEST(Tokenizer, TwoTokens) { in TEST() argument [all …]
|
D | tokenizer.cpp | 19 Tokenizer::Tokenizer(const std::string& data) in Tokenizer() function in init::Tokenizer 31 Tokenizer::~Tokenizer() {} in ~Tokenizer() 33 const Tokenizer::Token& Tokenizer::current() { in current() 37 bool Tokenizer::Next() { in Next() 88 void Tokenizer::AdvChar() { in AdvChar() 98 void Tokenizer::AdvWhiteSpace() { in AdvWhiteSpace() 104 void Tokenizer::AdvUntil(char x) { in AdvUntil() 110 void Tokenizer::AdvText() { in AdvText() 117 void Tokenizer::StartText() { in StartText() 123 void Tokenizer::EndText() { in EndText()
|
D | tokenizer.h | 37 class Tokenizer { 39 explicit Tokenizer(const std::string& data); 40 ~Tokenizer();
|
/system/core/libutils/ |
D | Tokenizer.cpp | 34 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, in Tokenizer() function in android::Tokenizer 41 Tokenizer::~Tokenizer() { in ~Tokenizer() 48 status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { in open() 91 *outTokenizer = new Tokenizer(filename, fileMap, buffer, ownBuffer, length); in open() 99 status_t Tokenizer::fromContents(const String8& filename, in fromContents() 100 const char* contents, Tokenizer** outTokenizer) { in fromContents() 101 *outTokenizer = new Tokenizer(filename, nullptr, in fromContents() 106 String8 Tokenizer::getLocation() const { in getLocation() 112 String8 Tokenizer::peekRemainderOfLine() const { in peekRemainderOfLine() 125 String8 Tokenizer::nextToken(const char* delimiters) { in nextToken() [all …]
|
D | PropertyMap.cpp | 117 Tokenizer* tokenizer; in load() 118 status_t status = Tokenizer::open(filename, &tokenizer); in load() 152 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) : in Parser()
|
D | Android.bp | 140 "Tokenizer.cpp",
|
/system/core/libutils/include/utils/ |
D | Tokenizer.h | 30 class Tokenizer { 31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, 35 ~Tokenizer(); 43 static status_t open(const String8& filename, Tokenizer** outTokenizer); 52 const char* contents, Tokenizer** outTokenizer); 119 Tokenizer(const Tokenizer& other); // not copyable
|
D | PropertyMap.h | 86 Tokenizer* mTokenizer; 89 Parser(PropertyMap* map, Tokenizer* tokenizer);
|