Searched refs:bytesToWrite (Results 1 – 3 of 3) sorted by relevance
41 size_t bytesToWrite = 0; in write_field_or_skip() local56 bytesToWrite = 8; in write_field_or_skip()59 bytesToWrite = in->readRawVarint(); in write_field_or_skip()61 out->writeLengthDelimitedHeader(read_field_id(fieldTag), bytesToWrite); in write_field_or_skip()68 bytesToWrite = 4; in write_field_or_skip()72 in->move(bytesToWrite); in write_field_or_skip()74 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()