• Home
  • Raw
  • Download

Lines Matching refs:src_b

37   align_buffer_page_end(src_b, kMaxTest);  in TEST_F()
48 src_b[i] = (fastrand() & 0xff); in TEST_F()
52 uint32 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
56 memcpy(src_a + kMaxTest / 2, src_b + kMaxTest / 2, kMaxTest / 2); in TEST_F()
58 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
63 memcpy(src_b + kMaxTest / 2, src_b, kMaxTest / 2); in TEST_F()
64 memcpy(src_a, src_b, kMaxTest / 2); in TEST_F()
66 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
70 memcpy(src_a, src_b, kMaxTest); in TEST_F()
72 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
76 memcpy(src_a, src_b, kMaxTest); in TEST_F()
78 h2 = HashDjb2(src_b, kMaxTest, 1234); in TEST_F()
82 memcpy(src_a, src_b, kMaxTest); in TEST_F()
83 ++src_b[kMaxTest / 2]; in TEST_F()
85 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
89 memcpy(src_a, src_b, kMaxTest); in TEST_F()
90 ++src_b[0]; in TEST_F()
92 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
96 memcpy(src_a, src_b, kMaxTest); in TEST_F()
97 ++src_b[kMaxTest - 1]; in TEST_F()
99 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
115 free_aligned_buffer_page_end(src_b); in TEST_F()
207 align_buffer_page_end(src_b, kMaxWidth); in TEST_F()
209 memset(src_b, 0, kMaxWidth); in TEST_F()
212 memcpy(src_b, "tick0123tock4567", 16); in TEST_F()
213 uint64 h1 = ComputeSumSquareError(src_a, src_b, 16); in TEST_F()
218 src_b[i] = i; in TEST_F()
221 memset(src_b, 0, kMaxWidth); in TEST_F()
226 h1 = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
232 free_aligned_buffer_page_end(src_b); in TEST_F()
238 align_buffer_page_end(src_b, kMaxWidth); in TEST_F()
240 memset(src_b, 0, kMaxWidth); in TEST_F()
243 err = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
248 err = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
253 memset(src_b, 193, kMaxWidth); in TEST_F()
254 err = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
260 src_b[i] = (fastrand() & 0xff); in TEST_F()
264 uint64 c_err = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
267 uint64 opt_err = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
272 free_aligned_buffer_page_end(src_b); in TEST_F()
277 align_buffer_page_end(src_b, benchmark_width_ * benchmark_height_); in TEST_F()
280 src_b[i] = i; in TEST_F()
288 src_b, benchmark_width_, in TEST_F()
297 free_aligned_buffer_page_end(src_b); in TEST_F()
302 align_buffer_page_end(src_b, benchmark_width_ * benchmark_height_); in TEST_F()
305 src_b[i] = i; in TEST_F()
313 src_b, benchmark_width_, in TEST_F()
322 free_aligned_buffer_page_end(src_b); in TEST_F()
332 align_buffer_page_end(src_b, kSrcPlaneSize); in TEST_F()
334 memset(src_b, 0, kSrcPlaneSize); in TEST_F()
338 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
346 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
354 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
365 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
374 memset(src_b, 0, kSrcPlaneSize); in TEST_F()
379 src_b[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
387 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
393 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
399 free_aligned_buffer_page_end(src_b); in TEST_F()
404 align_buffer_page_end(src_b, benchmark_width_ * benchmark_height_); in TEST_F()
407 src_b[i] = i; in TEST_F()
415 src_b, benchmark_width_, in TEST_F()
424 free_aligned_buffer_page_end(src_b); in TEST_F()
434 align_buffer_page_end(src_b, kSrcPlaneSize); in TEST_F()
436 memset(src_b, 0, kSrcPlaneSize); in TEST_F()
444 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
454 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
464 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
477 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
488 src_b[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
496 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
502 src_b + kSrcStride * b + b, kSrcStride, in TEST_F()
510 free_aligned_buffer_page_end(src_b); in TEST_F()