Lines Matching refs:bufferPos
55 if (state.bufferPos + 6 <= state.bufferSize)
58 int length = buffer[state.bufferPos];
61 state.bufferPos++;
66 if (length != 5 || buffer[state.bufferPos + 1] != 13)
70 state.bufferPos += 2;
86 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length;
100 while (state.totalBytesRetired + state.bufferPos < finalBufferPos);
107 if (state.bufferPos + 10 <= state.bufferSize)
110 int length = buffer[state.bufferPos];
113 state.bufferPos++;
118 if (length != 9 || buffer[state.bufferPos + 1] != 9)
122 state.bufferPos += 2;
138 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length;
152 while (state.totalBytesRetired + state.bufferPos < finalBufferPos);
164 if (state.bufferPos + 7 <= state.bufferSize)
167 int pos0 = state.bufferPos;
168 int length = buffer[state.bufferPos++];
176 state.bufferPos = pos0;
179 int finalBufferPos = state.bufferPos + length;
181 if (buffer[state.bufferPos++] != 8)
183 state.bufferPos = pos0;
188 if (state.bufferPos != finalBufferPos)
190 state.bufferPos = pos0;
208 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length;
222 while (state.totalBytesRetired + state.bufferPos < finalBufferPos);
236 if (state.bufferPos + 12 <= state.bufferSize)
239 int pos0 = state.bufferPos;
240 int length = buffer[state.bufferPos++];
248 state.bufferPos = pos0;
251 int finalBufferPos = state.bufferPos + length;
252 if (buffer[state.bufferPos++] != expectedTag)
254 state.bufferPos = pos0;
259 if (state.bufferPos != finalBufferPos)
261 state.bufferPos = pos0;
281 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length;
294 while (state.totalBytesRetired + state.bufferPos < finalBufferPos);