Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_expand_buf.cc59 void expandBufFree(ExpandBuf* pBuf) { in expandBufFree() argument
60 if (pBuf == nullptr) { in expandBufFree()
64 free(pBuf->storage); in expandBufFree()
65 delete pBuf; in expandBufFree()
71 uint8_t* expandBufGetBuffer(ExpandBuf* pBuf) { in expandBufGetBuffer() argument
72 return pBuf->storage; in expandBufGetBuffer()
78 size_t expandBufGetLength(ExpandBuf* pBuf) { in expandBufGetLength() argument
79 return pBuf->curLen; in expandBufGetLength()
86 static void ensureSpace(ExpandBuf* pBuf, int newCount) { in ensureSpace() argument
87 if (pBuf->curLen + newCount <= pBuf->maxLen) { in ensureSpace()
[all …]
Djdwp_expand_buf.h37 void expandBufFree(ExpandBuf* pBuf);
43 uint8_t* expandBufGetBuffer(ExpandBuf* pBuf);
44 size_t expandBufGetLength(ExpandBuf* pBuf);
57 uint8_t* expandBufAddSpace(ExpandBuf* pBuf, int gapSize);
58 void expandBufAdd1(ExpandBuf* pBuf, uint8_t val);
59 void expandBufAdd2BE(ExpandBuf* pBuf, uint16_t val);
60 void expandBufAdd4BE(ExpandBuf* pBuf, uint32_t val);
61 void expandBufAdd8BE(ExpandBuf* pBuf, uint64_t val);
62 void expandBufAddUtf8String(ExpandBuf* pBuf, const char* s);
63 void expandBufAddUtf8String(ExpandBuf* pBuf, const std::string& s);
Djdwp.h63 ObjectId ReadObjectId(const uint8_t** pBuf);