/external/webrtc/webrtc/common_audio/ |
D | sparse_fir_filter_unittest.cc | 36 const size_t kOffset = 0; in TEST() local 38 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset); in TEST() 48 const size_t kOffset = 0; in TEST() local 54 kOffset); in TEST() 58 kOffset); in TEST() 68 const size_t kOffset = 0; in TEST() local 70 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset); in TEST() 82 const size_t kOffset = 4; in TEST() local 84 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset); in TEST() 95 const size_t kOffset = 1; in TEST() local [all …]
|
/external/skia/src/gpu/effects/ |
D | GrCustomXfermode.cpp | 36 enum { kOffset = kOverlay_GrBlendEquation - SkXfermode::kOverlay_Mode }; in hw_blend_equation() enumerator 37 return static_cast<GrBlendEquation>(mode + kOffset); in hw_blend_equation() 39 GR_STATIC_ASSERT(kOverlay_GrBlendEquation == SkXfermode::kOverlay_Mode + kOffset); in hw_blend_equation() 40 GR_STATIC_ASSERT(kDarken_GrBlendEquation == SkXfermode::kDarken_Mode + kOffset); in hw_blend_equation() 41 GR_STATIC_ASSERT(kLighten_GrBlendEquation == SkXfermode::kLighten_Mode + kOffset); in hw_blend_equation() 42 GR_STATIC_ASSERT(kColorDodge_GrBlendEquation == SkXfermode::kColorDodge_Mode + kOffset); in hw_blend_equation() 43 GR_STATIC_ASSERT(kColorBurn_GrBlendEquation == SkXfermode::kColorBurn_Mode + kOffset); in hw_blend_equation() 44 GR_STATIC_ASSERT(kHardLight_GrBlendEquation == SkXfermode::kHardLight_Mode + kOffset); in hw_blend_equation() 45 GR_STATIC_ASSERT(kSoftLight_GrBlendEquation == SkXfermode::kSoftLight_Mode + kOffset); in hw_blend_equation() 46 GR_STATIC_ASSERT(kDifference_GrBlendEquation == SkXfermode::kDifference_Mode + kOffset); in hw_blend_equation() [all …]
|
/external/google-breakpad/src/client/windows/unittests/ |
D | exception_handler_death_test.cc | 327 const int kOffset = kMemorySize / 2; in TEST_F() local 340 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() 345 reinterpret_cast<void_function>(memory + kOffset); in TEST_F() 386 uint8_t prefix_bytes[kOffset]; in TEST_F() 387 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F() 391 EXPECT_EQ(0, memcmp(bytes + kOffset, instructions, sizeof(instructions))); in TEST_F() 392 EXPECT_EQ(0, memcmp(bytes + kOffset + sizeof(instructions), in TEST_F() 417 const int kOffset = 0; in TEST_F() local 435 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() 440 reinterpret_cast<void_function>(memory + kOffset); in TEST_F() [all …]
|
/external/skia/gm/ |
D | distantclip.cpp | 30 static const SkScalar kOffset = 35000.0f; in onDraw() local 37 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0); in onDraw() 40 SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents); in onDraw() 56 canvas->translate(kExtents / 2, -(kOffset - kExtents / 2)); in onDraw()
|
/external/google-breakpad/src/client/mac/tests/ |
D | exception_handler_test.cc | 315 const int kOffset = kMemorySize / 2; in TEST_F() local 337 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() 342 reinterpret_cast<void_function>(memory + kOffset); in TEST_F() 394 uint8_t prefix_bytes[kOffset]; in TEST_F() 395 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F() 399 EXPECT_TRUE(memcmp(bytes + kOffset, instructions, sizeof(instructions)) == 0); in TEST_F() 400 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(instructions), in TEST_F() 414 const int kOffset = 0; in TEST_F() local 436 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() 441 reinterpret_cast<void_function>(memory + kOffset); in TEST_F() [all …]
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 443 const int64_t kOffset = 10; local 444 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_BEGIN, kOffset)); 445 EXPECT_EQ(2 * kOffset, file.Seek(base::File::FROM_CURRENT, kOffset)); 446 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_CURRENT, -kOffset)); 447 EXPECT_TRUE(file.SetLength(kOffset * 2)); 448 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_END, -kOffset));
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 499 const int kOffset = kMemorySize / 2; in TEST() local 521 memcpy(memory + kOffset, kIllegalInstruction, sizeof(kIllegalInstruction)); in TEST() 527 reinterpret_cast<void_function>(memory + kOffset); in TEST() 568 uint8_t prefix_bytes[kOffset]; in TEST() 569 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(kIllegalInstruction)]; in TEST() 573 EXPECT_TRUE(memcmp(bytes + kOffset, kIllegalInstruction, in TEST() 575 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(kIllegalInstruction), in TEST() 591 const int kOffset = 0; in TEST() local 613 memcpy(memory + kOffset, kIllegalInstruction, sizeof(kIllegalInstruction)); in TEST() 619 reinterpret_cast<void_function>(memory + kOffset); in TEST() [all …]
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | overuse_detector_unittest.cc | 663 const double kOffset = 0.21; in TEST_F() local 673 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 686 overuse_detector_->Detect(1.1 * kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 699 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 711 overuse_detector_->Detect(0.7 * kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 723 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 734 const double kOffset = 1.0; in TEST_F() local 746 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 773 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
|
/external/dng_sdk/source/ |
D | dng_bad_pixels.cpp | 1038 static const int32 kOffset [kNumSets] [kSetSize] [2] = in FixClusteredPixel() local 1069 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1) in FixClusteredPixel() 1080 dng_point offset (kOffset [set] [entry] [0], in FixClusteredPixel() 1081 kOffset [set] [entry] [1]); in FixClusteredPixel() 1547 static const int32 kOffset [kNumSets] [kSetSize] [2] = in FixClusteredRect() local 1648 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1) in FixClusteredRect() 1659 dng_point offset (kOffset [set] [entry] [0], in FixClusteredRect() 1660 kOffset [set] [entry] [1]); in FixClusteredRect()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | font_data.h | 47 kOffset = 2 enumerator
|
/external/gemmlowp/internal/ |
D | fixedpoint.h | 273 static const int kOffset = kFractionalBits + Exponent; 275 kOffset < 31, 277 return FromScalarRaw(ScalarRawType(1) << kOffset);
|