Lines Matching defs:findHostKBInList
451 static int findHostKBInList(const keyboard_type *pHost,
492 if (findHostKBInList(&hostBasic, targetList, 2) != 1)
493 printf("ERROR: findHostKBInList failed to find a target in a list\n");
494 if (findHostKBInList(&hostSwapCtrlCaps, targetList, 2) != 1)
495 printf("ERROR: findHostKBInList failed on a ctrl-caps swapped map\n");
496 if (findHostKBInList(&hostEmpty, targetList, 2) != -1)
497 printf("ERROR: findHostKBInList accepted an empty host map\n");
498 if (findHostKBInList(&hostNearlyEmpty, targetList, 2) != 1)
499 printf("ERROR: findHostKBInList failed on a partly empty host map\n");
500 if (findHostKBInList(&hostNearlyRight, targetList, 2) != -1)
501 printf("ERROR: findHostKBInList failed to fail a wrong host map\n");
533 cMap = findHostKBInList(&hostKB, main_keyboard_type_list,