Lines Matching refs:pos
51 int pos = off;
54 if (finishLine(cbuf[pos] == '\n')) {
55 pos++;
59 int start = pos;
60 for (int end = off + len; pos < end; pos++) {
61 switch (cbuf[pos]) {
63 line.append(cbuf, start, pos - start);
65 if (pos + 1 < end) {
66 if (finishLine(cbuf[pos + 1] == '\n')) {
67 pos++;
70 start = pos + 1;
74 line.append(cbuf, start, pos - start);
76 start = pos + 1;