Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/src/ports/skia_ohos/
DSkFontMgr_ohos.cpp117 const char* bcp47[], int bcp47Count, SkUnichar character) const in onMatchFamilyStyleCharacter() argument
144 SkTypeface* retTp = findTypeface(*item, style, bcp47, bcp47Count, character); in onMatchFamilyStyleCharacter()
183 const char* bcp47[], int bcp47Count, SkUnichar character) const in findTypeface() argument
201 int ret = compareLangs(fallbackSet[i]->langs, bcp47, bcp47Count, tps); in findTypeface()
239 int SkFontMgr_OHOS::compareLangs(const SkString& langs, const char* bcp47[], in compareLangs() argument
245 if (bcp47 == nullptr || bcp47Count == 0) { in compareLangs()
252 if (langs.find(bcp47[i]) != -1) { in compareLangs()
255 const char* iso15924 = strrchr(bcp47[i], '-'); in compareLangs()
260 int len = iso15924 - 1 - bcp47[i]; in compareLangs()
261 SkString country(bcp47[i], len); in compareLangs()
[all …]
DSkFontMgr_ohos.h36 const char* bcp47[], int bcp47Count,
57 …int compareLangs(const SkString& langs, const char* bcp47[], int bcp47Count, const int tps[]) cons…
62 const char* bcp47[], int bcp47Count,
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dfont_collection.cc311 std::vector<const char*> bcp47; in DoMatchFallbackFont() local
313 bcp47.push_back(locale.c_str()); in DoMatchFallbackFont()
315 0, SkFontStyle(), bcp47.data(), bcp47.size(), ch)); in DoMatchFallbackFont()
669 std::vector<const char*> bcp47; in DoMatchFallbackFontWithVariation() local
671 bcp47.push_back(locale.c_str()); in DoMatchFallbackFontWithVariation()
679 0, SkFontStyle(), bcp47.data(), bcp47.size(), ch); in DoMatchFallbackFontWithVariation()
686 0, SkFontStyle(), bcp47.data(), bcp47.size(), ch)); in DoMatchFallbackFontWithVariation()
753 std::vector<const char*> bcp47; in DoMatchFallbackFontFromHwFont() local
755 bcp47.push_back(locale.c_str()); in DoMatchFallbackFontFromHwFont()
763 0, SkFontStyle(), bcp47.data(), bcp47.size(), ch); in DoMatchFallbackFontFromHwFont()
Dasset_font_manager.h58 const char* bcp47[],
Dasset_font_manager.cc67 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
/third_party/flutter/skia/modules/skparagraph/src/
DFontCollection.cpp129 std::vector<const char*> bcp47; in defaultFallback() local
131 bcp47.push_back(locale.c_str()); in defaultFallback()
134 0, fontStyle, bcp47.data(), bcp47.size(), unicode)); in defaultFallback()
/third_party/skia/modules/skparagraph/src/
DFontCollection.cpp138 std::vector<const char*> bcp47; in defaultFallback() local
140 bcp47.push_back(locale.c_str()); in defaultFallback()
143 nullptr, fontStyle, bcp47.data(), bcp47.size(), unicode)); in defaultFallback()
/third_party/flutter/skia/src/ports/
DSkFontMgr_ohos.cpp282 …const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar … in onMatchFamilyStyleCharacter() argument
289 SkLanguage lang(bcp47[bcp47Index]); in onMatchFamilyStyleCharacter()
310 …const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar … in onMatchFamilyStyleCharacterOHOS() argument
316 SkLanguage lang(bcp47[bcp47Index]); in onMatchFamilyStyleCharacterOHOS()
336 …const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar … in onMatchFamilyStyleCharacterHwFont() argument
342 SkLanguage lang(bcp47[bcp47Index]); in onMatchFamilyStyleCharacterHwFont()
DSkFontMgr_fuchsia.cpp243 const char* bcp47[], int bcp47Count,
258 const char* bcp47[], int bcp47Count, SkUnichar character,
365 const char* bcp47[], int bcp47Count, in onMatchFamilyStyleCharacter() argument
368 FetchTypeface(familyName, style, bcp47, bcp47Count, character, /*allow_fallback=*/true, in onMatchFamilyStyleCharacter()
402 const SkFontStyle& style, const char* bcp47[], in FetchTypeface() argument
413 localeId.id = bcp47[i]; in FetchTypeface()
DSkFontMgr_ohos.h289 const char* bcp47[],
295 const char* bcp47[],
321 const char* bcp47[],
/third_party/skia/src/utils/
DSkOrderedFontMgr.cpp68 const char* bcp47[], int bcp47Count, in onMatchFamilyStyleCharacter() argument
71 if (auto tf = fm->matchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, uni)) { in onMatchFamilyStyleCharacter()
/third_party/skia/include/core/
DSkFontMgr.h87 const char* bcp47[], int bcp47Count,
131 const char* bcp47[], int bcp47Count,
/third_party/skia/src/core/
DSkFontMgr.cpp57 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
110 const char* bcp47[], int bcp47Count, in matchFamilyStyleCharacter() argument
112 return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, character); in matchFamilyStyleCharacter()
/third_party/flutter/skia/include/core/
DSkFontMgr.h97 const char* bcp47[], int bcp47Count,
159 const char* bcp47[], int bcp47Count,
/third_party/skia/src/ports/
DSkFontMgr_fuchsia.cpp243 const char* bcp47[], int bcp47Count,
257 const char* bcp47[], int bcp47Count, SkUnichar character,
364 const char* bcp47[], int bcp47Count, in onMatchFamilyStyleCharacter() argument
367 FetchTypeface(familyName, style, bcp47, bcp47Count, character, /*allow_fallback=*/true, in onMatchFamilyStyleCharacter()
397 const SkFontStyle& style, const char* bcp47[], in FetchTypeface() argument
408 localeId.id = bcp47[i]; in FetchTypeface()
/third_party/flutter/skia/src/core/
DSkFontMgr.cpp57 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
116 const char* bcp47[], int bcp47Count, in matchFamilyStyleCharacter() argument
118 return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, character); in matchFamilyStyleCharacter()
/third_party/skia/tools/fonts/
DTestFontMgr.cpp151 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
154 (void)bcp47; in onMatchFamilyStyleCharacter()
/third_party/flutter/skia/tools/fonts/
DTestFontMgr.cpp151 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
154 (void)bcp47; in onMatchFamilyStyleCharacter()
/third_party/skia/src/fonts/
DSkFontMgr_indirect.cpp145 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
148 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter()
/third_party/flutter/skia/src/fonts/
DSkFontMgr_indirect.cpp145 const char* bcp47[], in onMatchFamilyStyleCharacter() argument
148 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter()
/third_party/flutter/skia/src/sfnt/
DSkOTTable_name.cpp96 const char* bcp47; member
579 record.language = BCP47FromLanguageID[languageIndex].bcp47; in next()
/third_party/skia/src/sfnt/
DSkOTTable_name.cpp95 const char* bcp47; member
579 record.language = BCP47FromLanguageID[languageIndex].bcp47; in next()
/third_party/skia/include/utils/
DSkOrderedFontMgr.h36 const char* bcp47[], int bcp47Count,
/third_party/skia/include/ports/
DSkRemotableFontMgr.h123 const char* bcp47[], int bcp47Count,
/third_party/flutter/skia/include/ports/
DSkRemotableFontMgr.h123 const char* bcp47[], int bcp47Count,

123