/external/chromium_org/third_party/libyuv/unit_test/ |
D | planar_test.cc | 120 const int kStride = (width * kBpp + 15) & ~15; in TestAttenuateI() local 121 align_buffer_64(src_argb, kStride * height + off); in TestAttenuateI() 122 align_buffer_64(dst_argb_c, kStride * height); in TestAttenuateI() 123 align_buffer_64(dst_argb_opt, kStride * height); in TestAttenuateI() 125 for (int i = 0; i < kStride * height; ++i) { in TestAttenuateI() 128 memset(dst_argb_c, 0, kStride * height); in TestAttenuateI() 129 memset(dst_argb_opt, 0, kStride * height); in TestAttenuateI() 132 ARGBAttenuate(src_argb + off, kStride, in TestAttenuateI() 133 dst_argb_c, kStride, in TestAttenuateI() 137 ARGBAttenuate(src_argb + off, kStride, in TestAttenuateI() [all …]
|
D | convert_test.cc | 613 const int kStride = \ 615 align_buffer_64(src_argb, kStride * kHeight + OFF); \ 642 for (int j = 0; j < kStride; ++j) \ 643 src_argb[(i * kStride) + j + OFF] = (random() & 0xff); \ 645 FMT_A##To##FMT_PLANAR(src_argb + OFF, kStride, \ 652 FMT_A##To##FMT_PLANAR(src_argb + OFF, kStride, \ 749 const int kStride = (kWidth * 8 * BPP_A + 7) / 8; \ 750 align_buffer_64(src_argb, kStride * kHeight + OFF); \ 761 for (int j = 0; j < kStride; ++j) \ 762 src_argb[(i * kStride) + j + OFF] = (random() & 0xff); \ [all …]
|
/external/compiler-rt/test/tsan/ |
D | bench_local_mutex.cc | 7 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()
|
D | bench_release_only.cc | 7 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()
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
D | intrapred_test.cc | 249 static const int kStride = kBlockSize * 3; member in __anoncfbbdcee0111::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() 336 static const int kStride = kBlockSize * 3; member in __anoncfbbdcee0111::IntraPredUVTest 343 static const int kDataBufferSize = 2 * kStride * (kBlockSize + 1); 347 SetupMacroblock(mb_, mi_, data_array_, kBlockSize, kStride, 2); in SetUp() 352 pred_fn_(mbptr_, data_ptr_[0] - kStride, data_ptr_[1] - kStride, in Predict() [all …]
|
/external/libvpx/libvpx/test/ |
D | intrapred_test.cc | 249 static const int kStride = kBlockSize * 3; member in __anon6c0fa15b0111::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 __anon6c0fa15b0111::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/chromium_org/gpu/command_buffer/tests/ |
D | compressed_texture_test.cc | 76 const unsigned kStride = 4; in LoadTextureDXT1() local 77 uint16 data[kStride * kPaletteSize]; in LoadTextureDXT1() 80 unsigned j = kStride * i; in LoadTextureDXT1() 93 const unsigned kStride = 8; in LoadTextureDXT3() local 95 uint16 data[kStride * kPaletteSize]; in LoadTextureDXT3() 98 unsigned j = kStride * i; in LoadTextureDXT3() 116 const unsigned kStride = 8; in LoadTextureDXT5() local 119 uint16 data[kStride * kPaletteSize]; in LoadTextureDXT5() 122 unsigned j = kStride * i; in LoadTextureDXT5()
|
/external/libyuv/files/unit_test/ |
D | planar_test.cc | 35 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/ |
D | robot_pose_mle.cc | 163 static const int kStride = 10; variable 187 typedef DynamicAutoDiffCostFunction<RangeConstraint, kStride>
|
/external/chromium_org/cc/resources/ |
D | resource_provider_unittest.cc | 3315 const int kStride = 4; in TEST_P() local 3327 .WillOnce(SetArgPointee<2>(kStride)) in TEST_P() 3358 .WillOnce(SetArgPointee<2>(kStride)) in TEST_P() 3427 const int kStride = 4; in TEST_P() local 3437 .WillOnce(SetArgPointee<2>(kStride)) in TEST_P()
|
/external/chromium_org/gpu/command_buffer/client/ |
D | gles2_implementation_unittest.cc | 3349 const GLsizei kStride = 4; in TEST_F() local 3351 kAttribIndex, 1, GL_FLOAT, GL_FALSE, kStride, NULL); in TEST_F() 3356 kAttribIndex, 1, GL_FLOAT, GL_FALSE, kStride, in TEST_F()
|
/external/chromium_org/v8/test/cctest/ |
D | test-api.cc | 7847 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()
|