Home
last modified time | relevance | path

Searched refs:StringObject (Results 1 – 25 of 46) sorted by relevance

12

/dalvik/vm/
DIntern.cpp54 static StringObject* lookupString(HashTable* table, u4 key, StringObject* value) in lookupString()
58 return (StringObject*)entry; in lookupString()
61 static StringObject* insertString(HashTable* table, u4 key, StringObject* value) in insertString()
64 value = (StringObject*)dvmCloneObject(value, ALLOC_NON_MOVING); in insertString()
68 return (StringObject*)entry; in insertString()
71 static StringObject* lookupInternedString(StringObject* strObj, bool isLiteral) in lookupInternedString()
73 StringObject* found; in lookupInternedString()
82 StringObject* literal = lookupString(gDvm.literalStrings, key, strObj); in lookupInternedString()
93 StringObject* interned = lookupString(gDvm.internedStrings, key, strObj); in lookupInternedString()
135 StringObject* dvmLookupInternedString(StringObject* strObj) in dvmLookupInternedString()
[all …]
DIntern.h24 StringObject* dvmLookupInternedString(StringObject* strObj);
25 StringObject* dvmLookupImmortalInternedString(StringObject* strObj);
26 bool dvmIsWeakInternedString(StringObject* strObj);
DUtfString.h60 u4 dvmComputeStringHash(StringObject* strObj);
79 StringObject* dvmCreateStringFromCstr(const char* utf8Str);
88 StringObject* dvmCreateStringFromCstr(const std::string& utf8Str);
98 StringObject* dvmCreateStringFromCstrAndLength(const char* utf8Str,
118 StringObject* dvmCreateStringFromUnicode(const u2* unichars, int len);
126 char* dvmCreateCstrFromString(const StringObject* jstr);
132 void dvmGetStringUtfRegion(const StringObject* jstr,
DUtfString.cpp37 static StringObject* makeStringObject(u4 charsLength, ArrayObject** pChars) in makeStringObject()
73 return (StringObject*) result; in makeStringObject()
207 u4 dvmComputeStringHash(StringObject* strObj) { in dvmComputeStringHash()
221 StringObject* dvmCreateStringFromCstr(const char* utf8Str) { in dvmCreateStringFromCstr()
226 StringObject* dvmCreateStringFromCstr(const std::string& utf8Str) { in dvmCreateStringFromCstr()
238 StringObject* dvmCreateStringFromCstrAndLength(const char* utf8Str, in dvmCreateStringFromCstrAndLength()
244 StringObject* newObj = makeStringObject(utf16Length, &chars); in dvmCreateStringFromCstrAndLength()
260 StringObject* dvmCreateStringFromUnicode(const u2* unichars, int len) in dvmCreateStringFromUnicode()
266 StringObject* newObj = makeStringObject(len, &chars); in dvmCreateStringFromUnicode()
284 char* dvmCreateCstrFromString(const StringObject* jstr) in dvmCreateCstrFromString()
[all …]
DDvmDex.h31 struct StringObject;
45 struct StringObject** pResStrings;
107 INLINE struct StringObject* dvmDexGetResolvedString(const DvmDex* pDvmDex, in dvmDexGetResolvedString()
137 struct StringObject* str) in dvmDexSetResolvedString()
DDdm.h52 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName);
DDvmDex.cpp49 stringSize = pHeader->stringIdsSize * sizeof(struct StringObject*); in allocateAuxStructures()
68 pDvmDex->pResStrings = (struct StringObject**)blob; in allocateAuxStructures()
187 totalSize = pDvmDex->pHeader->stringIdsSize * sizeof(struct StringObject*); in dvmDexFileFree()
DInlineNative.cpp158 static void badMatch(StringObject* thisStrObj, StringObject* compStrObj, in badMatch()
260 badMatch((StringObject*) arg0, (StringObject*) arg1, in javaLangString_compareTo()
370 badMatch((StringObject*) arg0, (StringObject*) arg1, in javaLangString_equals()
DDdm.cpp253 StringObject* nameObj = NULL; in dvmDdmSendThreadNotification()
257 nameObj = (StringObject*) in dvmDdmSendThreadNotification()
307 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName) in dvmDdmSendThreadNameChange()
DException.cpp259 StringObject* msgStr = NULL; in initException()
1011 StringObject* className = dvmCreateStringFromCstr(dotName); in dvmFillStackTraceElements()
1013 StringObject* methodName = dvmCreateStringFromCstr(meth->name); in dvmFillStackTraceElements()
1016 StringObject* fileName = (sourceFile != NULL) ? dvmCreateStringFromCstr(sourceFile) : NULL; in dvmFillStackTraceElements()
1072 static StringObject* getExceptionMessage(Object* exception) in getExceptionMessage()
1076 StringObject* messageStr = NULL; in getExceptionMessage()
1097 messageStr = (StringObject*) result.l; in getExceptionMessage()
1125 StringObject* messageStr = getExceptionMessage(exception); in logStackTraceOf()
/dalvik/vm/native/
Djava_lang_VMClassLoader.cpp35 StringObject* nameObj = (StringObject*) args[1]; in Dalvik_java_lang_VMClassLoader_defineClass()
82 StringObject* nameObj = (StringObject*) args[1]; in Dalvik_java_lang_VMClassLoader_findLoadedClass()
134 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_java_lang_VMClassLoader_getBootClassPathResource()
135 StringObject* result; in Dalvik_java_lang_VMClassLoader_getBootClassPathResource()
174 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_java_lang_VMClassLoader_loadClass()
Djava_lang_String.cpp45 StringObject* str = (StringObject*) args[0]; in String_intern()
46 StringObject* interned = dvmLookupInternedString(str); in String_intern()
Djava_lang_reflect_Proxy.cpp34 StringObject* str = (StringObject*) args[0]; in Dalvik_java_lang_reflect_Proxy_generateProxy()
Djava_lang_Runtime.cpp71 StringObject* fileNameObj = (StringObject*) args[0]; in Dalvik_java_lang_Runtime_nativeLoad()
74 StringObject* result = NULL; in Dalvik_java_lang_Runtime_nativeLoad()
Ddalvik_system_DexFile.cpp154 StringObject* sourceNameObj = (StringObject*) args[0]; in Dalvik_dalvik_system_DexFile_openDexFile()
155 StringObject* outputNameObj = (StringObject*) args[1]; in Dalvik_dalvik_system_DexFile_openDexFile()
351 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_dalvik_system_DexFile_defineClass()
443 StringObject* str = dvmCreateStringFromCstr(className); in Dalvik_dalvik_system_DexFile_getClassNameList()
473 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
Djava_lang_Class.cpp125 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_java_lang_Class_classForName()
266 StringObject* nameObj = (StringObject*) args[1]; in Dalvik_java_lang_Class_getDeclaredField()
297 StringObject* nameObj = (StringObject*) args[1]; in Dalvik_java_lang_Class_getDeclaredConstructorOrMethod()
341 StringObject* className = NULL; in Dalvik_java_lang_Class_getModifiers()
366 StringObject* nameObj; in Dalvik_java_lang_Class_getNameNative()
686 StringObject* className = NULL; in Dalvik_java_lang_Class_isAnonymousClass()
749 StringObject* nameObj; in Dalvik_java_lang_Class_getInnerClassName()
Ddalvik_system_VMDebug.cpp238 StringObject* traceFileStr = (StringObject*) args[0]; in Dalvik_dalvik_system_VMDebug_startMethodTracingNative()
499 StringObject* fileNameStr = (StringObject*) args[0]; in Dalvik_dalvik_system_VMDebug_dumpHprofData()
586 StringObject* classAndMethodDescStr = (StringObject*) args[0]; in Dalvik_dalvik_system_VMDebug_cacheRegisterMap()
Djava_lang_VMThread.cpp169 StringObject* nameStr = (StringObject*) args[1]; in Dalvik_java_lang_VMThread_nameChanged()
Djava_lang_System.cpp339 StringObject* nameObj = (StringObject*) args[0]; in Dalvik_java_lang_System_mapLibraryName()
340 StringObject* result = NULL; in Dalvik_java_lang_System_mapLibraryName()
DInternalNativePriv.h62 ClassObject* dvmFindClassByName(StringObject* nameObj, Object* loader,
/dalvik/vm/reflect/
DReflect.h37 Object* dvmGetDeclaredField(ClassObject* clazz, StringObject* nameObj);
57 StringObject* nameObj, ArrayObject* args);
125 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces,
202 bool dvmGetInnerClass(const ClassObject* clazz, StringObject** pName,
/dalvik/vm/mterp/c/
DOP_CONST_STRING.cpp3 StringObject* strObj; in HANDLE_OPCODE()
DOP_CONST_STRING_JUMBO.cpp3 StringObject* strObj; in HANDLE_OPCODE()
/dalvik/vm/oo/
DResolve.h91 extern "C" StringObject* dvmResolveString(const ClassObject* referrer, u4 stringIdx);
DResolve.cpp510 StringObject* dvmResolveString(const ClassObject* referrer, u4 stringIdx) in dvmResolveString()
513 StringObject* strObj; in dvmResolveString()
514 StringObject* internStrObj; in dvmResolveString()

12