Lines Matching refs:lang_id
30 using libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile;
31 using libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFileDescriptor;
32 using libtextclassifier3::mobile::lang_id::LangId;
33 using libtextclassifier3::mobile::lang_id::LangIdResult;
68 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFileDescriptor(fd); in TC3_JNI_METHOD() local
69 if (!lang_id->is_valid()) { in TC3_JNI_METHOD()
72 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD()
78 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFile(path_str); in TC3_JNI_METHOD() local
79 if (!lang_id->is_valid()) { in TC3_JNI_METHOD()
82 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD()
120 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFileDescriptor(fd); in TC3_JNI_METHOD() local
121 if (!lang_id->is_valid()) { in TC3_JNI_METHOD()
124 return lang_id->GetModelVersion(); in TC3_JNI_METHOD()