Searched defs:kOffset (Results 1 - 11 of 11) sorted by relevance

/external/skia/gm/
H A Ddistantclip.cpp30 static const SkScalar kOffset = 35000.0f; local
37 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0);
40 SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents);
56 canvas->translate(kExtents / 2, -(kOffset - kExtents / 2));
/external/sfntly/cpp/src/sfntly/data/
H A Dfont_data.h45 kOffset = 2 enumerator in enum:sfntly::DataSize::__anon15722
/external/webrtc/webrtc/common_audio/
H A Dsparse_fir_filter_unittest.cc36 const size_t kOffset = 0; local
38 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset);
48 const size_t kOffset = 0; local
54 kOffset);
58 kOffset);
68 const size_t kOffset = 0; local
70 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset);
82 const size_t kOffset = 4; local
84 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset);
95 const size_t kOffset local
108 const size_t kOffset = 0; local
118 const size_t kOffset = 0; local
145 const size_t kOffset = 1; local
164 const size_t kOffset = 2; local
181 const size_t kOffset = 2; local
198 const size_t kOffset = 0; local
214 const size_t kOffset = 0; local
[all...]
/external/libchrome/base/files/
H A Dfile_unittest.cc443 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));
[all...]
/external/google-breakpad/src/client/mac/tests/
H A Dexception_handler_test.cc315 const int kOffset = kMemorySize / 2; local
337 memcpy(memory + kOffset, instructions, sizeof(instructions));
342 reinterpret_cast<void_function>(memory + kOffset);
394 uint8_t prefix_bytes[kOffset];
395 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)];
399 EXPECT_TRUE(memcmp(bytes + kOffset, instructions, sizeof(instructions)) == 0);
400 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(instructions),
414 const int kOffset = 0; local
436 memcpy(memory + kOffset, instructions, sizeof(instructions));
441 reinterpret_cast<void_function>(memory + kOffset);
515 const int kOffset = kMemorySize - sizeof(instructions); local
[all...]
/external/skia/src/gpu/effects/
H A DGrCustomXfermode.cpp36 enum { kOffset = kOverlay_GrBlendEquation - SkXfermode::kOverlay_Mode }; enumerator in enum:__anon16125
37 return static_cast<GrBlendEquation>(mode + kOffset);
39 GR_STATIC_ASSERT(kOverlay_GrBlendEquation == SkXfermode::kOverlay_Mode + kOffset);
40 GR_STATIC_ASSERT(kDarken_GrBlendEquation == SkXfermode::kDarken_Mode + kOffset);
41 GR_STATIC_ASSERT(kLighten_GrBlendEquation == SkXfermode::kLighten_Mode + kOffset);
42 GR_STATIC_ASSERT(kColorDodge_GrBlendEquation == SkXfermode::kColorDodge_Mode + kOffset);
43 GR_STATIC_ASSERT(kColorBurn_GrBlendEquation == SkXfermode::kColorBurn_Mode + kOffset);
44 GR_STATIC_ASSERT(kHardLight_GrBlendEquation == SkXfermode::kHardLight_Mode + kOffset);
45 GR_STATIC_ASSERT(kSoftLight_GrBlendEquation == SkXfermode::kSoftLight_Mode + kOffset);
46 GR_STATIC_ASSERT(kDifference_GrBlendEquation == SkXfermode::kDifference_Mode + kOffset);
[all...]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
H A Doveruse_detector_unittest.cc663 const double kOffset = 0.21; local
673 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms);
686 overuse_detector_->Detect(1.1 * kOffset, kTsDelta, num_deltas, now_ms);
699 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms);
711 overuse_detector_->Detect(0.7 * kOffset, kTsDelta, num_deltas, now_ms);
723 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms);
734 const double kOffset = 1.0; local
746 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms);
773 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms);
/external/gemmlowp/internal/
H A Dfixedpoint.h273 static const int kOffset = kFractionalBits + Exponent; local
275 kOffset < 31,
277 return FromScalarRaw(ScalarRawType(1) << kOffset);
/external/google-breakpad/src/client/windows/unittests/
H A Dexception_handler_death_test.cc327 const int kOffset = kMemorySize / 2; local
340 memcpy(memory + kOffset, instructions, sizeof(instructions));
345 reinterpret_cast<void_function>(memory + kOffset);
386 uint8_t prefix_bytes[kOffset];
387 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)];
391 EXPECT_EQ(0, memcmp(bytes + kOffset, instructions, sizeof(instructions)));
392 EXPECT_EQ(0, memcmp(bytes + kOffset + sizeof(instructions),
417 const int kOffset = 0; local
435 memcpy(memory + kOffset, instructions, sizeof(instructions));
440 reinterpret_cast<void_function>(memory + kOffset);
511 const int kOffset = kPageSize - sizeof(instructions); local
[all...]
/external/google-breakpad/src/client/linux/handler/
H A Dexception_handler_unittest.cc499 const int kOffset = kMemorySize / 2; local
521 memcpy(memory + kOffset, kIllegalInstruction, sizeof(kIllegalInstruction));
527 reinterpret_cast<void_function>(memory + kOffset);
568 uint8_t prefix_bytes[kOffset];
569 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(kIllegalInstruction)];
573 EXPECT_TRUE(memcmp(bytes + kOffset, kIllegalInstruction,
575 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(kIllegalInstruction),
591 const int kOffset = 0; local
613 memcpy(memory + kOffset, kIllegalInstruction, sizeof(kIllegalInstruction));
619 reinterpret_cast<void_function>(memory + kOffset);
682 const int kOffset = kMemorySize - sizeof(kIllegalInstruction); local
[all...]
/external/dng_sdk/source/
H A Ddng_bad_pixels.cpp1038 static const int32 kOffset [kNumSets] [kSetSize] [2] = local
1069 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1)
1080 dng_point offset (kOffset [set] [entry] [0],
1081 kOffset [set] [entry] [1]);
1547 static const int32 kOffset [kNumSets] [kSetSize] [2] = local
1648 if (!isGreen && (kOffset [set] [0] [0] & 1) == 1)
1659 dng_point offset (kOffset [set] [entry] [0],
1660 kOffset [set] [entry] [1]);

Completed in 279 milliseconds