/external/harfbuzz_ng/test/api/ |
D | Makefile.am | 25 EXTRA_DIST += hb-test.h hb-subset-test.h 62 test-subset \ 63 test-subset-cmap \ 64 test-subset-drop-tables \ 65 test-subset-glyf \ 66 test-subset-hdmx \ 67 test-subset-hmtx \ 68 test-subset-nameids \ 69 test-subset-os2 \ 70 test-subset-post \ [all …]
|
D | meson.build | 35 'test-subset-repacker.c', 39 'test-subset.c', 40 'test-subset-cmap.c', 41 'test-subset-drop-tables.c', 42 'test-subset-glyf.c', 43 'test-subset-hdmx.c', 44 'test-subset-hmtx.c', 45 'test-subset-nameids.c', 46 'test-subset-os2.c', 47 'test-subset-post.c', [all …]
|
D | test-subset.c | 39 hb_face_t *subset; in test_subset_32_tables() local 45 subset = hb_subset_or_fail (face, input); in test_subset_32_tables() 46 g_assert (subset); in test_subset_32_tables() 47 g_assert (subset != hb_face_get_empty ()); in test_subset_32_tables() 50 hb_face_destroy (subset); in test_subset_32_tables() 61 hb_face_t *subset; in test_subset_no_inf_loop() local 67 subset = hb_subset_or_fail (face, input); in test_subset_no_inf_loop() 68 g_assert (!subset); in test_subset_no_inf_loop() 71 hb_face_destroy (subset); in test_subset_no_inf_loop() 82 hb_face_t *subset; in test_subset_crash() local [all …]
|
D | test-subset-drop-tables.c | 45 hb_face_t* subset = hb_subset_or_fail (face, input); in test_subset_drop_tables() local 46 g_assert (subset); in test_subset_drop_tables() 48 hb_blob_t *hdmx = hb_face_reference_table (subset, HB_TAG ('h', 'd', 'm', 'x')); in test_subset_drop_tables() 49 hb_blob_t *hmtx = hb_face_reference_table (subset, HB_TAG ('h', 'm', 't', 'x')); in test_subset_drop_tables() 50 hb_blob_t *cmap = hb_face_reference_table (subset, HB_TAG ('c', 'm', 'a', 'p')); in test_subset_drop_tables() 58 hb_face_destroy (subset); in test_subset_drop_tables()
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 40 SkSpecialImage::SkSpecialImage(const SkIRect& subset, in SkSpecialImage() argument 44 : fSubset(subset) in SkSpecialImage() 65 sk_sp<SkImage> SkSpecialImage::asImage(const SkIRect* subset) const { in asImage() 66 if (subset) { in asImage() 67 SkIRect absolute = subset->makeOffset(this->subset().topLeft()); in asImage() 125 const SkIRect& subset, in MakeFromImage() argument 128 SkASSERT(RectFits(subset, image->width(), image->height())); in MakeFromImage() 134 subset, in MakeFromImage() 145 return MakeFromRaster(subset, bm, props); in MakeFromImage() 154 SkSpecialImage_Raster(const SkIRect& subset, const SkBitmap& bm, const SkSurfaceProps& props) in SkSpecialImage_Raster() argument [all …]
|
D | SkSpecialSurface.cpp | 21 SkSpecialSurface::SkSpecialSurface(sk_sp<SkBaseDevice> device, const SkIRect& subset) in SkSpecialSurface() argument 22 : fSubset(subset) { in SkSpecialSurface() 27 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface() 42 sk_sp<SkSpecialImage> image = baseDevice->snapSpecial(this->subset()); in makeImageSnapshot() 70 const SkIRect subset = SkIRect::MakeSize(info.dimensions()); in MakeRaster() local 72 return sk_make_sp<SkSpecialSurface>(std::move(device), subset); in MakeRaster() 103 const SkIRect subset = SkIRect::MakeSize(ii.dimensions()); in MakeRenderTarget() local 105 return sk_make_sp<SkSpecialSurface>(std::move(device), subset); in MakeRenderTarget() 133 const SkIRect subset = SkIRect::MakeSize(ii.dimensions()); in MakeGraphite() local 135 return sk_make_sp<SkSpecialSurface>(std::move(device), subset); in MakeGraphite()
|
D | SkSpecialImage.h | 67 const SkIRect& subset() const { return fSubset; } in subset() function 92 const SkIRect& subset, 95 static sk_sp<SkSpecialImage> MakeFromRaster(const SkIRect& subset, 98 static sk_sp<SkSpecialImage> CopyFromRaster(const SkIRect& subset, 103 const SkIRect& subset, 112 const SkIRect& subset, 144 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const { in makeSubset() argument 145 SkIRect absolute = subset.makeOffset(this->subset().topLeft()); in makeSubset() 161 sk_sp<SkImage> asImage(const SkIRect* subset = nullptr) const; 207 SkSpecialImage(const SkIRect& subset, [all …]
|
/external/fonttools/Tests/subset/ |
D | subset_test.py | 5 from fontTools import subset 11 from fontTools.subset.svg import etree 79 subset.main([fontpath, "--glyphs=*", "--layout-features=*", 89 subset.main([fontpath, "--no-notdef-outline", "--gids=0", "--output-file=%s" % subsetpath]) 96 subset.main([fontpath, "--no-notdef-outline", "--gids=0", "--output-file=%s" % subsetpath]) 103 subset.main([fontpath, "--no-notdef-outline", "--gids=0", "--output-file=%s" % subsetpath]) 110 subset.main([fontpath, "--glyphs=one", "--output-file=%s" % subsetpath]) 117 subset.main([fontpath, "--glyphs=two", "--output-file=%s" % subsetpath]) 123 subset.main([fontpath, "--glyphs=one", "--output-file=%s" % subsetpath]) 136 subset.main([fontpath, "--unicodes=U+0030-0031", [all …]
|
/external/skia/src/gpu/graphite/ |
D | SpecialImage_Graphite.cpp | 21 const SkIRect& subset, in SkSpecialImage_Graphite() argument 26 : SkSpecialImage(subset, uniqueID, colorInfo, props) in SkSpecialImage_Graphite() 41 this->subset().width(), this->subset().height()); in onDraw() 47 canvas->drawImageRect(img, SkRect::Make(this->subset()), dst, in onDraw() 83 sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const override { in onMakeSubset() 85 subset, in onMakeSubset() 92 sk_sp<SkImage> onAsImage(const SkIRect* subset) const override { in onAsImage() 93 if (subset) { in onAsImage() 106 SkMatrix subsetOrigin = SkMatrix::Translate(-this->subset().topLeft()); in onAsShader() 110 const SkRect subset = SkRect::Make(this->subset()); in onAsShader() local [all …]
|
/external/skia/tests/ |
D | SpecialImageTest.cpp | 75 const SkIRect subset = img->subset(); in test_image() local 76 REPORTER_ASSERT(reporter, kPad == subset.left()); in test_image() 77 REPORTER_ASSERT(reporter, kPad == subset.top()); in test_image() 78 REPORTER_ASSERT(reporter, kSmallerSize == subset.width()); in test_image() 79 REPORTER_ASSERT(reporter, kSmallerSize == subset.height()); in test_image() 129 SkIRect newSubset = SkIRect::MakeWH(subset.width(), subset.height()); in test_image() 133 REPORTER_ASSERT(reporter, tightImg->width() == subset.width()); in test_image() 134 REPORTER_ASSERT(reporter, tightImg->height() == subset.height()); in test_image() 141 subset.size())); in test_image() 143 REPORTER_ASSERT(reporter, tightSurf->width() == subset.width()); in test_image() [all …]
|
D | ImageFilterCacheTest.cpp | 72 const sk_sp<SkSpecialImage>& subset) { in test_find_existing() argument 77 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing() 78 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing() 97 const sk_sp<SkSpecialImage>& subset) { in test_dont_find_if_diff_key() argument 103 SkImageFilterCacheKey key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key() 104 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key() 106 image->uniqueID(), image->subset()); in test_dont_find_if_diff_key() 107 SkImageFilterCacheKey key3(0, SkMatrix::I(), clip2, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key() 108 SkImageFilterCacheKey key4(0, SkMatrix::I(), clip1, subset->uniqueID(), subset->subset()); in test_dont_find_if_diff_key() 128 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() [all …]
|
D | BitmapCopyTest.cpp | 96 SkBitmap subset; in DEF_TEST() local 102 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) { in DEF_TEST() 103 REPORTER_ASSERT(reporter, subset.width() == W); in DEF_TEST() 104 REPORTER_ASSERT(reporter, subset.height() == 2); in DEF_TEST() 105 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); in DEF_TEST() 110 bool success = ToolUtils::copy_to(©, gPairs[j].fColorType, subset); in DEF_TEST() 120 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID()); in DEF_TEST() 128 if (bitmap.extractSubset(&subset, r)) { in DEF_TEST() 129 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); in DEF_TEST()
|
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/ |
D | http2_frame_decoder.cc | 111 DecodeBufferSubset subset(db, header.payload_length); in StartDecodingPayload() local 115 status = StartDecodingDataPayload(&subset); in StartDecodingPayload() 119 status = StartDecodingHeadersPayload(&subset); in StartDecodingPayload() 123 status = StartDecodingPriorityPayload(&subset); in StartDecodingPayload() 127 status = StartDecodingRstStreamPayload(&subset); in StartDecodingPayload() 131 status = StartDecodingSettingsPayload(&subset); in StartDecodingPayload() 135 status = StartDecodingPushPromisePayload(&subset); in StartDecodingPayload() 139 status = StartDecodingPingPayload(&subset); in StartDecodingPayload() 143 status = StartDecodingGoAwayPayload(&subset); in StartDecodingPayload() 147 status = StartDecodingWindowUpdatePayload(&subset); in StartDecodingPayload() [all …]
|
D | decode_buffer.cc | 51 const DecodeBufferSubset* subset) { in set_subset_of_base() argument 52 QUICHE_DCHECK_EQ(this, subset); in set_subset_of_base() 53 base->set_subset(subset); in set_subset_of_base() 56 const DecodeBufferSubset* subset) { in clear_subset_of_base() argument 57 QUICHE_DCHECK_EQ(this, subset); in clear_subset_of_base() 58 base->clear_subset(subset); in clear_subset_of_base() 60 void DecodeBuffer::set_subset(const DecodeBufferSubset* subset) { in set_subset() argument 61 QUICHE_DCHECK(subset != nullptr); in set_subset() 63 subset_ = subset; in set_subset() 65 void DecodeBuffer::clear_subset(const DecodeBufferSubset* subset) { in clear_subset() argument [all …]
|
/external/skia/client_utils/android/ |
D | BitmapRegionDecoderPriv.h | 35 inline SubsetType adjust_subset_rect(const SkISize& imageDims, SkIRect* subset, int* outX, in adjust_subset_rect() argument 38 int left = std::max(0, subset->fLeft); in adjust_subset_rect() 39 int top = std::max(0, subset->fTop); in adjust_subset_rect() 42 *outX = left - subset->fLeft; in adjust_subset_rect() 43 *outY = top - subset->fTop; in adjust_subset_rect() 46 int width = std::min(imageDims.width() - left, subset->width() - *outX); in adjust_subset_rect() 47 int height = std::min(imageDims.height() - top, subset->height() - *outY); in adjust_subset_rect() 52 subset->setXYWH(left, top, width, height); in adjust_subset_rect() 53 if ((*outX != 0) || (*outY != 0) || (width != subset->width()) || in adjust_subset_rect() 54 (height != subset->height())) { in adjust_subset_rect()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/transforms/ |
D | fusion_interface_impl.cc | 52 Value subset) { in operandMaterializesToPoint() argument 53 if (!subset.getType().isa<PointType>()) return false; in operandMaterializesToPoint() 70 Value subset, in buildPointOp() argument 80 dynamicOffsets.push_back(builder.create<OffsetOp>(loc, subset, index)); in buildPointOp() 97 Value buildTileOp(Location loc, OpBuilder& builder, Value operand, Value subset, in buildTileOp() argument 113 dynamicOffsets.push_back(builder.create<OffsetOp>(loc, subset, index)); in buildTileOp() 114 if (subset.getType().isa<PointType>()) { in buildTileOp() 118 dynamicStrides.push_back(builder.create<StrideOp>(loc, subset, index)); in buildTileOp() 119 dynamicSizes.push_back(builder.create<SizeOp>(loc, subset, index)); in buildTileOp() 161 Value fuse(Operation* op, Location loc, Value subset, in fuse() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/gml_st/ |
D | README.md | 3 The `gml_st` dialect will contain a loop-like construct and subset operations 23 %1 = subset(%input, %ivs) 35 %1 = subset(%0, %ivs) 43 %0 = subset(%input, %ivs) 50 returns identity for every subset. On the other hand, fusion can be seen as 105 * `subset.full %tensor` - the subset spans the original tensor fully 106 * `subset.tile %tensor [%offsets][%sizes][%strides]` - defines a rectangular 108 * `subset.filter %tensor[%indices]` - the subset has the same shape as the 111 * `subset.point %tensor[%index]` - the subset contains a single element 115 We introduce `gml_st.loop` that keeps the subset definition separately from the [all …]
|
/external/harfbuzz_ng/test/subset/ |
D | subset_test_suite.py | 8 def __init__(self, font_path, profile_path, subset, instance): argument 11 self.subset = subset 16 if self.subset == '*': 17 return self.subset[0] 18 elif re.match("^U\+", self.subset): 19 s = re.sub (r"U\+", "", self.subset) 22 return ",".join("%X" % ord(c) for (i, c) in enumerate(self.subset)) 92 for subset in self.subsets: 95 yield Test(font, profile, subset, instance) 97 yield Test(font, profile, subset, "")
|
/external/skia/docs/examples/ |
D | Bitmap_pixelRef.cpp | 7 SkBitmap subset; in draw() local 8 source.extractSubset(&subset, SkIRect::MakeXYWH(32, 64, 128, 256)); in draw() 9 SkDebugf("src ref %c= sub ref\n", source.pixelRef() == subset.pixelRef() ? '=' : '!'); in draw() 10 SkDebugf("src pixels %c= sub pixels\n", source.getPixels() == subset.getPixels() ? '=' : '!'); in draw() 11 SkDebugf("src addr %c= sub addr\n", source.getAddr(32, 64) == subset.getAddr(0, 0) ? '=' : '!'); in draw()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | TreeMultisetTest.java | 187 SortedSet<String> subset = elementSet.subSet("b", "f"); in testElementSetSubsetRemove() local 188 assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); in testElementSetSubsetRemove() 190 assertTrue(subset.remove("c")); in testElementSetSubsetRemove() 192 assertThat(subset).containsExactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove() 195 assertFalse(subset.remove("a")); in testElementSetSubsetRemove() 197 assertThat(subset).containsExactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove() 212 SortedSet<String> subset = elementSet.subSet("b", "f"); in testElementSetSubsetRemoveAll() local 213 assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); in testElementSetSubsetRemoveAll() 215 assertTrue(subset.removeAll(Arrays.asList("a", "c"))); in testElementSetSubsetRemoveAll() 217 assertThat(subset).containsExactly("b", "d", "e").inOrder(); in testElementSetSubsetRemoveAll() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | TreeMultisetTest.java | 187 SortedSet<String> subset = elementSet.subSet("b", "f"); in testElementSetSubsetRemove() local 188 assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); in testElementSetSubsetRemove() 190 assertTrue(subset.remove("c")); in testElementSetSubsetRemove() 192 assertThat(subset).containsExactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove() 195 assertFalse(subset.remove("a")); in testElementSetSubsetRemove() 197 assertThat(subset).containsExactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove() 212 SortedSet<String> subset = elementSet.subSet("b", "f"); in testElementSetSubsetRemoveAll() local 213 assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); in testElementSetSubsetRemoveAll() 215 assertTrue(subset.removeAll(Arrays.asList("a", "c"))); in testElementSetSubsetRemoveAll() 217 assertThat(subset).containsExactly("b", "d", "e").inOrder(); in testElementSetSubsetRemoveAll() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFSubsetFont.cpp | 98 HBFace subset = SkPDFHarfBuzzSubset<hb_subset_input_t*>::Make(input.get(), face.get(), in subset_harfbuzz() local 100 if (!subset) { in subset_harfbuzz() 103 HBBlob result(hb_face_reference_blob(subset.get())); in subset_harfbuzz() 131 std::vector<unsigned> subset; in subset_sfntly() local 132 glyphUsage.getSetValues([&subset](unsigned v) { subset.push_back(v); }); in subset_sfntly() 141 subset.data(), in subset_sfntly() 142 subset.size(), in subset_sfntly() 149 subset.data(), in subset_sfntly() 150 subset.size(), in subset_sfntly()
|
D | SkKeyedImage.cpp | 33 SkKeyedImage SkKeyedImage::subset(SkIRect subset) const { in subset() function in SkKeyedImage 35 if (fImage && subset.intersect(fImage->bounds())) { in subset() 36 img.fImage = fImage->makeSubset(subset); in subset() 38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset()
|
/external/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 1471 auto &subset = subsets[i]; in decode() local 1472 subset[0].rgb.r = Get(mode.Red(i * 2 + 0)); in decode() 1473 subset[0].rgb.g = Get(mode.Green(i * 2 + 0)); in decode() 1474 subset[0].rgb.b = Get(mode.Blue(i * 2 + 0)); in decode() 1475 subset[0].a = (mode.AB > 0) ? Get(mode.Alpha(i * 2 + 0)) : 255; in decode() 1477 subset[1].rgb.r = Get(mode.Red(i * 2 + 1)); in decode() 1478 subset[1].rgb.g = Get(mode.Green(i * 2 + 1)); in decode() 1479 subset[1].rgb.b = Get(mode.Blue(i * 2 + 1)); in decode() 1480 subset[1].a = (mode.AB > 0) ? Get(mode.Alpha(i * 2 + 1)) : 255; in decode() 1497 auto &subset = subsets[i]; in decode() local [all …]
|
/external/harfbuzz_ng/test/fuzzing/ |
D | Makefile.am | 16 $(top_builddir)/src/libharfbuzz-subset.la: libs 21 run-subset-fuzzer-tests.py \ 29 hb-subset-fuzzer \ 51 hb-subset-fuzzer.cc \ 56 $(top_builddir)/src/libharfbuzz-subset.la 58 hb_subset_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz-subset.la 81 …srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-subset-fuzzer-tests.py
|