Searched refs:curPos (Results 1 – 2 of 2) sorted by relevance
1550 job->curPos = 0; in JobExec()1849 nRead = read(job->inPipe, &job->outBuf[job->curPos], in CollectOutput()1850 JOB_BUFSIZE - job->curPos); in CollectOutput()1868 if (nr == 0 && job->curPos != 0) { in CollectOutput()1869 job->outBuf[job->curPos] = '\n'; in CollectOutput()1873 max = job->curPos + nr; in CollectOutput()1874 for (i = job->curPos; i < max; i++) in CollectOutput()1879 for (i = job->curPos + nr - 1; in CollectOutput()1880 i >= job->curPos && i != (size_t)-1; i--) { in CollectOutput()1888 job->curPos += nr; in CollectOutput()[all …]
177 size_t curPos; /* Current position in outBuf. */ member