Lines Matching refs:thisClass
51 context->thisClass = this; in ResetCtx()
127 HdcTransferBase *thisClass = (HdcTransferBase *)context->thisClass; in OnFileClose() local
131 thisClass->WhenTransferFinish(context); in OnFileClose()
133 --thisClass->refCount; in OnFileClose()
206 HdcTransferBase *thisClass = (HdcTransferBase *)context->thisClass; in OnFileIO() local
230 … if (!thisClass->SendIOPayload(context, context->indexIO - req->result, bufIO, req->result)) { in OnFileIO()
235 thisClass->SimpleFileIO(context, context->indexIO, nullptr, in OnFileIO()
236 Base::GetMaxBufSize() * thisClass->maxTransferBufFactor); in OnFileIO()
250 thisClass->SetFileTime(context); in OnFileIO()
259 ++thisClass->refCount; in OnFileIO()
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()
267 WRITE_LOG(LOG_DEBUG, "OnFileIO fs_close, channelId:%u", thisClass->taskInfo->channelId); in OnFileIO()
268 … uv_fs_close(thisClass->loopTask, &context->fsCloseReq, context->fsOpenReq.result, OnFileClose); in OnFileIO()
270 thisClass->WhenTransferFinish(context); in OnFileIO()
271 --thisClass->refCount; in OnFileIO()
274 thisClass->cirbuf.Free(bufIO - payloadPrefixReserve); in OnFileIO()
275 --thisClass->refCount; in OnFileIO()
282 HdcTransferBase *thisClass = (HdcTransferBase *)context->thisClass; in OnFileOpen() local
286 context->localPath.c_str(), thisClass->taskInfo->channelId, context->fsOpenReq.result); in OnFileOpen()
287 --thisClass->refCount; in OnFileOpen()
292 thisClass->LogMsg(MSG_FAIL, "Error opening file: %s, path:%s", buf, in OnFileOpen()
297 thisClass->CommandDispatch(CMD_FILE_FINISH, &payload, 1); in OnFileOpen()
299 thisClass->TaskFinish(); in OnFileOpen()
303 thisClass->ResetCtx(context); in OnFileOpen()
333 thisClass->CheckMaster(context); in OnFileOpen()
349 thisClass->SendToAnother(thisClass->commandBegin, nullptr, 0); in OnFileOpen()