Home
last modified time | relevance | path

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

/freebsd/contrib/arm-optimized-routines/string/bench/
H A Dmemcpy.c102 static copy_t test_arr[NUM_TESTS]; variable
135 test_arr[i].dst = (rand32 (0) & (max_size - 1)); in init_copies()
136 test_arr[i].dst &= ~dst_align_arr[rand32 (0) & ALIGN_MASK]; in init_copies()
137 test_arr[i].src = (rand32 (0) & (max_size - 1)); in init_copies()
138 test_arr[i].src &= ~src_align_arr[rand32 (0) & ALIGN_MASK]; in init_copies()
139 test_arr[i].len = size_arr[rand32 (0) & SIZE_MASK]; in init_copies()
140 total += test_arr[i].len; in init_copies()
156 fn (b + test_arr[c].dst, a + test_arr[c].src, test_arr[c].len); in memcpy_random()
161 fn (b + test_arr[c].dst, a + test_arr[c].src, test_arr[c].len); in memcpy_random()
H A Dmemset.c35 static memset_test_t test_arr[NUM_TESTS]; variable
112 test_arr[i].offset = (rand32 (0) & (max_size - 1)); in init_memset()
113 test_arr[i].offset &= ~align_arr[rand32 (0) & ALIGN_MASK]; in init_memset()
114 test_arr[i].len = len_arr[rand32 (0) & SIZE_MASK]; in init_memset()
115 total += test_arr[i].len; in init_memset()
134 set (a + test_arr[c].offset, 0, test_arr[c].len); in memset_random()
139 set (a + test_arr[c].offset, 0, test_arr[c].len); in memset_random()