Lines Matching refs:storage
38 uint8_t* storage;
46 * Allocate a JdwpBuf and some initial storage.
50 newBuf->storage = reinterpret_cast<uint8_t*>(malloc(kInitialStorage));
57 * Free a JdwpBuf and associated storage.
64 free(pBuf->storage);
72 return pBuf->storage;
95 uint8_t* newPtr = reinterpret_cast<uint8_t*>(realloc(pBuf->storage, pBuf->maxLen));
100 pBuf->storage = newPtr;
110 gapStart = pBuf->storage + pBuf->curLen;
122 *(pBuf->storage + pBuf->curLen) = val;
131 Set2BE(pBuf->storage + pBuf->curLen, val);
140 Set4BE(pBuf->storage + pBuf->curLen, val);
149 Set8BE(pBuf->storage + pBuf->curLen, val);
169 SetUtf8String(pBuf->storage + pBuf->curLen, s, strLen);
175 SetUtf8String(pBuf->storage + pBuf->curLen, s.data(), s.size());