Home
last modified time | relevance | path

Searched refs:result_class (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/lang_id/
Dlang-id_jni.cc38 const ScopedLocalRef<jclass> result_class( in LangIdResultToJObjectArray() local
42 if (!result_class) { in LangIdResultToJObjectArray()
52 env->GetMethodID(result_class.get(), "<init>", "(Ljava/lang/String;F)V"); in LangIdResultToJObjectArray()
54 env->NewObjectArray(predictions.size(), result_class.get(), nullptr); in LangIdResultToJObjectArray()
57 env->NewObject(result_class.get(), result_class_constructor, in LangIdResultToJObjectArray()
/external/libtextclassifier/annotator/
Dannotator_jni.cc118 jclass result_class, jmethodID result_class_constructor, in ClassificationResultWithIntentsToJObject() argument
228 result_class, result_class_constructor, row_string, in ClassificationResultWithIntentsToJObject()
243 const ScopedLocalRef<jclass> result_class( in ClassificationResultsWithIntentsToJObjectArray() local
247 if (!result_class) { in ClassificationResultsWithIntentsToJObjectArray()
261 result_class.get(), "<init>", in ClassificationResultsWithIntentsToJObjectArray()
272 result_class.get(), nullptr); in ClassificationResultsWithIntentsToJObjectArray()
275 env, model_context, app_context, result_class.get(), in ClassificationResultsWithIntentsToJObjectArray()
583 jclass result_class = env->FindClass( in TC3_JNI_METHOD() local
585 if (!result_class) { in TC3_JNI_METHOD()
593 env->GetMethodID(result_class, "<init>", in TC3_JNI_METHOD()
[all …]
/external/protobuf/python/google/protobuf/
Dmessage_factory.py73 result_class = reflection.GeneratedProtocolMessageType(
78 self._classes[descriptor.full_name] = result_class
82 for extension in result_class.DESCRIPTOR.extensions:
Dreflection.py81 result_class = MakeClass(descriptor)
82 new_msg = result_class()
/external/libtextclassifier/actions/
Dactions_jni.cc126 const ScopedLocalRef<jclass> result_class( in ActionSuggestionsToJObjectArray() local
130 if (!result_class) { in ActionSuggestionsToJObjectArray()
136 result_class.get(), "<init>", in ActionSuggestionsToJObjectArray()
141 env->NewObjectArray(action_result.size(), result_class.get(), nullptr); in ActionSuggestionsToJObjectArray()
181 result_class.get(), result_class_constructor, reply.get(), in ActionSuggestionsToJObjectArray()