Searched defs:pBuf (Results 1 - 5 of 5) sorted by relevance

/dalvik/vm/jdwp/
H A DExpandBuf.cpp56 void expandBufFree(ExpandBuf* pBuf) argument
58 if (pBuf == NULL)
61 free(pBuf->storage);
62 free(pBuf);
68 u1* expandBufGetBuffer(ExpandBuf* pBuf) argument
70 return pBuf->storage;
76 size_t expandBufGetLength(ExpandBuf* pBuf) argument
78 return pBuf->curLen;
86 static void ensureSpace(ExpandBuf* pBuf, int newCount) argument
90 if (pBuf
108 expandBufAddSpace(ExpandBuf* pBuf, int gapSize) argument
123 expandBufAdd1(ExpandBuf* pBuf, u1 val) argument
133 expandBufAdd2BE(ExpandBuf* pBuf, u2 val) argument
143 expandBufAdd4BE(ExpandBuf* pBuf, u4 val) argument
153 expandBufAdd8BE(ExpandBuf* pBuf, u8 val) argument
168 expandBufAddUtf8String(ExpandBuf* pBuf, const u1* str) argument
[all...]
H A DJdwp.h50 INLINE FieldId dvmReadFieldId(const u1** pBuf) { return read4BE(pBuf); } argument
51 INLINE MethodId dvmReadMethodId(const u1** pBuf) { return read4BE(pBuf); } argument
52 INLINE ObjectId dvmReadObjectId(const u1** pBuf) { return read8BE(pBuf); } argument
53 INLINE RefTypeId dvmReadRefTypeId(const u1** pBuf) { return read8BE(pBuf); } argument
54 INLINE FrameId dvmReadFrameId(const u1** pBuf) { return read8BE(pBuf); } argument
[all...]
H A DJdwpHandler.cpp44 static void jdwpReadLocation(const u1** pBuf, JdwpLocation* pLoc) argument
47 pLoc->typeTag = read1(pBuf);
48 pLoc->classId = dvmReadObjectId(pBuf);
49 pLoc->methodId = dvmReadMethodId(pBuf);
50 pLoc->idx = read8BE(pBuf);
67 static u8 jdwpReadValue(const u1** pBuf, int width) argument
72 case 1: value = read1(pBuf); break;
73 case 2: value = read2BE(pBuf); break;
74 case 4: value = read4BE(pBuf); break;
75 case 8: value = read8BE(pBuf); brea
[all...]
/dalvik/tools/hprof-conv/
H A DHprofConv.c124 static void ebFree(ExpandBuf* pBuf) argument
126 if (pBuf != NULL) {
127 free(pBuf->storage);
128 free(pBuf);
138 static inline unsigned char* ebGetBuffer(ExpandBuf* pBuf) argument
140 return pBuf->storage;
146 static inline size_t ebGetLength(ExpandBuf* pBuf) argument
148 return pBuf->curLen;
154 static void ebClear(ExpandBuf* pBuf) argument
156 pBuf
162 ebEnsureCapacity(ExpandBuf* pBuf, int size) argument
185 ebAddData(ExpandBuf* pBuf, const void* data, size_t count) argument
196 ebReadString(ExpandBuf* pBuf, FILE* in) argument
221 ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) argument
247 ebWriteData(ExpandBuf* pBuf, FILE* out) argument
426 processHeapDump(ExpandBuf* pBuf, FILE* out) argument
576 ExpandBuf* pBuf; local
[all...]
/dalvik/vm/reflect/
H A DAnnotation.cpp58 * Read an unsigned LEB128 value from a buffer. Advances "pBuf".
60 static u4 readUleb128(const u1** pBuf) argument
64 const u1* buf = *pBuf;
80 *pBuf = buf;

Completed in 241 milliseconds