Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 2 of 2) sorted by relevance

/xnu-8020.140.41/osfmk/tests/
H A Dbitmap_test.c80 int expected_result = nbits - 1; in test_bitmap() local
82 assert(i == expected_result); in test_bitmap()
83 expected_result--; in test_bitmap()
85 assert(expected_result == -1); in test_bitmap()
95 expected_result = nbits - 1; in test_bitmap()
97 assert(i == expected_result); in test_bitmap()
98 expected_result--; in test_bitmap()
100 assert(expected_result == -1); in test_bitmap()
102 expected_result = 0; in test_bitmap()
104 assert(i == expected_result); in test_bitmap()
[all …]
/xnu-8020.140.41/tests/
H A Dkevent_qos.c1170 unsigned long expected_result = (unsigned long) arg; in qos_client_send_sync_msg_and_test_link() local
1201 if (expected_result == 1) { in qos_client_send_sync_msg_and_test_link()
1216 unsigned long expected_result = (unsigned long) arg; in qos_client_send_2sync_msg_and_test_link() local
1252 if (expected_result == 1) { in qos_client_send_2sync_msg_and_test_link()
1264 unsigned long expected_result = 1; variable
1267 pthread_create(&thread, &attr, qos_client_send_sync_msg_and_test_link, (void *)expected_result);
1277 unsigned long expected_result = 0; variable
1280 pthread_create(&thread, &attr, qos_client_send_sync_msg_and_test_link, (void *)expected_result);
1290 unsigned long expected_result = 1; variable
1293 pthread_create(&thread, &attr, qos_client_send_2sync_msg_and_test_link, (void *)expected_result);
[all …]