/external/libaom/libaom/test/ |
D | intra_edge_test.cc | 38 static const int kOffset = 16; member in __anon745c3d920111::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 __anon745c3d920111::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 …]
|
/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() 387 EXPECT_GE(region->GetSize() - kOffset, ip_offset); in TEST_F() 388 EXPECT_LE(kOffset, ip_offset); in TEST_F() 390 uint8_t prefix_bytes[kOffset]; in TEST_F() 391 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F() 394 EXPECT_EQ(0, memcmp(bytes + ip_offset - kOffset, prefix_bytes, in TEST_F() 422 const int kOffset = 0; in TEST_F() local 440 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() [all …]
|
/external/skia/gm/ |
D | distantclip.cpp | 29 constexpr SkScalar kOffset = 35000.0f; in onDraw() local 36 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents); in onDraw() 39 SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents); in onDraw() 52 canvas->translate(kExtents / 2, -(kOffset - kExtents / 2)); in onDraw()
|
D | gm.cpp | 42 constexpr SkScalar kOffset = 5.0f; in draw_failure_message() local 48 canvas->drawString(failureMsg, kOffset, bounds.height() + kOffset, font, textPaint); in draw_failure_message()
|
/external/skqp/gm/ |
D | distantclip.cpp | 30 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()
|
D | animatedGif.cpp | 26 constexpr SkScalar kOffset = 5.0f; in error() local 32 canvas->drawString(errorText, kOffset, bounds.height() + kOffset, font, paint); in error()
|
/external/libchrome/base/files/ |
D | memory_mapped_file_unittest.cc | 126 const size_t kOffset = kFileSize - kPartialSize; in TEST_F() local 131 MemoryMappedFile::Region region = {kOffset, kPartialSize}; in TEST_F() 136 ASSERT_TRUE(CheckBufferContents(map.data(), kPartialSize, kOffset)); in TEST_F() 141 const size_t kOffset = 1024 * 5 + 32; in TEST_F() local 148 MemoryMappedFile::Region region = {kOffset, kPartialSize}; in TEST_F() 153 ASSERT_TRUE(CheckBufferContents(map.data(), kPartialSize, kOffset)); in TEST_F() 158 const size_t kOffset = 1024 * 5 + 32; in TEST_F() local 165 MemoryMappedFile::Region region = {kOffset, kPartialSize}; in TEST_F() 170 ASSERT_TRUE(CheckBufferContents(map.data(), kPartialSize, kOffset)); in TEST_F()
|
D | file_unittest.cc | 492 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/google-breakpad/src/client/mac/tests/ |
D | exception_handler_test.cc | 316 const int kOffset = kMemorySize / 2; in TEST_F() local 338 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() 343 reinterpret_cast<void_function>(memory + kOffset); in TEST_F() 395 uint8_t prefix_bytes[kOffset]; in TEST_F() 396 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F() 400 EXPECT_TRUE(memcmp(bytes + kOffset, instructions, sizeof(instructions)) == 0); in TEST_F() 401 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(instructions), in TEST_F() 415 const int kOffset = 0; in TEST_F() local 437 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F() 442 reinterpret_cast<void_function>(memory + kOffset); in TEST_F() [all …]
|
/external/pigweed/pw_blob_store/ |
D | blob_store_test.cc | 255 constexpr size_t kOffset = 10; in TEST_F() local 256 ASSERT_LT(kOffset, kBlobDataSize); in TEST_F() 266 ASSERT_EQ(OkStatus(), reader.Open(kOffset)); in TEST_F() 268 std::array<std::byte, kBlobDataSize - kOffset> read_buffer; in TEST_F() 275 VerifyFlash(read_buffer, kOffset); in TEST_F() 282 constexpr size_t kOffset = kBlobDataSize; in TEST_F() local 292 ASSERT_EQ(Status::InvalidArgument(), reader.Open(kOffset)); in TEST_F()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 578 const int kOffset = kMemorySize / 2; in TEST() local 600 memcpy(memory + kOffset, kIllegalInstruction, sizeof(kIllegalInstruction)); in TEST() 606 reinterpret_cast<void_function>(memory + kOffset); in TEST() 647 uint8_t prefix_bytes[kOffset]; in TEST() 648 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(kIllegalInstruction)]; in TEST() 652 EXPECT_TRUE(memcmp(bytes + kOffset, kIllegalInstruction, in TEST() 654 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(kIllegalInstruction), in TEST() 670 const int kOffset = 0; in TEST() local 692 memcpy(memory + kOffset, kIllegalInstruction, sizeof(kIllegalInstruction)); in TEST() 698 reinterpret_cast<void_function>(memory + kOffset); in TEST() [all …]
|
/external/pigweed/pw_hex_dump/public/pw_hex_dump/ |
D | hex_dump.h | 69 kOffset = 1, enumerator 97 .prefix_mode = AddressMode::kOffset};
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | overuse_detector_unittest.cc | 689 const double kOffset = 0.21; in TEST_F() local 699 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 712 overuse_detector_->Detect(1.1 * kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 725 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 737 overuse_detector_->Detect(0.7 * kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 749 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 760 const double kOffset = 1.0; in TEST_F() local 772 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F() 799 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
|
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/ |
D | TargetTest.cpp | 364 constexpr const int kOffset = 42; in TEST_F() local 365 State.getExegesisTarget().fillMemoryOperands(IT, X86::RDI, kOffset); in TEST_F() 370 EXPECT_THAT(IT.getValueFor(I.Operands[5]), IsImm(kOffset)); in TEST_F() 377 constexpr const int kOffset = 42; in TEST_F() local 378 State.getExegesisTarget().fillMemoryOperands(IT, X86::RDI, kOffset); in TEST_F() 383 EXPECT_THAT(IT.getValueFor(I.Operands[7]), IsImm(kOffset)); in TEST_F()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | tf_record_dataset_op.cc | 40 constexpr char kOffset[] = "offset"; variable 216 writer->WriteScalar(full_name(kOffset), reader_->TellOffset())); in SaveInternal() 229 if (reader->Contains(full_name(kOffset))) { in RestoreInternal() 231 TF_RETURN_IF_ERROR(reader->ReadScalar(full_name(kOffset), &offset)); in RestoreInternal()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cVertexAttribBindingTests.cpp | 2480 const GLintptr kOffset[2] = { 0, 8 }; in Run() local 2484 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run() 2486 glMapBufferRange(GL_ARRAY_BUFFER, 0, kOffset[0] + 4 * kStride[0], GL_MAP_WRITE_BIT)); in Run() 2487 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run() 2488 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run() 2489 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run() 2490 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run() 2493 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run() 2494 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run() 2495 *reinterpret_cast<UVec3*>(&ptr[kOffset[0] + 20 + i * kStride[0]]) = UVec3(1, 2, 3); in Run() [all …]
|
/external/angle/src/tests/deqp_support/ |
D | es31cVertexAttribBindingTests_override.cpp | 2514 const GLintptr kOffset[2] = {0, 8}; in Run() local 2518 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run() 2520 GL_ARRAY_BUFFER, 0, kOffset[0] + 4 * kStride[0], GL_MAP_WRITE_BIT)); in Run() 2521 *reinterpret_cast<Vec2 *>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run() 2522 *reinterpret_cast<Vec2 *>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run() 2523 *reinterpret_cast<Vec2 *>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run() 2524 *reinterpret_cast<Vec2 *>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run() 2527 *reinterpret_cast<Vec2 *>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run() 2528 *reinterpret_cast<float *>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run() 2529 *reinterpret_cast<UVec3 *>(&ptr[kOffset[0] + 20 + i * kStride[0]]) = UVec3(1, 2, 3); in Run() [all …]
|
/external/pigweed/pw_hex_dump/ |
D | hex_dump.cc | 67 std::string_view header(flags.prefix_mode == AddressMode::kOffset in PrintFormatHeader() 72 if (flags.prefix_mode == AddressMode::kOffset) { in PrintFormatHeader() 243 } else if (flags.prefix_mode == AddressMode::kOffset) { in ValidateBufferSize()
|
/external/angle/src/tests/gl_tests/ |
D | RobustResourceInitTest.cpp | 1697 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local 1721 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P() 1728 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P() 1729 y < (kDestSize - kOffset); in TEST_P() 1746 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, kOffset, kOffset, 0, 0, kSrcSize, kSrcSize); in TEST_P() 1816 static constexpr int kOffset = kSrcSize / 2; in TEST_P() local 1841 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P() 1848 return (x >= kOffset) && x < (kDestSize - kOffset) && (y >= kOffset) && in TEST_P() 1849 y < (kDestSize - kOffset); in TEST_P() 1869 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, kOffset, kOffset, 0, 0, 0, kSrcSize, kSrcSize); in TEST_P()
|
D | AtomicCounterBufferTest.cpp | 210 constexpr GLintptr kOffset = 20; in TEST_P() local 222 glBindBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, atomicCounterBuffer, kOffset, in TEST_P() 223 sizeof(bufferData) - kOffset); in TEST_P()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cVertexAttribBindingTests.cpp | 3004 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/angle/src/tests/gl_tests/gles1/ |
D | BootAnimationTest.cpp | 138 constexpr unsigned int kOffset = 7; in checkMaskColor() local 144 ((iterationCount - maskSlot + kOffset) / kColorsInARow) % kPossibleColors; in checkMaskColor()
|
/external/skqp/experimental/svg/model/ |
D | SkSVGStop.cpp | 28 case SkSVGAttribute::kOffset: in onSetAttribute()
|
D | SkSVGAttribute.h | 30 kOffset, enumerator
|
/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()
|