Searched refs:codeToken (Results 1 – 2 of 2) sorted by relevance
357 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseKey() local359 if (codeToken == "usage") { in parseKey()362 codeToken = mTokenizer->nextToken(WHITESPACE); in parseKey()365 std::optional<int> code = parseInt(codeToken.c_str()); in parseKey()368 mapUsage ? "usage" : "scan code", codeToken.c_str()); in parseKey()375 mapUsage ? "usage" : "scan code", codeToken.c_str()); in parseKey()523 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseLed() local525 if (codeToken == "usage") { in parseLed()528 codeToken = mTokenizer->nextToken(WHITESPACE); in parseLed()530 std::optional<int> code = parseInt(codeToken.c_str()); in parseLed()[all …]
881 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseMapKey() local883 if (codeToken == "usage") { in parseMapKey()886 codeToken = mTokenizer->nextToken(WHITESPACE); in parseMapKey()890 int32_t code = int32_t(strtol(codeToken.c_str(), &end, 0)); in parseMapKey()893 mapUsage ? "usage" : "scan code", codeToken.c_str()); in parseMapKey()900 mapUsage ? "usage" : "scan code", codeToken.c_str()); in parseMapKey()