Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_expand_buf.cc60 void expandBufFree(ExpandBuf* pBuf) { in expandBufFree() argument
61 if (pBuf == nullptr) { in expandBufFree()
65 free(pBuf->storage); in expandBufFree()
66 delete pBuf; in expandBufFree()
72 uint8_t* expandBufGetBuffer(ExpandBuf* pBuf) { in expandBufGetBuffer() argument
73 return pBuf->storage; in expandBufGetBuffer()
79 size_t expandBufGetLength(ExpandBuf* pBuf) { in expandBufGetLength() argument
80 return pBuf->curLen; in expandBufGetLength()
87 static void ensureSpace(ExpandBuf* pBuf, int newCount) { in ensureSpace() argument
88 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.h65 ObjectId ReadObjectId(const uint8_t** pBuf);