Home
last modified time | relevance | path

Searched refs:ExpandBuf (Results 1 – 13 of 13) 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.c73 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc) in dvmJdwpAddLocation()
102 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value) in jdwpWriteValue()
120 const u1* buf, int dataLen, ExpandBuf* pReply, in finishInvoke()
212 int dataLen, ExpandBuf* pReply) in handleVM_Version()
237 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_ClassesBySignature()
288 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_AllThreads()
313 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_TopLevelThreadGroups()
340 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_IDSizes()
357 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Dispose()
369 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.h63 bool (*sendRequest)(struct JdwpState* state, ExpandBuf* pReq);
170 INLINE bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) { in dvmJdwpSendRequest()
DJdwpEvent.c705 static ExpandBuf* eventPrep(void) in eventPrep()
707 ExpandBuf* pReq; in eventPrep()
720 static void eventFinish(JdwpState* state, ExpandBuf* pReq) in eventFinish()
757 ExpandBuf* pReq = NULL; in dvmJdwpPostVMStart()
872 ExpandBuf* pReq = NULL; in dvmJdwpPostLocationEvent()
956 ExpandBuf* pReq = NULL; in dvmJdwpPostThreadChange()
1005 ExpandBuf* pReq; in dvmJdwpPostVMDeath()
1066 ExpandBuf* pReq = NULL; in dvmJdwpPostException()
1165 ExpandBuf* pReq = NULL; in dvmJdwpPostClassPrepare()
DJdwpEvent.h127 bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq);
DJdwpAdb.c453 ExpandBuf* pReply = expandBufAlloc(); in handlePacket()
669 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest()
DJdwpSocket.c609 ExpandBuf* pReply = expandBufAlloc(); in handlePacket()
827 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.h188 ExpandBuf* pReply);
203 ExpandBuf* pReply);
205 ExpandBuf* pReply);
206 void dvmDbgOutputAllInterfaces(RefTypeId refTypeId, ExpandBuf* pReply);
208 ExpandBuf* pReply);
210 bool withGeneric, ExpandBuf* pReply);
DDebugger.c1050 ExpandBuf* pReply) in dvmDbgOutputArray()
1218 ExpandBuf* pReply) in dvmDbgOutputAllFields()
1260 ExpandBuf* pReply) in dvmDbgOutputAllMethods()
1312 void dvmDbgOutputAllInterfaces(RefTypeId refTypeId, ExpandBuf* pReply) in dvmDbgOutputAllInterfaces()
1335 ExpandBuf* pReply;
1357 ExpandBuf* pReply) in dvmDbgOutputLineTable()
1463 bool withGeneric, ExpandBuf* pReply) in dvmDbgOutputVariableTable()