/external/libyuv/files/unit_test/ |
D | compare_test.cc | 210 const int kMaxWidth = 4096 * 3; in TEST_F() local 211 align_buffer_page_end(src_a, kMaxWidth); in TEST_F() 212 align_buffer_page_end(src_b, kMaxWidth); in TEST_F() 213 memset(src_a, 0, kMaxWidth); in TEST_F() 214 memset(src_b, 0, kMaxWidth); in TEST_F() 223 MemRandomize(src_a, kMaxWidth); in TEST_F() 224 MemRandomize(src_b, kMaxWidth); in TEST_F() 226 uint32_t h0 = HammingDistance_C(src_a, src_b, kMaxWidth); in TEST_F() 230 ((benchmark_width_ * benchmark_height_ + kMaxWidth - 1) / kMaxWidth); in TEST_F() 233 h1 = HammingDistance_NEON(src_a, src_b, kMaxWidth); in TEST_F() [all …]
|
D | unit_test.h | 57 static const int kMaxWidth = 32768; variable 64 if (src_width > kMaxWidth || src_height > kMaxHeight || in SizeValid() 65 dst_width > kMaxWidth || dst_height > kMaxHeight) { in SizeValid()
|
/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 | GrMagnifierEffect.fp | 45 const int kMaxWidth = 200; 48 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); 52 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight));
|
/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 __anonf2fde9ae0111::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 __anonc3c2443a0111::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/skia/src/gpu/effects/generated/ |
D | GrMagnifierEffect.cpp | 174 const int kMaxWidth = 200; in TestCreate() local 177 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); in TestCreate() 181 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight)); in TestCreate()
|
/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-10.0/llvm/lib/Support/ |
D | NativeFormatting.cpp | 135 const size_t kMaxWidth = 128u; in write_hex() local 137 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex() 148 char NumberBuffer[kMaxWidth]; in write_hex()
|
/external/llvm-project/llvm/lib/Support/ |
D | NativeFormatting.cpp | 134 const size_t kMaxWidth = 128u; in write_hex() local 136 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex() 147 char NumberBuffer[kMaxWidth]; in write_hex()
|
/external/skia/fuzz/ |
D | FuzzCreateDDL.cpp | 35 static constexpr int kMaxWidth = 64; variable 57 fuzz->nextRange(&width, 1, kMaxWidth); in gen_fuzzed_imageinfo()
|
/external/libhevc/fuzzer/ |
D | hevc_enc_fuzzer.cpp | 38 constexpr size_t kMaxWidth = 10240; variable 99 mWidth = ((data[IDX_WD_BYTE_1] << 8) | data[IDX_WD_BYTE_2]) % kMaxWidth; in initEncoder()
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 18 static int kMaxWidth = 8192; variable 116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 21 static int kMaxWidth = 8192; variable 123 bounds = SkIRect::MakeWH(std::min(bounds.width(), kMaxWidth), in getBounds()
|
/external/llvm-project/mlir/lib/Parser/ |
D | TypeParser.cpp | 330 if (width.getValue() > IntegerType::kMaxWidth) { in parseNonFunctionType() 332 << IntegerType::kMaxWidth << " bits"; in parseNonFunctionType()
|
/external/llvm-project/mlir/lib/IR/ |
D | BuiltinTypes.cpp | 50 constexpr unsigned IntegerType::kMaxWidth; member in IntegerType 56 if (width > IntegerType::kMaxWidth) { in verifyConstructionInvariants() 58 << IntegerType::kMaxWidth << " bits"; in verifyConstructionInvariants()
|
/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()
|
/external/libavc/fuzzer/ |
D | avc_enc_fuzzer.cpp | 52 constexpr size_t kMaxWidth = 10240; variable 188 mWidth = ((data[IDX_WD_BYTE_1] << 8) | data[IDX_WD_BYTE_2]) % kMaxWidth; in initEncoder()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | BuiltinTypes.h | 154 static constexpr unsigned kMaxWidth = 4096; variable
|