Searched refs:sendRet (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
H A D | transport.cpp | 96 auto sendRet = 0; in SendToHiSysEventDataSource() local 99 sendRet = sendto(socketId, rawData.GetData(), rawData.GetDataLength(), 0, in SendToHiSysEventDataSource() 102 …} while (sendRet < 0 && retryTimes > 0 && (errno == EAGAIN || errno == EWOULDBLOCK || errno == EIN… in SendToHiSysEventDataSource() 103 if (sendRet < 0) { in SendToHiSysEventDataSource()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/ |
H A D | socket.cpp | 709 SocketSendRet sendRet = SendDataToApp(sock.transportFd_, sock.recvDataBuf_, sock.recvBufLen_); in OnSocketWriteReadyNative() local 710 switch (sendRet) { in OnSocketWriteReadyNative() 790 SocketSendRet sendRet = SendDataToApp(this->transportFd_, buffer, len); in WriteDataToAPP() local 791 switch (sendRet) { in WriteDataToAPP() 946 auto sendRet = send(fd, buf, len, MSG_DONTWAIT); in SendDataToApp() local 948 auto sendRet = send(fd, buf, len, MSG_NOSIGNAL); in SendDataToApp() local 950 if (sendRet < 0) { in SendDataToApp() 957 if (sendRet == 0) { in SendDataToApp() 961 if (sendRet == ssize_t(len)) { in SendDataToApp()
|
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | medical_service.cpp | 211 auto sendRet = channel->SendData(&event, sizeof(event)); in ReportOnChangeData() local 212 if (sendRet != ERR_OK) { in ReportOnChangeData()
|
/ohos5.0/base/sensors/sensor/services/src/ |
H A D | sensor_service.cpp | 245 auto sendRet = channel->SendData(&sensorData, sizeof(sensorData)); in ReportOnChangeData() local 246 if (sendRet != ERR_OK) { in ReportOnChangeData()
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_s_server.cpp | 389 int sendRet = -1; in SendDhcpReply() local 398 sendRet = SendDhcpOffer(ctx, reply); in SendDhcpReply() 402 sendRet = SendDhcpAck(ctx, reply); in SendDhcpReply() 406 sendRet = SendDhcpNak(ctx, reply); in SendDhcpReply() 411 if (replyType && sendRet != RET_SUCCESS) { in SendDhcpReply()
|