Home
last modified time | relevance | path

Searched refs:ExpandBuf (Results 1 – 14 of 14) sorted by relevance

/dalvik/vm/jdwp/
DExpandBuf.h24 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 …]
DExpandBuf.cpp30 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 …]
DJdwpHandler.cpp56 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 …]
DJdwpHandler.h42 const u1* buf, int dataLen, ExpandBuf* pReply);
45 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc);
DJdwp.h60 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()
DJdwpPriv.h61 bool (*sendRequest)(struct JdwpState* state, ExpandBuf* pReq);
129 ssize_t writePacket(ExpandBuf* pReply);
183 INLINE bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) { in dvmJdwpSendRequest()
DJdwpEvent.h127 bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq);
DJdwpEvent.cpp708 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()
DJdwpAdb.cpp455 ExpandBuf* pReply = expandBufAlloc(); in handlePacket()
664 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest()
DJdwpMain.cpp45 ssize_t JdwpNetStateBase::writePacket(ExpandBuf* pReply) in writePacket()
DJdwpSocket.cpp613 ExpandBuf* pReply = expandBufAlloc(); in handlePacket()
824 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest()
/dalvik/tools/hprof-conv/
DHprofConv.c102 } 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/
DDebugger.h187 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);
DDebugger.cpp990 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()