Home
last modified time | relevance | path

Searched refs:kOffset (Results 1 – 25 of 29) sorted by relevance

12

/external/webrtc/webrtc/common_audio/
Dsparse_fir_filter_unittest.cc36 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/libaom/libaom/test/
Dintra_edge_test.cc38 static const int kOffset = 16; member in __anon67a6246b0111::UpsampleTest
45 edge_ref_ = &edge_ref_data_[kOffset]; in Common()
46 edge_tst_ = &edge_tst_data_[kOffset]; in Common()
85 for (i = 0; i < kOffset + size_; ++i) { in TEST_P()
137 for (i = 0; i < kOffset + size_; ++i) { in TEST_P()
167 static const int kOffset = 15; member in __anon67a6246b0111::FilterEdgeTest
174 edge_ref_ = &edge_ref_data_[kOffset]; in Common()
175 edge_tst_ = &edge_tst_data_[kOffset]; in Common()
215 for (i = 0; i < kOffset + size_; ++i) { in TEST_P()
260 for (i = 0; i < kOffset + size_; ++i) { in TEST_P()
[all …]
Ddr_prediction_test.cc152 static const int kOffset = 16; member in __anond4b7649f0111::DrPredTest
165 above_ = &above_data_[kOffset]; in DrPredTest()
166 left_ = &left_data_[kOffset]; in DrPredTest()
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_death_test.cc327 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/google-breakpad/src/client/mac/tests/
Dexception_handler_test.cc315 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/skia/gm/
Ddistantclip.cpp30 constexpr 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()
Dgm.cpp26 constexpr SkScalar kOffset = 5.0f; in draw_failure_message() local
33 canvas->drawString(failureMsg, kOffset, bounds.height() + kOffset, font, textPaint); in draw_failure_message()
Dcompositor_quads.cpp460 static constexpr SkScalar kOffset = 15.f; in onDraw() local
466 canvas->translate(kOffset + kBannerWidth, kOffset); in onDraw()
493 canvas->translate(kOffset, kGap + 0.5f * kRowCount * kTileHeight); in onDraw()
/external/skqp/gm/
Ddistantclip.cpp30 constexpr 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()
DanimatedGif.cpp26 constexpr SkScalar kOffset = 5.0f; in error() local
32 canvas->drawString(errorText, kOffset, bounds.height() + kOffset, font, paint); in error()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc499 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/
Doveruse_detector_unittest.cc663 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/deqp/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp2479 const GLintptr kOffset[2] = { 0, 8 }; in Run() local
2483 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
2485 glMapBufferRange(GL_ARRAY_BUFFER, 0, kOffset[0] + 4 * kStride[0], GL_MAP_WRITE_BIT)); in Run()
2486 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
2487 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
2488 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
2489 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
2492 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
2493 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
2494 *reinterpret_cast<UVec3*>(&ptr[kOffset[0] + 20 + i * kStride[0]]) = UVec3(1, 2, 3); in Run()
[all …]
/external/libchrome/base/files/
Dfile_unittest.cc492 const int64_t kOffset = 10; local
493 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_BEGIN, kOffset));
494 EXPECT_EQ(2 * kOffset, file.Seek(base::File::FROM_CURRENT, kOffset));
495 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_CURRENT, -kOffset));
496 EXPECT_TRUE(file.SetLength(kOffset * 2));
497 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_END, -kOffset));
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp3004 const GLintptr kOffset[2] = { 0, 8 }; in Run() local
3013 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
3016 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
3017 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
3018 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
3019 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
3023 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
3024 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
3028 memcpy(&ptr[kOffset[0] + 20 + i * kStride[0]], u.c, 3 * sizeof(double)); in Run()
3029 *reinterpret_cast<IVec2*>(&ptr[kOffset[0] + 44 + i * kStride[0]]) = IVec2(1, 2); in Run()
[all …]
/external/dng_sdk/source/
Ddng_bad_pixels.cpp1038 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/skia/experimental/svg/model/
DSkSVGStop.cpp28 case SkSVGAttribute::kOffset: in onSetAttribute()
DSkSVGAttribute.h30 kOffset, enumerator
/external/skqp/experimental/svg/model/
DSkSVGStop.cpp28 case SkSVGAttribute::kOffset: in onSetAttribute()
DSkSVGAttribute.h30 kOffset, enumerator
DSkSVGDOM.cpp321 { "offset" , { SkSVGAttribute::kOffset , SetLengthAttribute }},
/external/sfntly/cpp/src/sfntly/data/
Dfont_data.h45 kOffset = 2 enumerator
/external/skqp/src/codec/
DSkJpegCodec.cpp61 constexpr size_t kOffset = 6; in is_orientation_marker() local
62 return is_orientation_marker(marker->data + kOffset, marker->data_length - kOffset, in is_orientation_marker()
/external/skia/src/codec/
DSkJpegCodec.cpp61 constexpr size_t kOffset = 6; in is_orientation_marker() local
62 return is_orientation_marker(marker->data + kOffset, marker->data_length - kOffset, in is_orientation_marker()
/external/gemmlowp/fixedpoint/
Dfixedpoint.h477 static const int kOffset = kFractionalBits + Exponent;
479 kOffset < 31,
481 return FromScalarRaw(ScalarRawType(1) << kOffset);

12