/dalvik/vm/jdwp/ |
H A D | JdwpMain.cpp | 76 JdwpState* state = NULL; local 81 state = (JdwpState*) calloc(1, sizeof(JdwpState)); 83 state->params = *pParams; 85 state->requestSerial = 0x10000000; 86 state->eventSerial = 0x20000000; 87 dvmDbgInitMutex(&state->threadStartLock); 88 dvmDbgInitMutex(&state->attachLock); 89 dvmDbgInitMutex(&state->serialLock); 90 dvmDbgInitMutex(&state->eventLock); 91 state 188 dvmJdwpResetState(JdwpState* state) argument 208 dvmJdwpShutdown(JdwpState* state) argument 247 dvmJdwpIsActive(JdwpState* state) argument 258 JdwpState* state = (JdwpState*) arg; local 377 dvmJdwpGetDebugThread(JdwpState* state) argument 428 dvmJdwpLastDebuggerActivity(JdwpState* state) argument [all...] |
H A D | JdwpPriv.h | 52 bool (*startup)(struct JdwpState* state, const JdwpStartupParams* pParams); 53 bool (*accept)(struct JdwpState* state); 54 bool (*establish)(struct JdwpState* state); 55 void (*close)(struct JdwpState* state); 56 void (*shutdown)(struct JdwpState* state); 57 void (*free)(struct JdwpState* state); 58 bool (*isConnected)(struct JdwpState* state); 59 bool (*awaitingHandshake)(struct JdwpState* state); 60 bool (*processIncoming)(struct JdwpState* state); 61 bool (*sendRequest)(struct JdwpState* state, ExpandBu 151 dvmJdwpNetStartup(JdwpState* state, const JdwpStartupParams* pParams) argument 156 dvmJdwpAcceptConnection(JdwpState* state) argument 159 dvmJdwpEstablishConnection(JdwpState* state) argument 162 dvmJdwpCloseConnection(JdwpState* state) argument 165 dvmJdwpNetShutdown(JdwpState* state) argument 168 dvmJdwpNetFree(JdwpState* state) argument 171 dvmJdwpIsTransportDefined(JdwpState* state) argument 174 dvmJdwpIsConnected(JdwpState* state) argument 177 dvmJdwpAwaitingHandshake(JdwpState* state) argument 180 dvmJdwpProcessIncoming(JdwpState* state) argument 183 dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) argument 186 dvmJdwpSendBufferedRequest(JdwpState* state, const struct iovec* iov, int iovcnt) argument [all...] |
H A D | JdwpEvent.cpp | 82 before sleeping, the switch back to RUNNING state when we get the token 88 We need to change to VMWAIT state at the *start* of posting an event, 119 u4 dvmJdwpNextRequestSerial(JdwpState* state) argument 121 dvmDbgLockMutex(&state->serialLock); 122 u4 result = state->requestSerial++; 123 dvmDbgUnlockMutex(&state->serialLock); 132 u4 dvmJdwpNextEventSerial(JdwpState* state) argument 134 dvmDbgLockMutex(&state->serialLock); 135 u4 result = state->eventSerial++; 136 dvmDbgUnlockMutex(&state 144 lockEventMutex(JdwpState* state) argument 154 unlockEventMutex(JdwpState* state) argument 186 dvmJdwpRegisterEvent(JdwpState* state, JdwpEvent* pEvent) argument 238 unregisterEvent(JdwpState* state, JdwpEvent* pEvent) argument 281 dvmJdwpUnregisterEventById(JdwpState* state, u4 requestId) argument 305 dvmJdwpUnregisterAll(JdwpState* state) argument 377 allocMatchList(JdwpState* state) argument 386 cleanupMatchList(JdwpState* state, JdwpEvent** matchList, int matchCount) argument 461 modsMatch(JdwpState* state, JdwpEvent* pEvent, ModBasket* basket) argument 538 findMatchingEvents(JdwpState* state, JdwpEventKind eventKind, ModBasket* basket, JdwpEvent** matchList, int* pMatchCount) argument 580 suspendByPolicy(JdwpState* state, JdwpSuspendPolicy suspendPolicy) argument 638 invokeInProgress(JdwpState* state) argument 654 dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId) argument 683 dvmJdwpClearWaitForEventThread(JdwpState* state) argument 720 eventFinish(JdwpState* state, ExpandBuf* pReq) argument 744 dvmJdwpPostVMStart(JdwpState* state, bool suspend) argument 809 dvmJdwpPostLocationEvent(JdwpState* state, const JdwpLocation* pLoc, ObjectId thisPtr, int eventFlags) argument 919 dvmJdwpPostThreadChange(JdwpState* state, ObjectId threadId, bool start) argument 995 dvmJdwpPostVMDeath(JdwpState* state) argument 1021 dvmJdwpPostException(JdwpState* state, const JdwpLocation* pThrowLoc, ObjectId exceptionId, RefTypeId exceptionClassId, const JdwpLocation* pCatchLoc, ObjectId thisPtr) argument 1120 dvmJdwpPostClassPrepare(JdwpState* state, int tag, RefTypeId refTypeId, const char* signature, int status) argument 1213 dvmJdwpPostClassUnload(JdwpState* state, RefTypeId refTypeId) argument 1226 dvmJdwpPostFieldAccess(JdwpState* state, int STUFF, ObjectId thisPtr, bool modified, JValue newValue) argument 1240 dvmJdwpDdmSendChunkV(JdwpState* state, int type, const struct iovec* iov, int iovcnt) argument [all...] |
H A D | Jdwp.h | 121 void dvmJdwpShutdown(JdwpState* state); 126 bool dvmJdwpIsActive(JdwpState* state); 132 pthread_t dvmJdwpGetDebugThread(JdwpState* state); 137 s8 dvmJdwpLastDebuggerActivity(JdwpState* state); 158 //ObjectId dvmJdwpGetWaitForEventThread(JdwpState* state); 159 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId); 160 void dvmJdwpClearWaitForEventThread(JdwpState* state); 165 bool dvmJdwpCheckConnection(JdwpState* state); 166 bool dvmJdwpAcceptConnection(JdwpState* state); 167 bool dvmJdwpEstablishConnection(JdwpState* state); [all...] |
H A D | JdwpSocket.cpp | 44 static void netShutdown(JdwpNetState* state); 45 static void netFree(JdwpNetState* state); 49 * JDWP network state. 85 static bool prepareSocket(JdwpState* state, const JdwpStartupParams* pParams) argument 93 state->netState = netStartup(port); 97 state->netState = netStartup(port); 98 if (state->netState != NULL) 102 if (state->netState == NULL) { 108 state->netState = netStartup(-1); 124 static bool awaitingHandshake(JdwpState* state) argument 232 netShutdownExtern(JdwpState* state) argument 260 netFreeExtern(JdwpState* state) argument 268 isConnected(JdwpState* state) argument 340 acceptConnection(JdwpState* state) argument 392 establishConnection(JdwpState* state) argument 485 closeConnection(JdwpState* state) argument 582 handlePacket(JdwpState* state) argument 658 processIncoming(JdwpState* state) argument 824 sendRequest(JdwpState* state, ExpandBuf* pReq) argument 855 sendBufferedRequest(JdwpState* state, const struct iovec* iov, int iovcnt) argument [all...] |
H A D | JdwpAdb.cpp | 114 static bool startup(struct JdwpState* state, const JdwpStartupParams* pParams) argument 120 state->netState = netState = new JdwpNetState; 186 static bool acceptConnection(struct JdwpState* state) argument 188 JdwpNetState* netState = state->netState; 293 static bool establishConnection(struct JdwpState* state) argument 302 static void closeConnection(struct JdwpState* state) argument 306 assert(state != NULL && state->netState != NULL); 308 netState = state->netState; 352 static void netShutdown(JdwpState* state) argument 361 netFree(struct JdwpState* state) argument 371 isConnected(struct JdwpState* state) argument 380 awaitingHandshake(struct JdwpState* state) argument 426 handlePacket(JdwpState* state) argument 500 processIncoming(JdwpState* state) argument 664 sendRequest(JdwpState* state, ExpandBuf* pReq) argument 695 sendBufferedRequest(JdwpState* state, const struct iovec* iov, int iovcnt) argument [all...] |
H A D | JdwpEvent.h | 110 JdwpError dvmJdwpRegisterEvent(JdwpState* state, JdwpEvent* pEvent); 115 void dvmJdwpUnregisterEventById(JdwpState* state, u4 requestId); 120 void dvmJdwpUnregisterAll(JdwpState* state); 127 bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq);
|
H A D | JdwpHandler.h | 41 void dvmJdwpProcessRequest(JdwpState* state, const JdwpReqHeader* pHeader,
|
H A D | JdwpHandler.cpp | 102 static JdwpError finishInvoke(JdwpState* state, argument 184 static JdwpError handleVM_Version(JdwpState* state, const u1* buf, argument 209 static JdwpError handleVM_ClassesBySignature(JdwpState* state, argument 258 static JdwpError handleVM_AllThreads(JdwpState* state, argument 280 static JdwpError handleVM_TopLevelThreadGroups(JdwpState* state, argument 304 static JdwpError handleVM_IDSizes(JdwpState* state, argument 321 static JdwpError handleVM_Dispose(JdwpState* state, argument 333 static JdwpError handleVM_Suspend(JdwpState* state, argument 343 static JdwpError handleVM_Resume(JdwpState* state, argument 353 static JdwpError handleVM_Exit(JdwpState* state, argument 370 handleVM_CreateString(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 390 handleVM_Capabilities(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 406 handleVM_ClassPaths(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 437 HandleVM_DisposeObjects(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 446 handleVM_CapabilitiesNew(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 480 handleVM_AllClassesWithGeneric(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 514 handleRT_Signature(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 529 handleRT_Modifiers(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 543 handleRT_GetValues(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 563 handleRT_SourceFile(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 580 handleRT_Status(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 596 handleRT_Interfaces(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 612 handleRT_ClassObject(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 630 handleRT_SourceDebugExtension(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 640 handleRT_SignatureWithGeneric(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 664 handleRT_ClassLoader(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 678 handleRT_FieldsWithGeneric(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 694 handleRT_MethodsWithGeneric(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 710 handleCT_Superclass(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 725 handleCT_SetValues(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 752 handleCT_InvokeMethod(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 770 handleCT_NewInstance(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 789 handleAT_newInstance(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 809 handleM_LineTable(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 827 handleM_VariableTableWithGeneric(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 855 handleOR_ReferenceType(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 874 handleOR_GetValues(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 895 handleOR_SetValues(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 930 handleOR_InvokeMethod(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 945 handleOR_DisableCollection(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 955 handleOR_EnableCollection(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 965 handleOR_IsCollected(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 982 handleSR_Value(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 999 handleTR_Name(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1021 handleTR_Suspend(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1040 handleTR_Resume(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1059 handleTR_Status(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1084 handleTR_ThreadGroup(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1102 handleTR_Frames(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1150 handleTR_FrameCount(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1174 handleTR_CurrentContendedMonitor(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1193 handleTR_SuspendCount(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1209 handleTGR_Name(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1232 handleTGR_Parent(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1247 handleTGR_Children(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1281 handleAR_Length(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1299 handleAR_GetValues(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1322 handleAR_SetValues(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1342 handleCLR_VisibleClasses(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument 1372 handleER_Set(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply) argument [all...] |
/dalvik/hit/src/com/android/hit/ |
H A D | Main.java | 37 State state = (new HprofParser(dis)).parse(); 41 testClassesQuery(state); 42 testAllClassesQuery(state); 43 testFindInstancesOf(state); 44 testFindAllInstancesOf(state); 50 private static void testClassesQuery(State state) { argument 57 Map<String, Set<ClassObj>> someClasses = Queries.classes(state, x); 70 private static void testAllClassesQuery(State state) { argument 71 Map<String, Set<ClassObj>> allClasses = Queries.allClasses(state); 84 private static void testFindInstancesOf(State state) { argument 90 testFindAllInstancesOf(State state) argument [all...] |
H A D | Queries.java | 66 public static Map<String, Set<ClassObj>> allClasses(State state) { argument 67 return classes(state, null); 70 public static Map<String, Set<ClassObj>> classes(State state, argument 78 for (Heap heap: state.mHeaps.values()) { 127 public static ClassObj findClass(State state, String name) { argument 128 return state.findClass(name); 135 public static Instance[] instancesOf(State state, String baseClassName) { argument 136 ClassObj theClass = state.findClass(baseClassName); 152 public static Instance[] allInstancesOf(State state, String baseClassName) { argument 153 ClassObj theClass = state 193 findObject(State state, String id) argument 199 getRoots(State state) argument [all...] |
H A D | RootObj.java | 48 public final String getClassName(State state) { argument 52 theClass = state.findClass(mId); 54 Instance instance = state.findReference(mId); 56 theClass = state.findClass(instance.mClassId); 99 public final void resolveReferences(State state) { argument
|
H A D | ClassInstance.java | 40 public void resolveReferences(State state) { argument 43 resolve(state, isa, isa.mStaticFieldTypes, isa.mStaticFieldValues); 44 resolve(state, isa, isa.mFieldTypes, mFieldValues); 47 private void resolve(State state, ClassObj isa, int[] types, argument 71 Instance instance = state.findReference(id); 106 State state = mHeap.mState; 107 ClassObj isa = state.findClass(mClassId); 131 Instance instance = state.findReference(id);
|
H A D | Heap.java | 44 // The super-state that this heap is part of 153 public final void resolveInstanceRefs(State state) { argument 170 instance.resolveReferences(state); 174 public final void resolveClassStatics(State state) { argument 176 theClass.resolveReferences(state); 180 public final void resolveRoots(State state) { argument 182 root.resolveReferences(state);
|
H A D | ArrayInstance.java | 37 public final void resolveReferences(State state) { argument 62 Instance instance = state.findReference(id); 106 State state = mHeap.mState; 118 Instance instance = state.findReference(id);
|
H A D | ClassObj.java | 48 public final void resolveReferences(State state) { argument 82 Instance instance = state.findReference(id); 107 ClassObj superclass = state.findClass(mSuperclassId); 196 State state = mHeap.mState; 216 Instance instance = state.findReference(id);
|
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 92 static inline u4 fileOffset(const CheckState* state, const void* ptr) { argument 93 return ((const u1*) ptr) - state->fileStart; 99 static inline void* filePointer(const CheckState* state, u4 offset) { argument 100 return (void*) (state->fileStart + offset); 111 static inline bool checkPtrRange(const CheckState* state, argument 113 const void* fileStart = state->fileStart; 114 const void* fileEnd = state->fileEnd; 118 fileOffset(state, start), fileOffset(state, end)); 131 * Assumes "const CheckState* state" 233 verifyFieldDefiner(const CheckState* state, u4 definingClass, u4 fieldIdx) argument 240 verifyMethodDefiner(const CheckState* state, u4 definingClass, u4 methodIdx) argument 250 calcDefinedClassBitsSize(const CheckState* state) argument 259 setDefinedClassBit(const CheckState* state, u4 typeIdx) argument 273 swapDexHeader(const CheckState* state, DexHeader* pHeader) argument 323 checkHeaderSection(const CheckState* state, u4 sectionOffset, u4 sectionCount, u4* endOffset) argument 395 swapMap(CheckState* state, DexMapList* pMap) argument 526 checkMapSection(const CheckState* state, u4 sectionOffset, u4 sectionCount, u4* endOffset) argument 547 swapStringIdItem(const CheckState* state, void* ptr) argument 557 crossVerifyStringIdItem(const CheckState* state, void* ptr) argument 580 swapTypeIdItem(const CheckState* state, void* ptr) argument 590 crossVerifyTypeIdItem(const CheckState* state, void* ptr) argument 614 swapProtoIdItem(const CheckState* state, void* ptr) argument 671 crossVerifyProtoIdItem(const CheckState* state, void* ptr) argument 764 swapFieldIdItem(const CheckState* state, void* ptr) argument 776 crossVerifyFieldIdItem(const CheckState* state, void* ptr) argument 836 swapMethodIdItem(const CheckState* state, void* ptr) argument 848 crossVerifyMethodIdItem(const CheckState* state, void* ptr) argument 902 swapClassDefItem(const CheckState* state, void* ptr) argument 931 verifyClassDataIsForDef(const CheckState* state, u4 offset, u4 definerIdx) argument 960 verifyAnnotationsDirectoryIsForDef(const CheckState* state, u4 offset, u4 definerIdx) argument 974 crossVerifyClassDefItem(const CheckState* state, void* ptr) argument 1068 swapFieldAnnotations(const CheckState* state, u4 count, u1* addr) argument 1097 swapMethodAnnotations(const CheckState* state, u4 count, u1* addr) argument 1126 swapParameterAnnotations(const CheckState* state, u4 count, u1* addr) argument 1155 swapAnnotationsDirectoryItem(const CheckState* state, void* ptr) argument 1192 crossVerifyFieldAnnotations(const CheckState* state, u4 count, const u1* addr, u4 definingClass) argument 1212 crossVerifyMethodAnnotations(const CheckState* state, u4 count, const u1* addr, u4 definingClass) argument 1232 crossVerifyParameterAnnotations(const CheckState* state, u4 count, const u1* addr, u4 definingClass) argument 1254 findFirstAnnotationsDirectoryDefiner(const CheckState* state, const DexAnnotationsDirectoryItem* dir) argument 1284 crossVerifyAnnotationsDirectoryItem(const CheckState* state, void* ptr) argument 1324 swapTypeList(const CheckState* state, void* ptr) argument 1346 swapAnnotationSetRefList(const CheckState* state, void* ptr) argument 1366 crossVerifyAnnotationSetRefList(const CheckState* state, void* ptr) argument 1385 swapAnnotationSetItem(const CheckState* state, void* ptr) argument 1412 crossVerifyAnnotationSetItem(const CheckState* state, void* ptr) argument 1444 verifyFields(const CheckState* state, u4 size, DexField* fields, bool expectStatic) argument 1471 verifyMethods(const CheckState* state, u4 size, DexMethod* methods, bool expectDirect) argument 1520 verifyClassDataItem0(const CheckState* state, DexClassData* classData) argument 1560 intraVerifyClassDataItem(const CheckState* state, void* ptr) argument 1583 findFirstClassDataDefiner(const CheckState* state, DexClassData* classData) argument 1613 crossVerifyClassDataItem(const CheckState* state, void* ptr) argument 1660 setHandlerOffsAndVerify(const CheckState* state, DexCode* code, u4 firstOffset, u4 handlersSize, u4* handlerOffs) argument 1738 swapTriesAndCatches(const CheckState* state, DexCode* code) argument 1813 swapCodeItem(const CheckState* state, void* ptr) argument 1872 intraVerifyStringDataItem(const CheckState* state, void* ptr) argument 1973 intraVerifyDebugInfoItem(const CheckState* state, void* ptr) argument 2122 readUnsignedLittleEndian(const CheckState* state, const u1** pData, u4 size) argument 2140 verifyEncodedArray(const CheckState* state, const u1* data, bool crossVerify) argument 2163 verifyEncodedValue(const CheckState* state, const u1* data, bool crossVerify) argument 2283 verifyEncodedAnnotation(const CheckState* state, const u1* data, bool crossVerify) argument 2351 intraVerifyEncodedArrayItem(const CheckState* state, void* ptr) argument 2356 intraVerifyAnnotationItem(const CheckState* state, void* ptr) argument 2377 crossVerifyAnnotationItem(const CheckState* state, void* ptr) argument 2399 iterateSectionWithOptionalUpdate(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument 2459 iterateSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument 2469 checkBoundsAndIterateSection(CheckState* state, u4 offset, u4 count, u4 expectedOffset, u4 expectedCount, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument 2491 iterateDataSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument 2525 swapEverythingButHeaderAndMap(CheckState* state, DexMapList* pMap) argument 2699 crossVerifyEverything(CheckState* state, DexMapList* pMap) argument 2832 CheckState state; local [all...] |
H A D | sha1.h | 8 unsigned long state[5]; member in struct:SHA1_CTX
|
H A D | sha1.cpp | 107 static void SHA1Transform(unsigned long state[5], 135 static void SHA1Transform(unsigned long state[5], argument 151 /* Copy context->state[] to working vars */ 152 a = state[0]; 153 b = state[1]; 154 c = state[2]; 155 d = state[3]; 156 e = state[4]; 186 /* Add the working vars back into context.state[] */ 187 state[ [all...] |
/dalvik/vm/ |
H A D | Profile.cpp | 507 MethodTraceState* state = &gDvm.methodTrace; local 511 dvmLockMutex(&state->startStopLock); 512 while (state->traceEnabled != 0) { 514 dvmUnlockMutex(&state->startStopLock); 516 dvmLockMutex(&state->startStopLock); 526 state->buf = (u1*) malloc(bufferSize); 527 if (state->buf == NULL) { 533 state->traceFile = fopen(traceFileName, "w"); 535 state->traceFile = fdopen(traceFd, "w"); 537 if (state 698 const MethodTraceState* state = &gDvm.methodTrace; local 714 MethodTraceState* state = &gDvm.methodTrace; local 935 MethodTraceState* state = &gDvm.methodTrace; local [all...] |
/dalvik/vm/alloc/ |
H A D | DdmHeap.cpp | 214 static void append_chunk(HeapChunkContext *ctx, u1 state, void* ptr, size_t length) { argument 264 *ctx->p++ = state | HPSG_PARTIAL; 268 *ctx->p++ = state; 283 u1 state; local 336 state = HPSG_STATE(SOLIDITY_HARD, KIND_OBJECT); 338 state = HPSG_STATE(SOLIDITY_HARD, KIND_CLASS_OBJECT); 341 state = HPSG_STATE(SOLIDITY_HARD, KIND_ARRAY_4); 346 state = HPSG_STATE(SOLIDITY_HARD, KIND_ARRAY_1); 350 state = HPSG_STATE(SOLIDITY_HARD, KIND_ARRAY_2); 354 state [all...] |
/dalvik/vm/mterp/armv5te/ |
H A D | entry.S | 70 mov r1, #0 @ prepare the value for the new state 76 ldr r2, [rSELF, #offThread_shadowSpace] @ to find out the jit exit state 78 ldr r3, [r2, #offShadowSpace_jitExitState] @ jit exit state
|
/dalvik/vm/mterp/mips/ |
H A D | entry.S | 63 lw a2, offThread_shadowSpace(rSELF) # to find out the jit exit state 65 lw a3, offShadowSpace_jitExitState(a2) # jit exit state
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
H A D | LocalVariableExtractor.java | 101 * state *before* executing it to be what is merged into 172 * Merge this state into the start state for each successor, 174 * where the start state for a block changes). 183 RegisterSpecSet state = (succ == primarySuccessor) ? 186 if (resultInfo.mergeStarts(succ, state)) {
|
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | LocalVariableExtractor.java | 101 * state *before* executing it to be what is merged into 172 * Merge this state into the start state for each successor, 174 * where the start state for a block changes). 183 RegisterSpecSet state = (succ == primarySuccessor) ? 186 if (resultInfo.mergeStarts(succ, state)) {
|