Searched refs:bytesToWrite (Results 1 – 3 of 3) sorted by relevance
44 size_t bytesToWrite = 0; in write_field_or_skip() local59 bytesToWrite = 8; in write_field_or_skip()62 bytesToWrite = in->readRawVarint(); in write_field_or_skip()64 out->writeLengthDelimitedHeader(read_field_id(fieldTag), bytesToWrite); in write_field_or_skip()71 bytesToWrite = 4; in write_field_or_skip()75 in->move(bytesToWrite); in write_field_or_skip()77 for (size_t i = 0; i < bytesToWrite; i++) { in write_field_or_skip()
66 private final void ensureFit(int bytesToWrite) { in ensureFit() argument67 if (mOffset + bytesToWrite > mBuffer.length) { in ensureFit()69 mBuffer = new byte[Math.max(mOffset + bytesToWrite, mBuffer.length * 2)]; in ensureFit()
574 int bytesToWrite = length; in write() local575 while (bytesToWrite > 0) { in write()576 int tmpLength = (bytesToWrite > mMaxTxPacketSize) in write()578 : bytesToWrite; in write()581 bytesToWrite -= tmpLength; in write()