• Home
  • Raw
  • Download

Lines Matching refs:mTokenizer

141         mMap(map), mTokenizer(tokenizer) {  in Parser()
148 while (!mTokenizer->isEof()) { in parse()
150 LOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
151 mTokenizer->peekRemainderOfLine().string()); in parse()
154 mTokenizer->skipDelimiters(WHITESPACE); in parse()
156 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
157 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
159 mTokenizer->skipDelimiters(WHITESPACE); in parse()
163 mTokenizer->skipDelimiters(WHITESPACE); in parse()
167 LOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
172 mTokenizer->skipDelimiters(WHITESPACE); in parse()
173 if (!mTokenizer->isEol()) { in parse()
175 mTokenizer->getLocation().string(), in parse()
176 mTokenizer->peekRemainderOfLine().string()); in parse()
181 mTokenizer->nextLine(); in parse()
187 String8 scanCodeToken = mTokenizer->nextToken(WHITESPACE); in parseKey()
191 LOGE("%s: Expected key scan code number, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
196 LOGE("%s: Duplicate entry for key scan code '%s'.", mTokenizer->getLocation().string(), in parseKey()
201 mTokenizer->skipDelimiters(WHITESPACE); in parseKey()
202 String8 keyCodeToken = mTokenizer->nextToken(WHITESPACE); in parseKey()
205 LOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
212 mTokenizer->skipDelimiters(WHITESPACE); in parseKey()
213 if (mTokenizer->isEol()) break; in parseKey()
215 String8 flagToken = mTokenizer->nextToken(WHITESPACE); in parseKey()
218 LOGE("%s: Expected key flag label, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
223 LOGE("%s: Duplicate key flag '%s'.", mTokenizer->getLocation().string(), in parseKey()
241 String8 scanCodeToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
245 LOGE("%s: Expected axis scan code number, got '%s'.", mTokenizer->getLocation().string(), in parseAxis()
250 LOGE("%s: Duplicate entry for axis scan code '%s'.", mTokenizer->getLocation().string(), in parseAxis()
257 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
258 String8 token = mTokenizer->nextToken(WHITESPACE); in parseAxis()
262 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
263 String8 axisToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
267 mTokenizer->getLocation().string(), axisToken.string()); in parseAxis()
273 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
274 String8 splitToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
278 mTokenizer->getLocation().string(), splitToken.string()); in parseAxis()
282 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
283 String8 lowAxisToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
287 mTokenizer->getLocation().string(), lowAxisToken.string()); in parseAxis()
291 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
292 String8 highAxisToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
296 mTokenizer->getLocation().string(), highAxisToken.string()); in parseAxis()
303 mTokenizer->getLocation().string(), token.string()); in parseAxis()
309 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
310 if (mTokenizer->isEol()) { in parseAxis()
313 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
315 mTokenizer->skipDelimiters(WHITESPACE); in parseAxis()
316 String8 flatToken = mTokenizer->nextToken(WHITESPACE); in parseAxis()
320 mTokenizer->getLocation().string(), flatToken.string()); in parseAxis()
325 mTokenizer->getLocation().string(), keywordToken.string()); in parseAxis()