Home
last modified time | relevance | path

Searched refs:bytesToWrite (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp44 size_t bytesToWrite = 0; in write_field_or_skip() local
59 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()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSerializedFrame.java66 private final void ensureFit(int bytesToWrite) { in ensureFit() argument
67 if (mOffset + bytesToWrite > mBuffer.length) { in ensureFit()
69 mBuffer = new byte[Math.max(mOffset + bytesToWrite, mBuffer.length * 2)]; in ensureFit()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java574 int bytesToWrite = length; in write() local
575 while (bytesToWrite > 0) { in write()
576 int tmpLength = (bytesToWrite > mMaxTxPacketSize) in write()
578 : bytesToWrite; in write()
581 bytesToWrite -= tmpLength; in write()