Lines Matching refs:cchBuf

574     size_t const cchBuf   = pInt->cbRingBuf - sizeof(RTLOG_RINGBUF_EYE_CATCHER) - sizeof(RTLOG_RINGBUF_EYE_CATCHER_END);
577 if (RT_LIKELY(cchLeft < cchBuf))
578 cchLeft = cchBuf - cchLeft;
583 cchLeft = cchBuf;
585 Assert(cchBuf < pInt->cbRingBuf);
612 while (cchText >= cchBuf)
614 memcpy(pchStart, pachText, cchBuf);
615 pachText += cchBuf;
616 cchText -= cchBuf;
617 pInt->cbRingBufUnflushed += cchBuf;
652 size_t const cchBuf = pLogger->pInt->cbRingBuf - sizeof(RTLOG_RINGBUF_EYE_CATCHER) - sizeof(RTLOG_RINGBUF_EYE_CATCHER_END);
655 if (RT_LIKELY(offCur < cchBuf))
656 cchAfter = cchBuf - offCur;
660 cchAfter = cchBuf;
673 if (cchUnflushed >= cchBuf)
694 pszFirst = &pszBuf[cchBuf - cchFirst];
1924 * @param cchBuf The size of the output buffer. Must be greater
1927 RTDECL(int) RTLogGetGroupSettings(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
1935 Assert(cchBuf);
1960 rc = rtLogGetGroupSettingsAddOne("all", fGroup, &pszBuf, &cchBuf, &fNotFirst);
1975 rc = rtLogGetGroupSettingsAddOne(pszName, fGroup, &pszBuf, &cchBuf, &fNotFirst);
2148 * @param cchBuf The size of the output buffer. Must be greater
2151 RTDECL(int) RTLogGetFlags(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
2158 Assert(cchBuf);
2183 if (cchInstr + fNotFirst + 1 > cchBuf)
2191 cchBuf--;
2195 cchBuf -= cchInstr;
2405 * @param cchBuf The size of the output buffer. Must be greater
2408 RTDECL(int) RTLogGetDestinations(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
2415 AssertReturn(cchBuf, VERR_INVALID_PARAMETER);
2437 rc = RTStrCopyP(&pszBuf, &cchBuf, " ");
2441 rc = RTStrCopyP(&pszBuf, &cchBuf, s_aLogDst[i].pszInstr);
2455 rc = RTStrCopyP(&pszBuf, &cchBuf, fNotFirst ? " file=" : "file=");
2458 rc = RTStrCopyP(&pszBuf, &cchBuf, pLogger->pInt->szFilename);
2466 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum);
2474 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum);
2482 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum);
2496 rc = RTStrCopyP(&pszBuf, &cchBuf, fNotFirst ? " ringbuf" : "ringbuf");
2500 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum);