Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 40) sorted by relevance

12

/dalvik/hit/src/com/android/hit/
DState.java42 public Heap setHeapTo(int id, String name) { in setHeapTo() argument
43 Heap heap = mHeaps.get(id); in setHeapTo()
48 mHeaps.put(id, heap); in setHeapTo()
56 public Heap getHeap(int id) { in getHeap() argument
57 return mHeaps.get(id); in getHeap()
74 public final StackFrame getStackFrame(long id) { in getStackFrame() argument
75 return mCurrentHeap.getStackFrame(id); in getStackFrame()
103 public final void addInstance(long id, Instance instance) { in addInstance() argument
104 mCurrentHeap.addInstance(id, instance); in addInstance()
107 public final void addClass(long id, ClassObj theClass) { in addClass() argument
[all …]
DArrayInstance.java28 public ArrayInstance(long id, StackTrace stack, int type, int numEntries, in ArrayInstance() argument
30 mId = id; in ArrayInstance()
53 long id; in resolveReferences() local
57 id = dis.readInt(); in resolveReferences()
59 id = dis.readLong(); in resolveReferences()
62 Instance instance = state.findReference(id); in resolveReferences()
109 long id; in visit() local
113 id = dis.readInt(); in visit()
115 id = dis.readLong(); in visit()
118 Instance instance = state.findReference(id); in visit()
[all …]
DClassInstance.java27 public ClassInstance(long id, StackTrace stack, long classId) { in ClassInstance() argument
28 mId = id; in ClassInstance()
63 long id; in resolve() local
66 id = dis.readInt(); in resolve()
68 id = dis.readLong(); in resolve()
71 Instance instance = state.findReference(id); in resolve()
123 long id; in visit() local
126 id = dis.readInt(); in visit()
128 id = dis.readLong(); in visit()
131 Instance instance = state.findReference(id); in visit()
[all …]
DClassObj.java41 public ClassObj(long id, StackTrace stack, String className) { in ClassObj() argument
42 mId = id; in ClassObj()
66 long id; in resolveReferences() local
69 id = dis.readInt(); in resolveReferences()
71 id = dis.readLong(); in resolveReferences()
74 RootObj root = new RootObj(RootType.JAVA_STATIC, id); in resolveReferences()
76 if (id == 0) { in resolveReferences()
82 Instance instance = state.findReference(id); in resolveReferences()
92 id); in resolveReferences()
131 public final void setSuperclassId(long id) { in setSuperclassId() argument
[all …]
DHprofParser.java191 long id = readId(); in loadString() local
194 mStrings.put(id, string); in loadString()
200 long id = readId(); in loadClass() local
204 mClassNames.put(id, name); in loadClass()
208 long id = readId(); in loadStackFrame() local
215 StackFrame frame = new StackFrame(id, methodName, methodSignature, in loadStackFrame()
353 long id = readId(); in loadJniLocal() local
359 RootObj root = new RootObj(RootType.NATIVE_LOCAL, id, in loadJniLocal()
369 long id = readId(); in loadJavaFrame() local
375 RootObj root = new RootObj(RootType.JAVA_LOCAL, id, threadSerialNumber, in loadJavaFrame()
[all …]
DHeap.java55 public final StackFrame getStackFrame(long id) { in getStackFrame() argument
56 return mFrames.get(id); in getStackFrame()
91 public final void addInstance(long id, Instance instance) { in addInstance() argument
92 mInstances.put(id, instance); in addInstance()
95 public final Instance getInstance(long id) { in getInstance() argument
96 return mInstances.get(id); in getInstance()
99 public final void addClass(long id, ClassObj theClass) { in addClass() argument
100 mClassesById.put(id, theClass); in addClass()
104 public final ClassObj getClass(long id) { in getClass() argument
105 return mClassesById.get(id); in getClass()
DThreadObj.java23 public ThreadObj(long id, int stackTrace) { in ThreadObj() argument
24 mId = id; in ThreadObj()
DRootObj.java37 public RootObj(RootType type, long id) { in RootObj() argument
38 this(type, id, 0, null); in RootObj()
41 public RootObj(RootType type, long id, int thread, StackTrace stack) { in RootObj() argument
43 mId = id; in RootObj()
DStackFrame.java32 public StackFrame(long id, String method, String sig, String file, in StackFrame() argument
34 mId = id; in StackFrame()
DInstance.java114 public String describeReferenceTo(long id) { in describeReferenceTo() argument
115 return "No reference to 0x" + Long.toHexString(id); in describeReferenceTo()
DQueries.java193 public static Instance findObject(State state, String id) { in findObject() argument
194 long id2 = Long.parseLong(id, 16); in findObject()
/dalvik/vm/jdwp/
DJdwp.h60 INLINE void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { in expandBufAddFieldId() argument
61 expandBufAdd4BE(pReply, id); in expandBufAddFieldId()
63 INLINE void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { in expandBufAddMethodId() argument
64 expandBufAdd4BE(pReply, id); in expandBufAddMethodId()
66 INLINE void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { in expandBufAddObjectId() argument
67 expandBufAdd8BE(pReply, id); in expandBufAddObjectId()
69 INLINE void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { in expandBufAddRefTypeId() argument
70 expandBufAdd8BE(pReply, id); in expandBufAddRefTypeId()
72 INLINE void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { in expandBufAddFrameId() argument
73 expandBufAdd8BE(pReply, id); in expandBufAddFrameId()
DJdwpHandler.h30 u4 id; member
DJdwpSocket.cpp549 u4 length, id;
558 id = read4BE(&buf);
573 dataLen, id, flags, cmdSet, cmd);
587 u4 length, id; in handlePacket() local
598 id = read4BE(&buf); in handlePacket()
616 hdr.id = id; in handlePacket()
DJdwpAdb.cpp431 u4 length, id; in handlePacket() local
440 id = read4BE(&buf); in handlePacket()
458 hdr.id = id; in handlePacket()
/dalvik/vm/
DDebugger.h162 const char* dvmDbgGetClassDescriptor(RefTypeId id);
163 ObjectId dvmDbgGetClassObject(RefTypeId id);
164 RefTypeId dvmDbgGetSuperclass(RefTypeId id);
165 ObjectId dvmDbgGetClassLoader(RefTypeId id);
166 u4 dvmDbgGetAccessFlags(RefTypeId id);
167 bool dvmDbgIsInterface(RefTypeId id);
200 const char* dvmDbgGetMethodName(RefTypeId refTypeId, MethodId id);
208 void dvmDbgOutputVariableTable(RefTypeId refTypeId, MethodId id,
294 void dvmDbgRegisterObjectId(ObjectId id);
DDebugger.cpp187 static bool lookupId(ObjectId id) in lookupId() argument
191 found = dvmHashTableLookup(gDvm.dbgRegistry, registryHash((u4) id), in lookupId()
192 (void*)(u4) id, registryCompare, false); in lookupId()
195 assert(found == (void*)(u4) id); in lookupId()
211 ObjectId id; in registerObject() local
219 id = (ObjectId)(u4)obj | ((u8) type) << 32; in registerObject()
221 return id; in registerObject()
232 dvmHashTableLookup(gDvm.dbgRegistry, registryHash((u4) id), in registerObject()
233 (void*)(u4) id, registryCompare, true); in registerObject()
237 return id; in registerObject()
[all …]
/dalvik/vm/compiler/
DLoop.cpp108 dvmIsBitSet(bb->predecessors, cUnit->entryBlock->id)) { in findPredecessorBlock()
111 if (predIdx == cUnit->entryBlock->id) continue; in findPredecessorBlock()
543 dvmCompilerSetBit(cUnit->tempBlockV, cUnit->entryBlock->id); in dvmCompilerFilterLoopBlocks()
544 dvmCompilerSetBit(cUnit->tempBlockV, firstBB->id); in dvmCompilerFilterLoopBlocks()
558 dvmIsBitSet(cUnit->tempBlockV, bodyBB->fallThrough->id)) { in dvmCompilerFilterLoopBlocks()
566 dvmIsBitSet(cUnit->tempBlockV, bodyBB->taken->id)) { in dvmCompilerFilterLoopBlocks()
575 dvmIsBitSet(cUnit->tempBlockV, bodyBB->fallThrough->id)) { in dvmCompilerFilterLoopBlocks()
579 dvmIsBitSet(cUnit->tempBlockV, bodyBB->taken->id)) { in dvmCompilerFilterLoopBlocks()
586 dvmCompilerSetBit(cUnit->tempBlockV, bodyBB->id); in dvmCompilerFilterLoopBlocks()
597 dvmCompilerSetBit(cUnit->tempBlockV, bodyBB->id); in dvmCompilerFilterLoopBlocks()
[all …]
DSSATransformation.cpp30 dvmInsertGrowableList(&cUnit->dfsOrder, block->id); in recordDFSPreOrder()
83 dvmCompilerSetBit(cUnit->defBlockMatrix[idx], bb->id); in fillDefBlockMatrix()
116 cUnit->entryBlock->id); in computeDefBlockMatrix()
138 dvmInsertGrowableList(&cUnit->domPostOrderTraversal, bb->id); in computeDomPostOrderTraversal()
141 if (bb->taken && dvmIsBitSet(bb->dominators, bb->taken->id)) { in computeDomPostOrderTraversal()
156 dvmSetBit(domBB->domFrontier, succBB->id); in checkForDominanceFrontier()
256 dvmSetBit(tempBlockV, bb->id); in computeBlockDominators()
275 dvmClearBit(tempBlockV, bb->id); in computeImmediateDominator()
303 dvmCompilerSetBit(iDom->iDominated, bb->id); in computeImmediateDominator()
320 dvmSetBit(cUnit->entryBlock->dominators, cUnit->entryBlock->id); in computeDominators()
DFrontend.cpp538 dvmCompilerClearBit(bottomBlock->taken->predecessors, origBlock->id); in splitBlock()
539 dvmCompilerSetBit(bottomBlock->taken->predecessors, bottomBlock->id); in splitBlock()
547 dvmCompilerSetBit(bottomBlock->predecessors, origBlock->id); in splitBlock()
550 origBlock->id); in splitBlock()
552 bottomBlock->id); in splitBlock()
568 dvmCompilerClearBit(bb->predecessors, origBlock->id); in splitBlock()
569 dvmCompilerSetBit(bb->predecessors, bottomBlock->id); in splitBlock()
690 fprintf(file, " {block id %d\\l}%s\\\n", bb->id, in dvmDumpCFG()
942 dvmCompilerSetBit(takenBlock->predecessors, curBlock->id); in processCanBranch()
966 dvmCompilerSetBit(fallthroughBlock->predecessors, curBlock->id); in processCanBranch()
[all …]
DUtility.cpp187 bb->id, in dvmCompilerDumpCompilationUnit()
194 bb->taken->id, bb->taken->startOffset); in dvmCompilerDumpCompilationUnit()
198 bb->fallThrough->id, bb->fallThrough->startOffset); in dvmCompilerDumpCompilationUnit()
/dalvik/tests/095-switch-MAX_INT/
Dinfo.txt1 Bug: http://code.google.com/p/android/issues/detail?id=22344
/dalvik/vm/compiler/codegen/x86/
DLowerInvoke.cpp66 jumpToBasicBlock(stream, fallThrough->id); in genLandingPadForMispredictedCallee()
576 insertChainingWorklist(traceCurrentBB->fallThrough->id, stream); in common_invokeMethod_Jmp()
577 move_chain_to_mem(OpndSize_32, traceCurrentBB->fallThrough->id, 4, PhysicalReg_ESP, true); in common_invokeMethod_Jmp()
580 insertChainingWorklist(traceCurrentBB->taken->id, stream); in common_invokeMethod_Jmp()
581 int takenId = traceCurrentBB->taken ? traceCurrentBB->taken->id : 0; in common_invokeMethod_Jmp()
1358 insertChainingWorklist(traceCurrentBB->taken->id, stream); in predicted_chain_interface_O0()
1359 …move_chain_to_mem(OpndSize_32, traceCurrentBB->taken->id, 8, PhysicalReg_ESP, true); //predictedCh… in predicted_chain_interface_O0()
1426 insertChainingWorklist(traceCurrentBB->taken->id, stream); in predicted_chain_interface_O1()
1427 …move_chain_to_mem(OpndSize_32, traceCurrentBB->taken->id, 8, PhysicalReg_ESP, true); //predictedCh… in predicted_chain_interface_O1()
1460 insertChainingWorklist(traceCurrentBB->taken->id, stream); in predicted_chain_virtual_O0()
[all …]
/dalvik/vm/hprof/
DHprof.h213 #define hprofAddIdToRecord(rec, id) hprofAddU4ToRecord((rec), (u4)(id)) argument
/dalvik/vm/compiler/codegen/arm/
DArchFactory.cpp39 exceptionLabel += bb->taken->id; in genRegImmCheck()

12