Lines Matching refs:bufferPos
42 size_t newSize = state->bufferPos + size;
48 state->bufferPos = state->currentLimit;
55 return ((int8_t *)state->bytes)[state->bufferPos++];
60 int32_t value = OSReadLittleInt32(state->bytes, state->bufferPos);
61 state->bufferPos += sizeof(int32_t);
67 int64_t value = OSReadLittleInt64(state->bytes, state->bufferPos);
68 state->bufferPos += sizeof(int64_t);
124 state->bufferPos += size;
219 result = [[NSString alloc] initWithBytes:&state->bytes[state->bufferPos]
222 state->bufferPos += size;
240 NSData *result = [[NSData alloc] initWithBytes:state->bytes + state->bufferPos
242 state->bufferPos += size;
253 initWithBytesNoCopy:(void *)(state->bytes + state->bufferPos)
256 state->bufferPos += size;
262 byteLimit += state->bufferPos;
278 return state->currentLimit - state->bufferPos;
282 return (state->bufferPos == state->bufferSize) ||
283 (state->bufferPos == state->currentLimit);
368 return state_.bufferPos;