Searched refs:LangId (Results 1 – 8 of 8) sorted by relevance
/external/libtextclassifier/lang_id/fb_model/ |
D | lang-id-from-fb.cc | 25 std::unique_ptr<LangId> GetLangIdFromFlatbufferFile(const string &filename) { in GetLangIdFromFlatbufferFile() 30 return std::unique_ptr<LangId>( // NOLINT in GetLangIdFromFlatbufferFile() 31 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFile() 34 std::unique_ptr<LangId> GetLangIdFromFlatbufferFileDescriptor(int fd) { in GetLangIdFromFlatbufferFileDescriptor() 39 return std::unique_ptr<LangId>( // NOLINT in GetLangIdFromFlatbufferFileDescriptor() 40 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFileDescriptor() 43 std::unique_ptr<LangId> GetLangIdFromFlatbufferBytes(const char *data, in GetLangIdFromFlatbufferBytes() 49 return std::unique_ptr<LangId>( // NOLINT in GetLangIdFromFlatbufferBytes() 50 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferBytes()
|
D | lang-id-from-fb.h | 33 std::unique_ptr<LangId> GetLangIdFromFlatbufferFile(const string &filename); 37 std::unique_ptr<LangId> GetLangIdFromFlatbufferFileDescriptor(int fd); 46 std::unique_ptr<LangId> GetLangIdFromFlatbufferBytes(const char *data, 52 inline std::unique_ptr<LangId> GetLangIdFromFlatbufferBytes( in GetLangIdFromFlatbufferBytes()
|
/external/libtextclassifier/lang_id/ |
D | lang-id.cc | 100 return LangId::kUnknownLanguageCode; in FindLanguage() 121 << LangId::kUnknownLanguageCode; in FindLanguage() 122 return LangId::kUnknownLanguageCode; in FindLanguage() 132 result->predictions.emplace_back(LangId::kUnknownLanguageCode, 1); in FindLanguages() 226 return LangId::kUnknownLanguageCode; in GetLanguageForSoftmaxLabel() 258 const char LangId::kUnknownLanguageCode[] = "und"; 260 LangId::LangId(std::unique_ptr<ModelProvider> model_provider) in LangId() function in libtextclassifier3::mobile::lang_id::LangId 263 LangId::~LangId() = default; 265 string LangId::FindLanguage(const char *data, size_t num_bytes) const { in FindLanguage() 270 void LangId::FindLanguages(const char *data, size_t num_bytes, in FindLanguages() [all …]
|
D | lang-id_jni.cc | 32 using libtextclassifier3::mobile::lang_id::LangId; 68 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFileDescriptor(fd); in TC3_JNI_METHOD() 78 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFile(path_str); in TC3_JNI_METHOD() 87 LangId* model = reinterpret_cast<LangId*>(ptr); in TC3_JNI_METHOD() 105 LangId* model = reinterpret_cast<LangId*>(ptr); in TC3_JNI_METHOD() 114 LangId* model = reinterpret_cast<LangId*>(ptr); in TC3_JNI_METHOD() 120 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFileDescriptor(fd); in TC3_JNI_METHOD() 132 LangId* model = reinterpret_cast<LangId*>(ptr); in TC3_JNI_METHOD()
|
D | lang-id.h | 57 class LangId { 68 explicit LangId(std::unique_ptr<ModelProvider> model_provider); 70 virtual ~LangId(); 130 SAFTM_DISALLOW_COPY_AND_ASSIGN(LangId);
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/ |
D | ResourceScriptStmt.h | 253 LanguageResource(uint32_t LangId, uint32_t SubLangId) in LanguageResource() argument 254 : Lang(LangId), SubLang(SubLangId) {} in LanguageResource()
|
/external/libtextclassifier/ |
D | Android.bp | 326 // LangId model
|
/external/syzkaller/sys/windows/ |
D | windows.txt | 432 … lpName ptr[inout, int8], lpEnumFunc ptr[inout, intptr], lParam int64, dwFlags int32, LangId int16) 433 … lpType ptr[inout, int8], lpEnumFunc ptr[inout, intptr], lParam int64, dwFlags int32, LangId int16) 434 …odule ptr[inout, intptr], lpEnumFunc ptr[inout, intptr], lParam int64, dwFlags int32, LangId int16) 1818 GetGeoInfoA(Location int32, GeoType int32, lpGeoData ptr[inout, int8], cchData int32, LangId int16) 1831 SetThreadUILanguage(LangId int16)
|