Home
last modified time | relevance | path

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

/dalvik/libnativehelper/
DJNIHelp.cpp101 scoped_local_ref<jstring> classNameStr(env, in getExceptionSummary0()
102 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary0()
116 scoped_local_ref<jstring> messageStr(env, in getExceptionSummary0()
117 (jstring) (*env)->CallObjectMethod(e, exception, getMessage)); in getExceptionSummary0()
190 scoped_local_ref<jstring> messageStr(env, in getStackTrace()
191 (jstring) (*env)->CallObjectMethod(e, stringWriter.get(), stringWriterToStringMethod)); in getStackTrace()
/dalvik/libnativehelper/include/nativehelper/
Djni.h77 typedef _jstring* jstring; typedef
99 typedef jobject jstring; typedef
385 jstring (*NewString)(JNIEnv*, const jchar*, jsize);
386 jsize (*GetStringLength)(JNIEnv*, jstring);
387 const jchar* (*GetStringChars)(JNIEnv*, jstring, jboolean*);
388 void (*ReleaseStringChars)(JNIEnv*, jstring, const jchar*);
389 jstring (*NewStringUTF)(JNIEnv*, const char*);
390 jsize (*GetStringUTFLength)(JNIEnv*, jstring);
392 const char* (*GetStringUTFChars)(JNIEnv*, jstring, jboolean*);
393 void (*ReleaseStringUTFChars)(JNIEnv*, jstring, const char*);
[all …]
/dalvik/vm/
DCheckJni.cpp679 checkString(va_arg(ap, jstring)); in check()
816 void checkString(jstring s) { in checkString()
1676 static jstring Check_NewString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in Check_NewString()
1681 static jsize Check_GetStringLength(JNIEnv* env, jstring string) { in Check_GetStringLength()
1686 static const jchar* Check_GetStringChars(JNIEnv* env, jstring string, jboolean* isCopy) { in Check_GetStringChars()
1701 static void Check_ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) { in Check_ReleaseStringChars()
1716 static jstring Check_NewStringUTF(JNIEnv* env, const char* bytes) { in Check_NewStringUTF()
1721 static jsize Check_GetStringUTFLength(JNIEnv* env, jstring string) { in Check_GetStringUTFLength()
1726 static const char* Check_GetStringUTFChars(JNIEnv* env, jstring string, jboolean* isCopy) { in Check_GetStringUTFChars()
1738 static void Check_ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { in Check_ReleaseStringUTFChars()
[all …]
DJni.cpp2162 static jstring NewString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in NewString()
2169 return (jstring) addLocalReference(env, (Object*) jstr); in NewString()
2175 static jsize GetStringLength(JNIEnv* env, jstring jstr) { in GetStringLength()
2188 static const jchar* GetStringChars(JNIEnv* env, jstring jstr, jboolean* isCopy) { in GetStringChars()
2206 static void ReleaseStringChars(JNIEnv* env, jstring jstr, const jchar* chars) { in ReleaseStringChars()
2219 static jstring NewStringUTF(JNIEnv* env, const char* bytes) { in NewStringUTF()
2226 jstring result = (jstring) addLocalReference(env, (Object*) newStr); in NewStringUTF()
2234 static jsize GetStringUTFLength(JNIEnv* env, jstring jstr) { in GetStringUTFLength()
2257 static const char* GetStringUTFChars(JNIEnv* env, jstring jstr, jboolean* isCopy) { in GetStringUTFChars()
2278 static void ReleaseStringUTFChars(JNIEnv* env, jstring jstr, const char* utf) { in ReleaseStringUTFChars()
[all …]
/dalvik/dalvikvm/
DMain.cpp65 jstring argStr; in createStringArray()