Searched refs:curLen (Results 1 – 1 of 1) sorted by relevance
109 size_t curLen; member124 newBuf->curLen = 0; in ebAlloc()157 return pBuf->curLen; in ebGetLength()165 pBuf->curLen = 0; in ebClear()175 if (pBuf->curLen + size > pBuf->maxLen) { in ebEnsureCapacity()176 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ in ebEnsureCapacity()187 assert(pBuf->curLen + size <= pBuf->maxLen); in ebEnsureCapacity()197 memcpy(pBuf->storage + pBuf->curLen, data, count); in ebAddData()198 pBuf->curLen += count; in ebAddData()218 pBuf->storage[pBuf->curLen++] = (unsigned char) ic; in ebReadString()[all …]