Home
last modified time | relevance | path

Searched refs:jstring (Results 1 – 25 of 96) sorted by relevance

1234

/external/tensorflow/tensorflow/java/src/main/native/
Doperation_builder_jni.h31 JNIEnv *, jclass, jlong, jstring, jstring);
74 jstring);
82 JNIEnv *, jclass, jlong, jstring, jbyteArray);
90 JNIEnv *, jclass, jlong, jstring, jlong);
98 JNIEnv *, jclass, jlong, jstring, jlongArray);
106 JNIEnv *, jclass, jlong, jstring, jfloat);
114 JNIEnv *, jclass, jlong, jstring, jfloatArray);
122 JNIEnv *, jclass, jlong, jstring, jboolean);
130 JNIEnv *, jclass, jlong, jstring, jbooleanArray);
138 JNIEnv *, jclass, jlong, jstring, jint);
[all …]
Doperation_jni.h30 JNIEXPORT jstring JNICALL Java_org_tensorflow_Operation_name(JNIEnv *, jclass,
38 JNIEXPORT jstring JNICALL Java_org_tensorflow_Operation_type(JNIEnv *, jclass,
57 jstring);
85 jstring);
Dgraph_jni.h46 jlong, jstring);
66 jstring);
83 JNIEnv *, jclass, jlong, jstring, jlongArray, jintArray, jlongArray,
93 JNIEnv *, jclass, jlong, jlongArray, jintArray, jstring, jobject, jobject);
Dsaved_model_bundle_jni.cc24 JNIEnv* env, jclass clazz, jstring export_dir, jobjectArray tags, in Java_org_tensorflow_SavedModelBundle_load()
59 jstring tag = static_cast<jstring>(env->GetObjectArrayElement(tags, i)); in Java_org_tensorflow_SavedModelBundle_load()
78 jstring tag = static_cast<jstring>(env->GetObjectArrayElement(tags, i)); in Java_org_tensorflow_SavedModelBundle_load()
Doperation_builder_jni.cc55 JNIEnv* env, jclass clazz, jlong graph_handle, jstring type, jstring name) { in Java_org_tensorflow_OperationBuilder_allocate()
136 JNIEnv* env, jclass clazz, jlong handle, jstring device) { in Java_org_tensorflow_OperationBuilder_setDevice()
145 JNIEnv* env, jclass clazz, jlong handle, jstring name, jbyteArray value) { in Java_org_tensorflow_OperationBuilder_setAttrString()
159 JNIEnv* env, jclass clazz, jlong handle, jstring name, jtype value) { \
173 JNIEnv* env, jclass clazz, jlong handle, jstring name, \
207 JNIEnv* env, jclass clazz, jlong handle, jstring name, in Java_org_tensorflow_OperationBuilder_setAttrTensor()
222 JNIEnv* env, jclass clazz, jlong handle, jstring name, in Java_org_tensorflow_OperationBuilder_setAttrTensorList()
246 JNIEnv* env, jclass clazz, jlong handle, jstring name, jlongArray shape, in Java_org_tensorflow_OperationBuilder_setAttrShape()
267 JNIEnv* env, jclass clazz, jlong handle, jstring name, jlongArray shapes, in Java_org_tensorflow_OperationBuilder_setAttrShapeList()
302 JNIEnv* env, jclass object, jlong handle, jstring name, in Java_org_tensorflow_OperationBuilder_setAttrStringList()
/external/javasqlite/src/main/native/
Dsqlite_jni.h16 (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/
Djni_string.cc14 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 …]
Djni_string.h20 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(
Dscoped_java_ref_unittest.cc70 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/libtextclassifier/annotator/
Dannotator_jni.h35 (JNIEnv* env, jobject thiz, jstring path);
57 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
61 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
63 jstring device_locales);
66 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jobject options);
70 (JNIEnv* env, jobject thiz, jlong ptr, jstring id);
76 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetLanguage)
79 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetLocales)
82 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME,
93 TC3_JNI_METHOD(jstring, TC3_ANNOTATOR_CLASS_NAME, nativeGetName)
[all …]
Dannotator_jni.cc120 const jstring device_locales, const ClassificationOptions* options, in ClassificationResultWithIntentsToJObject()
123 jstring row_string = in ClassificationResultWithIntentsToJObject()
146 jstring contact_name = nullptr; in ClassificationResultWithIntentsToJObject()
152 jstring contact_given_name = nullptr; in ClassificationResultWithIntentsToJObject()
158 jstring contact_nickname = nullptr; in ClassificationResultWithIntentsToJObject()
164 jstring contact_email_address = nullptr; in ClassificationResultWithIntentsToJObject()
170 jstring contact_phone_number = nullptr; in ClassificationResultWithIntentsToJObject()
176 jstring contact_id = nullptr; in ClassificationResultWithIntentsToJObject()
181 jstring app_name = nullptr; in ClassificationResultWithIntentsToJObject()
186 jstring app_package_name = nullptr; in ClassificationResultWithIntentsToJObject()
[all …]
Dannotator_jni_common.cc31 jstring jentity_type = in EntityTypesFromJObject()
32 reinterpret_cast<jstring>(env->GetObjectArrayElement(jentity_types, i)); in EntityTypesFromJObject()
79 ToStlString(env, reinterpret_cast<jstring>(status_or_locales.second)); in FromJavaOptionsInternal()
81 env, reinterpret_cast<jstring>(status_or_reference_timezone.second)); in FromJavaOptionsInternal()
85 reinterpret_cast<jstring>(status_or_detected_text_language_tags.second)); in FromJavaOptionsInternal()
113 ToStlString(env, reinterpret_cast<jstring>(status_or_locales.second)); in FromJavaSelectionOptions()
/external/libchrome/base/android/jni_generator/
DtestNatives.golden60 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 …]
DtestNativesRegistrations.golden45 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/
Dobject_tracker_jni.cc65 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/utils/intents/
Djni.cc76 jstring RemoteActionTemplatesHandler::AsUTF8String( in AsUTF8String()
103 ScopedLocalRef<jstring> value_str = in AsStringArray()
112 ScopedLocalRef<jstring> name = jni_cache_->ConvertToJavaString(name_str); in AsNamedVariant()
138 ScopedLocalRef<jstring> value_jstring = in AsNamedVariant()
187 const jstring title_without_entity = in RemoteActionTemplatesToJObjectArray()
189 const jstring title_with_entity = in RemoteActionTemplatesToJObjectArray()
191 const jstring description = AsUTF8String(remote_action.description); in RemoteActionTemplatesToJObjectArray()
192 const jstring description_with_app_name = in RemoteActionTemplatesToJObjectArray()
194 const jstring action = AsUTF8String(remote_action.action); in RemoteActionTemplatesToJObjectArray()
195 const jstring data = AsUTF8String(remote_action.data); in RemoteActionTemplatesToJObjectArray()
[all …]
Dintent-generator.cc122 ScopedGlobalRef<jstring> string_;
123 ScopedGlobalRef<jstring> android_;
230 ScopedLocalRef<jstring> package_name_str( in HandleAndroidCallback()
231 static_cast<jstring>(jenv_->CallObjectMethod( in HandleAndroidCallback()
288 ScopedLocalRef<jstring> key = jni_cache_->ConvertToJavaString(key_str); in HandleUserRestrictionsCallback()
314 ScopedLocalRef<jstring> input_str = jni_cache_->ConvertToJavaString(input); in HandleUrlEncode()
320 ScopedLocalRef<jstring> encoded_str( in HandleUrlEncode()
321 static_cast<jstring>(jenv_->CallStaticObjectMethod( in HandleUrlEncode()
339 ScopedLocalRef<jstring> url_str = jni_cache_->ConvertToJavaString(url); in ParseUri()
363 ScopedLocalRef<jstring> scheme_str(static_cast<jstring>( in HandleUrlSchema()
[all …]
/external/grpc-grpc/src/android/test/interop/app/src/main/cpp/
Dgrpc-interop.cc28 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/utils/java/
Dstring_utils.h30 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/
Dcom_googlecode_android_scripting_Exec.cpp83 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/
Dpeerconnection_jni.cc218 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 …]
/external/libtextclassifier/actions/
Dactions_jni.h38 (JNIEnv* env, jobject thiz, jstring path, jbyteArray serialized_preconditions);
42 jlong annotatorPtr, jobject app_context, jstring device_locales,
48 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetLocales)
51 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetName)
Dactions_jni.cc124 const Conversation& conversation, const jstring device_locales, in ActionSuggestionsToJObjectArray()
177 ScopedLocalRef<jstring> reply = context->jni_cache()->ConvertToJavaString( in ActionSuggestionsToJObjectArray()
223 message.text = ToStlString(env, static_cast<jstring>(status_or_text.second)); in FromJavaConversationMessage()
227 env, static_cast<jstring>(status_or_reference_timezone.second)); in FromJavaConversationMessage()
229 env, static_cast<jstring>(status_or_detected_text_language_tags.second)); in FromJavaConversationMessage()
268 jstring GetLocalesFromMmap(JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) { in GetLocalesFromMmap()
292 jstring GetNameFromMmap(JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) { in GetNameFromMmap()
335 (JNIEnv* env, jobject thiz, jstring path, jbyteArray serialized_preconditions) { in TC3_JNI_METHOD()
360 jlong annotatorPtr, jobject app_context, jstring device_locales, in TC3_JNI_METHOD()
389 TC3_JNI_METHOD(jstring, TC3_ACTIONS_CLASS_NAME, nativeGetLocales) in TC3_JNI_METHOD() argument
[all …]
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h95 JNIEXPORT jstring JNICALL
96 JVM_InternString(JNIEnv *env, jstring str);
210 JVM_CompileClasses(JNIEnv *env, jclass cls, jstring jname);
270 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name);
289 JVM_ClassDepth(JNIEnv *env, jstring name);
297 JNIEXPORT jstring JNICALL
298 JVM_GetSystemPackage(JNIEnv *env, jstring name);
323 jstring currClassName);
419 JVM_FindLoadedClass(JNIEnv *env, jobject loader, jstring name);
436 JNIEXPORT jstring JNICALL
[all …]
/external/deqp/framework/platform/android/
DtcuTestLogParserJNI.cpp120 jstring jName = m_env->NewStringUTF(name); in sessionInfo()
121 jstring jValue = m_env->NewStringUTF(value); in sessionInfo()
130 jstring jTestCasePath = m_env->NewStringUTF(testCasePath); in beginTestCase()
143 jstring jReason = m_env->NewStringUTF(reason); in terminateTestCase()
151 jstring jStatusCode = m_env->NewStringUTF(statusCode); in testCaseResult()
152 jstring jDetails = m_env->NewStringUTF(details); in testCaseResult()
161 jstring logData = m_env->NewStringUTF(data); in testLogData()

1234