Lines Matching refs:mTokenizer
159 : mMap(map), mTokenizer(tokenizer) {} in Parser()
164 while (!mTokenizer->isEof()) { in parse()
166 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().c_str(), in parse()
167 mTokenizer->peekRemainderOfLine().c_str()); in parse()
170 mTokenizer->skipDelimiters(WHITESPACE); in parse()
172 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
173 String8 keyToken = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); in parse()
175 ALOGE("%s: Expected non-empty property key.", mTokenizer->getLocation().c_str()); in parse()
179 mTokenizer->skipDelimiters(WHITESPACE); in parse()
181 if (mTokenizer->nextChar() != '=') { in parse()
183 mTokenizer->getLocation().c_str()); in parse()
187 mTokenizer->skipDelimiters(WHITESPACE); in parse()
189 String8 valueToken = mTokenizer->nextToken(WHITESPACE); in parse()
192 mTokenizer->getLocation().c_str()); in parse()
196 mTokenizer->skipDelimiters(WHITESPACE); in parse()
197 if (!mTokenizer->isEol()) { in parse()
198 ALOGE("%s: Expected end of line, got '%s'.", mTokenizer->getLocation().c_str(), in parse()
199 mTokenizer->peekRemainderOfLine().c_str()); in parse()
205 mTokenizer->getLocation().c_str(), keyToken.c_str()); in parse()
212 mTokenizer->nextLine(); in parse()