Home
last modified time | relevance | path

Searched refs:kStride (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/test/tsan/
Dbench_local_mutex.cc7 const int kStride = 16; variable
11 pthread_mutex_lock(&mtx[tid * kStride]); in thread()
12 pthread_mutex_unlock(&mtx[tid * kStride]); in thread()
17 mtx = (pthread_mutex_t*)malloc(bench_nthread * kStride * sizeof(*mtx)); in bench()
19 pthread_mutex_init(&mtx[i * kStride], 0); in bench()
20 pthread_mutex_lock(&mtx[i * kStride]); in bench()
21 pthread_mutex_unlock(&mtx[i * kStride]); in bench()
Dbench_release_only.cc7 const int kStride = 32; variable
10 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE); in thread()
12 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE); in thread()
16 x = (int*)malloc(bench_nthread * kStride * sizeof(x[0])); in bench()
18 __atomic_store_n(&x[i * kStride], 0, __ATOMIC_RELEASE); in bench()
Dbench_shadow_flush.cc14 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/libvpx/libvpx/test/
Dintrapred_test.cc249 static const int kStride = kBlockSize * 3; member in __anon84bcb0240111::IntraPredYTest
255 static const int kDataBufferSize = kStride * (kBlockSize + 1);
259 SetupMacroblock(mb_, mi_, data_array_, kBlockSize, kStride, 1); in SetUp()
265 data_ptr_[0] - kStride, in Predict()
266 data_ptr_[0] - 1, kStride, in Predict()
267 data_ptr_[0], kStride)); in Predict()
331 static const int kStride = kBlockSize * 3; member in __anon84bcb0240111::IntraPredUVTest
338 static const int kDataBufferSize = 2 * kStride * (kBlockSize + 1);
342 SetupMacroblock(mb_, mi_, data_array_, kBlockSize, kStride, 2); in SetUp()
347 pred_fn_(mbptr_, data_ptr_[0] - kStride, data_ptr_[1] - kStride, in Predict()
[all …]
/external/libyuv/files/unit_test/
Dplanar_test.cc35 const int kStride = (kWidth * 8 * BPP_B + 7) / 8; \
39 align_buffer_16(dst_argb_c, kStride * kHeight); \
40 align_buffer_16(dst_argb_opt, kStride * kHeight); \
54 dst_argb_c, kStride, \
61 dst_argb_opt, kStride, \
172 const int kStride = (kWidth * 8 * BPP_A + 7) / 8; \
173 align_buffer_16(src_argb, kStride * kHeight); \
182 for (int j = 0; j < kStride; ++j) \
183 src_argb[(i * kStride) + j] = (random() & 0xff); \
185 FMT_A##To##FMT_PLANAR(src_argb, kStride, \
[all …]
/external/ceres-solver/examples/
Drobot_pose_mle.cc163 static const int kStride = 10; variable
187 typedef DynamicAutoDiffCostFunction<RangeConstraint, kStride>
/external/v8/test/cctest/
Dtest-api.cc7847 const int kStride = 4; // Must match stride in for loops in JS below. in THREADED_TEST() local
7863 CHECK_EQ(0xd800 / kStride, left_tree->Length()); in THREADED_TEST()
7864 CHECK_EQ(0xd800 / kStride, right_tree->Length()); in THREADED_TEST()
7970 (0x80 + (0x800 - 0x80) * 2 + (0xd800 - 0x800) * 3) / kStride; in THREADED_TEST()
7974 CHECK_EQ(0xd800 / kStride, charlen); in THREADED_TEST()
7977 CHECK_EQ(0xc0 - kStride, in THREADED_TEST()
7986 CHECK_EQ(0xd800 / kStride, charlen); in THREADED_TEST()
7989 CHECK_EQ(0xc0 - kStride, static_cast<unsigned char>(utf8buf[2])); in THREADED_TEST()