Searched refs:kStride (Results 1 – 7 of 7) sorted by relevance
/external/libyuv/files/unit_test/ |
D | planar_test.cc | 113 const int kStride = width * kBpp; in TestAttenuateI() local 114 align_buffer_page_end(src_argb, kStride * height + off); in TestAttenuateI() 115 align_buffer_page_end(dst_argb_c, kStride * height); in TestAttenuateI() 116 align_buffer_page_end(dst_argb_opt, kStride * height); in TestAttenuateI() 117 for (int i = 0; i < kStride * height; ++i) { in TestAttenuateI() 120 memset(dst_argb_c, 0, kStride * height); in TestAttenuateI() 121 memset(dst_argb_opt, 0, kStride * height); in TestAttenuateI() 124 ARGBAttenuate(src_argb + off, kStride, in TestAttenuateI() 125 dst_argb_c, kStride, in TestAttenuateI() 129 ARGBAttenuate(src_argb + off, kStride, in TestAttenuateI() [all …]
|
D | convert_test.cc | 680 const int kStride = \ 682 align_buffer_page_end(src_argb, kStride * kHeight + OFF); \ 705 for (int j = 0; j < kStride; ++j) \ 706 src_argb[(i * kStride) + j + OFF] = (fastrand() & 0xff); \ 708 FMT_A##To##FMT_PLANAR(src_argb + OFF, kStride, \ 715 FMT_A##To##FMT_PLANAR(src_argb + OFF, kStride, \ 795 const int kStride = SUBSAMPLE(kWidth, SUB_A) * BPP_A; \ 797 align_buffer_page_end(src_argb, kStride * kHeight + OFF); \ 805 for (int j = 0; j < kStride; ++j) \ 806 src_argb[(i * kStride) + j + OFF] = (fastrand() & 0xff); \ [all …]
|
/external/compiler-rt/test/tsan/ |
D | bench_local_mutex.cc | 10 const int kStride = 16; variable 14 pthread_mutex_lock(&mtx[tid * kStride]); in thread() 15 pthread_mutex_unlock(&mtx[tid * kStride]); in thread() 20 mtx = (pthread_mutex_t*)malloc(bench_nthread * kStride * sizeof(*mtx)); in bench() 22 pthread_mutex_init(&mtx[i * kStride], 0); in bench() 23 pthread_mutex_lock(&mtx[i * kStride]); in bench() 24 pthread_mutex_unlock(&mtx[i * kStride]); in bench()
|
D | bench_release_only.cc | 10 const int kStride = 32; variable 13 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE); in thread() 15 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE); in thread() 19 x = (int*)malloc(bench_nthread * kStride * sizeof(x[0])); in bench() 21 __atomic_store_n(&x[i * kStride], 0, __ATOMIC_RELEASE); in bench()
|
D | bench_shadow_flush.cc | 14 const long kStride = 1 << 10; variable 32 uptr sz = mem_size + stride2 * kStride + kLargePage; in main() 40 mem[off + off2 * kStride] = 42; in main()
|
/external/ceres-solver/examples/ |
D | robot_pose_mle.cc | 163 static const int kStride = 10; variable 187 typedef DynamicAutoDiffCostFunction<RangeConstraint, kStride>
|
/external/v8/test/cctest/ |
D | test-api.cc | 8244 const int kStride = 4; // Must match stride in for loops in JS below. in THREADED_TEST() local 8264 CHECK_EQ(0xd800 / kStride, left_tree->Length()); in THREADED_TEST() 8265 CHECK_EQ(0xd800 / kStride, right_tree->Length()); in THREADED_TEST() 8371 (0x80 + (0x800 - 0x80) * 2 + (0xd800 - 0x800) * 3) / kStride; in THREADED_TEST() 8375 CHECK_EQ(0xd800 / kStride, charlen); in THREADED_TEST() 8378 CHECK_EQ(0xc0 - kStride, in THREADED_TEST() 8387 CHECK_EQ(0xd800 / kStride, charlen); in THREADED_TEST() 8390 CHECK_EQ(0xc0 - kStride, static_cast<unsigned char>(utf8buf[2])); in THREADED_TEST()
|