Searched refs:contextIO (Results 1 – 3 of 3) sorted by relevance
79 CtxUnityIO *contextIO = reinterpret_cast<CtxUnityIO *>(req->data); in OnFileIO() local80 ContextUnity *context = reinterpret_cast<ContextUnity *>(contextIO->context); in OnFileIO()82 uint8_t *bufIO = contextIO->bufIO; in OnFileIO()99 delete contextIO; // req is part of contextIO, no need to release in OnFileIO()105 auto contextIO = new CtxUnityIO(); in AppendLocalLog() local106 if (!buf || !contextIO) { in AppendLocalLog()110 if (contextIO) { in AppendLocalLog()111 delete contextIO; in AppendLocalLog()115 uv_fs_t *req = &contextIO->fs; in AppendLocalLog()116 contextIO->bufIO = buf; in AppendLocalLog()[all …]
146 auto contextIO = new(std::nothrow) CtxFileIO(); in LoopReadOnThread() local148 if (!contextIO || !buf) { in LoopReadOnThread()149 if (contextIO) { in LoopReadOnThread()150 delete contextIO; in LoopReadOnThread()159 contextIO->bufIO = buf; in LoopReadOnThread()160 contextIO->thisClass = this; in LoopReadOnThread()162 ioReadThread = std::thread(FileIOOnThread, contextIO, readMax, false); in LoopReadOnThread()194 auto contextIO = new(std::nothrow) CtxFileIO(); in WriteWithMem() local195 if (!contextIO) { in WriteWithMem()201 contextIO->bufIO = data; in WriteWithMem()[all …]
205 CtxFileIO *contextIO = reinterpret_cast<CtxFileIO *>(req->data); in OnFileIO() local206 CtxFile *context = reinterpret_cast<CtxFile *>(contextIO->context); in OnFileIO()208 uint8_t *bufIO = contextIO->bufIO; in OnFileIO()278 delete contextIO; // Req is part of the Contextio structure, no free release in OnFileIO()