Searched refs:bytesIOBytes (Results 1 – 1 of 1) sorted by relevance
| /developtools/hdc/src/daemon/ |
| D | daemon_usb.cpp | 516 ssize_t bytesIOBytes = req->result; in OnUSBRead() local 520 if (bytesIOBytes > hUSB->wMaxPacketSizeSend && bytesIOBytes != thisClass->saveNextReadSize) { in OnUSBRead() 521 …E_LOG(LOG_WARN, "Not full packet, wanted:%d really:%d", thisClass->saveNextReadSize, bytesIOBytes); in OnUSBRead() 525 if (bytesIOBytes < 0) { in OnUSBRead() 532 if (bytesIOBytes != -EINTR) { // Epoll will be broken when gdb attach in OnUSBRead() 535 uv_strerror_r(bytesIOBytes, buf, bufSize); in OnUSBRead() 536 WRITE_LOG(LOG_WARN, "USBIO ret:%d failed:%s", bytesIOBytes, buf); in OnUSBRead() 542 } else if (bytesIOBytes == 0) { // zero packet in OnUSBRead() 545 if (thisClass->JumpAntiquePacket(*bufPtr, bytesIOBytes)) { in OnUSBRead() 551 …if ((childRet = thisClass->AvailablePacket((uint8_t *)bufPtr, bytesIOBytes, &sessionId)) != RET_SU… in OnUSBRead() [all …]
|