/dalvik/vm/ |
H A D | Intern.h | 24 StringObject* dvmLookupInternedString(StringObject* strObj); 25 StringObject* dvmLookupImmortalInternedString(StringObject* strObj); 26 bool dvmIsWeakInternedString(StringObject* strObj);
|
H A D | Intern.cpp | 71 static StringObject* lookupInternedString(StringObject* strObj, bool isLiteral) argument 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) argument 144 dvmLookupImmortalInternedString(StringObject* strObj) argument 153 dvmIsWeakInternedString(StringObject* strObj) argument [all...] |
H A D | UtfString.h | 60 u4 dvmComputeStringHash(StringObject* strObj);
|
H A D | UtfString.cpp | 207 u4 dvmComputeStringHash(StringObject* strObj) { argument 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);
|
H A D | InlineNative.cpp | 447 static inline int indexOfCommon(Object* strObj, int ch, int start) argument 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);
|
H A D | Jni.cpp | 459 StringObject* strObj = (StringObject*) obj; local 460 char* str = dvmCreateCstrFromString(strObj); 2119 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2120 return strObj->length(); 2133 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2134 ArrayObject* strChars = strObj->array(); 2138 const u2* data = strObj->chars(); 2150 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2151 ArrayObject* strChars = strObj->array(); 2178 StringObject* strObj local 2208 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2566 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2581 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2626 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local 2643 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(ts.self(), jstr); local [all...] |
H A D | Debugger.cpp | 1089 StringObject* strObj; local 1091 strObj = dvmCreateStringFromCstr(str); 1092 dvmReleaseTrackedAlloc((Object*) strObj, NULL); 1093 return objectToObjectId((Object*) strObj); 1678 StringObject* strObj = (StringObject*) objectIdToObject(strId); local 1680 return dvmCreateCstrFromString(strObj);
|
H A D | CheckJni.cpp | 1709 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(dvmThreadSelf(), string); local 1710 int byteCount = strObj->length() * 2; 1952 StringObject* strObj = (StringObject*) dvmDecodeIndirectRef(dvmThreadSelf(), string); local 1953 int byteCount = strObj->length() * 2;
|
/dalvik/vm/mterp/c/ |
H A D | OP_CONST_STRING.cpp | 3 StringObject* strObj; local 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);
|
H A D | OP_CONST_STRING_JUMBO.cpp | 3 StringObject* strObj; local 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/ |
H A D | Resolve.cpp | 520 StringObject* strObj; local 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;
|
/dalvik/vm/native/ |
H A D | dalvik_system_VMRuntime.cpp | 255 StringObject* strObj = *(StringObject**) addr; local 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/ |
H A D | InterpC-allstubs.cpp | 1447 StringObject* strObj; local 1452 strObj = dvmDexGetResolvedString(methodClassDex, ref); 1453 if (strObj == NULL) { 1455 strObj = dvmResolveString(curMethod->clazz, ref); 1456 if (strObj == NULL) 1459 SET_REGISTER(vdst, (u4) strObj); 1467 StringObject* strObj; local 1474 strObj = dvmDexGetResolvedString(methodClassDex, tmp); 1475 if (strObj == NULL) { 1477 strObj [all...] |
H A D | InterpC-portable.cpp | 1458 StringObject* strObj; local 1463 strObj = dvmDexGetResolvedString(methodClassDex, ref); 1464 if (strObj == NULL) { 1466 strObj = dvmResolveString(curMethod->clazz, ref); 1467 if (strObj == NULL) 1470 SET_REGISTER(vdst, (u4) strObj); 1478 StringObject* strObj; local 1485 strObj = dvmDexGetResolvedString(methodClassDex, tmp); 1486 if (strObj == NULL) { 1488 strObj [all...] |