Home
last modified time | relevance | path

Searched refs:styleName (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/src/ports/skia_ohos/
H A 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()
H A DSkFontStyleSet_ohos.h22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
/third_party/icu/icu4c/source/test/intltest/
H A 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::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 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/
H A 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/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/
H A Dindex.js77 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 Dindex.js77 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 Dindex.js56 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 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/
H A 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/
H A DListFormatter.java318 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 DListFormatter.java382 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 DSkFontMgr_fuchsia.cpp284 void getStyle(int index, SkFontStyle* style, SkString* styleName) override {
289 if (styleName) styleName->reset();
H A 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()
H A DSkFontMgr_fontconfig.cpp584 void getStyle(int index, SkFontStyle* style, SkString* styleName) override {
593 if (styleName) {
594 *styleName = get_string(fFontSet->fonts[index], FC_STYLE);
H A DSkFontHost_win.cpp2196 void getStyle(int index, SkFontStyle* fs, SkString* styleName) override {
2200 if (styleName) {
2209 tchar_to_skstring((const TCHAR*)ref.elfStyle, styleName);

Completed in 15 milliseconds