Lines Matching refs:internalBuffer
193 sp<EncodedBuffer> internalBuffer = buffer.data(); in Execute() local
194 internalBuffer->writeHeader((uint32_t)GZippedFileProto::FILENAME, WIRE_TYPE_LENGTH_DELIMITED); in Execute()
196 internalBuffer->writeRawVarint32(fileLen); in Execute()
198 internalBuffer->writeRawByte(mFilenames[index][i]); in Execute()
200 internalBuffer->writeHeader((uint32_t)GZippedFileProto::GZIPPED_DATA, in Execute()
202 size_t editPos = internalBuffer->wp()->pos(); in Execute()
203 internalBuffer->wp()->move(8); // reserve 8 bytes for the varint of the data size. in Execute()
204 size_t dataBeginAt = internalBuffer->wp()->pos(); in Execute()
225 internalBuffer->wp()->rewind()->move(editPos); in Execute()
226 internalBuffer->writeRawVarint32(dataSize); in Execute()
227 internalBuffer->copy(dataBeginAt, dataSize); in Execute()
497 sp<EncodedBuffer> internalBuffer = buffer.data(); in Execute() local
498 internalBuffer->writeHeader((uint32_t)TextDumpProto::CONTENT, WIRE_TYPE_LENGTH_DELIMITED); in Execute()
499 size_t editPos = internalBuffer->wp()->pos(); in Execute()
500 internalBuffer->wp()->move(8); // reserve 8 bytes for the varint of the data size in Execute()
501 size_t dataBeginPos = internalBuffer->wp()->pos(); in Execute()
516 internalBuffer->wp()->rewind()->move(editPos); in Execute()
517 internalBuffer->writeRawVarint32(dumpSize); in Execute()
518 internalBuffer->copy(dataBeginPos, dumpSize); in Execute()