Searched refs:totalCommentLength (Results 1 – 1 of 1) sorted by relevance
513 unsigned short totalCommentLength = 0; in commentChunk() local526 if (((size_t)totalCommentLength) + commentLength > USHRT_MAX) { in commentChunk()530 totalCommentLength += commentLength; in commentChunk()533 *text = lsx_malloc((size_t) totalCommentLength + 1); in commentChunk()536 *text = lsx_realloc(*text, (size_t) totalCommentLength + 1); in commentChunk()539 …if (lsx_readbuf(ft, *text + totalCommentLength - commentLength, (size_t) commentLength) != comment… in commentChunk()543 *(*text + totalCommentLength) = '\0'; in commentChunk()544 totalReadLength += totalCommentLength + 4 + 2 + 2; /* include header */ in commentChunk()