Lines Matching refs:childRet
296 int childRet = 0; in SendUSBIOSync() local
301 childRet = write(bulkIn, const_cast<uint8_t *>(data) + offset, length - offset); in SendUSBIOSync()
302 if (childRet <= 0) { in SendUSBIOSync()
314 offset += childRet; in SendUSBIOSync()
468 int childRet = RET_SUCCESS; in DispatchToWorkThread() local
493 if ((childRet = SendToHdcStream(hChildSession, stream, readBuf, readBytes)) < 0) { in DispatchToWorkThread()
494 WRITE_LOG(LOG_WARN, "DispatchToWorkThread SendToHdcStream err ret:%d", childRet); in DispatchToWorkThread()
497 return childRet; in DispatchToWorkThread()
523 int childRet = 0; in OnUSBRead() local
555 …if ((childRet = thisClass->AvailablePacket((uint8_t *)bufPtr, bytesIOBytes, &sessionId)) != RET_SU… in OnUSBRead()
556 if (childRet != ERR_IO_SOFT_RESET) { in OnUSBRead()
561 childRet = 0; // need max size in OnUSBRead()
564 … if ((childRet = thisClass->DispatchToWorkThread(sessionId, bufPtr, bytesIOBytes)) < 0) { in OnUSBRead()
570 …int nextReadSize = childRet == 0 ? hUSB->wMaxPacketSizeSend : std::min(childRet, Base::GetUsbffsBu… in OnUSBRead()