/dalvik/vm/ |
Intern.h | 24 StringObject* dvmLookupInternedString(StringObject* strObj); 25 StringObject* dvmLookupImmortalInternedString(StringObject* strObj); 26 bool dvmIsWeakInternedString(StringObject* strObj);
|
Intern.cpp | 71 static StringObject* lookupInternedString(StringObject* strObj, bool isLiteral) 75 assert(strObj != NULL); 76 u4 key = dvmComputeStringHash(strObj); 82 StringObject* literal = lookupString(gDvm.literalStrings, key, strObj); 93 StringObject* interned = lookupString(gDvm.internedStrings, key, strObj); 107 found = insertString(gDvm.literalStrings, key, strObj); 108 assert(found == strObj); 115 found = lookupString(gDvm.literalStrings, key, strObj); 121 found = insertString(gDvm.internedStrings, key, strObj); 135 StringObject* dvmLookupInternedString(StringObject* strObj) [all...] |
UtfString.h | 60 u4 dvmComputeStringHash(StringObject* strObj);
|
UtfString.cpp | 207 u4 dvmComputeStringHash(StringObject* strObj) { 208 int hashCode = dvmGetFieldInt(strObj, STRING_FIELDOFF_HASHCODE); 212 int len = dvmGetFieldInt(strObj, STRING_FIELDOFF_COUNT); 213 int offset = dvmGetFieldInt(strObj, STRING_FIELDOFF_OFFSET); 215 (ArrayObject*) dvmGetFieldObject(strObj, STRING_FIELDOFF_VALUE); 217 dvmSetFieldInt(strObj, STRING_FIELDOFF_HASHCODE, hashCode);
|
Jni.cpp | 459 StringObject* strObj = (StringObject*) obj; 460 char* str = dvmCreateCstrFromString(strObj); [all...] |
InlineNative.cpp | 447 static inline int indexOfCommon(Object* strObj, int ch, int start) 454 (ArrayObject*) dvmGetFieldObject(strObj, STRING_FIELDOFF_VALUE); 456 int offset = dvmGetFieldInt(strObj, STRING_FIELDOFF_OFFSET); 457 int count = dvmGetFieldInt(strObj, STRING_FIELDOFF_COUNT); 459 // (u4) strObj, ch, start, offset, count);
|
Debugger.cpp | 1089 StringObject* strObj; 1091 strObj = dvmCreateStringFromCstr(str); 1092 dvmReleaseTrackedAlloc((Object*) strObj, NULL); 1093 return objectToObjectId((Object*) strObj); [all...] |
CheckJni.cpp | [all...] |
/dalvik/vm/mterp/c/ |
OP_CONST_STRING.cpp | 3 StringObject* strObj; 8 strObj = dvmDexGetResolvedString(methodClassDex, ref); 9 if (strObj == NULL) { 11 strObj = dvmResolveString(curMethod->clazz, ref); 12 if (strObj == NULL) 15 SET_REGISTER(vdst, (u4) strObj);
|
OP_CONST_STRING_JUMBO.cpp | 3 StringObject* strObj; 10 strObj = dvmDexGetResolvedString(methodClassDex, tmp); 11 if (strObj == NULL) { 13 strObj = dvmResolveString(curMethod->clazz, tmp); 14 if (strObj == NULL) 17 SET_REGISTER(vdst, (u4) strObj);
|
/dalvik/vm/oo/ |
Resolve.cpp | 520 StringObject* strObj; 532 strObj = dvmCreateStringFromCstrAndLength(utf8, utf16Size); 533 if (strObj == NULL) { 550 internStrObj = dvmLookupImmortalInternedString(strObj); 551 dvmReleaseTrackedAlloc((Object*) strObj, NULL); 552 strObj = internStrObj; 553 if (strObj == NULL) { 559 dvmDexSetResolvedString(pDvmDex, stringIdx, strObj); 562 return strObj;
|
/frameworks/base/core/jni/ |
BindTest.cpp | 180 Object *strObj = JARG_get_obj(4); 192 result = executeMethod (strObj, lookupVirtualMethod(strObj,mb_Java_Lang_Object_Equals),
|
android_text_format_Time.cpp | 397 static jboolean android_text_format_Time_parse(JNIEnv* env, jobject This, jstring strObj) 399 jsize len = env->GetStringLength(strObj); 408 ScopedStringChars s(env, strObj); 478 jstring strObj) 480 jsize len = env->GetStringLength(strObj); 489 ScopedStringChars s(env, strObj);
|
/dalvik/vm/native/ |
dalvik_system_VMRuntime.cpp | 255 StringObject* strObj = *(StringObject**) addr; 256 LOG_FATAL_IF(strObj->clazz != gDvm.classJavaLangString, "Unknown class for supposed string"); 257 char* newStr = dvmCreateCstrFromString(strObj); 259 table[newStr] = strObj;
|
/dalvik/vm/mterp/out/ |
InterpC-allstubs.cpp | [all...] |
InterpC-portable.cpp | [all...] |