Searched refs:test (Results 1 - 19 of 19) sorted by relevance

/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c60 * A test case. Specifies setup, an event to look for, an action to take to
69 /* Actions for setting up test */
73 /* Actions for cleaning up test */
192 /* Execute a prep, cleanup, or test action; specific tricky notes below.
385 * Execute a full test, return success value.
388 execute_test(test_t *test) argument
398 LOG(1, stderr, "Test %s starting.\n", test->t_testname);
399 LOG(1, stderr, test->t_want_event ? "Expecting an event.\n" : "Not expecting events.\n");
401 res = execute_action_list(test->t_prep_actions, test
582 test_t test; local
670 test_t test; local
873 test_t test; local
983 test_t test; local
1139 test_t test; local
1278 test_t test; local
1357 test_t test; local
1374 test_t test; local
1478 test_t test; local
1506 test_t test; local
[all...]
/darwin-on-arm/xnu/libkern/x86_64/
H A DOSAtomic.s36 test $3, %rdx
58 test $7, %rdx
79 test $7, %rsi
97 test $3, %rsi
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/helpers/
H A Ddata_exec.c30 * allowed varies by architecture due to backwards compatibility. We also run a separate test
33 * The "expected" array tells us what the result of each test should be based on the architecture.
34 * The code assumes the test numbers in the macros below are consecutive starting from 0.
69 int result, test; local
120 test = HEAP_TEST;
125 if (result != expected[test]) {
126 printf("%s: test %d failed, expected %d, got %d\n", cmd_name, test, expected[test], result);
130 test
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Di386_lock.s280 test %eax,%eax ; \
310 test %eax,%eax ; \
384 test HW_LOCK_EXAM_REGISTER,HW_LOCK_EXAM_REGISTER /* lock locked? */
434 test HW_LOCK_EXAM_REGISTER,HW_LOCK_EXAM_REGISTER /* lock locked? */
482 test HW_LOCK_EXAM_REGISTER,HW_LOCK_EXAM_REGISTER
570 test HW_LOCK_EXAM_REGISTER,HW_LOCK_EXAM_REGISTER
591 test HW_LOCK_EXAM_REGISTER,HW_LOCK_EXAM_REGISTER
956 * test the original values to match what
1018 * test the original values to match what
1175 test
[all...]
H A Dmcount.s45 test %ax, %ax
57 testl %eax,%eax // test for recursion
H A Drtclock_asm_native.h99 test %esi,%esi /* info updating? */ ; \
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_symtab.h49 KXLDSymPredicateTest test; member in struct:kxld_symtab_iterator
73 const KXLDSymtab *symtab, KXLDSymPredicateTest test, boolean_t negate)
H A Dkxld_symtab.c271 KXLDSymPredicateTest test, boolean_t negate)
275 check(test);
279 iter->test = test;
525 count += iter->test(kxld_array_get_item(&iter->symtab->syms, idx));
694 cmp = iter->test(tmp);
270 kxld_symtab_iterator_init(KXLDSymtabIterator *iter, const KXLDSymtab *symtab, KXLDSymPredicateTest test, boolean_t negate) argument
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dmcount.s45 test %ax,%ax
57 testl %eax,%eax // test for recursion
H A Dmachine_routines_asm.s204 test $(1 << 30), %ecx
H A Dstart.s209 test %edi, %edi /* Populate stack canary on BSP */
214 test $(1 << 30), %ecx
H A Didt64.s295 test $3, %esi /* user/kernel? */
301 jmp 2f /* and skip tlb flush test */
341 test %rax, %rax /* Is there a debug register context? */
377 test %eax, %eax /* -no_shared_cr3 */
443 /* test for fast entry/exit */
501 /* test for fast entry/exit */
758 test %rax, %rax /* test sign bit (MSB) */
988 * test whether already on interrupt stack
1309 test
[all...]
/darwin-on-arm/xnu/tools/tests/superpages/
H A Dtestsp.c87 int i, sig, test; local
93 test = 0;
95 test += (data)[i];
98 *res = test;
594 test_t test[] = { variable
610 #define TESTS ((int)(sizeof(test)/sizeof(*test)))
617 printf ("Test #%d \"%s\"...", i+1, test[i].description);
618 ret = test[i].fn();
638 printf("\tmode = 0: test al
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Ddhcp_options.c352 FIX ME: test data NULL
610 struct test { struct
617 struct test tests[] = {
644 printf("test '%s' FAILED\n", tests[i].name);
647 printf("test '%s' PASSED\n", tests[i].name);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dpipes_tests.c4 * running, result logging and clean up of a test suite, taking care
5 * of all the scaffolding. A test suite is a sequence of very targeted
8 * A unit test is abstracted as a unit_test_t structure, consisting of
9 * a test function and a logging identifier. A test suite is a suite_t
12 * Test suites are created dynamically. Each of its unit test runs in
14 * running before and after each test. The parent process will log a
17 * results are then aggregated and logged, and finally the test suite
22 * flexibility. In our particular case, a unit test is logged as a
23 * Testbot Test Case ([BEGIN]/[PASS]/[FAIL], and a test suit
66 test_fn_t test; member in struct:__anon1428
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dradix.c280 int test, b, rn_bit; local
334 test = (*cp ^ *cp2) & 0xff; /* find first bit that differs */
335 for (b = 7; (test >>= 1) > 0;)
368 * the search and satisfaction test and put the
638 * anyway, so the above test doesn't hurt.
/darwin-on-arm/xnu/libkern/zlib/intel/
H A Dadler32vec.s247 test $(kHasSupplementalSSE3), %eax // __cpu_capabilities & kHasAES
469 test $(kHasSupplementalSSE3), %eax // __cpu_capabilities & kHasSupplementalSSE3
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_vfsutils.c1937 directoryhint_t *test; local
1939 TAILQ_FOREACH(test, &dcp->c_hintlist, dh_link) {
1940 if (test == hint)
/darwin-on-arm/xnu/libkern/crypto/intel/
H A Dsha1edp.s1273 test $(kHasSupplementalSSE3), %eax

Completed in 131 milliseconds