Searched refs:curLen (Results 1 – 1 of 1) sorted by relevance
40 int curLen; member52 newBuf->curLen = 0; in expandBufAlloc()80 return pBuf->curLen; in expandBufGetLength()88 if (pBuf->curLen + newCount <= pBuf->maxLen) { in ensureSpace()92 while (pBuf->curLen + newCount > pBuf->maxLen) { in ensureSpace()111 gapStart = pBuf->storage + pBuf->curLen; in expandBufAddSpace()113 pBuf->curLen += gapSize; in expandBufAddSpace()123 *(pBuf->storage + pBuf->curLen) = val; in expandBufAdd1()124 pBuf->curLen++; in expandBufAdd1()132 Set2BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd2BE()[all …]