Searched refs:full_lang (Results 1 – 5 of 5) sorted by relevance
/dports/textproc/rarian/rarian-00fa779/librarian/ |
H A D | rarian-language.c | 110 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 D | spell-custom-dict.cpp | 76 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 D | spell.c | 444 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 D | spell-internal.h | 81 boolean SpellLangIsLang(const char *full_lang, const char *lang);
|
/dports/deskutils/coolreader/coolreader-cr3.2.55/cr3qt/src/ |
H A D | cr3widget.cpp | 1169 QString full_lang = QLocale::languageToString(loc.language()).toLower(); in findCompatibleFcLangCode() local 1170 if (language.compare(full_lang.toLatin1().data()) == 0) { in findCompatibleFcLangCode()
|