Home
last modified time | relevance | path

Searched refs:testname (Results 1 – 5 of 5) sorted by relevance

/xnu-11215/tools/
H A Dformat_vm_parameter_validation.py53 def formatter_for_testname(testname): argument
83 self.testname = new_name
115 def error_code_values_for_testname(testname): argument
121 if testname.startswith(fn):
124 if testname.startswith(fn):
368 def print_results_3D(results, formatter, testname): argument
371 print(testname + ': ' + name)
377 print(testname + ': ' + name)
444 formatter = formatter_for_testname(testname)
525 print('test ' + test.testname)
[all …]
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation.h582 const char *testname; member
599 alloc_results(const char *testname, char *testconfig, in alloc_results() argument
610 results->testname = testname; in alloc_results()
635 alloc_results(const char *testname, in alloc_results() argument
702 testprintf(TESTNAME_DELIMITER "%s\n", results->testname); in __dump_results()
719 goldenprintf(TESTNAME_DELIMITER "%s\n", results->testname); in dump_golden_results()
826 results->testname, in test_results()
831 results->testname, results->list[i].ret, in test_results()
845 results->testname, acceptable_count - acceptable_max); in test_results()
848 T_PASS("%s passed\n", results->testname); in test_results()
[all …]
H A Dvm_parameter_validation_kern.c76 … dst_map, vm_map_copy_t copy, mach_vm_address_t start, mach_vm_size_t size), const char * testname) in test_vm_map_copy_overwrite() argument
91 …results_t *results = alloc_results(testname, eSMART_START_SIZE_TRIALS, dst_alloc.addr, trials->cou… in test_vm_map_copy_overwrite()
118 …urn_t (*func)(MAP_T map, vm_map_offset_t src, void * dst, vm_size_t length), const char * testname) in test_src_kerneldst_size() argument
124 results_t *results = alloc_results(testname, eSMART_SRC_DST_SIZE_TRIALS, trials->count); in test_src_kerneldst_size()
141 …turn_t (*func)(MAP_T map, void *src, vm_map_offset_t dst, vm_size_t length), const char * testname) in test_kernelsrc_dst_size() argument
147 results_t *results = alloc_results(testname, eSMART_SRC_DST_SIZE_TRIALS, trials->count); in test_kernelsrc_dst_size()
981 …ted_vnode_addr(kern_return_t (*func)(MAP_T dst_map, mach_vm_address_t start), const char *testname) in test_kext_unix_with_allocated_vnode_addr() argument
986 results_t *results = alloc_results(testname, eSMART_ADDR_TRIALS, base.addr, trials->count); in test_kext_unix_with_allocated_vnode_addr()
/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c2027 const char * testname) in test_mach_vm_deferred_reclamation_buffer_init() argument
2107 test_unix_with_allocated_vm_inherit_t(unix_with_inherit_fn fn, const char * testname) in test_unix_with_allocated_vm_inherit_t() argument
2127 test_unix_with_allocated_vm_msync_t(unix_with_msync_fn fn, const char * testname) in test_unix_with_allocated_vm_msync_t() argument
2132 results_t *results = alloc_results(testname, eSMART_VM_MSYNC_TRIALS, trials->count); in test_unix_with_allocated_vm_msync_t()
2476 T_FAIL("Golden file with unknown trials, testname: %s\n", results->testname); in fill_golden_trials()
2601 formula, trialsargs[0], trialsargs[1], results->testname); in fill_golden_trials()
2609 test_name_to_golden_results(const char* testname) in test_name_to_golden_results() argument
2616 if (strncmp(golden_results->testname, testname, strlen(testname)) == 0) { in test_name_to_golden_results()
2631 testprintf("\t[%u] %s (%u)\n", x, results->testname, results->count); in dump_results_list()
2747 golden_list[x]->testname); in clean_golden_results()
[all …]
/xnu-11215/tests/
H A Dkqueue_file_tests.c673 init_test_common(test_t *tst, char *testname, char *watchfile, int nprep, int nclean, int event, in… in init_test_common() argument
676 tst->t_testname = testname; in init_test_common()
706 init_test(test_t *tst, char *testname, char *watchfile, int nprep, int nclean, int event, int want) in init_test() argument
708 init_test_common(tst, testname, watchfile, nprep, nclean, event, want, 0); in init_test()
715 init_poll_test(test_t *tst, char *testname, char *watchfile, int nprep, int nclean, int event, int … in init_poll_test() argument
717 init_test_common(tst, testname, watchfile, nprep, nclean, event, want, 1); in init_poll_test()