Home
last modified time | relevance | path

Searched refs:string_class (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/java/src/main/native/
Dnativeinterpreterwrapper_jni.cc185 jclass string_class = env->FindClass("java/lang/String"); in GetSignatureInputsOutputsList() local
186 if (string_class == nullptr) { in GetSignatureInputsOutputsList()
194 string_class, env->NewStringUTF("")); in GetSignatureInputsOutputsList()
213 jclass string_class = env->FindClass("java/lang/String"); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() local
214 if (string_class == nullptr) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames()
222 env->NewObjectArray(size, string_class, env->NewStringUTF(""))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames()
276 jclass string_class = env->FindClass("java/lang/String"); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getSignatureDefNames() local
277 if (string_class == nullptr) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getSignatureDefNames()
285 signature_defs.size(), string_class, env->NewStringUTF(""))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getSignatureDefNames()
387 jclass string_class = env->FindClass("java/lang/String"); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames() local
[all …]
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dtokenizer_jni_lib.cc41 jclass string_class = CheckNotNull(env, env->FindClass("java/lang/String")); in nativeTokenize() local
43 env, env->NewObjectArray(subwords.size(), string_class, nullptr)); in nativeTokenize()
/external/icing/icing/jni/
Djni-cache.h55 libtextclassifier3::ScopedGlobalRef<jclass> string_class; member
Djni-cache.cc30 string_class(nullptr, jvm), in JniCache()
211 jenv, string_class.get(), string_constructor, in ConvertToJavaString()
/external/libtextclassifier/native/utils/java/
Djni-helper.cc271 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jclass> string_class, in JStringToUtf8String()
275 JniHelper::GetMethodID(env, string_class.get(), "getBytes", in JStringToUtf8String()
Djni-cache.cc28 string_class(nullptr, jvm), in JniCache()
298 jenv, string_class.get(), string_init_bytes_charset, in ConvertToJavaString()
Djni-cache.h41 ScopedGlobalRef<jclass> string_class; member
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-helper.cc269 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jclass> string_class, in JStringToUtf8String()
273 JniHelper::GetMethodID(env, string_class.get(), "getBytes", in JStringToUtf8String()
/external/libtextclassifier/native/utils/intents/
Djni.cc126 jni_cache_->string_class.get(), nullptr)); in AsStringArray()