Lines Matching refs:childRet
293 int childRet = 0; in SendUSBIOSync() local
298 childRet = write(bulkIn, const_cast<uint8_t *>(data) + offset, length - offset); in SendUSBIOSync()
299 if (childRet <= 0) { in SendUSBIOSync()
311 offset += childRet; in SendUSBIOSync()
464 int childRet = RET_SUCCESS; in DispatchToWorkThread() local
489 if ((childRet = SendToHdcStream(hChildSession, stream, readBuf, readBytes)) < 0) { in DispatchToWorkThread()
490 WRITE_LOG(LOG_WARN, "DispatchToWorkThread SendToHdcStream err ret:%d", childRet); in DispatchToWorkThread()
493 return childRet; in DispatchToWorkThread()
519 int childRet = 0; in OnUSBRead() local
551 …if ((childRet = thisClass->AvailablePacket((uint8_t *)bufPtr, bytesIOBytes, &sessionId)) != RET_SU… in OnUSBRead()
552 if (childRet != ERR_IO_SOFT_RESET) { in OnUSBRead()
557 childRet = 0; // need max size in OnUSBRead()
560 … if ((childRet = thisClass->DispatchToWorkThread(sessionId, bufPtr, bytesIOBytes)) < 0) { in OnUSBRead()
566 …int nextReadSize = childRet == 0 ? hUSB->wMaxPacketSizeSend : std::min(childRet, Base::GetUsbffsBu… in OnUSBRead()