Home | History | Annotate | Download | only in liblog

Lines Matching full:prefixlen

1284     size_t prefixLen = 0, suffixLen = 0;
1344 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "\x1B[38;5;%dm",
1346 prefixLen = MIN(prefixLen, sizeof(prefixBuf));
1377 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1386 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1390 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1396 prefixBuf[prefixLen] = 0;
1402 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1413 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1420 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1429 len = snprintf(prefixBuf + prefixLen, sizeof(prefixBuf) - prefixLen,
1442 prefixLen += len;
1443 if (prefixLen >= sizeof(prefixBuf)) {
1444 prefixLen = sizeof(prefixBuf) - 1;
1482 bufferSize = (numLines * (prefixLen + suffixLen)) + 1;
1507 p += prefixLen;
1528 p += prefixLen;