/third_party/skia/src/ports/skia_ohos/ |
H A D | SkFontStyleSet_ohos.cpp | 35 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()
|
H A D | SkFontStyleSet_ohos.h | 22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | dtfmtrtts.cpp | 193 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::EStyle)style)) + " Locale: " + loc.getDisplayName(temp)); in test() 252 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test() 255 errln(UnicodeString("Could not DF::createTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale: " + loc.getDisplayName(temp)); in test() 266 logln("Testing dstyle" + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((DateFormat::EStyle)tstyle)) ); in test() 269 dataerrln(UnicodeString("Could not DF::createDateTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((DateFormat::EStyle)tstyle)) + "Locale: " + loc.getDisplayName(temp)); in test()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateFormatRoundTripTest.java | 81 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/ |
H A D | DateFormatRoundTripTest.java | 84 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/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/ |
H A D | index.js | 77 for (const [styleName, style] of Object.entries(group)) { 78 styles[styleName] = { 83 group[styleName] = styles[styleName];
|
/third_party/node/deps/npm/node_modules/ansi-styles/ |
H A D | index.js | 77 for (const [styleName, style] of Object.entries(group)) { 78 styles[styleName] = { 83 group[styleName] = styles[styleName];
|
/third_party/node/deps/npm/node_modules/chalk/source/ |
H A D | index.js | 56 for (const [styleName, style] of Object.entries(ansiStyles)) { 57 styles[styleName] = { 60 Object.defineProperty(this, styleName, {value: builder});
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | EOTWriter.java | 63 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/ |
H A D | TestFontMgr.cpp | 31 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/ |
H A D | ListFormatter.java | 318 String styleName = typeWidthToStyleString(type, width); in getInstance() 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/ |
H A D | ListFormatter.java | 382 String styleName = typeWidthToStyleString(type, width); in getInstance() 383 if (styleName == null) { in getInstance() 386 return cache.get(locale, styleName); in getInstance()
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_fuchsia.cpp | 284 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { 289 if (styleName) styleName->reset();
|
H A D | SkFontMgr_win_dw.cpp | 396 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()
|
H A D | SkFontMgr_fontconfig.cpp | 584 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { 593 if (styleName) { 594 *styleName = get_string(fFontSet->fonts[index], FC_STYLE);
|
H A D | SkFontHost_win.cpp | 2196 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override { 2200 if (styleName) { 2209 tchar_to_skstring((const TCHAR*)ref.elfStyle, styleName);
|