Home
last modified time | relevance | path

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

/external/compiler-rt/test/tsan/
Dbench_local_mutex.cc10 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()
Dbench_release_only.cc10 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()
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/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.cc8017 const int kStride = 4; // Must match stride in for loops in JS below. in THREADED_TEST() local
8037 CHECK_EQ(0xd800 / kStride, left_tree->Length()); in THREADED_TEST()
8038 CHECK_EQ(0xd800 / kStride, right_tree->Length()); in THREADED_TEST()
8144 (0x80 + (0x800 - 0x80) * 2 + (0xd800 - 0x800) * 3) / kStride; in THREADED_TEST()
8148 CHECK_EQ(0xd800 / kStride, charlen); in THREADED_TEST()
8151 CHECK_EQ(0xc0 - kStride, in THREADED_TEST()
8160 CHECK_EQ(0xd800 / kStride, charlen); in THREADED_TEST()
8163 CHECK_EQ(0xc0 - kStride, static_cast<unsigned char>(utf8buf[2])); in THREADED_TEST()