Lines Matching defs:copiedTotal
3525 int copiedTotal; /* Accumulates total length of input copied. */
3537 copiedTotal = -1;
3544 for (copiedTotal = 0; copiedTotal < lineLen; copiedTotal += copiedNow) {
3545 copiedNow = CopyAndTranslateBuffer(chanPtr, buf + copiedTotal,
3546 lineLen - copiedTotal);
3548 if ((copiedTotal > 0) && (buf[copiedTotal - 1] == '\n')) {
3549 copiedTotal--;
3551 Tcl_DStringSetLength(lineRead, copiedTotal + offset);
3560 return copiedTotal;
3599 int copiedTotal; /* Accumulates total length of input copied. */
3611 copiedTotal = -1;
3619 for (copiedTotal = 0; copiedTotal < lineLen; copiedTotal += copiedNow) {
3620 copiedNow = CopyAndTranslateBuffer(chanPtr, buf + copiedTotal,
3621 lineLen - copiedTotal);
3623 if ((copiedTotal > 0) && (buf[copiedTotal - 1] == '\n')) {
3624 copiedTotal--;
3626 Tcl_SetObjLength(objPtr, copiedTotal + offset);
3635 return copiedTotal;