Lines Matching refs:jstr
2106 StringObject* jstr = dvmCreateStringFromUnicode(unicodeChars, len);
2107 if (jstr == NULL) {
2110 dvmReleaseTrackedAlloc((Object*) jstr, NULL);
2111 return (jstring) addLocalReference(ts.self(), (Object*) jstr);
2117 static jsize GetStringLength(JNIEnv* env, jstring jstr) {
2119 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2130 static const jchar* GetStringChars(JNIEnv* env, jstring jstr, jboolean* isCopy) {
2133 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2148 static void ReleaseStringChars(JNIEnv* env, jstring jstr, const jchar* chars) {
2150 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2176 static jsize GetStringUTFLength(JNIEnv* env, jstring jstr) {
2178 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2199 static const char* GetStringUTFChars(JNIEnv* env, jstring jstr, jboolean* isCopy) {
2201 if (jstr == NULL) {
2208 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2220 static void ReleaseStringUTFChars(JNIEnv* env, jstring jstr, const char* utf) {
2564 static void GetStringRegion(JNIEnv* env, jstring jstr, jsize start, jsize len, jchar* buf) {
2566 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2579 static void GetStringUTFRegion(JNIEnv* env, jstring jstr, jsize start, jsize len, char* buf) {
2581 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2623 static const jchar* GetStringCritical(JNIEnv* env, jstring jstr, jboolean* isCopy) {
2626 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);
2641 static void ReleaseStringCritical(JNIEnv* env, jstring jstr, const jchar* carray) {
2643 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr);