Searched refs:bytesToWrite (Results 1 – 2 of 2) sorted by relevance
118 size_t bytesToWrite = numShorts * sizeof(uint16_t); in writeBurstBufferShorts() local119 if (wouldOverflowBuffer(bytesToWrite)) { in writeBurstBufferShorts()124 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite); in writeBurstBufferShorts()125 mByteCursor += bytesToWrite; in writeBurstBufferShorts()273 size_t bytesToWrite = bytesLeft; in write() local275 if (bytesToWrite > mPayloadBytesPending) { in write()276 bytesToWrite = mPayloadBytesPending; in write()278 writeBurstBufferBytes(data, bytesToWrite); in write()280 data += bytesToWrite; in write()281 bytesLeft -= bytesToWrite; in write()[all …]
71 std::vector<uint8_t> bytesToWrite = in LLVMFuzzerTestOneInput() local73 ssize_t actualFramesWritten = writer.write(&bytesToWrite[0], framesToWrite); in LLVMFuzzerTestOneInput()