/external/libyuv/files/unit_test/ |
D | compare_test.cc | 206 const int kMaxWidth = 4096 * 3; in TEST_F() local 207 align_buffer_page_end(src_a, kMaxWidth); in TEST_F() 208 align_buffer_page_end(src_b, kMaxWidth); in TEST_F() 209 memset(src_a, 0, kMaxWidth); in TEST_F() 210 memset(src_b, 0, kMaxWidth); in TEST_F() 217 for (int i = 0; i < kMaxWidth; ++i) { in TEST_F() 221 memset(src_a, 0, kMaxWidth); in TEST_F() 222 memset(src_b, 0, kMaxWidth); in TEST_F() 226 ((benchmark_width_ * benchmark_height_ + kMaxWidth - 1) / kMaxWidth); in TEST_F() 228 h1 = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F() [all …]
|
D | unit_test.h | 54 static const int kMaxWidth = 32768; variable 61 if (src_width > kMaxWidth || src_height > kMaxHeight || in SizeValid() 62 dst_width > kMaxWidth || dst_height > kMaxHeight) { in SizeValid()
|
/external/v8/src/ |
D | unicode.h | 215 static const int kMaxWidth = 3; member 223 static const int kMaxWidth = 3; member 232 static const int kMaxWidth = 1; member 239 static const int kMaxWidth = 4; member 246 static const int kMaxWidth = 1; member
|
/external/webrtc/talk/media/base/ |
D | videocommon.cc | 110 const int kMaxWidth = 4096; in ComputeScaleMaxPixels() local 116 if (new_frame_width > kMaxWidth) { in ComputeScaleMaxPixels() 117 new_frame_height = new_frame_height * kMaxWidth / new_frame_width; in ComputeScaleMaxPixels() 118 new_frame_width = kMaxWidth; in ComputeScaleMaxPixels()
|
D | videocapturer_unittest.cc | 317 const int kMaxWidth = 4096; in TEST_F() local 319 int kWidth = kMaxWidth + 4; in TEST_F()
|
/external/skqp/src/gpu/effects/ |
D | GrAlphaThresholdFragmentProcessor.fp | 68 const int kMaxWidth = 1000; 70 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth); 72 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width);
|
D | GrAlphaThresholdFragmentProcessor.cpp | 114 const int kMaxWidth = 1000; in TestCreate() local 116 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth); in TestCreate() 118 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width); in TestCreate()
|
D | GrMagnifierEffect.fp | 73 const int kMaxWidth = 200; 76 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); 80 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight));
|
D | GrMagnifierEffect.cpp | 177 const int kMaxWidth = 200; in TestCreate() local 180 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); in TestCreate() 184 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight)); in TestCreate()
|
/external/skia/src/gpu/effects/ |
D | GrAlphaThresholdFragmentProcessor.fp | 68 const int kMaxWidth = 1000; 70 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth); 72 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width);
|
D | GrAlphaThresholdFragmentProcessor.cpp | 114 const int kMaxWidth = 1000; in TestCreate() local 116 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth); in TestCreate() 118 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width); in TestCreate()
|
D | GrMagnifierEffect.fp | 73 const int kMaxWidth = 200; 76 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); 80 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight));
|
D | GrMagnifierEffect.cpp | 175 const int kMaxWidth = 200; in TestCreate() local 178 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); in TestCreate() 182 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight)); in TestCreate()
|
/external/libaom/libaom/test/ |
D | blend_a64_mask_1d_test.cc | 38 static const int kMaxWidth = MAX_SB_SIZE * 5; // * 5 to cover longer strides member in __anon6454a5500111::BlendA64Mask1DTest 40 static const int kBufSize = kMaxWidth * kMaxHeight; 53 dst_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in Common() 56 src0_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in Common() 59 src1_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in Common()
|
D | blend_a64_mask_test.cc | 38 static const int kMaxWidth = MAX_SB_SIZE * 5; // * 5 to cover longer strides member in __anon7fdfd31c0111::BlendA64MaskTest 40 static const int kBufSize = kMaxWidth * kMaxHeight; 94 dst_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in RunOneTest() 97 src0_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in RunOneTest() 100 src1_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in RunOneTest() 103 this->rng_(kMaxWidth + 1 - w_ * (subx_ ? 2 : 1)) + w_ * (subx_ ? 2 : 1); in RunOneTest()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | NativeFormatting.cpp | 136 const size_t kMaxWidth = 128u; in write_hex() local 138 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex() 149 char NumberBuffer[kMaxWidth]; in write_hex()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | NativeFormatting.cpp | 136 const size_t kMaxWidth = 128u; in write_hex() local 138 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex() 149 char NumberBuffer[kMaxWidth]; in write_hex()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 18 static int kMaxWidth = 8192; variable 116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 18 static int kMaxWidth = 8192; variable 116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
|
/external/webrtc/talk/app/webrtc/ |
D | mediaconstraintsinterface.h | 67 static const char kMaxWidth[]; // maxWidth variable
|
D | videosource_unittest.cc | 252 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F() 474 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F() 516 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 480); in TEST_F()
|
D | mediaconstraintsinterface.cc | 41 const char MediaConstraintsInterface::kMaxWidth[] = "maxWidth"; member in webrtc::MediaConstraintsInterface
|
D | videosource.cc | 97 if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in SetUpperLimitFromConstraint() 138 } else if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in NewFormatWithConstraints()
|
/external/webrtc/talk/app/webrtc/test/ |
D | fakeconstraints.h | 90 AddOptional(MediaConstraintsInterface::kMaxWidth, width); in SetOptionalMaxWidth()
|
/external/google-breakpad/src/processor/ |
D | stackwalk_common.cc | 71 static const int kMaxWidth = 80; // optimize for an 80-column terminal variable 76 if (start_col + static_cast<ssize_t>(strlen(buffer)) > kMaxWidth) { in PrintRegister() 90 if (start_col + static_cast<ssize_t>(strlen(buffer)) > kMaxWidth) { in PrintRegister64()
|