| /developtools/hdc/src/register/ |
| D | hdc_jdwp.cpp | 54 ssize_t rc = write(cfd_, buf, bufLen); in SendBuf() local 85 int rc = 0; in Connect2Jdwp() local 162 int rc = epoll_ctl(efd, EPOLL_CTL_ADD, cfd_, &ev); in ReadFromJdwp() local 284 int rc = WatchParameter(PERSIST_HDC_JDWP, eventCallback, this); in AddWatchHdcdJdwp() local 290 int rc = RemoveParameterWatcher(PERSIST_HDC_JDWP, nullptr, nullptr); in DelWatchHdcdJdwp() local
|
| /developtools/hdc/test/unittest/host/ |
| D | host_fport_listen_ip_test.cpp | 48 int rc = -1; variable 70 int rc = -1; variable
|
| /developtools/hdc/src/common/ |
| D | compress.cpp | 23 int rc = uv_fs_lstat(nullptr, &req, path.c_str(), nullptr); in AddPath() local 79 int rc = uv_fs_lstat(nullptr, &req, localPath.c_str(), nullptr); in SaveToFile() local
|
| D | header.cpp | 61 int rc = 0; in UpdataName() local 110 int rc = snprintf_s(p, HEADER_SIZE_LEN, HEADER_SIZE_LEN - 1, "%s", sizeStr.c_str()); in UpdataSize() local 151 int rc = snprintf_s(p, HEADER_CHKSUM_LEN, HEADER_CHKSUM_LEN - 1, "%s", sizeStr.c_str()); in UpdataCheckSum() local
|
| D | file_descriptor.cpp | 105 int rc = epoll_wait(epfd, events, epollSize, SECONDS_TIMEOUT * TIME_BASE); in FileIOOnThread() local 113 int rc = select(thisClass->fdIO + 1, &rset, nullptr, nullptr, &timeout); in FileIOOnThread() local 339 ssize_t rc = write(fdIO, data, cnt); in CtxFileIOWrite() local
|
| D | decompress.cpp | 56 int rc = uv_fs_lstat(nullptr, &req, tarPath.c_str(), nullptr); in CheckPath() local
|
| D | file.cpp | 73 …int rc = uv_fs_open(loopTask, openReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR, On… in BeginTransfer() local 526 …int rc = uv_fs_open(loopTask, openReq, ctxNow.localPath.c_str(), UV_FS_O_TRUNC | UV_FS_O_CREAT | U… in BeginFileOperations() local 559 …int rc = uv_fs_open(loopTask, openReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR, On… in TransferNext() local
|
| D | channel.cpp | 457 int rc = uv_tcp_init(loopMain, &hChannel->hWorkTCP); in MallocChannel() local 464 int rc = uv_pipe_init(loopMain, &hChannel->hWorkUds, 0); in MallocChannel() local 501 int rc = uv_tcp_init(loopMain, &hChannel->hWorkTCP); in MallocChannel() local
|
| D | async_cmd.cpp | 64 int rc = 0; in DoRelease() local
|
| D | tcp.cpp | 165 int rc = write(fd, reinterpret_cast<const char*>(data), cnt); in WriteUvTcpFd() local
|
| D | entry.cpp | 39 int rc = uv_fs_lstat(nullptr, &req, path.c_str(), nullptr); in Entry() local
|
| D | forward.cpp | 405 bool HdcForwardBase::SetupTcpListenAllIp(HCtxForward ctxPoint, int port, int &rc) in SetupTcpListenAllIp() 449 int rc = uv_tcp_init(loopTask, &ctxPoint->tcp); in SetupTCPPoint() local
|
| D | transfer.cpp | 116 int rc = uv_fs_read(context->loop, req, context->openFd, &iov, 1, index, context->cb); in SimpleFileIO() local 132 int rc = uv_fs_write(context->loop, req, context->openFd, &iov, 1, index, context->cb); in SimpleFileIO() local
|
| /developtools/hdc/src/host/ |
| D | ext_client.cpp | 49 int rc = uv_dlopen(path.c_str(), &lib); in Init() local 156 int rc = uv_dlsym(&lib, name, (void **) &listTargets); in ListTargets() local 314 int rc = uv_dlsym(&lib, name, (void **) &command); in HandleLib() local 356 int rc = uv_dlopen(path.c_str(), &uvLib); in WaitForExtent() local 430 int rc = uv_dlsym(lib, name, (void **) ®istExec); in RegistExecFunc() local
|
| D | host_usb.cpp | 815 int rc = Base::StartWorkThread(&pServer->loopMain, ClearUsbChannel, ClearUsbChannelFinished, in ConnectDetectDaemon() local 861 int rc = 0; in ClearUsbChannel() local 924 …int rc = Base::StartWorkThread(&pServer->loopMain, pServer->SessionWorkThread, Base::FinishWorkThr… in ClearUsbChannelFinished() local 954 int rc = libusb_bulk_transfer(devHandle, endpointSend, header.data(), header.size(), in SendSoftResetToDaemonSync() local
|
| D | server_for_client.cpp | 70 int rc = 0; in AcceptUdsClient() local 136 int rc = uv_accept(server, (uv_stream_t *)&hChannel->hWorkTCP); in AcceptClient() local 224 int rc = uv_ip6_addr(channelHost.c_str(), channelPort, &addr); in SetTCPListen() local 1198 int rc = Base::SendToPollFd(hSession->ctrlFd[STREAM_MAIN], ctrlMsg.data(), ctrlMsg.size()); in ChannelSendSessionCtrlMsg() local
|
| D | client.cpp | 113 int rc = uv_kill(pid, SIGKILL); in StartServer() local 169 int rc = uv_kill(pid, SIGKILL); in KillMethodByUv() local
|
| /developtools/hdc/hdc_rust/src/cffi/ |
| D | utils.cpp | 98 int rc = ftruncate(fd, 0); in ProgramMutex() local 152 int rc = ftruncate(fd, 0); in ProgramMutex() local
|
| D | mount.cpp | 58 int rc = fclose(fp); in FindMountDeviceByPath() local
|
| D | oh_usb.cpp | 99 int rc = 0; in CloseUsbFd() local
|
| D | bridge.cpp | 102 int rc = write(fd, ptr, cnt); in WriteClient() local
|
| /developtools/hdc/credential/ |
| D | credential_base.cpp | 85 int rc = RemoveDir(path); in RemovePath() local
|
| /developtools/hdc/src/daemon/ |
| D | main.cpp | 276 int rc = setuid(0); in NeedDropRootPrivileges() local
|
| D | daemon_app.cpp | 258 int rc = RemoveDir(path); in RemovePath() local
|
| D | daemon_unity.cpp | 175 int rc = fclose(fp); in FindMountDeviceByPath() local
|