Home
last modified time | relevance | path

Searched refs:full_lang (Results 1 – 5 of 5) sorted by relevance

/dports/textproc/rarian/rarian-00fa779/librarian/
H A Drarian-language.c110 char *full_lang = NULL; in rrn_language_init() local
116 full_lang = rrn_strndup (current, tmp-current); in rrn_language_init()
118 full_lang = strdup (current); in rrn_language_init()
120 at_mod = strrchr (full_lang, '@'); in rrn_language_init()
121 dot_mod = strrchr (full_lang, '.'); in rrn_language_init()
122 ter_mod = strrchr (full_lang, '_'); in rrn_language_init()
125 if (!check_lang (full_lang)) { in rrn_language_init()
126 add_lang (full_lang); in rrn_language_init()
131 exploded = rrn_strndup (full_lang, at_mod - full_lang); in rrn_language_init()
139 exploded = rrn_strndup (full_lang, dot_mod - full_lang); in rrn_language_init()
[all …]
/dports/textproc/fcitx5/fcitx5-5.0.11/src/modules/spell/
H A Dspell-custom-dict.cpp76 bool checkLang(const std::string &full_lang, const std::string &lang) { in checkLang() argument
77 if (full_lang.empty() || lang.empty()) { in checkLang()
80 if (full_lang.compare(0, lang.size(), lang) != 0) { in checkLang()
83 switch (full_lang[lang.size()]) { in checkLang()
/dports/chinese/fcitx/fcitx-4.2.9.7/src/module/spell/
H A Dspell.c444 SpellLangIsLang(const char *full_lang, const char *lang) in SpellLangIsLang() argument
447 if (!full_lang || !lang || !*full_lang || !*lang) in SpellLangIsLang()
450 if (strncmp(full_lang, lang, len)) in SpellLangIsLang()
452 switch (full_lang[len]) { in SpellLangIsLang()
H A Dspell-internal.h81 boolean SpellLangIsLang(const char *full_lang, const char *lang);
/dports/deskutils/coolreader/coolreader-cr3.2.55/cr3qt/src/
H A Dcr3widget.cpp1169 QString full_lang = QLocale::languageToString(loc.language()).toLower(); in findCompatibleFcLangCode() local
1170 if (language.compare(full_lang.toLatin1().data()) == 0) { in findCompatibleFcLangCode()