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 */
25 typedef struct ExpandBuf ExpandBuf; typedef
28 ExpandBuf* expandBufAlloc(void);
30 void expandBufFree(ExpandBuf* pBuf);
36 u1* expandBufGetBuffer(ExpandBuf* pBuf);
37 size_t expandBufGetLength(ExpandBuf* pBuf);
50 u1* expandBufAddSpace(ExpandBuf* pBuf, int gapSize);
51 void expandBufAdd1(ExpandBuf* pBuf, u1 val);
52 void expandBufAdd2BE(ExpandBuf* pBuf, u2 val);
53 void expandBufAdd4BE(ExpandBuf* pBuf, u4 val);
[all …]
DExpandBuf.c30 struct ExpandBuf { struct
41 ExpandBuf* expandBufAlloc(void) 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.c71 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc) in dvmJdwpAddLocation()
100 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value) in jdwpWriteValue()
115 const u1* buf, int dataLen, ExpandBuf* pReply, in finishInvoke()
199 int dataLen, ExpandBuf* pReply) in handleVM_Version()
220 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_ClassesBySignature()
272 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_AllThreads()
297 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_TopLevelThreadGroups()
324 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_IDSizes()
341 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Dispose()
353 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.h61 INLINE void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { in expandBufAddFieldId()
64 INLINE void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { in expandBufAddMethodId()
67 INLINE void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { in expandBufAddObjectId()
70 INLINE void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { in expandBufAddRefTypeId()
73 INLINE void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { in expandBufAddFrameId()
DJdwpPriv.h61 bool (*sendRequest)(struct JdwpState* state, ExpandBuf* pReq);
167 INLINE bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) { in dvmJdwpSendRequest()
DJdwpEvent.c708 static ExpandBuf* eventPrep(void) in eventPrep()
710 ExpandBuf* pReq; in eventPrep()
723 static void eventFinish(JdwpState* state, ExpandBuf* pReq) in eventFinish()
760 ExpandBuf* pReq = NULL; in dvmJdwpPostVMStart()
875 ExpandBuf* pReq = NULL; in dvmJdwpPostLocationEvent()
959 ExpandBuf* pReq = NULL; in dvmJdwpPostThreadChange()
1008 ExpandBuf* pReq; in dvmJdwpPostVMDeath()
1065 ExpandBuf* pReq = NULL; in dvmJdwpPostException()
1161 ExpandBuf* pReq = NULL; in dvmJdwpPostClassPrepare()
1256 ExpandBuf* pReq; in dvmJdwpDdmSendChunk()
DJdwpEvent.h127 bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq);
DJdwpAdb.c413 ExpandBuf* pReply = expandBufAlloc(); in handlePacket()
623 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest()
DJdwpSocket.c605 ExpandBuf* pReply = expandBufAlloc(); in handlePacket()
823 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.h186 ExpandBuf* pReply);
199 ExpandBuf* pReply);
201 ExpandBuf* pReply);
202 void dvmDbgOutputAllInterfaces(RefTypeId refTypeId, ExpandBuf* pReply);
204 ExpandBuf* pReply);
206 bool withGeneric, ExpandBuf* pReply);
DDebugger.c1013 ExpandBuf* pReply) in dvmDbgOutputArray()
1154 ExpandBuf* pReply) in dvmDbgOutputAllFields()
1196 ExpandBuf* pReply) in dvmDbgOutputAllMethods()
1248 void dvmDbgOutputAllInterfaces(RefTypeId refTypeId, ExpandBuf* pReply) in dvmDbgOutputAllInterfaces()
1271 ExpandBuf* pReply;
1293 ExpandBuf* pReply) in dvmDbgOutputLineTable()
1400 bool withGeneric, ExpandBuf* pReply) in dvmDbgOutputVariableTable()
DAndroid.mk134 jdwp/ExpandBuf.c \