Lines Matching defs:list
171 static int lookupValueByLabel(const char* literal, const KeycodeLabel *list) {
172 while (list->literal) {
173 if (strcmp(literal, list->literal) == 0) {
174 return list->value;
176 list++;
178 return list->value;
181 static const char* lookupLabelByValue(int value, const KeycodeLabel *list) {
182 while (list->literal) {
183 if (list->value == value) {
184 return list->literal;
186 list++;