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 Tokenizer(const std::string& data); 40 ~Tokenizer();
|
/system/core/libutils/ |
D | Tokenizer.cpp | 38 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, in Tokenizer() function in android::Tokenizer 45 Tokenizer::~Tokenizer() { in ~Tokenizer() 52 status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { in open() 95 *outTokenizer = new Tokenizer(filename, fileMap, buffer, ownBuffer, length); in open() 103 status_t Tokenizer::fromContents(const String8& filename, in fromContents() 104 const char* contents, Tokenizer** outTokenizer) { in fromContents() 105 *outTokenizer = new Tokenizer(filename, NULL, in fromContents() 110 String8 Tokenizer::getLocation() const { in getLocation() 116 String8 Tokenizer::peekRemainderOfLine() const { in peekRemainderOfLine() 129 String8 Tokenizer::nextToken(const char* delimiters) { in nextToken() [all …]
|
D | PropertyMap.cpp | 121 Tokenizer* tokenizer; in load() 122 status_t status = Tokenizer::open(filename, &tokenizer); in load() 156 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) : in Parser()
|
D | Android.mk | 35 Tokenizer.cpp \
|
/system/core/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);
|