Lines Matching refs:uint8_t
103 uint8_t* buf = mBuffers[i]; in ~EncodedBuffer()
108 inline uint8_t*
134 uint8_t*
139 uint8_t* buf = NULL; in writeBuffer()
143 buf = (uint8_t*)mmap(NULL, mChunkSize, PROT_READ | PROT_WRITE, in writeBuffer()
160 EncodedBuffer::writeRawByte(uint8_t val) in writeRawByte()
173 writeRawByte((uint8_t) val); in writeRawVarint64()
176 writeRawByte((uint8_t)((val & 0x7F) | 0x80)); in writeRawVarint64()
192 writeRawByte((uint8_t) val); in writeRawFixed32()
193 writeRawByte((uint8_t) (val>>8)); in writeRawFixed32()
194 writeRawByte((uint8_t) (val>>16)); in writeRawFixed32()
195 writeRawByte((uint8_t) (val>>24)); in writeRawFixed32()
201 writeRawByte((uint8_t) val); in writeRawFixed64()
202 writeRawByte((uint8_t) (val>>8)); in writeRawFixed64()
203 writeRawByte((uint8_t) (val>>16)); in writeRawFixed64()
204 writeRawByte((uint8_t) (val>>24)); in writeRawFixed64()
205 writeRawByte((uint8_t) (val>>32)); in writeRawFixed64()
206 writeRawByte((uint8_t) (val>>40)); in writeRawFixed64()
207 writeRawByte((uint8_t) (val>>48)); in writeRawFixed64()
208 writeRawByte((uint8_t) (val>>56)); in writeRawFixed64()
212 EncodedBuffer::writeHeader(uint32_t fieldId, uint8_t wireType) in writeHeader()
218 EncodedBuffer::writeRaw(uint8_t const* buf, size_t size) in writeRaw()
221 uint8_t* target = writeBuffer(); in writeRaw()
241 uint8_t const* buf; in writeRaw()
257 uint8_t const* buf; in writeRaw()
281 uint8_t
284 uint8_t val = *at(mEp); in readRawByte()
295 uint8_t byte = readRawByte(); in readRawVarint()
329 *at(mEp) = (uint8_t) (val >> i); in editRawFixed32()
376 uint8_t const*
379 return hasNext() ? const_cast<uint8_t const*>(mData->at(mRp)) : NULL; in readBuffer()
396 uint8_t
399 uint8_t res = *(mData->at(mRp)); in next()
409 uint8_t byte = next(); in readRawVarint()