/external/llvm-project/llvm/unittests/ADT/ |
D | StringSwitchTest.cpp | 15 auto Translate = [](StringRef S) { in TEST() local 35 EXPECT_EQ(1, Translate("1")); in TEST() 36 EXPECT_EQ(2, Translate("2")); in TEST() 37 EXPECT_EQ(11, Translate("B")); in TEST() 38 EXPECT_EQ(-1, Translate("b")); in TEST() 39 EXPECT_EQ(-1, Translate("")); in TEST() 40 EXPECT_EQ(-1, Translate("Test")); in TEST() 44 auto Translate = [](StringRef S) { in TEST() local 64 EXPECT_EQ(1, Translate("1")); in TEST() 65 EXPECT_EQ(2, Translate("2")); in TEST() [all …]
|
/external/skia/modules/skottie/tests/ |
D | Image.cpp | 52 { 1, SkMatrix::Translate(50,25) * SkMatrix::Scale(.5f,.5f) * SkMatrix::Translate(-50,-25), in DEF_TEST() 54 { 2, SkMatrix::Translate(-50, 0), in DEF_TEST() 56 { 3, SkMatrix::Translate(0, -25), in DEF_TEST() 58 { 4, SkMatrix::Translate(50, 0), in DEF_TEST() 60 { 5, SkMatrix::Translate(0, 25), in DEF_TEST()
|
/external/skia/gm/ |
D | crbug_224618.cpp | 61 SkM44 zoom = SkM44::Translate(0.f, 0.f, radius); in onDraw() 62 SkM44 postZoom = SkM44::Translate(0.f, 0.f, -radius - 1.f); in onDraw() 86 model = SkM44::Translate(radius, radius) * proj * // project and place content in onDraw() 88 SkM44::Translate(-radius, -radius); // center content in onDraw()
|
D | preservefillrule.cpp | 76 star7_evenOdd.transform(SkMatrix::Translate(0, fStarSize)); in onDraw() 80 star5_winding.transform(SkMatrix::Translate(fStarSize, 0)); in onDraw() 84 star5_evenOdd.transform(SkMatrix::Translate(0, fStarSize)); in onDraw()
|
D | postercircle.cpp | 122 SkM44 model = SkM44::Translate(kStageWidth/2, kStageHeight/2 + 25, 0) in onDraw() 124 * SkM44::Translate(0, ringY, 0) in onDraw() 126 * SkM44::Translate(0, 0, kRingRadius); in onDraw()
|
D | sample_matrix_constant.cpp | 66 rtCtx->drawRect(nullptr, std::move(paint), GrAA::kNo, SkMatrix::Translate(tx, ty), in __anon79ee04020202() 73 rtCtx->drawRect(nullptr, std::move(paint), GrAA::kNo, SkMatrix::Translate(tx, ty), in __anon79ee04020302()
|
D | dftext_blob_persp.cpp | 134 persp = SkMatrix::Concat(persp, SkMatrix::Translate(-x, -y)); in drawBlob() 135 persp = SkMatrix::Concat(SkMatrix::Translate(x, y), persp); in drawBlob()
|
/external/webrtc/modules/desktop_capture/win/ |
D | dxgi_output_duplicator.cc | 204 dest_rect.Translate(offset); in Duplicate() 210 updated_region.Translate(offset.x(), offset.y()); in Duplicate() 225 source_rect.Translate(last_frame_offset_); in Duplicate() 226 target_rect.Translate(offset); in Duplicate() 229 updated_region.Translate(offset.x(), offset.y()); in Duplicate() 244 result.Translate(offset); in GetTranslatedDesktopRect() 388 desktop_rect_.Translate(position); in TranslateRect()
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | run_translate.py | 16 from mojom.parse.translate import Translate 27 print Translate(Parse(f.read(), filename),
|
/external/skia/modules/skottie/src/ |
D | Transform.cpp | 59 return SkMatrix::Translate(fPosition.x, fPosition.y) in totalMatrix() 63 * SkMatrix::Translate(-fAnchorPoint.x, -fAnchorPoint.y); in totalMatrix() 183 return SkM44::Translate(position.x, position.y, position.z) in totalMatrix() 188 * SkM44::Translate(-anchor_point.x, -anchor_point.y, -anchor_point.z); in totalMatrix()
|
/external/angle/src/tests/gl_tests/gles1/ |
D | MatrixMultTest.cpp | 54 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(1.0f, 0.0f, 0.0f)); in TEST_P() 67 EXPECT_EQ(angle::Mat4::Translate(angle::Vector3(2.0f, 0.0f, 0.0f)), outputMatrix); in TEST_P()
|
D | MatrixBuiltinsTest.cpp | 55 TEST_P(MatrixBuiltinsTest, Translate) in TEST_P() argument 61 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(x, y, z)); in TEST_P()
|
/external/rust/crates/libz-sys/src/zlib/contrib/ada/ |
D | buffer_demo.adb | 53 Translate (Compressor, Source, I, Compressed_Data, L, Finish); 83 Translate
|
D | zlib.adb | 253 Translate (Filter, No_Data, Last, Out_Data, Out_Last, Flush); 280 Translate 423 Translate 477 procedure Translate subprogram 502 end Translate; 683 Translate
|
D | mtest.adb | 104 procedure Translate is new Generic_Translate subprogram 123 Translate (Deflate);
|
D | test.adb | 103 procedure Translate is new ZLib.Generic_Translate subprogram 315 Translate (Filter); 331 Translate (Filter);
|
/external/skia/bench/ |
D | DrawBitmapAABench.cpp | 62 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::Translate(17.5f, 17.5f), "translate"); ) 75 DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::Translate(17.5f, 17.5f), "translate"); )
|
/external/rust/crates/regex-syntax/src/ |
D | error.rs | 20 Translate(hir::Error), enumerator 38 Error::Translate(err) in from() 48 Error::Translate(ref x) => x.description(), in description() 58 Error::Translate(ref x) => x.fmt(f), in fmt()
|
/external/webrtc/modules/desktop_capture/ |
D | desktop_geometry.h | 140 void Translate(int32_t dx, int32_t dy); 141 void Translate(DesktopVector d) { Translate(d.x(), d.y()); } in Translate() function
|
D | cropping_window_capturer_win.cc | 226 region_rect.Translate(window_region_rect_.left(), in ShouldUseScreenCapturer() 273 window_rect.Translate(-screen_rect.left(), -screen_rect.top()); in GetWindowRectInVirtualScreen()
|
/external/skia/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 16 : SkGradientShaderBase(desc, SkMatrix::Translate(-center.x(), -center.y())) in SkSweepGradient() 63 p->append_matrix(alloc, SkMatrix::Scale(fTScale, 1) * SkMatrix::Translate(fTBias, 0)); in appendGradientStages()
|
/external/skia/docs/examples/ |
D | ChromeMDRefreshTab.cpp | 146 path.transform(SkMatrix::Translate(0, 30)); in draw() 151 border_path.transform(SkMatrix::Translate(0, 30)); in draw()
|
D | Matrix_isFinite.cpp | 7 SkMatrix matrix = SkMatrix::Translate(SK_ScalarNaN, 0); in draw()
|
D | Matrix_MakeTrans.cpp | 7 SkMatrix matrix = SkMatrix::Translate(64, 48); in draw()
|
/external/pdfium/testing/fuzzers/ |
D | pdf_fm2js_fuzzer.cc | 21 CFXJSE_FormCalcContext::Translate(input.AsStringView(), &js); in LLVMFuzzerTestOneInput()
|