HomeSort by relevance Sort by last modified time
    Searched refs:subset (Results 76 - 100 of 341) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/harfbuzz_ng/test/api/
test-subset-hmtx.c 28 #include "hb-subset-test.h"
157 hb_face_t *subset; local
165 subset = hb_subset (face, input);
166 g_assert (subset);
167 g_assert (subset == hb_face_get_empty ());
170 hb_face_destroy (subset);
  /external/skia/src/pdf/
SkPDFMakeToUnicodeCmap.cpp 153 const SkPDFGlyphUse* subset,
172 bool inSubset = i < limit && (subset == nullptr || subset->has(gid));
210 const SkPDFGlyphUse* subset,
216 SkPDFAppendCmapSections(glyphToUnicode, subset, &cmap, multiByteGlyphs,
SkPDFMakeCIDGlyphWidthsArray.cpp 147 const SkPDFGlyphUse* subset,
177 if (subset) {
178 while (!subset->has(lastIndex - 1) && lastIndex > 0) {
187 if (!subset || 0 == gId || subset->has(gId)) {
  /external/skia/tests/
PDFGlyphsToUnicodeTest.cpp 40 SkPDFGlyphUse subset(1, kMaximumGlyphIndex);
82 subset.set(v);
84 SkPDFAppendCmapSections(&glyphToUnicode[0], &subset, &buffer, true, 0,
107 SkPDFAppendCmapSections(&glyphToUnicode[0], &subset, &buffer, true, 8,
126 SkPDFAppendCmapSections(&glyphToUnicode[0], &subset, &buffer, true, 0x00D,
  /external/skqp/src/pdf/
SkPDFMakeToUnicodeCmap.cpp 153 const SkPDFGlyphUse* subset,
172 bool inSubset = i < limit && (subset == nullptr || subset->has(gid));
210 const SkPDFGlyphUse* subset,
216 SkPDFAppendCmapSections(glyphToUnicode, subset, &cmap, multiByteGlyphs,
SkPDFMakeCIDGlyphWidthsArray.cpp 147 const SkPDFGlyphUse* subset,
177 if (subset) {
178 while (!subset->has(lastIndex - 1) && lastIndex > 0) {
187 if (!subset || 0 == gId || subset->has(gId)) {
  /external/skqp/tests/
PDFGlyphsToUnicodeTest.cpp 40 SkPDFGlyphUse subset(1, kMaximumGlyphIndex);
82 subset.set(v);
84 SkPDFAppendCmapSections(&glyphToUnicode[0], &subset, &buffer, true, 0,
107 SkPDFAppendCmapSections(&glyphToUnicode[0], &subset, &buffer, true, 8,
126 SkPDFAppendCmapSections(&glyphToUnicode[0], &subset, &buffer, true, 0x00D,
  /external/skia/src/effects/imagefilters/
SkTileImageFilter.cpp 75 sk_sp<SkImage> subset; local
77 subset = input->asImage(&srcIRect);
94 subset = surf->makeImageSnapshot();
96 if (!subset) {
99 SkASSERT(subset->width() == srcIRect.width());
100 SkASSERT(subset->height() == srcIRect.height());
112 paint.setShader(subset->makeShader(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode));
  /external/skqp/src/effects/imagefilters/
SkTileImageFilter.cpp 75 sk_sp<SkImage> subset; local
77 subset = input->asImage(&srcIRect);
94 subset = surf->makeImageSnapshot();
96 if (!subset) {
99 SkASSERT(subset->width() == srcIRect.width());
100 SkASSERT(subset->height() == srcIRect.height());
112 paint.setShader(subset->makeShader(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode));
  /external/skqp/src/image/
SkImage.cpp 120 sk_sp<SkImage> SkImage::MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset) {
125 subset);
130 sk_sp<SkImage> SkImage::makeSubset(const SkIRect& subset) const {
131 if (subset.isEmpty()) {
136 if (!bounds.contains(subset)) {
140 // optimization : return self if the subset == our bounds
141 if (bounds == subset) {
144 return as_IB(this)->onMakeSubset(subset);
252 sk_sp<SkImage> SkImage::makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
257 return this->makeWithFilter(context, filter, subset, clipBounds, outSubset, offset)
    [all...]
  /external/grpc-grpc/src/core/lib/slice/
slice.cc 275 grpc_slice subset; local
284 subset.refcount = source.refcount->sub_refcount;
286 subset.data.refcounted.bytes = source.data.refcounted.bytes + begin;
287 subset.data.refcounted.length = end - begin;
291 subset.refcount = nullptr;
292 subset.data.inlined.length = static_cast<uint8_t>(end - begin);
293 memcpy(subset.data.inlined.bytes, source.data.inlined.bytes + begin,
296 return subset;
300 grpc_slice subset; local
302 if (end - begin <= sizeof(subset.data.inlined.bytes))
    [all...]
  /external/harfbuzz_ng/src/
check-symbols.sh 20 for soname in harfbuzz harfbuzz-subset harfbuzz-icu harfbuzz-gobject; do
  /external/skia/src/codec/
SkSampledCodec.cpp 80 SkIRect* subset = options.fSubset; local
81 if (!subset || subset->size() == this->codec()->dimensions()) {
90 // We are performing a subset decode.
98 // Calculate the scaled subset bounds.
99 int scaledSubsetX = subset->x() / sampleSize;
100 int scaledSubsetY = subset->y() / sampleSize;
179 // Check if there is a subset.
180 SkIRect subset; local
187 // Update the subset to account for scaling done by this->codec()
    [all...]
SkWebpCodec.cpp 22 // A WebP decoder on top of (subset of) libwebp
224 // decode this exact subset.
225 // Leave right and bottom unmodified, so we suggest a slightly larger subset than requested.
403 SkIRect subset = *options.fSubset; local
404 SkASSERT(this->bounds().contains(subset));
405 SkASSERT(SkIsAlign2(subset.fLeft) && SkIsAlign2(subset.fTop));
406 SkASSERT(this->getValidSubset(&subset) && subset == *options.fSubset);
408 if (!SkIRect::IntersectsNoEmptyCheck(subset, frameRect))
    [all...]
  /external/skqp/src/codec/
SkSampledCodec.cpp 80 SkIRect* subset = options.fSubset; local
81 if (!subset || subset->size() == this->codec()->dimensions()) {
90 // We are performing a subset decode.
98 // Calculate the scaled subset bounds.
99 int scaledSubsetX = subset->x() / sampleSize;
100 int scaledSubsetY = subset->y() / sampleSize;
179 // Check if there is a subset.
180 SkIRect subset; local
187 // Update the subset to account for scaling done by this->codec()
    [all...]
SkWebpCodec.cpp 22 // A WebP decoder on top of (subset of) libwebp
224 // decode this exact subset.
225 // Leave right and bottom unmodified, so we suggest a slightly larger subset than requested.
403 SkIRect subset = *options.fSubset; local
404 SkASSERT(this->bounds().contains(subset));
405 SkASSERT(SkIsAlign2(subset.fLeft) && SkIsAlign2(subset.fTop));
406 SkASSERT(this->getValidSubset(&subset) && subset == *options.fSubset);
408 if (!SkIRect::IntersectsNoEmptyCheck(subset, frameRect))
    [all...]
  /external/skia/src/gpu/ops/
GrLatticeOp.cpp 355 /** Randomly divides subset into count divs. */
362 // 2) Randomly assign the remaining pixels of the subset to divs.
372 // 2) Assign the remaining subset pixels to fall
382 // 3) Now convert the counts between divs to pixel indices, incorporating the subset's offset.
394 // edge of the image subset, respectively.
399 SkIRect subset; local
413 subset.fLeft = random->nextULessThan(desc.fWidth);
414 subset.fRight = random->nextRangeU(subset.fLeft + 1, desc.fWidth);
415 subset.fTop = random->nextULessThan(desc.fHeight)
    [all...]
  /external/skqp/src/gpu/ops/
GrLatticeOp.cpp 349 /** Randomly divides subset into count divs. */
356 // 2) Randomly assign the remaining pixels of the subset to divs.
366 // 2) Assign the remaining subset pixels to fall
376 // 3) Now convert the counts between divs to pixel indices, incorporating the subset's offset.
388 // edge of the image subset, respectively.
393 SkIRect subset; local
407 subset.fLeft = random->nextULessThan(desc.fWidth);
408 subset.fRight = random->nextRangeU(subset.fLeft + 1, desc.fWidth);
409 subset.fTop = random->nextULessThan(desc.fHeight)
    [all...]
  /external/mesa3d/src/mesa/main/
texcompress_bptc.c 244 * within the block. The value of the two bits represents which subset to use
292 /* Anchor index values for the second subset of two-subset partitioning */
300 /* Anchor index values for the second subset of three-subset partitioning */
308 /* Anchor index values for the third subset of three-subset
363 int subset; local
370 for (subset = 0; subset < mode->n_subsets; subset++)
    [all...]
  /external/tensorflow/tensorflow/contrib/losses/python/metric_learning/
metric_loss_ops_test.py 386 subset = []
392 # push i to subset.
393 subset.append(i)
394 marginal_cost = -1.0 * np.sum(np.min(pdists[:, subset], axis=1))
396 y, self._get_cluster_ics(pdists, subset))
398 # remove i from subset.
399 subset.pop()
401 # push i_star to subset.
403 subset.append(i_star)
410 self.labels_ = self._get_cluster_ics(pdists, subset)
    [all...]
  /external/skia/src/gpu/effects/
GrTextureDomain.cpp 386 sk_sp<GrTextureProxy> proxy, const SkIRect& subset, const SkIPoint& deviceSpaceOffset) {
388 std::move(proxy), subset, deviceSpaceOffset));
392 sk_sp<GrTextureProxy> proxy, const SkIRect& subset, const SkIPoint& deviceSpaceOffset)
397 GrTextureDomain::MakeTexelDomain(subset, GrTextureDomain::kDecal_Mode),
400 fDeviceSpaceOffset.fX = deviceSpaceOffset.fX - subset.fLeft;
401 fDeviceSpaceOffset.fY = deviceSpaceOffset.fY - subset.fTop;
492 SkIRect subset; local
493 subset.fLeft = d->fRandom->nextULessThan(proxy->width() - 1);
494 subset.fRight = d->fRandom->nextRangeU(subset.fLeft, proxy->width())
    [all...]
  /external/skia/src/image/
SkImage.cpp 120 sk_sp<SkImage> SkImage::MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset) {
125 subset);
130 sk_sp<SkImage> SkImage::makeSubset(const SkIRect& subset) const {
131 if (subset.isEmpty()) {
136 if (!bounds.contains(subset)) {
140 // optimization : return self if the subset == our bounds
141 if (bounds == subset) {
147 return as_IB(this)->onMakeSubset(as_IB(this)->context(), subset);
149 return as_IB(this)->onMakeSubset(nullptr, subset);
258 sk_sp<SkImage> SkImage::makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
    [all...]
  /external/skqp/src/gpu/effects/
GrTextureDomain.cpp 386 sk_sp<GrTextureProxy> proxy, const SkIRect& subset, const SkIPoint& deviceSpaceOffset) {
388 std::move(proxy), subset, deviceSpaceOffset));
392 sk_sp<GrTextureProxy> proxy, const SkIRect& subset, const SkIPoint& deviceSpaceOffset)
397 GrTextureDomain::MakeTexelDomain(subset, GrTextureDomain::kDecal_Mode),
400 fDeviceSpaceOffset.fX = deviceSpaceOffset.fX - subset.fLeft;
401 fDeviceSpaceOffset.fY = deviceSpaceOffset.fY - subset.fTop;
492 SkIRect subset; local
493 subset.fLeft = d->fRandom->nextULessThan(proxy->width() - 1);
494 subset.fRight = d->fRandom->nextRangeU(subset.fLeft, proxy->width())
    [all...]
  /external/eigen/bench/
analyze-blocking-sizes.cpp 299 const vector<size_t>& subset)
301 if (subset.size() <= 1) {
304 const preprocessed_inputfile_t& first_file = preprocessed_inputfiles[subset[0]];
318 for (auto i = subset.begin(); i != subset.end(); ++i) {
336 const vector<size_t>& subset)
338 const preprocessed_inputfile_t& first_file = preprocessed_inputfiles[subset[0]];
369 for (auto i = subset.begin(); i != subset.end(); ++i) {
420 bool is_last_subset(const vector<size_t>& subset, size_t set_size
    [all...]
  /external/skia/bench/
ImageFilterDAGBench.cpp 65 SkIRect subset = SkIRect::MakeSize(fImage->dimensions()); variable
77 image = image->makeWithFilter(mergeFilter.get(), subset, subset, &discardSubset,

Completed in 437 milliseconds

1 2 34 5 6 7 8 91011>>