Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_lpm_map.c98 struct tlpm_node *list = NULL, *t1, *t2; in test_lpm_basic() local
104 t1 = list = tlpm_add(list, (uint8_t[]){ 0xff }, 8); in test_lpm_basic()
105 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8)); in test_lpm_basic()
106 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); in test_lpm_basic()
107 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0x00 }, 16)); in test_lpm_basic()
113 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8)); in test_lpm_basic()
115 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 15)); in test_lpm_basic()
123 struct tlpm_node *t1, *t2, *l1 = NULL, *l2 = NULL; in test_lpm_order() local
138 for (t1 = l1; t1; t1 = t1->next) in test_lpm_order()
139 l2 = tlpm_add(l2, t1->key, t1->n_bits); in test_lpm_order()
[all …]
/tools/perf/tests/
Dthread-mg-share.c15 struct thread *t1, *t2, *t3; in test__thread_mg_share() local
36 t1 = machine__findnew_thread(machine, 0, 1); in test__thread_mg_share()
44 leader && t1 && t2 && t3 && other); in test__thread_mg_share()
50 TEST_ASSERT_VAL("map groups don't match", mg == t1->mg); in test__thread_mg_share()
68 machine__remove_thread(machine, t1); in test__thread_mg_share()
83 thread__put(t1); in test__thread_mg_share()
/tools/testing/selftests/ptp/
Dtestptp.c185 int64_t t1, t2, tp; in main() local
501 t1 = pctns(pct+2*i); in main()
504 interval = t2 - t1; in main()
505 offset = (t2 + t1) / 2 - tp; in main()
/tools/power/cpupower/lib/
Dcpupower.c106 static int __compare(const void *t1, const void *t2) in __compare() argument
108 struct cpuid_core_info *top1 = (struct cpuid_core_info *)t1; in __compare()
/tools/perf/
Dbuiltin-stat.c589 unsigned long long t0, t1; in __run_perf_stat() local
731 t1 = rdclock(); in __run_perf_stat()
733 update_stats(&walltime_nsecs_stats, t1 - t0); in __run_perf_stat()
/tools/power/pm-graph/
Danalyze_suspend.py3786 t1 {color:black;font:30px Times;}\n\