Home
last modified time | relevance | path

Searched refs:fsOpenReq (Results 1 – 6 of 6) sorted by relevance

/developtools/hdc/src/common/
Dtransfer.cpp39 taskInfo->channelId, ctxNow.lastErrno, ctxNow.fsOpenReq.result, ctxNow.ioFinish); in ~HdcTransferBase()
40 if (ctxNow.lastErrno != 0 || (ctxNow.fsOpenReq.result > 0 && !ctxNow.ioFinish)) { in ~HdcTransferBase()
41 uv_fs_close(nullptr, &ctxNow.fsCloseReq, ctxNow.fsOpenReq.result, nullptr); in ~HdcTransferBase()
49 context->fsOpenReq.data = context; in ResetCtx()
96 uv_fs_read(context->loop, req, context->fsOpenReq.result, &iov, 1, index, context->cb); in SimpleFileIO()
105 uv_fs_write(context->loop, req, context->fsOpenReq.result, &iov, 1, index, context->cb); in SimpleFileIO()
148 uv_fs_futime(nullptr, &fs, context->fsOpenReq.result, aTimeSec, mTimeSec, nullptr); in SetFileTime()
261 … uv_fs_fsync(thisClass->loopTask, &context->fsCloseReq, context->fsOpenReq.result, nullptr); in OnFileIO()
264 … thisClass->taskInfo->channelId, context->fsOpenReq.result, context->closeReqSubmitted); in OnFileIO()
268 … uv_fs_close(thisClass->loopTask, &context->fsCloseReq, context->fsOpenReq.result, OnFileClose); in OnFileIO()
[all …]
Dfile.cpp56 …uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR,… in BeginTransfer()
257 ctxNow.fsOpenReq.data = &ctxNow; in SlaveCheck()
285 …uv_fs_open(loopTask, &ctxNow.fsOpenReq, ctxNow.localPath.c_str(), UV_FS_O_TRUNC | UV_FS_O_CREAT | … in SlaveCheck()
303 …uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR,… in TransferNext()
Dtransfer.h83 uv_fs_t fsOpenReq; member
/developtools/hdc/src/host/
Dhost_app.cpp94 uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, 0, OnFileOpen); in RunQueue()
101 uv_fs_fstat(nullptr, &fs, context->fsOpenReq.result, nullptr); in CheckMaster()
Dhost_updater.cpp83 uv_fs_open(loopTask, &context.fsOpenReq, context.localPath.c_str(), O_RDONLY, 0, OnFileOpen); in RunQueue()
133 uv_fs_fstat(nullptr, &fs, context->fsOpenReq.result, nullptr); in CheckMaster()
/developtools/hdc/src/daemon/
Ddaemon_app.cpp60 ctxNow.fsOpenReq.data = &ctxNow; in CommandDispatch()
73 uv_fs_open(loopTask, &ctxNow.fsOpenReq, ctxNow.localPath.c_str(), in CommandDispatch()