Lines Matching refs:spentBytes
347 sint32 spentBytes = 0;
369 while (spentBytes < bytesToSpend && (!m_ControlQueueFirst_list.empty() || !m_ControlQueue_list.empty())) {
381 SocketSentBytes socketSentBytes = socket->SendControlData(bytesToSpend-spentBytes, minFragSize);
382 spentBytes += socketSentBytes.sentBytesControlPackets + socketSentBytes.sentBytesStandardPackets;
399 spentBytes += socketSentBytes.sentBytesControlPackets + socketSentBytes.sentBytesStandardPackets;
413 for (uint32 slotCounter = 0; (slotCounter < slots * 2) && spentBytes < bytesToSpend; slotCounter++) {
419 : (bytesToSpend - spentBytes); // pass 2
425 spentBytes += socketSentBytes.sentBytesControlPackets + socketSentBytes.sentBytesStandardPackets;
436 bytesToSpend -= spentBytes;
448 m_SentBytesSinceLastCall += spentBytes;
451 if (spentBytes == 0) { // spentBytes includes the overhead