Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 6 of 6) sorted by relevance

/dalvik/vm/jdwp/
DExpandBuf.cpp56 void expandBufFree(ExpandBuf* pBuf) in expandBufFree() argument
58 if (pBuf == NULL) in expandBufFree()
61 free(pBuf->storage); in expandBufFree()
62 free(pBuf); in expandBufFree()
68 u1* expandBufGetBuffer(ExpandBuf* pBuf) in expandBufGetBuffer() argument
70 return pBuf->storage; in expandBufGetBuffer()
76 size_t expandBufGetLength(ExpandBuf* pBuf) in expandBufGetLength() argument
78 return pBuf->curLen; in expandBufGetLength()
86 static void ensureSpace(ExpandBuf* pBuf, int newCount) in ensureSpace() argument
90 if (pBuf->curLen + newCount <= pBuf->maxLen) in ensureSpace()
[all …]
DExpandBuf.h29 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);
54 void expandBufAddUtf8String(ExpandBuf* pBuf, const u1* str);
DJdwp.h50 INLINE FieldId dvmReadFieldId(const u1** pBuf) { return read4BE(pBuf); } in dvmReadFieldId() argument
51 INLINE MethodId dvmReadMethodId(const u1** pBuf) { return read4BE(pBuf); } in dvmReadMethodId() argument
52 INLINE ObjectId dvmReadObjectId(const u1** pBuf) { return read8BE(pBuf); } in dvmReadObjectId() argument
53 INLINE RefTypeId dvmReadRefTypeId(const u1** pBuf) { return read8BE(pBuf); } in dvmReadRefTypeId() argument
54 INLINE FrameId dvmReadFrameId(const u1** pBuf) { return read8BE(pBuf); } in dvmReadFrameId() argument
DJdwpHandler.cpp44 static void jdwpReadLocation(const u1** pBuf, JdwpLocation* pLoc) in jdwpReadLocation() argument
47 pLoc->typeTag = read1(pBuf); in jdwpReadLocation()
48 pLoc->classId = dvmReadObjectId(pBuf); in jdwpReadLocation()
49 pLoc->methodId = dvmReadMethodId(pBuf); in jdwpReadLocation()
50 pLoc->idx = read8BE(pBuf); in jdwpReadLocation()
67 static u8 jdwpReadValue(const u1** pBuf, int width) in jdwpReadValue() argument
72 case 1: value = read1(pBuf); break; in jdwpReadValue()
73 case 2: value = read2BE(pBuf); break; in jdwpReadValue()
74 case 4: value = read4BE(pBuf); break; in jdwpReadValue()
75 case 8: value = read8BE(pBuf); break; in jdwpReadValue()
/dalvik/tools/hprof-conv/
DHprofConv.c124 static void ebFree(ExpandBuf* pBuf) in ebFree() argument
126 if (pBuf != NULL) { in ebFree()
127 free(pBuf->storage); in ebFree()
128 free(pBuf); in ebFree()
138 static inline unsigned char* ebGetBuffer(ExpandBuf* pBuf) in ebGetBuffer() argument
140 return pBuf->storage; in ebGetBuffer()
146 static inline size_t ebGetLength(ExpandBuf* pBuf) in ebGetLength() argument
148 return pBuf->curLen; in ebGetLength()
154 static void ebClear(ExpandBuf* pBuf) in ebClear() argument
156 pBuf->curLen = 0; in ebClear()
[all …]
/dalvik/vm/reflect/
DAnnotation.cpp60 static u4 readUleb128(const u1** pBuf) in readUleb128() argument
64 const u1* buf = *pBuf; in readUleb128()
80 *pBuf = buf; in readUleb128()