Home
last modified time | relevance | path

Searched refs:TEST_OK (Results 1 - 25 of 70) sorted by relevance

123

/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/
H A Dhybrid.c33 return TEST_OK; in test__hybrid_hw_event_with_pmu()
52 return TEST_OK; in test__hybrid_hw_group_event()
69 return TEST_OK; in test__hybrid_sw_hw_group_event()
86 return TEST_OK; in test__hybrid_hw_sw_group_event()
109 return TEST_OK; in test__hybrid_group_modifier1()
123 return TEST_OK; in test__hybrid_raw1()
133 return TEST_OK; in test__hybrid_raw2()
143 return TEST_OK; in test__hybrid_cache_event()
163 return TEST_OK; in test__checkevent_pmu()
228 return TEST_OK; in test_event()
[all...]
H A Dbp-modify.c128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1()
204 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
H A Dintel-pt-test.c206 return TEST_OK; in dump_packet()
258 return TEST_OK; in test_ctx_unchanged()
319 return TEST_OK; in test__intel_pt_pkt_decoder()
441 int ret = TEST_OK; in test__intel_pt_hybrid_compat()
/kernel/linux/linux-5.10/lib/
H A Dtest-kstrtox.c45 #define TEST_OK(fn, type, fmt, test) \ macro
152 TEST_OK(kstrtoull, unsigned long long, "%llu", test_ull_ok); in test_kstrtoull_ok()
268 TEST_OK(kstrtoll, long long, "%lld", test_ll_ok); in test_kstrtoll_ok()
327 TEST_OK(kstrtou64, u64, "%llu", test_u64_ok); in test_kstrtou64_ok()
377 TEST_OK(kstrtos64, s64, "%lld", test_s64_ok); in test_kstrtos64_ok()
422 TEST_OK(kstrtou32, u32, "%u", test_u32_ok); in test_kstrtou32_ok()
472 TEST_OK(kstrtos32, s32, "%d", test_s32_ok); in test_kstrtos32_ok()
517 TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); in test_kstrtou16_ok()
569 TEST_OK(kstrtos16, s16, "%hd", test_s16_ok); in test_kstrtos16_ok()
614 TEST_OK(kstrtou in test_kstrtou8_ok()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest-kstrtox.c45 #define TEST_OK(fn, type, fmt, test) \ macro
152 TEST_OK(kstrtoull, unsigned long long, "%llu", test_ull_ok); in test_kstrtoull_ok()
268 TEST_OK(kstrtoll, long long, "%lld", test_ll_ok); in test_kstrtoll_ok()
327 TEST_OK(kstrtou64, u64, "%llu", test_u64_ok); in test_kstrtou64_ok()
377 TEST_OK(kstrtos64, s64, "%lld", test_s64_ok); in test_kstrtos64_ok()
422 TEST_OK(kstrtou32, u32, "%u", test_u32_ok); in test_kstrtou32_ok()
472 TEST_OK(kstrtos32, s32, "%d", test_s32_ok); in test_kstrtos32_ok()
517 TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); in test_kstrtou16_ok()
569 TEST_OK(kstrtos16, s16, "%hd", test_s16_ok); in test_kstrtos16_ok()
614 TEST_OK(kstrtou in test_kstrtou8_ok()
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dllvm.c20 return TEST_OK; in test__bpf_parsing()
27 return TEST_OK; in test__bpf_parsing()
127 ret = TEST_OK; in test_llvm__fetch_bpf_obj()
131 if (ret != TEST_OK) in test_llvm__fetch_bpf_obj()
149 if (ret == TEST_OK && !should_load_fail) { in test__llvm()
151 if (ret != TEST_OK) { in test__llvm()
H A Devent-times.c50 return perf_evlist__start_workload(evlist) == 1 ? TEST_OK : TEST_FAIL; in attach__enable_on_exec()
82 return evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled()
102 return err == 0 ? TEST_OK : TEST_FAIL; in attach__current_enabled()
160 return err ? TEST_FAIL : TEST_OK; in attach__cpu_enabled()
210 return !err ? TEST_OK : TEST_FAIL; in test_times()
225 if (err && (ret == TEST_OK || ret == TEST_SKIP)) \ in test__event_times()
H A Dbackward-ring-buffer.c59 return TEST_OK; in count_samples()
142 if (err != TEST_OK) in test__backward_ring_buffer()
161 if (err != TEST_OK) in test__backward_ring_buffer()
164 ret = TEST_OK; in test__backward_ring_buffer()
H A Dmaps.c33 return TEST_OK; in check_maps()
121 return TEST_OK; in test__maps__merge_in()
H A Dbpf.c206 ret = TEST_OK; in do_test()
236 if (ret != TEST_OK || !obj_buf || !obj_buf_sz) { in __test__bpf()
262 if (ret != TEST_OK) in __test__bpf()
H A Dis_printable_array.c37 return TEST_OK; in test__is_printable_array()
H A Ddemangle-java-test.c12 int ret = TEST_OK; in test__demangle_java()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dparse-events.c95 return TEST_OK; in test__checkevent_tracepoint()
113 return TEST_OK; in test__checkevent_tracepoint_multi()
152 return TEST_OK; in test__checkevent_raw()
162 return TEST_OK; in test__checkevent_numeric()
176 return TEST_OK; in test__checkevent_symbolic_name()
196 return TEST_OK; in test__checkevent_symbolic_name_config()
206 return TEST_OK; in test__checkevent_symbolic_alias()
219 return TEST_OK; in test__checkevent_genhw()
233 return TEST_OK; in test__checkevent_breakpoint()
246 return TEST_OK; in test__checkevent_breakpoint_x()
[all...]
H A Devent-times.c50 return evlist__start_workload(evlist) == 1 ? TEST_OK : TEST_FAIL; in attach__enable_on_exec()
82 return evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled()
102 return err == 0 ? TEST_OK : TEST_FAIL; in attach__current_enabled()
160 return err ? TEST_FAIL : TEST_OK; in attach__cpu_enabled()
210 return !err ? TEST_OK : TEST_FAIL; in test_times()
225 if (err && (ret == TEST_OK || ret == TEST_SKIP)) \ in test__event_times()
H A Dsymbols.c35 return TEST_OK; in init_test_info()
62 return TEST_OK; in create_map()
69 int ret = TEST_OK; in test_dso()
109 if (ret != TEST_OK) in test_file()
140 if (ret != TEST_OK) in test__symbols()
H A Dbackward-ring-buffer.c59 return TEST_OK; in count_samples()
143 if (err != TEST_OK) in test__backward_ring_buffer()
162 if (err != TEST_OK) in test__backward_ring_buffer()
165 ret = TEST_OK; in test__backward_ring_buffer()
H A Devsel-roundtrip-name.c11 int ret = TEST_OK; in perf_evsel__roundtrip_cache_name_test()
54 int ret = TEST_OK; in perf_evsel__name_array_test()
87 int err = 0, ret = TEST_OK; in test__perf_evsel__roundtrip_name_test()
H A Dmaps.c56 return failed ? TEST_FAIL : TEST_OK; in check_maps()
144 return TEST_OK; in test__maps__merge_in()
/kernel/liteos_a/testsuites/unittest/libc/misc/smoke/
H A Dmisc_test_003.cpp33 #define TEST_OK "success" macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
H A Dmisc_test_002.cpp33 #define TEST_OK "success" macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
H A Dmisc_test_005.cpp33 #define TEST_OK "success" macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
H A Dmisc_test_004.cpp33 #define TEST_OK "success" macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
H A Dbp-modify.c128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1()
204 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
/kernel/linux/linux-5.10/tools/perf/arch/arm/tests/
H A Dvectors-page.c23 return TEST_OK; in test__vectors_page()
/kernel/linux/linux-6.6/tools/perf/arch/arm/tests/
H A Dvectors-page.c22 return TEST_OK; in test__vectors_page()

Completed in 9 milliseconds

123