Home
last modified time | relevance | path

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

/third_party/node/deps/npm/node_modules/chalk/
Dtemplates.js76 for (const styleName of Object.keys(enabled)) {
77 if (Array.isArray(enabled[styleName])) {
78 if (!(styleName in current)) {
79 throw new Error(`Unknown Chalk style: ${styleName}`);
82 if (enabled[styleName].length > 0) {
83 current = current[styleName].apply(current, enabled[styleName]);
85 current = current[styleName];
/third_party/flutter/skia/src/ports/skia_ohos/
DSkFontStyleSet_ohos.cpp35 void SkFontStyleSet_OHOS::getStyle(int index, SkFontStyle* style, SkString* styleName) in getStyle() argument
49 if (styleName) { in getStyle()
67 styleName->set(names[i]); in getStyle()
69 styleName->reset(); in getStyle()
DSkFontStyleSet_ohos.h22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
/third_party/skia/src/ports/skia_ohos/
DSkFontStyleSet_ohos.cpp35 void SkFontStyleSet_OHOS::getStyle(int index, SkFontStyle* style, SkString* styleName) in getStyle() argument
49 if (styleName) { in getStyle()
67 styleName->set(names[i]); in getStyle()
69 styleName->reset(); in getStyle()
DSkFontStyleSet_ohos.h22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
/third_party/node/deps/npm/node_modules/ansi-styles/
Dindex.js81 for (const styleName of Object.keys(group)) {
82 const style = group[styleName];
84 styles[styleName] = {
89 group[styleName] = styles[styleName];
/third_party/icu/icu4c/source/test/intltest/
Ddtfmtrtts.cpp193 static const char *styleName(DateFormat::EStyle s) in styleName() function
239 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
242 …errln(UnicodeString("Could not DF::createDateInstance ") + UnicodeString(styleName((DateFormat::ES… in test()
252 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
255 …errln(UnicodeString("Could not DF::createTimeInstance ") + UnicodeString(styleName((DateFormat::ES… in test()
266 …ogln("Testing dstyle" + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + Unicod… in test()
269 …teDateTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + Unicod… in test()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRoundTripTest.java81 private String styleName(int s) { in styleName() method in DateFormatRoundTripTest
122 logln("Testing style " + styleName(style)); in _test()
130 logln("Testing style " + styleName(style)); in _test()
139 logln("Testing dstyle " + styleName(dstyle) + ", tstyle " + styleName(tstyle)); in _test()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatRoundTripTest.java84 private String styleName(int s) { in styleName() method in DateFormatRoundTripTest
125 logln("Testing style " + styleName(style)); in _test()
133 logln("Testing style " + styleName(style)); in _test()
142 logln("Testing dstyle " + styleName(dstyle) + ", tstyle " + styleName(tstyle)); in _test()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DEOTWriter.java63 byte[] styleName = convertUTF16StringToLittleEndian(name.nameAsBytes(3, 1, 0x409, 2)); in convert()
75 familyName.length, styleName.length, versionName.length, fullName.length, fontData.length); in convert()
106 index += writeUTF16String(index, styleName, writableFontData); in convert()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DEOTWriter.java63 byte[] styleName = convertUTF16StringToLittleEndian(name.nameAsBytes(3, 1, 0x409, 2)); in convert()
75 familyName.length, styleName.length, versionName.length, fullName.length, fontData.length); in convert()
106 index += writeUTF16String(index, styleName, writableFontData); in convert()
/third_party/skia/tools/fonts/
DTestFontMgr.cpp31 TypefaceEntry(sk_sp<SkTypeface> typeface, SkFontStyle style, const char* styleName) in TypefaceEntry()
32 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry()
/third_party/flutter/skia/tools/fonts/
DTestFontMgr.cpp31 TypefaceEntry(sk_sp<SkTypeface> typeface, SkFontStyle style, const char* styleName) in TypefaceEntry()
32 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DListFormatter.java318 String styleName = typeWidthToStyleString(type, width); in getInstance() local
319 if (styleName == null) { in getInstance()
322 return cache.get(locale, styleName); in getInstance()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DListFormatter.java382 String styleName = typeWidthToStyleString(type, width); in getInstance() local
383 if (styleName == null) { in getInstance()
386 return cache.get(locale, styleName); in getInstance()
/third_party/flutter/skia/src/ports/
DSkFontMgr_fuchsia.cpp285 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { in getStyle() argument
290 if (styleName) styleName->reset(); in getStyle()
DSkFontMgr_win_dw.cpp335 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override;
1116 void SkFontStyleSet_DirectWrite::getStyle(int index, SkFontStyle* fs, SkString* styleName) { in getStyle() argument
1124 if (styleName) { in getStyle()
1127 sk_get_locale_string(faceNames.get(), fFontMgr->fLocaleName.get(), styleName); in getStyle()
DSkFontMgr_fontconfig.cpp598 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { in getStyle() argument
607 if (styleName) { in getStyle()
608 *styleName = get_string(fFontSet->fonts[index], FC_STYLE); in getStyle()
DSkFontHost_win.cpp2223 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override { in getStyle() argument
2227 if (styleName) { in getStyle()
2236 tchar_to_skstring((const TCHAR*)ref.elfStyle, styleName); in getStyle()
/third_party/skia/src/ports/
DSkFontMgr_fuchsia.cpp284 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { in getStyle() argument
289 if (styleName) styleName->reset(); in getStyle()
DSkFontMgr_win_dw.cpp396 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override;
1200 void SkFontStyleSet_DirectWrite::getStyle(int index, SkFontStyle* fs, SkString* styleName) { in getStyle() argument
1208 if (styleName) { in getStyle()
1211 sk_get_locale_string(faceNames.get(), fFontMgr->fLocaleName.get(), styleName); in getStyle()
DSkFontMgr_fontconfig.cpp584 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { in getStyle() argument
593 if (styleName) { in getStyle()
594 *styleName = get_string(fFontSet->fonts[index], FC_STYLE); in getStyle()
DSkFontHost_win.cpp2196 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override { in getStyle() argument
2200 if (styleName) { in getStyle()
2209 tchar_to_skstring((const TCHAR*)ref.elfStyle, styleName); in getStyle()
/third_party/node/tools/
Dlint-md.mjs1335 for (const [styleName, style] of Object.entries(group)) {
1336 styles[styleName] = {
1341 group[styleName] = styles[styleName];
1639 for (const [styleName, styles] of Object.entries(enabled)) {
1644 if (!(styleName in current)) {
1645 throw new Error(`Unknown Chalk style: ${styleName}`);
1648 current = styles.length > 0 ? current[styleName](...styles) : current[styleName];
1749 for (const [styleName, style] of Object.entries(ansiStyles$1)) {
1750 styles[styleName] = {
1753 Object.defineProperty(this, styleName, {value: builder});
[all …]
/third_party/chromium/patch/
D0003-ohos-1115.patch83342 +void SkFontStyleSet_OHOS::getStyle(int index, SkFontStyle* style, SkString* styleName)
83356 + if (styleName) {
83374 + styleName->set(names[i]);
83376 + styleName->reset();
83438 + virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;