Lines Matching defs:NumberOfBytes
697 Reads NumberOfBytes data bytes from a debug device into the buffer
699 If the return value is less than NumberOfBytes, then the rest operation failed.
700 If NumberOfBytes is zero, then return 0.
704 @param NumberOfBytes Number of bytes which will be read.
716 IN UINTN NumberOfBytes,
729 if (NumberOfBytes == 0 || Buffer == NULL) {
767 if (NumberOfBytes <= UsbDebugPortHandle->DataCount) {
768 Total = NumberOfBytes;
796 while ((Total < NumberOfBytes) && (Timeout != 0)) {
797 Remaining = NumberOfBytes - Total;
853 Writes NumberOfBytes data bytes from Buffer to the debug device.
855 If the return value is less than NumberOfBytes, then the write operation failed.
856 If NumberOfBytes is zero, then return 0.
860 @param NumberOfBytes Number of bytes to written to the debug device.
862 @retval 0 NumberOfBytes is 0.
864 If this value is less than NumberOfBytes, then the read operation failed.
872 IN UINTN NumberOfBytes
882 if (NumberOfBytes == 0 || Buffer == NULL) {
915 while ((Total < NumberOfBytes)) {
916 if (NumberOfBytes - Total > USB_DEBUG_PORT_MAX_PACKET_SIZE) {
919 Sent = (UINT8)(NumberOfBytes - Total);