/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-subset-hmtx.c | 28 #include "hb-subset-test.h" 157 hb_face_t *subset; in test_subset_invalid_hmtx() local 165 subset = hb_subset_or_fail (face, input); in test_subset_invalid_hmtx() 166 g_assert (!subset); in test_subset_invalid_hmtx() 169 hb_face_destroy (subset); in test_subset_invalid_hmtx()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFShader.cpp | 167 SkIRect subset = SkIRect::MakeXYWH(0, 0, 1, bitmap.height()); in make_image_shader() local 170 SkAssertResult(bitmap.extractSubset(&left, subset)); in make_image_shader() 185 subset.offset(bitmap.width() - 1, 0); in make_image_shader() 186 SkAssertResult(bitmap.extractSubset(&right, subset)); in make_image_shader() 210 SkIRect subset = SkIRect::MakeXYWH(0, 0, bitmap.width(), 1); in make_image_shader() local 213 SkAssertResult(bitmap.extractSubset(&top, subset)); in make_image_shader() 228 subset.offset(0, bitmap.height() - 1); in make_image_shader() 229 SkAssertResult(bitmap.extractSubset(&bottom, subset)); in make_image_shader()
|
H A D | SkPDFMakeToUnicodeCmap.h | 15 const SkPDFGlyphUse* subset, 22 const SkPDFGlyphUse* subset,
|
H A D | SkKeyedImage.h | 34 SkKeyedImage subset(SkIRect subset) const;
|
/third_party/skia/gm/ |
H A D | surface.cpp | 326 const SkIRect subset = SkIRect::MakeLTRB(180, 0, 256, 256); in DEF_SURFACE_TESTS() local 339 sk_sp<SkImage> saveImg = surf->makeImageSnapshot(subset); in DEF_SURFACE_TESTS() 343 surf->getCanvas()->drawRect(SkRect::Make(subset), paint); in DEF_SURFACE_TESTS() 359 SkPoint pts[] = {{SkIntToScalar(subset.left()), 0}, {SkIntToScalar(subset.right()), 0}}; in DEF_SURFACE_TESTS() 365 surf->getCanvas()->drawRect(SkRect::Make(subset), paint); in DEF_SURFACE_TESTS() 373 SkIntToScalar(subset.left()), SkIntToScalar(subset.top()), in DEF_SURFACE_TESTS()
|
H A D | imagemakewithfilter.cpp | 169 // Tile the subset over a large region in tile_factory() 176 // Uses makeWithFilter, passing in subset and clip directly 184 // 25-wide border) through the makeWithFilter method. We'll then draw the appropriate subset of the 316 SkIRect subset = SkIRect::MakeXYWH(25, 25, 50, 50); variable 326 subset, &outSubset); 328 // Draw outlines to highlight what was subset, what was cropped, and what was output 329 // (no output subset is displayed for kSaveLayer since that information isn't avail) 334 show_bounds(canvas, &clipBound, &subset, outSubsetBounds); 352 const SkIRect& subset, SkIRect* dstRect) { in drawImageWithFilter() 371 // Draw the original subset o in drawImageWithFilter() 350 drawImageWithFilter(SkCanvas* canvas, sk_sp<SkImage> mainImage, sk_sp<SkImage> auxImage, FilterFactory filterFactory, const SkIRect& clip, const SkIRect& subset, SkIRect* dstRect) drawImageWithFilter() argument [all...] |
H A D | drawbitmaprect.cpp | 122 SkBitmap subset; in bitmapsubsetproc() local 123 if (bm.extractSubset(&subset, srcR)) { in bitmapsubsetproc() 124 canvas->drawImageRect(subset.asImage(), dstR, sampling, paint); in bitmapsubsetproc() 143 if (sk_sp<SkImage> subset = image->makeSubset(srcR, direct)) { in imagesubsetproc() 144 canvas->drawImageRect(subset, dstR, sampling, paint); in imagesubsetproc() 259 DEF_GM( return new DrawBitmapRectGM(bitmapsubsetproc, "-subset"); ) 261 DEF_GM( return new DrawBitmapRectGM(imagesubsetproc , "-imagerect-subset"); )
|
/third_party/skia/docs/examples/ |
H A D | skbug_237_drawImage_with_blur.cpp | 10 auto subset = image->makeSubset({16, 16, 48, 48}); in REG_FIDDLE() local 11 canvas->drawImage(subset, 16, 16, SkSamplingOptions(), &paint); in REG_FIDDLE()
|
H A D | Image_encodeToData_2.cpp | 8 SkIRect subset = {136, 32, 200, 96}; in REG_FIDDLE() local 10 sk_sp<SkImage> eye = SkImage::MakeFromEncoded(data)->makeSubset(subset); in REG_FIDDLE()
|
H A D | Image_encodeToData.cpp | 8 SkIRect subset = {0, 0, 16, 64}; in REG_FIDDLE() local 12 sk_sp<SkImage> filtered = SkImage::MakeFromEncoded(data)->makeSubset(subset); in REG_FIDDLE()
|
H A D | Image_makeSubset.cpp | 12 sk_sp<SkImage> subset(image->makeSubset({x, y, x + width, y + height})); in REG_FIDDLE() 13 canvas->drawImage(subset, x * 3 / 2, y * 3 / 2); in REG_FIDDLE()
|
H A D | Image_makeWithFilter.cpp | 10 SkIRect subset = image->bounds(); in REG_FIDDLE() local 16 subset, clipBounds, &outSubset, &offset)); in REG_FIDDLE()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-math-table.hh | 201 bool subset (hb_subset_context_t *c) const in subset() function 254 bool subset (hb_subset_context_t *c) const in subset() function 437 bool subset (hb_subset_context_t *c) const in subset() function 496 bool subset (hb_subset_context_t *c) const in subset() function 575 bool subset (hb_subset_context_t *c) const in subset() function 618 bool subset (hb_subset_context_t *c) const in subset() function 678 bool subset (hb_subset_context_t *c) const in subset() function 688 if (!record.subset (c)) return_trace (false); in subset() 744 bool subset (hb_subset_context_t *c) const in subset() function 755 if (!record.subset ( in subset() 859 bool subset (hb_subset_context_t *c) const subset() function 1010 bool subset (hb_subset_context_t *c) const subset() function [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | nanobenchmark.cc | 614 // Copies the "full" to "subset" in the same order, but with "num_skip" 617 const size_t num_skip, InputVec* subset) { in FillSubset() 635 size_t idx_subset = 0; // cursor within *subset in FillSubset() 648 if (idx_subset < subset->size()) { in FillSubset() 649 (*subset)[idx_subset++] = next; in FillSubset() 652 ABSL_RAW_CHECK(idx_subset == subset->size(), "idx_subset not at end"); in FillSubset() 744 InputVec subset(full.size() - num_skip); in MeasureImpl() 746 const Ticks overhead_skip = Overhead(arg, &subset, p); in MeasureImpl() 755 subset.size(), overhead, overhead_skip); in MeasureImpl() 762 FillSubset(full, unique[i], num_skip, &subset); in MeasureImpl() 616 FillSubset(const InputVec& full, const FuncInput input_to_skip, const size_t num_skip, InputVec* subset) FillSubset() argument [all...] |
/third_party/skia/src/android/ |
H A D | SkAndroidFrameworkUtils.cpp | 33 int SkAndroidFrameworkUtils::SaveBehind(SkCanvas* canvas, const SkRect* subset) { in SaveBehind() argument 34 return canvas->only_axis_aligned_saveBehind(subset); in SaveBehind()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrTextureEffect.h | 39 * Makes a texture effect that samples a subset of a texture. The wrap modes of the 40 * GrSampleState are applied to the subset in the shader rather than using HW samplers. 41 * The 'subset' parameter specifies the texels in the base level. The shader code will 48 * subset contains the entire texture. 54 const SkRect& subset, 63 * draw, etc. It is only used to attempt to optimize away the shader subset calculations. 69 const SkRect& subset, 75 * Like MakeSubset() but always uses kLinear filtering. MakeSubset() uses the subset rect 77 * the wrapped texture coordinate inside subset rect it further clamps it to a 0.5 inset rect of 78 * subset [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | Math.h | 97 constexpr bool IsSubset(T1 subset, T2 set) { in IsSubset() argument 98 T2 bitsAlsoInSet = subset & set; in IsSubset() 99 return bitsAlsoInSet == subset; in IsSubset()
|
/third_party/skia/bench/ |
H A D | ImageFilterDAGBench.cpp | 72 SkIRect subset = SkIRect::MakeSize(fImage->dimensions()); variable 93 image = image->makeWithFilter(dContext, mergeFilter.get(), subset, subset,
|
H A D | BitmapRegionDecoderBench.cpp | 16 SkColorType colorType, uint32_t sampleSize, const SkIRect& subset) in BitmapRegionDecoderBench() 21 , fSubset(subset) in BitmapRegionDecoderBench() 15 BitmapRegionDecoderBench(const char* baseName, SkData* encoded, SkColorType colorType, uint32_t sampleSize, const SkIRect& subset) BitmapRegionDecoderBench() argument
|
/third_party/skia/src/image/ |
H A D | SkImage_Raster.cpp | 254 sk_sp<SkImage> SkImage_Raster::onMakeSubset(const SkIRect& subset, GrDirectContext*) const { in onMakeSubset() argument 255 SkImageInfo info = fBitmap.info().makeDimensions(subset.size()); in onMakeSubset() 262 void* src = fBitmap.getAddr(subset.x(), subset.y()); in onMakeSubset() 269 subset.height()); in onMakeSubset() 450 const SkRect* subset, in onAsFragmentProcessor() 459 subset, in onAsFragmentProcessor() 445 onAsFragmentProcessor( GrRecordingContext* rContext, SkSamplingOptions sampling, const SkTileMode tileModes[2], const SkMatrix& m, const SkRect* subset, const SkRect* domain) const onAsFragmentProcessor() argument
|
H A D | SkImage_Base.h | 104 * Optional 'subset' indicates whether the tile modes should be applied to a subset of the image 106 * used to optimize the shader if 'subset' is also specified. 112 const SkRect* subset = nullptr, 186 const SkRect* subset, 213 const SkRect* subset,
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/util/ |
H A D | helpers.js | 225 allNonemptySubsetsOf(validUsages).forEach(function(subset) { 227 okaySubsets.push(subset); 230 if (subset.includes(mandatoryUsages[i])) { 231 okaySubsets.push(subset);
|
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/ |
H A D | __main__.py | 151 subset='preprocess', 167 subset=subset,
|
/third_party/skia/tests/ |
H A D | CodecTest.cpp | 157 SkIRect subset = SkIRect::MakeLTRB(0, y, info.width(), in test_in_stripes() local 160 options.fSubset = ⊂ in test_in_stripes() 164 subset.top(), subset.bottom()); in test_in_stripes() 305 // support subset decodes - png and jpeg (once SkJpegCodec is in check_scanline_decode() 357 SkIRect subset = SkIRect::MakeXYWH(2 * (width / 3), 0, width / 3, height); in check_scanline_decode() local 358 options.fSubset = ⊂ in check_scanline_decode() 383 // meaningful subset. in check_subset_decode() 389 SkIRect subset; in check_subset_decode() local 391 opts.fSubset = ⊂ in check_subset_decode() 1048 SkIRect subset = SkIRect::MakeWH(100, 100); DEF_TEST() local 1072 SkIRect subset = SkIRect::MakeWH(subsetWidth, subsetHeight); check_color_xform() local 1644 sk_sp<SkData> subset = SkData::MakeSubset(data.get(), 0, truncatedSize); DEF_TEST() local [all...] |
/third_party/skia/src/core/ |
H A D | SkPixmap.cpp | 64 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { in extractSubset() 67 if (!r.intersect(srcRect, subset)) { in extractSubset() 176 bool SkPixmap::erase(SkColor color, const SkIRect& subset) const { in erase() 177 return this->erase(SkColor4f::FromColor(color), &subset); in erase() 180 bool SkPixmap::erase(const SkColor4f& color, SkColorSpace* cs, const SkIRect* subset) const { in erase() 186 if (subset && !clip.intersect(*subset)) { in erase()
|