Lines Matching refs:NumBytesToWrite
375 unsigned NumBytesToWrite; in _WriteBlocking() local
388 NumBytesToWrite = RdOff - WrOff - 1u; in _WriteBlocking()
390 NumBytesToWrite = pRing->SizeOfBuffer - (WrOff - RdOff + 1u); in _WriteBlocking()
392 …NumBytesToWrite = MIN(NumBytesToWrite, (pRing->SizeOfBuffer - WrOff)); // Number of bytes tha… in _WriteBlocking()
393 NumBytesToWrite = MIN(NumBytesToWrite, NumBytes); in _WriteBlocking()
396 NumBytesWritten += NumBytesToWrite; in _WriteBlocking()
397 NumBytes -= NumBytesToWrite; in _WriteBlocking()
398 WrOff += NumBytesToWrite; in _WriteBlocking()
399 while (NumBytesToWrite--) { in _WriteBlocking()
403 SEGGER_RTT_MEMCPY((void*)pDst, pBuffer, NumBytesToWrite); in _WriteBlocking()
404 NumBytesWritten += NumBytesToWrite; in _WriteBlocking()
405 pBuffer += NumBytesToWrite; in _WriteBlocking()
406 NumBytes -= NumBytesToWrite; in _WriteBlocking()
407 WrOff += NumBytesToWrite; in _WriteBlocking()