Searched refs:lang_id (Results 1 – 4 of 4) sorted by relevance
1319 int langIdMatch(const char* const* lang_ids, const char* lang_id) { in langIdMatch() argument1324 ret = findStr(lang_ids, lang_id); in langIdMatch()1330 for (n = 0; lang_id[n] != '\0' && n < MAX_LANG_ID_SIZE; n++) { in langIdMatch()1331 lang_id_buf[n] = lang_id[n]; in langIdMatch()1353 const char* selectLangId(const char* lang_id) { in selectLangId() argument1355 if (lang_id == nullptr) { in selectLangId()1359 int ret = langIdMatch(languageIds, lang_id); in selectLangId()
29 extern int langIdMatch(const char* const* lang_ids, const char* lang_id);45 static const char* test_lang_id_match(const char* lang_ids[], const char* lang_id) { in test_lang_id_match() argument46 int ret = langIdMatch(lang_ids, lang_id); in test_lang_id_match()
32 const char* selectLangId(const char* lang_id);
187 JString lang_id(env, jlang_id); in Java_com_android_framebufferizer_NativeRenderer_setLanguage() local188 if (sCurrentExample) sCurrentExample->selectLanguage(lang_id.begin()); in Java_com_android_framebufferizer_NativeRenderer_setLanguage()