Lines Matching refs:codeToken
243 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseKey() local
245 if (codeToken == "usage") { in parseKey()
248 codeToken = mTokenizer->nextToken(WHITESPACE); in parseKey()
252 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); in parseKey()
255 mapUsage ? "usage" : "scan code", codeToken.string()); in parseKey()
261 mapUsage ? "usage" : "scan code", codeToken.string()); in parseKey()
407 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseLed() local
409 if (codeToken == "usage") { in parseLed()
412 codeToken = mTokenizer->nextToken(WHITESPACE); in parseLed()
415 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); in parseLed()
418 mapUsage ? "usage" : "scan code", codeToken.string()); in parseLed()
425 mapUsage ? "usage" : "scan code", codeToken.string()); in parseLed()