/external/linux-kselftest/tools/testing/selftests/timers/ |
D | valid-adjtimex.c | 198 struct timex tmx = {}; in set_offset() local 201 tmx.modes = ADJ_SETOFFSET; in set_offset() 203 tmx.modes |= ADJ_NANO; in set_offset() 205 tmx.time.tv_sec = offset / NSEC_PER_SEC; in set_offset() 206 tmx.time.tv_usec = offset % NSEC_PER_SEC; in set_offset() 208 if (offset < 0 && tmx.time.tv_usec) { in set_offset() 209 tmx.time.tv_sec -= 1; in set_offset() 210 tmx.time.tv_usec += NSEC_PER_SEC; in set_offset() 213 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset() 214 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset() [all …]
|
/external/skia/tests/ |
D | ShaderTest.cpp | 45 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; in DEF_TEST() local 48 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM); in DEF_TEST() 49 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST() 51 check_isaimage(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST() 52 check_isaimage(reporter, shader1.get(), W, H, tmx, tmy, localM); in DEF_TEST()
|
/external/skqp/tests/ |
D | ShaderTest.cpp | 45 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; in DEF_TEST() local 48 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM); in DEF_TEST() 49 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST() 51 check_isaimage(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST() 52 check_isaimage(reporter, shader1.get(), W, H, tmx, tmy, localM); in DEF_TEST()
|
/external/skqp/src/shaders/ |
D | SkShader.cpp | 138 sk_sp<SkShader> SkShader::MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, in MakeBitmapShader() argument 143 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); in MakeBitmapShader() 146 sk_sp<SkShader> SkShader::MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy, in MakePictureShader() argument 151 return SkPictureShader::Make(std::move(src), tmx, tmy, localMatrix, tile); in MakePictureShader()
|
D | SkBitmapProcShader.cpp | 96 const SkShaderBase& shader, TileMode tmx, TileMode tmy, in MakeContext() argument 105 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(provider, tmx, tmy); in MakeContext()
|
D | SkPictureShader.cpp | 109 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, in SkPictureShader() argument 115 , fTmx(tmx) in SkPictureShader() 127 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, in Make() argument 132 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile, in Make()
|
D | SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
|
D | SkImageShader.cpp | 35 TileMode tmx, TileMode tmy, in SkImageShader() argument 40 , fTileModeX(optimize(tmx, fImage->width())) in SkImageShader() 261 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, in SkMakeBitmapShader() argument 265 tmx, tmy, localMatrix); in SkMakeBitmapShader()
|
/external/skia/src/shaders/ |
D | SkShader.cpp | 143 sk_sp<SkShader> SkShader::MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, in MakeBitmapShader() argument 148 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); in MakeBitmapShader() 151 sk_sp<SkShader> SkShader::MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy, in MakePictureShader() argument 156 return SkPictureShader::Make(std::move(src), tmx, tmy, localMatrix, tile); in MakePictureShader()
|
D | SkBitmapProcShader.cpp | 96 const SkShaderBase& shader, TileMode tmx, TileMode tmy, in MakeContext() argument 105 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(provider, tmx, tmy); in MakeContext()
|
D | SkPictureShader.cpp | 109 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, in SkPictureShader() argument 115 , fTmx(tmx) in SkPictureShader() 127 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, in Make() argument 132 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile, in Make()
|
D | SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
|
D | SkImageShader.cpp | 35 TileMode tmx, TileMode tmy, in SkImageShader() argument 40 , fTileModeX(optimize(tmx, fImage->width())) in SkImageShader() 268 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, in SkMakeBitmapShader() argument 272 tmx, tmy, localMatrix); in SkMakeBitmapShader()
|
/external/skqp/src/core/ |
D | SkBitmapProcState.h | 32 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy); 58 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy) in SkBitmapProcState() 59 : SkBitmapProcInfo(prov, tmx, tmy) {} in SkBitmapProcState()
|
/external/skia/src/core/ |
D | SkBitmapProcState.h | 32 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy); 58 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy) in SkBitmapProcState() 59 : SkBitmapProcInfo(prov, tmx, tmy) {} in SkBitmapProcState()
|
/external/skqp/include/core/ |
D | SkShader.h | 243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/external/skia/include/core/ |
D | SkShader.h | 243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/external/skia/gm/ |
D | pictureshader.cpp | 18 SkShader::TileMode tmx; member 154 auto pictureShader = SkShader::MakePictureShader(fPicture, kTileConfigs[tileMode].tmx, in drawScene() 167 kTileConfigs[tileMode].tmx, in drawScene()
|
D | tilemodes_scaled.cpp | 38 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument 39 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
|
D | tilemodes.cpp | 39 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument 40 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
|
/external/skqp/gm/ |
D | pictureshader.cpp | 18 SkShader::TileMode tmx; member 154 auto pictureShader = SkShader::MakePictureShader(fPicture, kTileConfigs[tileMode].tmx, in drawScene() 167 kTileConfigs[tileMode].tmx, in drawScene()
|
D | tilemodes_scaled.cpp | 38 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument 39 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
|
D | tilemodes.cpp | 39 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument 40 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
|
/external/skia/samplecode/ |
D | SampleTiling.cpp | 45 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument 46 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
|
/external/skqp/samplecode/ |
D | SampleTiling.cpp | 45 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument 46 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
|