Home
last modified time | relevance | path

Searched refs:strike (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/src/core/
DSkStrikeCache.cpp38 sk_sp<SkStrike> strike = this->internalFindStrikeOrNull(strikeSpec.descriptor()); in findOrCreateStrike() local
39 if (strike == nullptr) { in findOrCreateStrike()
40 strike = this->internalCreateStrike(strikeSpec); in findOrCreateStrike()
43 return strike; in findOrCreateStrike()
63 auto visitor = [&counter](const SkStrike& strike) { in Dump() argument
64 const SkScalerContextRec& rec = strike.fScalerCache.getScalerContext()->getRec(); in Dump()
92 auto visitor = [&dump](const SkStrike& strike) { in DumpMemoryStatistics() argument
93 const SkTypeface* face = strike.fScalerCache.getScalerContext()->getTypeface(); in DumpMemoryStatistics()
94 const SkScalerContextRec& rec = strike.fScalerCache.getScalerContext()->getRec(); in DumpMemoryStatistics()
106 "%s/%s_%d/%p", gGlyphCacheDumpName, fontName.c_str(), rec.fFontID, &strike); in DumpMemoryStatistics()
[all …]
DSkGlyphRunPainter.cpp106 auto strike = strikeSpec.findOrCreateStrike(); in drawForBitmapDevice() local
109 strike->prepareForPathDrawing(&fDrawable, &fRejects); in drawForBitmapDevice()
124 auto strike = strikeSpec.findOrCreateStrike(); in drawForBitmapDevice() local
127 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
128 strike->prepareForDrawingMasksCPU(&fDrawable); in drawForBitmapDevice()
178 auto strike = strikeSpec.findOrCreateStrike(); in drawForBitmapDevice() local
182 fRejects.source(), drawOrigin, deviceMatrix, strike->roundingSpec()); in drawForBitmapDevice()
184 strike->prepareForDrawingMasksCPU(&fDrawable); in drawForBitmapDevice()
257 SkScopedStrikeForGPU strike = strikeSpec.findOrCreateScopedStrike(fStrikeCache); in processGlyphRun() local
263 strike->prepareForSDFTDrawing(&fDrawable, &fRejects); in processGlyphRun()
[all …]
DSkRemoteGlyphCache.cpp647 fRemoteStrikesToSend.foreach ([&](RemoteStrike* strike) { in writeStrikeData() argument
648 if (strike->hasPendingGlyphs()) { in writeStrikeData()
651 strike->resetScalerContext(); in writeStrikeData()
670 [&](RemoteStrike* strike) { in writeStrikeData() argument
671 if (strike->hasPendingGlyphs()) { in writeStrikeData()
672 strike->writePendingGlyphs(&serializer); in writeStrikeData()
673 strike->resetScalerContext(); in writeStrikeData()
675 auto it = fDescToRemoteStrike.find(&strike->getDescriptor()); in writeStrikeData()
677 SkASSERT(it->second.get() == strike); in writeStrikeData()
679 msg.append(strike->getDescriptor().dumpRec()); in writeStrikeData()
[all …]
DSkGlyphRunPainter.h143 sk_sp<SkStrike>&& strike) = 0;
146 sk_sp<SkStrike>&& strike,
154 sk_sp<SkStrike>&& strike,
DSkStrikeCache.h202 void internalRemoveStrike(SkStrike* strike) SK_REQUIRES(fLock);
203 void internalAttachToHead(sk_sp<SkStrike> strike) SK_REQUIRES(fLock);
219 static const SkDescriptor& GetKey(const sk_sp<SkStrike>& strike) { in GetKey()
220 return strike->getDescriptor(); in GetKey()
DSkStrikeSpec.cpp245 SkBulkGlyphMetricsAndPaths::SkBulkGlyphMetricsAndPaths(sk_sp<SkStrike>&& strike) in SkBulkGlyphMetricsAndPaths() argument
246 : fStrike{std::move(strike)} { } in SkBulkGlyphMetricsAndPaths()
270 SkBulkGlyphMetricsAndImages::SkBulkGlyphMetricsAndImages(sk_sp<SkStrike>&& strike) in SkBulkGlyphMetricsAndImages() argument
271 : fStrike{std::move(strike)} { } in SkBulkGlyphMetricsAndImages()
DSkStrikeSpec.h129 explicit SkBulkGlyphMetricsAndPaths(sk_sp<SkStrike>&& strike);
145 explicit SkBulkGlyphMetricsAndImages(sk_sp<SkStrike>&& strike);
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttbdf.c88 FT_Byte* strike; in tt_face_load_bdf_props() local
105 strike = p + count * 4; in tt_face_load_bdf_props()
116 strike += 10 * num_items; in tt_face_load_bdf_props()
121 if ( strike > bdf->strings ) in tt_face_load_bdf_props()
148 FT_Byte* strike; in tt_face_find_bdf_prop() local
163 strike = p + 4 * count; in tt_face_find_bdf_prop()
186 strike += 10 * _count; in tt_face_find_bdf_prop()
191 p = strike; in tt_face_find_bdf_prop()
Dttsbit.c317 FT_Byte* strike; in tt_face_load_strike_metrics() local
322 strike = face->sbit_table + 8 + strike_index * 48; in tt_face_load_strike_metrics()
324 metrics->x_ppem = (FT_UShort)strike[44]; in tt_face_load_strike_metrics()
325 metrics->y_ppem = (FT_UShort)strike[45]; in tt_face_load_strike_metrics()
327 metrics->ascender = (FT_Char)strike[16] * 64; /* hori.ascender */ in tt_face_load_strike_metrics()
328 metrics->descender = (FT_Char)strike[17] * 64; /* hori.descender */ in tt_face_load_strike_metrics()
337 max_before_bl = (FT_Char)strike[24]; in tt_face_load_strike_metrics()
338 min_after_bl = (FT_Char)strike[25]; in tt_face_load_strike_metrics()
390 metrics->max_advance = ( (FT_Char)strike[22] + /* min_origin_SB */ in tt_face_load_strike_metrics()
391 strike[18] + /* max_width */ in tt_face_load_strike_metrics()
[all …]
/third_party/skia/src/gpu/text/
DGrStrikeCache.cpp29 sk_sp<GrTextStrike> strike = sk_make_sp<GrTextStrike>(strikeSpec); in generateStrike() local
30 fCache.set(strike); in generateStrike()
31 return strike; in generateStrike()
34 const SkDescriptor& GrStrikeCache::HashTraits::GetKey(const sk_sp<GrTextStrike>& strike) { in GetKey() argument
35 return strike->fStrikeSpec.descriptor(); in GetKey()
DGrTextBlob.h252 sk_sp<SkStrike>&& strike,
257 sk_sp<SkStrike>&& strike) override;
262 sk_sp<SkStrike>&& strike,
268 sk_sp<SkStrike>&& strike,
307 sk_sp<SkStrike>&& strike) override;
309 sk_sp<SkStrike>&& strike,
315 sk_sp<SkStrike>&& strike,
DGrTextBlob.cpp314 GlyphVector(sk_sp<SkStrike>&& strike, SkSpan<Variant> glyphs);
317 sk_sp<SkStrike>&& strike, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc);
341 GlyphVector::GlyphVector(sk_sp<SkStrike>&& strike, SkSpan<Variant> glyphs) in GlyphVector() argument
342 : fStrike{std::move(strike)} in GlyphVector()
348 sk_sp<SkStrike>&& strike, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc) { in Make() argument
354 return GlyphVector{std::move(strike), SkMakeSpan(variants, glyphs.size())}; in Make()
462 sk_sp<SkStrike>&& strike,
528 sk_sp<SkStrike>&& strike, in Make() argument
570 GlyphVector{std::move(strike), {glyphIDs, goodPosCount}}, glyphsExcluded); in Make()
856 sk_sp<SkStrike>&& strike,
[all …]
/third_party/toybox/toys/net/
Dsntp.c128 int strike; in sntp_main() local
133 strike = xrecvwait(fd, toybuf, sizeof(toybuf), &sa, then-now); in sntp_main()
134 if (strike<1) { in sntp_main()
139 if (strike<48) continue; in sntp_main()
148 strike = strcmp(buf, ntop((void *)&sa)); in sntp_main()
152 if (strike && !FLAG(S)) continue; in sntp_main()
158 if (strike) { in sntp_main()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c591 PFR_Strike strike; in pfr_slot_load_bitmap() local
602 strike = phys->strikes; in pfr_slot_load_bitmap()
605 if ( strike->x_ppm == (FT_UInt)size->root.metrics.x_ppem && in pfr_slot_load_bitmap()
606 strike->y_ppm == (FT_UInt)size->root.metrics.y_ppem ) in pfr_slot_load_bitmap()
609 strike++; in pfr_slot_load_bitmap()
624 if ( strike->flags & PFR_BITMAP_2BYTE_CHARCODE ) in pfr_slot_load_bitmap()
626 if ( strike->flags & PFR_BITMAP_2BYTE_SIZE ) in pfr_slot_load_bitmap()
628 if ( strike->flags & PFR_BITMAP_3BYTE_OFFSET ) in pfr_slot_load_bitmap()
632 if ( FT_STREAM_SEEK( phys->bct_offset + strike->bct_offset ) || in pfr_slot_load_bitmap()
633 FT_FRAME_ENTER( char_len * strike->num_bitmaps ) ) in pfr_slot_load_bitmap()
[all …]
Dpfrobjs.c216 PFR_Strike strike; in pfr_face_init() local
224 strike = phy_font->strikes; in pfr_face_init()
225 for ( n = 0; n < count; n++, size++, strike++ ) in pfr_face_init()
227 size->height = (FT_Short)strike->y_ppm; in pfr_face_init()
228 size->width = (FT_Short)strike->x_ppm; in pfr_face_init()
229 size->size = (FT_Pos)( strike->y_ppm << 6 ); in pfr_face_init()
230 size->x_ppem = (FT_Pos)( strike->x_ppm << 6 ); in pfr_face_init()
231 size->y_ppem = (FT_Pos)( strike->y_ppm << 6 ); in pfr_face_init()
Dpfrload.c461 PFR_Strike strike; in pfr_extra_item_load_bitmap_info() local
503 strike = phy_font->strikes + phy_font->num_strikes; in pfr_extra_item_load_bitmap_info()
507 for ( n = 0; n < count; n++, strike++ ) in pfr_extra_item_load_bitmap_info()
509 strike->x_ppm = ( flags0 & PFR_STRIKE_2BYTE_XPPM ) in pfr_extra_item_load_bitmap_info()
513 strike->y_ppm = ( flags0 & PFR_STRIKE_2BYTE_YPPM ) in pfr_extra_item_load_bitmap_info()
517 strike->flags = PFR_NEXT_BYTE( p ); in pfr_extra_item_load_bitmap_info()
519 strike->bct_size = ( flags0 & PFR_STRIKE_3BYTE_SIZE ) in pfr_extra_item_load_bitmap_info()
523 strike->bct_offset = ( flags0 & PFR_STRIKE_3BYTE_OFFSET ) in pfr_extra_item_load_bitmap_info()
527 strike->num_bitmaps = ( flags0 & PFR_STRIKE_2BYTE_COUNT ) in pfr_extra_item_load_bitmap_info()
/third_party/ffmpeg/tests/ref/fate/
Dsub-microdvd-remux3 {1300}{1400}{Y:ib}{y:us}italic bold underline strike|italic bold no-underline no-strike
Dsub-microdvd15 …,0,0,0,,{\u1}{\s1}{\i1}{\b1}italic bold underline strike{\s0}{\u0}\Nitalic bold no-underline no-st…
/third_party/skia/tests/
DSkStrikeCacheTest.cpp33 sk_sp<SkStrike> strike = strikeSpec.findOrCreateStrike(&cache); in DEF_TEST() local
47 sk_sp<SkStrike> strike = strikeSpec.findOrCreateStrike(&cache); in DEF_TEST() local
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cbdt-table.hh830 const BitmapSizeTable &strike = this->cblc->choose_strike (font); in get_extents() local
831 const IndexSubtableRecord *subtable_record = strike.find_table (glyph, cblc, &base); in get_extents()
832 if (!subtable_record || !strike.ppemX || !strike.ppemY) in get_extents()
866 float x_scale = upem / (float) strike.ppemX; in get_extents()
867 float y_scale = upem / (float) strike.ppemY; in get_extents()
880 const BitmapSizeTable &strike = this->cblc->choose_strike (font); in reference_png() local
881 const IndexSubtableRecord *subtable_record = strike.find_table (glyph, cblc, &base); in reference_png()
882 if (!subtable_record || !strike.ppemX || !strike.ppemY) in reference_png()
/third_party/typescript/tests/baselines/reference/
DmappedTypeRecursiveInference.errors.txt1strike: any; sub: any; sup: any; [Symbol.iterator]: any; }; responseType: { toString: any; charAt:…
3strike: any; sub: any; sup: any; [Symbol.iterator]: any; }; readonly clientHeight: { toString: any…
4strike: any; sub: any; sup: any; [Symbol.iterator]: any; }; readonly clientHeight: { toString: any…
28strike: any; sub: any; sup: any; [Symbol.iterator]: any; }; responseType: { toString: any; charAt:…
30strike: any; sub: any; sup: any; [Symbol.iterator]: any; }; readonly clientHeight: { toString: any…
31strike: any; sub: any; sup: any; [Symbol.iterator]: any; }; readonly clientHeight: { toString: any…
/third_party/node/deps/v8/src/builtins/
Dstring-html.tq102 // https://tc39.github.io/ecma262/#sec-string.prototype.strike
107 receiver, 'String.prototype.strike', 'strike', kEmptyString,
/third_party/skia/bench/
DPathTextBench.cpp51 auto strike = strikeSpec.findOrCreateStrike(); in onDelayedSetup() local
54 sk_ignore_unused_variable(strike->getScalerContext()->getPath(id, &fGlyphs[i])); in onDelayedSetup()
/third_party/parse5/test/data/parser-feedback/
Dtests1.test2475 "description": "<wbr><strike><code></strike><code><strike></code>",
2476 "input": "<wbr><strike><code></strike><code><strike></code>",
2485 "strike",
2495 "strike"
2504 "strike",
3687 …"description": "</strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></s…
3688 …"input": "</strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select>…
3712 "strike"
4030 …"description": "<table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small…
4031 …"input": "<table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></fon…
[all …]
/third_party/PyYAML/tests/data/
Dspec-02-08.data4 action: strike (miss)

123