Searched refs:contextIO (Results 1 – 3 of 3) sorted by relevance
83 CtxUnityIO *contextIO = reinterpret_cast<CtxUnityIO *>(req->data); in OnFileIO() local84 ContextUnity *context = reinterpret_cast<ContextUnity *>(contextIO->context); in OnFileIO()86 uint8_t *bufIO = contextIO->bufIO; in OnFileIO()103 delete contextIO; // req is part of contextIO, no need to release in OnFileIO()109 auto contextIO = new CtxUnityIO(); in AppendLocalLog() local110 if (!buf || !contextIO) { in AppendLocalLog()114 if (contextIO) { in AppendLocalLog()115 delete contextIO; in AppendLocalLog()119 uv_fs_t *req = &contextIO->fs; in AppendLocalLog()120 contextIO->bufIO = buf; in AppendLocalLog()[all …]
195 auto contextIO = new(std::nothrow) CtxFileIO(); in LoopReadOnThread() local197 if (!contextIO || !buf) { in LoopReadOnThread()198 if (contextIO) { in LoopReadOnThread()199 delete contextIO; in LoopReadOnThread()208 contextIO->bufIO = buf; in LoopReadOnThread()209 contextIO->thisClass = this; in LoopReadOnThread()211 ioReadThread = std::thread(FileIOOnThread, contextIO, readMax); in LoopReadOnThread()250 auto contextIO = new(std::nothrow) CtxFileIO(); in WriteWithMem() local251 if (!contextIO) { in WriteWithMem()257 contextIO->bufIO = data; in WriteWithMem()[all …]
204 CtxFileIO *contextIO = reinterpret_cast<CtxFileIO *>(req->data); in OnFileIO() local205 CtxFile *context = reinterpret_cast<CtxFile *>(contextIO->context); in OnFileIO()207 uint8_t *bufIO = contextIO->bufIO; in OnFileIO()276 delete contextIO; // Req is part of the Contextio structure, no free release in OnFileIO()