Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DScopedUtfChars.h34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
63 jstring string_;
DScopedStringChars.h33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
65 jstring string_;
Djni.h64 typedef _jstring* jstring; typedef
86 typedef jobject jstring; typedef
372 jstring (*NewString)(JNIEnv*, const jchar*, jsize);
373 jsize (*GetStringLength)(JNIEnv*, jstring);
374 const jchar* (*GetStringChars)(JNIEnv*, jstring, jboolean*);
375 void (*ReleaseStringChars)(JNIEnv*, jstring, const jchar*);
376 jstring (*NewStringUTF)(JNIEnv*, const char*);
377 jsize (*GetStringUTFLength)(JNIEnv*, jstring);
379 const char* (*GetStringUTFChars)(JNIEnv*, jstring, jboolean*);
380 void (*ReleaseStringUTFChars)(JNIEnv*, jstring, const char*);
[all …]
DtoStringArray.h36 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i))); in toStringArray()
/libnativehelper/
DJNIHelp.cpp107 scoped_local_ref<jstring> classNameStr(env, in getExceptionSummary()
108 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary()
126 scoped_local_ref<jstring> messageStr(env, in getExceptionSummary()
127 (jstring) (*env)->CallObjectMethod(e, exception, getMessage)); in getExceptionSummary()
190 scoped_local_ref<jstring> messageStr(env, in getStackTrace()
191 (jstring) (*env)->CallObjectMethod(e, stringWriter.get(), stringWriterToStringMethod)); in getStackTrace()