/dalvik/vm/oo/ |
D | ObjectInlines.h | 27 INLINE void dvmSetObjectArrayElement(const ArrayObject* obj, int index, in dvmSetObjectArrayElement() 50 INLINE JValue* dvmFieldPtr(const Object* obj, int offset) { in dvmFieldPtr() 54 INLINE bool dvmGetFieldBoolean(const Object* obj, int offset) { in dvmGetFieldBoolean() 57 INLINE s1 dvmGetFieldByte(const Object* obj, int offset) { in dvmGetFieldByte() 60 INLINE s2 dvmGetFieldShort(const Object* obj, int offset) { in dvmGetFieldShort() 63 INLINE u2 dvmGetFieldChar(const Object* obj, int offset) { in dvmGetFieldChar() 66 INLINE s4 dvmGetFieldInt(const Object* obj, int offset) { in dvmGetFieldInt() 69 INLINE s8 dvmGetFieldLong(const Object* obj, int offset) { in dvmGetFieldLong() 72 INLINE float dvmGetFieldFloat(const Object* obj, int offset) { in dvmGetFieldFloat() 75 INLINE double dvmGetFieldDouble(const Object* obj, int offset) { in dvmGetFieldDouble() [all …]
|
D | Object.h | 660 INLINE int dvmFindFieldOffset(const ClassObject* clazz, in dvmFindFieldOffset() 673 INLINE bool dvmIsPublicMethod(const Method* method) { in dvmIsPublicMethod() 676 INLINE bool dvmIsPrivateMethod(const Method* method) { in dvmIsPrivateMethod() 679 INLINE bool dvmIsStaticMethod(const Method* method) { in dvmIsStaticMethod() 682 INLINE bool dvmIsSynchronizedMethod(const Method* method) { in dvmIsSynchronizedMethod() 685 INLINE bool dvmIsDeclaredSynchronizedMethod(const Method* method) { in dvmIsDeclaredSynchronizedMethod() 688 INLINE bool dvmIsFinalMethod(const Method* method) { in dvmIsFinalMethod() 691 INLINE bool dvmIsNativeMethod(const Method* method) { in dvmIsNativeMethod() 694 INLINE bool dvmIsAbstractMethod(const Method* method) { in dvmIsAbstractMethod() 697 INLINE bool dvmIsSyntheticMethod(const Method* method) { in dvmIsSyntheticMethod() [all …]
|
D | Array.h | 74 INLINE bool dvmIsArray(const ArrayObject* arrayObj) in dvmIsArray() 84 INLINE bool dvmIsObjectArrayClass(const ClassObject* clazz) in dvmIsObjectArrayClass() 96 INLINE bool dvmIsObjectArray(const ArrayObject* arrayObj) in dvmIsObjectArray() 107 INLINE bool dvmIsArrayClass(const ClassObject* clazz) in dvmIsArrayClass()
|
D | Class.h | 123 INLINE bool dvmIsClassInitialized(const ClassObject* clazz) { in dvmIsClassInitialized() 192 INLINE char* dvmCopyDescriptorStringFromMethod(const Method* method, in dvmCopyDescriptorStringFromMethod() 206 INLINE int dvmComputeMethodArgsSize(const Method* method) in dvmComputeMethodArgsSize() 215 INLINE int dvmCompareMethodProtos(const Method* method1, in dvmCompareMethodProtos() 226 INLINE int dvmCompareMethodParameterProtos(const Method* method1, in dvmCompareMethodParameterProtos() 254 INLINE int dvmCompareDescriptorAndMethodProto(const char* descriptor, in dvmCompareDescriptorAndMethodProto()
|
D | TypeCheck.h | 36 INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz) in dvmInstanceof() 58 INLINE int dvmIsSubClass(const ClassObject* sub, const ClassObject* clazz) { in dvmIsSubClass()
|
/dalvik/vm/ |
D | Bits.h | 33 INLINE u1 get1(unsigned const char* pSrc) in get1() 41 INLINE u2 get2BE(unsigned char const* pSrc) in get2BE() 49 INLINE u4 get4BE(unsigned char const* pSrc) in get4BE() 57 INLINE u8 get8BE(unsigned char const* pSrc) in get8BE() 76 INLINE u2 get2LE(unsigned char const* pSrc) in get2LE() 84 INLINE u4 get4LE(unsigned char const* pSrc) in get4LE() 99 INLINE u8 get8LE(unsigned char const* pSrc) in get8LE() 117 INLINE u1 read1(unsigned const char** ppSrc) in read1() 125 INLINE u2 read2BE(unsigned char const** ppSrc) in read2BE() 136 INLINE u4 read4BE(unsigned char const** ppSrc) in read4BE() [all …]
|
D | DvmDex.h | 107 INLINE struct StringObject* dvmDexGetResolvedString(const DvmDex* pDvmDex, in dvmDexGetResolvedString() 113 INLINE struct ClassObject* dvmDexGetResolvedClass(const DvmDex* pDvmDex, in dvmDexGetResolvedClass() 119 INLINE struct Method* dvmDexGetResolvedMethod(const DvmDex* pDvmDex, in dvmDexGetResolvedMethod() 125 INLINE struct Field* dvmDexGetResolvedField(const DvmDex* pDvmDex, in dvmDexGetResolvedField() 136 INLINE void dvmDexSetResolvedString(DvmDex* pDvmDex, u4 stringIdx, in dvmDexSetResolvedString() 142 INLINE void dvmDexSetResolvedClass(DvmDex* pDvmDex, u4 classIdx, in dvmDexSetResolvedClass() 148 INLINE void dvmDexSetResolvedMethod(DvmDex* pDvmDex, u4 methodIdx, in dvmDexSetResolvedMethod() 154 INLINE void dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, in dvmDexSetResolvedField()
|
D | Hash.h | 114 INLINE void dvmHashTableLock(HashTable* pHashTable) { in dvmHashTableLock() 117 INLINE void dvmHashTableUnlock(HashTable* pHashTable) { in dvmHashTableUnlock() 124 INLINE int dvmHashTableNumEntries(HashTable* pHashTable) { in dvmHashTableNumEntries() 131 INLINE int dvmHashTableMemUsage(HashTable* pHashTable) { in dvmHashTableMemUsage() 187 INLINE void dvmHashIterNext(HashIter* pIter) { in dvmHashIterNext() 197 INLINE void dvmHashIterBegin(HashTable* pHashTable, HashIter* pIter) { in dvmHashIterBegin() 202 INLINE bool dvmHashIterDone(HashIter* pIter) { in dvmHashIterDone() 205 INLINE void* dvmHashIterData(HashIter* pIter) { in dvmHashIterData()
|
D | Misc.h | 48 INLINE float dvmU4ToFloat(u4 val) { in dvmU4ToFloat() 53 INLINE u4 dvmFloatToU4(float val) { in dvmFloatToU4() 77 INLINE void dvmPrintHexDump(const void* vaddr, size_t length) { in dvmPrintHexDump() 85 INLINE void dvmPrintHexDumpDbg(const void* vaddr, size_t length,const char* tag) in dvmPrintHexDumpDbg() 218 INLINE u8 dvmGetRelativeTimeUsec(void) { in dvmGetRelativeTimeUsec() 230 INLINE u4 dvmGetRelativeTimeMsec(void) { in dvmGetRelativeTimeMsec() 249 INLINE u8 dvmGetThreadCpuTimeUsec(void) { in dvmGetThreadCpuTimeUsec() 257 INLINE u8 dvmGetOtherThreadCpuTimeUsec(pthread_t thread) { in dvmGetOtherThreadCpuTimeUsec()
|
D | Exception.h | 43 INLINE void dvmThrowException(ClassObject* exceptionClass, in dvmThrowException() 60 INLINE void dvmThrowExceptionFmt(ClassObject* exceptionClass, in dvmThrowExceptionFmt() 82 INLINE void dvmThrowExceptionWithClassMessage( in dvmThrowExceptionWithClassMessage() 93 INLINE Object* dvmGetException(Thread* self) { in dvmGetException() 100 INLINE void dvmSetException(Thread* self, Object* exception) in dvmSetException() 113 INLINE void dvmClearException(Thread* self) { in dvmClearException() 128 INLINE bool dvmCheckException(Thread* self) { in dvmCheckException() 189 INLINE Object* dvmFillInStackTrace(Thread* thread) { in dvmFillInStackTrace() 194 INLINE int* dvmFillInStackTraceRaw(Thread* thread, size_t* pCount) { in dvmFillInStackTraceRaw()
|
D | Inlines.h | 29 # define INLINE extern __inline__ macro 31 # define INLINE macro
|
D | Thread.h | 395 INLINE bool dvmCheckSuspendQuick(Thread* self) { in dvmCheckSuspendQuick() 416 INLINE void dvmInitMutex(pthread_mutex_t* pMutex) in dvmInitMutex() 435 INLINE void dvmLockMutex(pthread_mutex_t* pMutex) in dvmLockMutex() 444 INLINE int dvmTryLockMutex(pthread_mutex_t* pMutex) in dvmTryLockMutex() 454 INLINE void dvmUnlockMutex(pthread_mutex_t* pMutex) in dvmUnlockMutex() 463 INLINE void dvmDestroyMutex(pthread_mutex_t* pMutex) in dvmDestroyMutex() 469 INLINE void dvmBroadcastCond(pthread_cond_t* pCond) in dvmBroadcastCond() 475 INLINE void dvmSignalCond(pthread_cond_t* pCond) in dvmSignalCond() 481 INLINE void dvmWaitCond(pthread_cond_t* pCond, pthread_mutex_t* pMutex) in dvmWaitCond() 560 INLINE JNIEnv* dvmGetThreadJNIEnv(Thread* self) { return self->jniEnv; } in dvmGetThreadJNIEnv() [all …]
|
D | RawDexFile.h | 62 INLINE DvmDex* dvmGetRawDexFileDex(RawDexFile* pRawDexFile) { in dvmGetRawDexFileDex() 67 INLINE const char* dvmGetRawDexFileCacheFileName(RawDexFile* pRawDexFile) { in dvmGetRawDexFileCacheFileName()
|
D | JarFile.h | 48 INLINE DvmDex* dvmGetJarFileDex(JarFile* pJarFile) { in dvmGetJarFileDex() 53 INLINE const char* dvmGetJarFileCacheFileName(JarFile* pJarFile) { in dvmGetJarFileCacheFileName()
|
D | ReferenceTable.h | 68 INLINE size_t dvmReferenceTableEntries(const ReferenceTable* pRef) in dvmReferenceTableEntries() 77 INLINE size_t dvmIsReferenceTableFull(const ReferenceTable* pRef) in dvmIsReferenceTableFull()
|
D | LinearAlloc.h | 80 INLINE void dvmLinearReadOnly(Object* classLoader, void* mem) in dvmLinearReadOnly() 89 INLINE void dvmLinearReadWrite(Object* classLoader, void* mem) in dvmLinearReadWrite()
|
D | JniInternal.h | 92 INLINE void dvmPopJniLocals(Thread* self, StackSaveArea* saveArea) in dvmPopJniLocals() 100 INLINE void dvmSetJniEnvThreadId(JNIEnv* pEnv, Thread* self) in dvmSetJniEnvThreadId()
|
D | PointerSet.h | 75 INLINE int dvmPointerSetFind(const PointerSet* pSet, const void* ptr) { in dvmPointerSetFind()
|
D | Native.h | 97 INLINE s8 dvmGetArgLong(const u4* args, int elem) in dvmGetArgLong()
|
/dalvik/vm/jdwp/ |
D | Jdwp.h | 50 INLINE FieldId dvmReadFieldId(const u1** pBuf) { return read4BE(pBuf); } in dvmReadFieldId() 51 INLINE MethodId dvmReadMethodId(const u1** pBuf) { return read4BE(pBuf); } in dvmReadMethodId() 52 INLINE ObjectId dvmReadObjectId(const u1** pBuf) { return read8BE(pBuf); } in dvmReadObjectId() 53 INLINE RefTypeId dvmReadRefTypeId(const u1** pBuf) { return read8BE(pBuf); } in dvmReadRefTypeId() 54 INLINE FrameId dvmReadFrameId(const u1** pBuf) { return read8BE(pBuf); } in dvmReadFrameId() 55 INLINE void dvmSetFieldId(u1* buf, FieldId val) { return set4BE(buf, val); } in dvmSetFieldId() 56 INLINE void dvmSetMethodId(u1* buf, MethodId val) { return set4BE(buf, val); } in dvmSetMethodId() 57 INLINE void dvmSetObjectId(u1* buf, ObjectId val) { return set8BE(buf, val); } in dvmSetObjectId() 58 INLINE void dvmSetRefTypeId(u1* buf, RefTypeId val) { return set8BE(buf, val); } in dvmSetRefTypeId() 59 INLINE void dvmSetFrameId(u1* buf, FrameId val) { return set8BE(buf, val); } in dvmSetFrameId() [all …]
|
D | JdwpPriv.h | 151 INLINE bool dvmJdwpNetStartup(JdwpState* state, in dvmJdwpNetStartup() 156 INLINE bool dvmJdwpAcceptConnection(JdwpState* state) { in dvmJdwpAcceptConnection() 159 INLINE bool dvmJdwpEstablishConnection(JdwpState* state) { in dvmJdwpEstablishConnection() 162 INLINE void dvmJdwpCloseConnection(JdwpState* state) { in dvmJdwpCloseConnection() 165 INLINE void dvmJdwpNetShutdown(JdwpState* state) { in dvmJdwpNetShutdown() 168 INLINE void dvmJdwpNetFree(JdwpState* state) { in dvmJdwpNetFree() 171 INLINE bool dvmJdwpIsTransportDefined(JdwpState* state) { in dvmJdwpIsTransportDefined() 174 INLINE bool dvmJdwpIsConnected(JdwpState* state) { in dvmJdwpIsConnected() 177 INLINE bool dvmJdwpAwaitingHandshake(JdwpState* state) { in dvmJdwpAwaitingHandshake() 180 INLINE bool dvmJdwpProcessIncoming(JdwpState* state) { in dvmJdwpProcessIncoming() [all …]
|
/dalvik/vm/analysis/ |
D | CodeVerify.h | 221 INLINE bool dvmInsnIsOpcode(const InsnFlags* insnFlags, int addr) { in dvmInsnIsOpcode() 228 INLINE int dvmInsnGetWidth(const InsnFlags* insnFlags, int addr) { in dvmInsnGetWidth() 235 INLINE bool dvmInsnIsChanged(const InsnFlags* insnFlags, int addr) { in dvmInsnIsChanged() 238 INLINE void dvmInsnSetChanged(InsnFlags* insnFlags, int addr, bool changed) in dvmInsnSetChanged() 249 INLINE bool dvmInsnIsVisited(const InsnFlags* insnFlags, int addr) { in dvmInsnIsVisited() 252 INLINE void dvmInsnSetVisited(InsnFlags* insnFlags, int addr, bool changed) in dvmInsnSetVisited() 263 INLINE bool dvmInsnIsVisitedOrChanged(const InsnFlags* insnFlags, int addr) { in dvmInsnIsVisitedOrChanged() 270 INLINE bool dvmInsnIsInTry(const InsnFlags* insnFlags, int addr) { in dvmInsnIsInTry() 273 INLINE void dvmInsnSetInTry(InsnFlags* insnFlags, int addr, bool inTry) in dvmInsnSetInTry() 285 INLINE bool dvmInsnIsBranchTarget(const InsnFlags* insnFlags, int addr) { in dvmInsnIsBranchTarget() [all …]
|
D | RegisterMap.h | 69 INLINE RegisterMapFormat dvmRegisterMapGetFormat(const RegisterMap* pMap) { in dvmRegisterMapGetFormat() 76 INLINE void dvmRegisterMapSetFormat(RegisterMap* pMap, RegisterMapFormat format) in dvmRegisterMapSetFormat() 85 INLINE bool dvmRegisterMapGetOnHeap(const RegisterMap* pMap) { in dvmRegisterMapGetOnHeap() 92 INLINE u1 dvmRegisterMapGetRegWidth(const RegisterMap* pMap) { in dvmRegisterMapGetRegWidth() 99 INLINE void dvmRegisterMapSetRegWidth(RegisterMap* pMap, int regWidth) { in dvmRegisterMapSetRegWidth() 106 INLINE void dvmRegisterMapSetOnHeap(RegisterMap* pMap, bool val) { in dvmRegisterMapSetOnHeap() 116 INLINE u2 dvmRegisterMapGetNumEntries(const RegisterMap* pMap) { in dvmRegisterMapGetNumEntries() 123 INLINE void dvmRegisterMapSetNumEntries(RegisterMap* pMap, u2 numEntries) { in dvmRegisterMapSetNumEntries() 148 INLINE void dvmReleaseRegisterMapLine(const RegisterMap* pMap, const u1* data) in dvmReleaseRegisterMapLine() 250 INLINE const RegisterMap* dvmGetExpandedRegisterMap(Method* method) in dvmGetExpandedRegisterMap()
|
/dalvik/vm/alloc/ |
D | WriteBarrier.h | 29 INLINE void dvmWriteBarrierField(const Object *obj, void *addr) in dvmWriteBarrierField() 37 INLINE void dvmWriteBarrierObject(const Object *obj) in dvmWriteBarrierObject() 47 INLINE void dvmWriteBarrierArray(const ArrayObject *obj, in dvmWriteBarrierArray()
|
/dalvik/vm/mterp/common/ |
D | FindInterface.h | 29 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache()
|