/dalvik/vm/jdwp/ |
D | ExpandBuf.h | 24 struct ExpandBuf; /* private */ 27 ExpandBuf* expandBufAlloc(void); 29 void expandBufFree(ExpandBuf* pBuf); 35 u1* expandBufGetBuffer(ExpandBuf* pBuf); 36 size_t expandBufGetLength(ExpandBuf* pBuf); 49 u1* expandBufAddSpace(ExpandBuf* pBuf, int gapSize); 50 void expandBufAdd1(ExpandBuf* pBuf, u1 val); 51 void expandBufAdd2BE(ExpandBuf* pBuf, u2 val); 52 void expandBufAdd4BE(ExpandBuf* pBuf, u4 val); 53 void expandBufAdd8BE(ExpandBuf* pBuf, u8 val); [all …]
|
D | ExpandBuf.cpp | 30 struct ExpandBuf { struct 41 ExpandBuf* expandBufAlloc() in expandBufAlloc() argument 43 ExpandBuf* newBuf; in expandBufAlloc() 45 newBuf = (ExpandBuf*) malloc(sizeof(*newBuf)); in expandBufAlloc() 56 void expandBufFree(ExpandBuf* pBuf) in expandBufFree() 68 u1* expandBufGetBuffer(ExpandBuf* pBuf) in expandBufGetBuffer() 76 size_t expandBufGetLength(ExpandBuf* pBuf) in expandBufGetLength() 86 static void ensureSpace(ExpandBuf* pBuf, int newCount) in ensureSpace() 108 u1* expandBufAddSpace(ExpandBuf* pBuf, int gapSize) in expandBufAddSpace() 123 void expandBufAdd1(ExpandBuf* pBuf, u1 val) in expandBufAdd1() [all …]
|
D | JdwpHandler.cpp | 56 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc) in dvmJdwpAddLocation() 85 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value) in jdwpWriteValue() 103 const u1* buf, int dataLen, ExpandBuf* pReply, in finishInvoke() 185 int dataLen, ExpandBuf* pReply) in handleVM_Version() 210 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_ClassesBySignature() 259 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_AllThreads() 281 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_TopLevelThreadGroups() 305 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_IDSizes() 322 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Dispose() 334 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Suspend() [all …]
|
D | JdwpHandler.h | 42 const u1* buf, int dataLen, ExpandBuf* pReply); 45 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc);
|
D | Jdwp.h | 60 INLINE void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { in expandBufAddFieldId() 63 INLINE void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { in expandBufAddMethodId() 66 INLINE void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { in expandBufAddObjectId() 69 INLINE void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { in expandBufAddRefTypeId() 72 INLINE void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { in expandBufAddFrameId()
|
D | JdwpPriv.h | 61 bool (*sendRequest)(struct JdwpState* state, ExpandBuf* pReq); 129 ssize_t writePacket(ExpandBuf* pReply); 183 INLINE bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) { in dvmJdwpSendRequest()
|
D | JdwpEvent.h | 127 bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq);
|
D | JdwpEvent.cpp | 708 static ExpandBuf* eventPrep() in eventPrep() 710 ExpandBuf* pReq = expandBufAlloc(); in eventPrep() 721 static void eventFinish(JdwpState* state, ExpandBuf* pReq) in eventFinish() 758 ExpandBuf* pReq = NULL; in dvmJdwpPostVMStart() 871 ExpandBuf* pReq = NULL; in dvmJdwpPostLocationEvent() 951 ExpandBuf* pReq = NULL; in dvmJdwpPostThreadChange() 1000 ExpandBuf* pReq = eventPrep(); in dvmJdwpPostVMDeath() 1055 ExpandBuf* pReq = NULL; in dvmJdwpPostException() 1150 ExpandBuf* pReq = NULL; in dvmJdwpPostClassPrepare()
|
D | JdwpAdb.cpp | 455 ExpandBuf* pReply = expandBufAlloc(); in handlePacket() 664 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest()
|
D | JdwpMain.cpp | 45 ssize_t JdwpNetStateBase::writePacket(ExpandBuf* pReply) in writePacket()
|
D | JdwpSocket.cpp | 613 ExpandBuf* pReply = expandBufAlloc(); in handlePacket() 824 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest()
|
/dalvik/tools/hprof-conv/ |
D | HprofConv.c | 102 } ExpandBuf; typedef 107 static ExpandBuf* ebAlloc(void) in ebAlloc() 111 ExpandBuf* newBuf = (ExpandBuf*) malloc(sizeof(ExpandBuf)); in ebAlloc() 124 static void ebFree(ExpandBuf* pBuf) in ebFree() 138 static inline unsigned char* ebGetBuffer(ExpandBuf* pBuf) in ebGetBuffer() 146 static inline size_t ebGetLength(ExpandBuf* pBuf) in ebGetLength() 154 static void ebClear(ExpandBuf* pBuf) in ebClear() 162 static int ebEnsureCapacity(ExpandBuf* pBuf, int size) in ebEnsureCapacity() 185 static int ebAddData(ExpandBuf* pBuf, const void* data, size_t count) in ebAddData() 196 static int ebReadString(ExpandBuf* pBuf, FILE* in) in ebReadString() [all …]
|
/dalvik/vm/ |
D | Debugger.h | 187 ExpandBuf* pReply); 202 ExpandBuf* pReply); 204 ExpandBuf* pReply); 205 void dvmDbgOutputAllInterfaces(RefTypeId refTypeId, ExpandBuf* pReply); 207 ExpandBuf* pReply); 209 bool withGeneric, ExpandBuf* pReply); 213 void dvmDbgGetFieldValue(ObjectId objectId, FieldId fieldId, ExpandBuf* pReply); 217 ExpandBuf* pReply);
|
D | Debugger.cpp | 990 ExpandBuf* pReply) in dvmDbgOutputArray() 1174 ExpandBuf* pReply) in dvmDbgOutputAllFields() 1212 ExpandBuf* pReply) in dvmDbgOutputAllMethods() 1264 void dvmDbgOutputAllInterfaces(RefTypeId refTypeId, ExpandBuf* pReply) in dvmDbgOutputAllInterfaces() 1287 ExpandBuf* pReply; 1309 ExpandBuf* pReply) in dvmDbgOutputLineTable() 1415 bool withGeneric, ExpandBuf* pReply) in dvmDbgOutputVariableTable() 1468 void dvmDbgGetFieldValue(ObjectId objectId, FieldId fieldId, ExpandBuf* pReply) in dvmDbgGetFieldValue() 1566 ExpandBuf* pReply) in dvmDbgGetStaticFieldValue()
|