Lines Matching refs:req
54 void HdcHostUnity::OnFileClose(uv_fs_t *req) in OnFileClose() argument
56 uv_fs_req_cleanup(req); in OnFileClose()
57 ContextUnity *context = reinterpret_cast<ContextUnity *>(req->data); in OnFileClose()
77 void HdcHostUnity::OnFileIO(uv_fs_t *req) in OnFileIO() argument
79 CtxUnityIO *contextIO = reinterpret_cast<CtxUnityIO *>(req->data); in OnFileIO()
83 uv_fs_req_cleanup(req); in OnFileIO()
86 if (req->result <= 0) { in OnFileIO()
87 if (req->result < 0) { in OnFileIO()
90 uv_strerror_r((int)req->result, buf, bufSize); in OnFileIO()
95 context->fileIOIndex += req->result; in OnFileIO()
115 uv_fs_t *req = &contextIO->fs; in AppendLocalLog() local
118 req->data = contextIO; in AppendLocalLog()
124 uv_fs_write(loopTask, req, opContext.fileLog, &iov, 1, opContext.fileBufIndex, OnFileIO); in AppendLocalLog()