Lines Matching refs:currentLimit
108 /// Sets currentLimit to (current position) + byteLimit. This is called
120 int oldLimit = state.currentLimit;
125 state.currentLimit = byteLimit;
137 state.currentLimit = oldLimit;
147 if (state.currentLimit == int.MaxValue)
152 return currentAbsolutePosition >= state.currentLimit;
170 if (state.totalBytesRetired + state.bufferSize == state.currentLimit)
225 if (state.totalBytesRetired + state.bufferSize == state.currentLimit)
276 if (bufferEnd > state.currentLimit)
279 state.bufferSizeAfterLimit = bufferEnd - state.currentLimit;