Lines Matching refs:req
57 void HdcHostUnity::OnFileClose(uv_fs_t *req) in OnFileClose() argument
59 uv_fs_req_cleanup(req); in OnFileClose()
60 ContextUnity *context = reinterpret_cast<ContextUnity *>(req->data); in OnFileClose()
81 void HdcHostUnity::OnFileIO(uv_fs_t *req) in OnFileIO() argument
83 CtxUnityIO *contextIO = reinterpret_cast<CtxUnityIO *>(req->data); in OnFileIO()
87 uv_fs_req_cleanup(req); in OnFileIO()
90 if (req->result <= 0) { in OnFileIO()
91 if (req->result < 0) { in OnFileIO()
94 uv_strerror_r((int)req->result, buf, bufSize); in OnFileIO()
99 context->fileIOIndex += req->result; in OnFileIO()
119 uv_fs_t *req = &contextIO->fs; in AppendLocalLog() local
122 req->data = contextIO; in AppendLocalLog()
128 uv_fs_write(loopTask, req, opContext.fileLog, &iov, 1, opContext.fileBufIndex, OnFileIO); in AppendLocalLog()