Lines Matching refs:cchText
565 * @param cchText The number of chars (bytes) to write.
567 static void rtLogRingBufWrite(PRTLOGGERINTERNAL pInt, const char *pachText, size_t cchText)
587 if (cchText < cchLeft)
592 memcpy(pchCur, pachText, cchText);
593 pchCur[cchText] = '\0';
594 pInt->pchRingBufCur = &pchCur[cchText];
595 pInt->cbRingBufUnflushed += cchText;
607 cchText -= cchLeft;
612 while (cchText >= cchBuf)
616 cchText -= cchBuf;
621 if (cchText > 0)
623 memcpy(pchStart, pachText, cchText);
624 pInt->cbRingBufUnflushed += cchText;
626 pchStart[cchText] = '\0';
627 pInt->pchRingBufCur = &pchStart[cchText];