Lines Matching refs:bufferPos
78 size_t newSize = state->bufferPos + size;
84 state->bufferPos = state->currentLimit;
91 return ((int8_t *)state->bytes)[state->bufferPos++];
99 memcpy(&value, state->bytes + state->bufferPos, sizeof(int32_t));
101 state->bufferPos += sizeof(int32_t);
110 memcpy(&value, state->bytes + state->bufferPos, sizeof(int64_t));
112 state->bufferPos += sizeof(int64_t);
137 state->bufferPos += size;
237 result = [[NSString alloc] initWithBytes:&state->bytes[state->bufferPos]
240 state->bufferPos += size;
257 NSData *result = [[NSData alloc] initWithBytes:state->bytes + state->bufferPos
259 state->bufferPos += size;
270 initWithBytesNoCopy:(void *)(state->bytes + state->bufferPos)
273 state->bufferPos += size;
279 byteLimit += state->bufferPos;
294 return state->currentLimit - state->bufferPos;
298 return (state->bufferPos == state->bufferSize) ||
299 (state->bufferPos == state->currentLimit);
388 return state_.bufferPos;