/dalvik/vm/ |
UtfString.h | 101 * Returns NULL if "jstr" is NULL. 103 char* dvmCreateCstrFromString(StringObject* jstr); 109 void dvmCreateCstrFromStringRegion(StringObject* jstr, int start, int len, 116 int dvmStringUtf8ByteLen(StringObject* jstr); 121 int dvmStringLen(StringObject* jstr); 126 ArrayObject* dvmStringCharArray(StringObject* jstr); 131 const u2* dvmStringChars(StringObject* jstr);
|
UtfString.c | 387 char* dvmCreateCstrFromString(StringObject* jstr) 396 if (jstr == NULL) 399 len = dvmGetFieldInt((Object*) jstr, STRING_FIELDOFF_COUNT); 400 offset = dvmGetFieldInt((Object*) jstr, STRING_FIELDOFF_OFFSET); 401 chars = (ArrayObject*) dvmGetFieldObject((Object*) jstr, 419 void dvmCreateCstrFromStringRegion(StringObject* jstr, int start, int len, 424 data = dvmStringChars(jstr) + start; 433 int dvmStringUtf8ByteLen(StringObject* jstr) 441 if (jstr == NULL) 444 len = dvmGetFieldInt((Object*) jstr, STRING_FIELDOFF_COUNT) [all...] |
Jni.c | 2956 StringObject* jstr = dvmCreateStringFromUnicode(unicodeChars, len); local [all...] |
CheckJni.c | 565 static void checkString(JNIEnv* env, jstring jstr, const char* func) 570 Object* obj = dvmDecodeIndirectRef(env, jstr); 584 jstr, func); 586 LOGW("JNI WARNING: jstring %p is bogus (%s)\n", jstr, func); 594 checkObject(env, jstr, func); [all...] |
/frameworks/base/core/jni/ |
android_pim_EventRecurrence.cpp | 84 EventRecurrence_parse(JNIEnv* env, jobject This, jstring jstr)
86 if (jstr == NULL) {
92 const jchar* jchars = env->GetStringChars(jstr, &isCopy);
93 jsize len = env->GetStringLength(jstr);
95 env->ReleaseStringChars(jstr, jchars);
|
/libcore/sqlite-jdbc/src/main/native/ |
sqlite_jni.c | 124 jstring jstr; /* resulting Java string or 0 */ member in struct:__anon11202 181 jstrlen(const jchar *jstr) 185 if (jstr) { 186 while (*jstr++) { 391 dest->jstr = 0; 393 return dest->jstr; 396 dest->jstr = (*env)->NewStringUTF(env, src); 397 return dest->jstr; 404 dest->jstr = 408 dest->jstr [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 132 jstring jstr = 0; local 134 jstr = env->NewStringUTF(cstr); 136 return jstr;
|