Searched refs:curLen (Results 1 – 1 of 1) sorted by relevance
114 size_t curLen; member129 newBuf->curLen = 0; in ebAlloc()162 return pBuf->curLen; in ebGetLength()170 pBuf->curLen = 0; in ebClear()180 if (pBuf->curLen + size > pBuf->maxLen) { in ebEnsureCapacity()181 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ in ebEnsureCapacity()192 assert(pBuf->curLen + size <= pBuf->maxLen); in ebEnsureCapacity()202 memcpy(pBuf->storage + pBuf->curLen, data, count); in ebAddData()203 pBuf->curLen += count; in ebAddData()223 pBuf->storage[pBuf->curLen++] = (unsigned char) ic; in ebReadString()[all …]