Searched refs:result_class (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/lang_id/ |
D | lang-id_jni.cc | 38 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/ |
D | annotator_jni.cc | 118 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/ |
D | message_factory.py | 73 result_class = reflection.GeneratedProtocolMessageType( 78 self._classes[descriptor.full_name] = result_class 82 for extension in result_class.DESCRIPTOR.extensions:
|
D | reflection.py | 81 result_class = MakeClass(descriptor) 82 new_msg = result_class()
|
/external/libtextclassifier/actions/ |
D | actions_jni.cc | 126 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()
|