Lines Matching refs:NumBytesToWrite
383 unsigned NumBytesToWrite; in _WriteBlocking() local
398 NumBytesToWrite = RdOff - WrOff - 1u; in _WriteBlocking()
402 NumBytesToWrite = pRing->SizeOfBuffer - (WrOff - RdOff + 1u); in _WriteBlocking()
404 NumBytesToWrite = MIN(NumBytesToWrite, (pRing->SizeOfBuffer - in _WriteBlocking()
406 NumBytesToWrite = MIN(NumBytesToWrite, NumBytes); in _WriteBlocking()
409 NumBytesWritten += NumBytesToWrite; in _WriteBlocking()
410 NumBytes -= NumBytesToWrite; in _WriteBlocking()
411 WrOff += NumBytesToWrite; in _WriteBlocking()
412 while (NumBytesToWrite--) in _WriteBlocking()
417 SEGGER_RTT_MEMCPY((void *)pDst, pBuffer, NumBytesToWrite); in _WriteBlocking()
418 NumBytesWritten += NumBytesToWrite; in _WriteBlocking()
419 pBuffer += NumBytesToWrite; in _WriteBlocking()
420 NumBytes -= NumBytesToWrite; in _WriteBlocking()
421 WrOff += NumBytesToWrite; in _WriteBlocking()