Lines Matching refs:res
63 struct item *res; in do_test() local
70 res = (struct item *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); in do_test()
71 if (res == NULL) in do_test()
76 else if (res != &arr[cnt]) in do_test()
85 res = (struct item *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); in do_test()
86 if (res != NULL) in do_test()
93 res = (struct item *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); in do_test()
94 if (res != NULL) in do_test()
101 res = (struct item *) bsearch (&key, arr, 0, sizeof (arr[0]), comp); in do_test()
102 if (res != NULL) in do_test()
113 res = (struct item *) bsearch (&key, &arr[5], 1, sizeof (arr[0]), comp); in do_test()
116 if (res == NULL) in do_test()
121 else if (res != &arr[cnt]) in do_test()
127 else if (res != NULL) in do_test()