/external/tensorflow/tensorflow/java/src/main/native/ |
D | graph_operation_builder_jni.h | 31 JNIEnv *, jclass, jlong, jstring, jstring); 72 JNIEnv *, jclass, jlong, jstring); 80 JNIEnv *, jclass, jlong, jstring, jbyteArray); 88 JNIEnv *, jclass, jlong, jstring, jlong); 96 JNIEnv *, jclass, jlong, jstring, jlongArray); 104 JNIEnv *, jclass, jlong, jstring, jfloat); 113 jlong, jstring, 122 JNIEnv *, jclass, jlong, jstring, jboolean); 131 jlong, jstring, 140 JNIEnv *, jclass, jlong, jstring, jint); [all …]
|
D | eager_operation_builder_jni.h | 31 JNIEnv *, jclass, jlong, jstring); 71 JNIEnv *, jclass, jlong, jstring); 79 JNIEnv *, jclass, jlong, jstring, jbyteArray); 88 jlong, jstring, 97 JNIEnv *, jclass, jlong, jstring, jlong); 105 JNIEnv *, jclass, jlong, jstring, jlongArray); 113 JNIEnv *, jclass, jlong, jstring, jfloat); 122 jlong, jstring, 131 JNIEnv *, jclass, jlong, jstring, jboolean); 140 jlong, jstring, [all …]
|
D | graph_operation_jni.h | 30 JNIEXPORT jstring JNICALL Java_org_tensorflow_GraphOperation_name(JNIEnv *, 39 JNIEXPORT jstring JNICALL Java_org_tensorflow_GraphOperation_type(JNIEnv *, 58 JNIEnv *, jclass, jlong, jstring); 83 JNIEnv *, jclass, jlong, jstring);
|
D | graph_jni.h | 46 jlong, jstring); 66 jstring); 83 JNIEnv *, jclass, jlong, jstring, jlongArray, jintArray, jlongArray, 93 JNIEnv *, jclass, jlong, jlongArray, jintArray, jstring, jobject, jobject);
|
/external/javasqlite/src/main/native/ |
D | sqlite_jni.h | 16 (JNIEnv *, jobject, jstring, jint); 24 (JNIEnv *, jobject, jstring); 48 (JNIEnv *, jobject, jstring, jobject); 56 (JNIEnv *, jobject, jstring, jobject, jobjectArray); 104 (JNIEnv *, jclass, jstring); 111 JNIEXPORT jstring JNICALL Java_SQLite_Database_version 119 JNIEXPORT jstring JNICALL Java_SQLite_Database_dbversion 128 (JNIEnv *, jobject, jstring, jint, jobject); 136 (JNIEnv *, jobject, jstring, jint, jobject); 144 (JNIEnv *, jobject, jstring, jint); [all …]
|
/external/libchrome/base/android/ |
D | jni_string.cc | 14 jstring ConvertUTF16ToJavaStringImpl(JNIEnv* env, in ConvertUTF16ToJavaStringImpl() 16 jstring result = env->NewString(str.data(), str.length()); in ConvertUTF16ToJavaStringImpl() 26 void ConvertJavaStringToUTF8(JNIEnv* env, jstring str, std::string* result) { in ConvertJavaStringToUTF8() 49 std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str) { in ConvertJavaStringToUTF8() 55 std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8() 59 std::string ConvertJavaStringToUTF8(JNIEnv* env, const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8() 63 ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString( in ConvertUTF8ToJavaString() 73 return ScopedJavaLocalRef<jstring>(env, ConvertUTF16ToJavaStringImpl( in ConvertUTF8ToJavaString() 77 void ConvertJavaStringToUTF16(JNIEnv* env, jstring str, string16* result) { in ConvertJavaStringToUTF16() 99 string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str) { in ConvertJavaStringToUTF16() [all …]
|
D | jni_string.h | 20 jstring str, 22 BASE_EXPORT std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str); 23 BASE_EXPORT std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str); 25 const JavaRef<jstring>& str); 28 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString( 34 jstring str, 36 BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str); 37 BASE_EXPORT string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str); 39 const JavaRef<jstring>& str); 42 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString(
|
D | scoped_java_ref_unittest.cc | 70 ScopedJavaLocalRef<jstring> str = ConvertUTF8ToJavaString(env, "string"); in TEST_F() 71 ScopedJavaGlobalRef<jstring> global(str); in TEST_F() 81 const JavaRef<jstring>& str_ref = str; in TEST_F() 88 ScopedJavaLocalRef<jstring> str; in TEST_F() 97 ScopedJavaGlobalRef<jstring> global_str(str); in TEST_F() 102 ScopedJavaLocalRef<jstring> str2(env, str.Release()); in TEST_F() 105 ScopedJavaLocalRef<jstring> str3(str2); in TEST_F() 110 ScopedJavaLocalRef<jstring> str4((ScopedJavaLocalRef<jstring>(str2))); in TEST_F() 115 ScopedJavaLocalRef<jstring> str5; in TEST_F() 116 str5 = ScopedJavaLocalRef<jstring>(str2); in TEST_F()
|
/external/icu/android_icu4j/libcore_bridge/src/native/ |
D | com_android_icu_util_LocaleNative.cpp | 24 static jstring LocaleNative_getDisplayCountryNative(JNIEnv* env, jclass, jstring javaTargetLanguage… in LocaleNative_getDisplayCountryNative() 39 static jstring LocaleNative_getDisplayLanguageNative(JNIEnv* env, jclass, jstring javaTargetLanguag… in LocaleNative_getDisplayLanguageNative() 54 static jstring LocaleNative_getDisplayScriptNative(JNIEnv* env, jclass, jstring javaTargetLanguageT… in LocaleNative_getDisplayScriptNative() 69 static jstring LocaleNative_getDisplayVariantNative(JNIEnv* env, jclass, jstring javaTargetLanguage… in LocaleNative_getDisplayVariantNative()
|
D | com_android_icu_util_CaseMapperNative.cpp | 27 static jstring CaseMapperNative_toLowerCase(JNIEnv* env, jclass, jstring javaString, jstring javaLa… in CaseMapperNative_toLowerCase() 42 static jstring CaseMapperNative_toUpperCase(JNIEnv* env, jclass, jstring javaString, jstring javaLa… in CaseMapperNative_toUpperCase()
|
D | com_android_icu_util_ICU4CMetadata.cpp | 27 static jstring versionString(JNIEnv* env, const UVersionInfo& version) { in versionString() 33 static jstring Icu4cMetadata_getCldrVersion(JNIEnv* env, jclass) { in Icu4cMetadata_getCldrVersion() 40 static jstring Icu4cMetadata_getIcuVersion(JNIEnv* env, jclass) { in Icu4cMetadata_getIcuVersion() 46 static jstring Icu4cMetadata_getUnicodeVersion(JNIEnv* env, jclass) { in Icu4cMetadata_getUnicodeVersion() 52 static jstring Icu4cMetadata_getTzdbVersion(JNIEnv* env, jclass) { in Icu4cMetadata_getTzdbVersion()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_jni.h | 35 (JNIEnv* env, jobject thiz, jstring path); 63 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin, 67 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin, 69 jstring device_locales); 77 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jobject options); 81 (JNIEnv* env, jobject thiz, jlong ptr, jstring id); 87 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetLanguage) 90 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetLocales) 93 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetLocalesWithOffset) 102 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetName) [all …]
|
D | annotator_jni_common.cc | 32 ScopedLocalRef<jstring> jentity_type, in EntityTypesFromJObject() 33 JniHelper::GetObjectArrayElement<jstring>(env, jentity_types, i)); in EntityTypesFromJObject() 57 ScopedLocalRef<jstring> locales, in FromJavaOptionsInternal() 58 JniHelper::CallObjectMethod<jstring>(env, joptions, get_locale)); in FromJavaOptionsInternal() 73 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jstring> reference_timezone, in FromJavaOptionsInternal() 74 JniHelper::CallObjectMethod<jstring>( in FromJavaOptionsInternal() 83 ScopedLocalRef<jstring> detected_text_language_tags, in FromJavaOptionsInternal() 84 JniHelper::CallObjectMethod<jstring>( in FromJavaOptionsInternal() 154 ScopedLocalRef<jstring> locales, in FromJavaSelectionOptions() 155 JniHelper::CallObjectMethod<jstring>(env, joptions, get_locales)); in FromJavaSelectionOptions() [all …]
|
D | annotator_jni.cc | 130 const jstring device_locales, const ClassificationOptions* options, in ClassificationResultWithIntentsToJObject() 134 ScopedLocalRef<jstring> row_string, in ClassificationResultWithIntentsToJObject() 160 ScopedLocalRef<jstring> contact_name; in ClassificationResultWithIntentsToJObject() 167 ScopedLocalRef<jstring> contact_given_name; in ClassificationResultWithIntentsToJObject() 175 ScopedLocalRef<jstring> contact_family_name; in ClassificationResultWithIntentsToJObject() 183 ScopedLocalRef<jstring> contact_nickname; in ClassificationResultWithIntentsToJObject() 191 ScopedLocalRef<jstring> contact_email_address; in ClassificationResultWithIntentsToJObject() 199 ScopedLocalRef<jstring> contact_phone_number; in ClassificationResultWithIntentsToJObject() 207 ScopedLocalRef<jstring> contact_id; in ClassificationResultWithIntentsToJObject() 214 ScopedLocalRef<jstring> app_name; in ClassificationResultWithIntentsToJObject() [all …]
|
/external/libchrome/base/android/jni_generator/ |
D | testNatives.golden | 60 jstring url, 61 jstring title, 68 base::android::JavaParamRef<jstring>(env, url), base::android::JavaParamRef<jstring>(env, 72 static base::android::ScopedJavaLocalRef<jstring> JNI_TestJni_GetDomainAndRegistry(JNIEnv* env, 74 const base::android::JavaParamRef<jstring>& url); 76 JNI_GENERATOR_EXPORT jstring Java_org_chromium_TestJni_nativeGetDomainAndRegistry( 79 jstring url) { 81 base::android::JavaParamRef<jstring>(env, url)).Release(); 138 jstring url, 143 jstring title, [all …]
|
D | testNativesRegistrations.golden | 45 jstring url, 46 jstring title, 49 JNI_GENERATOR_EXPORT jstring Java_org_chromium_TestJni_nativeGetDomainAndRegistry( 52 jstring url); 74 jstring url, 79 jstring title, 84 jstring find); 93 jstring selection, 95 jstring sortOrder);
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | object_tracker_jni.cc | 65 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1, 70 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1, 75 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1, 80 jstring object_id); 85 jstring object_id); 88 jstring JNICALL OBJECT_TRACKER_METHOD(getModelIdNative)(JNIEnv* env, 90 jstring object_id); 95 jstring object_id); 99 jstring object_id); 103 JNIEnv* env, jobject thiz, jstring object_id, jfloatArray rect_array); [all …]
|
/external/libtextclassifier/native/actions/ |
D | actions_jni.cc | 129 const Conversation& conversation, const jstring device_locales, in ActionSuggestionsToJObjectArray() 191 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jstring> reply, in ActionSuggestionsToJObjectArray() 196 ScopedLocalRef<jstring> action_type, in ActionSuggestionsToJObjectArray() 227 ScopedLocalRef<jstring> text, in FromJavaConversationMessage() 228 JniHelper::CallObjectMethod<jstring>(env, jmessage, get_text_method)); in FromJavaConversationMessage() 250 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jstring> reference_timezone, in FromJavaConversationMessage() 251 JniHelper::CallObjectMethod<jstring>( in FromJavaConversationMessage() 260 ScopedLocalRef<jstring> detected_text_language_tags, in FromJavaConversationMessage() 261 JniHelper::CallObjectMethod<jstring>( in FromJavaConversationMessage() 312 StatusOr<ScopedLocalRef<jstring>> GetLocalesFromMmap( in GetLocalesFromMmap() [all …]
|
D | actions_jni.h | 38 (JNIEnv* env, jobject thiz, jstring path, jbyteArray serialized_preconditions); 46 jlong annotatorPtr, jobject app_context, jstring device_locales, 52 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetLocales) 55 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetLocalesWithOffset) 58 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetName) 61 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetNameWithOffset)
|
/external/grpc-grpc/src/android/test/interop/app/src/main/cpp/ |
D | grpc-interop.cc | 28 jstring path_raw) { in Java_io_grpc_interop_cpp_InteropActivity_configureSslRoots() 56 jstring host_raw, in Java_io_grpc_interop_cpp_InteropActivity_doEmpty() 69 jstring host_raw, in Java_io_grpc_interop_cpp_InteropActivity_doLargeUnary() 82 jstring host_raw, in Java_io_grpc_interop_cpp_InteropActivity_doEmptyStream() 94 JNIEnv* env, jobject obj_this, jstring host_raw, jint port_raw, in Java_io_grpc_interop_cpp_InteropActivity_doRequestStreaming() 105 JNIEnv* env, jobject obj_this, jstring host_raw, jint port_raw, in Java_io_grpc_interop_cpp_InteropActivity_doResponseStreaming() 117 jstring host_raw, in Java_io_grpc_interop_cpp_InteropActivity_doPingPong()
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.cc | 120 ScopedGlobalRef<jstring> string_; 121 ScopedGlobalRef<jstring> android_; 145 TC3_ASSIGN_OR_RETURN_FALSE(ScopedLocalRef<jstring> string_value, in Initialize() 148 TC3_ASSIGN_OR_RETURN_FALSE(ScopedLocalRef<jstring> android_value, in Initialize() 226 StatusOr<ScopedLocalRef<jstring>> status_or_package_name_str = in HandleAndroidCallback() 227 JniHelper::CallObjectMethod<jstring>( in HandleAndroidCallback() 293 const StatusOr<ScopedLocalRef<jstring>> status_or_key = in HandleUserRestrictionsCallback() 320 const StatusOr<ScopedLocalRef<jstring>> status_or_input_str = in HandleUrlEncode() 326 StatusOr<ScopedLocalRef<jstring>> status_or_encoded_str = in HandleUrlEncode() 327 JniHelper::CallStaticObjectMethod<jstring>( in HandleUrlEncode() [all …]
|
D | jni.cc | 93 StatusOr<ScopedLocalRef<jstring>> RemoteActionTemplatesHandler::AsUTF8String( in AsUTF8String() 128 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jstring> value_str, in AsStringArray() 170 TC3_ASSIGN_OR_RETURN(ScopedLocalRef<jstring> name, in AsNamedVariant() 202 ScopedLocalRef<jstring> value_jstring, in AsNamedVariant() 298 const StatusOr<ScopedLocalRef<jstring>> title_without_entity, in RemoteActionTemplatesToJObjectArray() 301 const StatusOr<ScopedLocalRef<jstring>> title_with_entity, in RemoteActionTemplatesToJObjectArray() 303 TC3_ASSIGN_OR_RETURN(const StatusOr<ScopedLocalRef<jstring>> description, in RemoteActionTemplatesToJObjectArray() 306 const StatusOr<ScopedLocalRef<jstring>> description_with_app_name, in RemoteActionTemplatesToJObjectArray() 308 TC3_ASSIGN_OR_RETURN(const StatusOr<ScopedLocalRef<jstring>> action, in RemoteActionTemplatesToJObjectArray() 310 TC3_ASSIGN_OR_RETURN(const StatusOr<ScopedLocalRef<jstring>> data, in RemoteActionTemplatesToJObjectArray() [all …]
|
/external/libtextclassifier/native/utils/java/ |
D | string_utils.h | 30 bool JStringToUtf8String(JNIEnv* env, const jstring& jstr, std::string* result); 37 StringCharsReleaser(JNIEnv* env, jstring jstr) : env_(env), jstr_(jstr) {} in StringCharsReleaser() 61 jstring jstr_; 71 ScopedStringChars GetScopedStringChars(JNIEnv* env, jstring string,
|
/external/sl4a/ScriptingLayerForAndroid/jni/ |
D | com_googlecode_android_scripting_Exec.cpp | 83 char* JNU_GetStringNativeChars(JNIEnv* env, jstring jstr) { in JNU_GetStringNativeChars() 122 JNIEnv* env, jclass clazz, jstring cmd, jobjectArray argArray, jobjectArray varArray, in Java_com_googlecode_android_1scripting_Exec_createSubprocess() 123 jstring workingDirectory, in Java_com_googlecode_android_1scripting_Exec_createSubprocess() 135 jstring arg = (jstring) env->GetObjectArrayElement(argArray, i); in Java_com_googlecode_android_1scripting_Exec_createSubprocess() 147 jstring var = (jstring) env->GetObjectArrayElement(varArray, i); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | peerconnection_jni.cc | 218 jstring j_mid = JavaStringFromStdString(jni(), candidate->sdp_mid()); in OnIceCandidate() 219 jstring j_sdp = JavaStringFromStdString(jni(), sdp); in OnIceCandidate() 284 jstring id = JavaStringFromStdString(jni(), track->id()); in OnAddStream() 307 jstring id = JavaStringFromStdString(jni(), track->id()); in OnAddStream() 456 jstring j_key = reinterpret_cast<jstring>( in PopulateConstraintsFromJavaPairList() 461 jstring j_value = reinterpret_cast<jstring>( in PopulateConstraintsFromJavaPairList() 478 jstring j_description = JavaStringFromStdString(jni, sdp); in JavaSdpFromNativeSdp() 485 jstring j_type_string = JavaStringFromStdString(jni, desc->type()); in JavaSdpFromNativeSdp() 537 jstring j_error_string = JavaStringFromStdString(jni(), error); in DoOnFailure() 672 jstring j_id = JavaStringFromStdString(jni, report->id()->ToString()); in ReportsToJava() [all …]
|