Home
last modified time | relevance | path

Searched refs:contextIO (Results 1 – 3 of 3) sorted by relevance

/developtools/hdc/src/host/
Dhost_unity.cpp83 CtxUnityIO *contextIO = reinterpret_cast<CtxUnityIO *>(req->data); in OnFileIO() local
84 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() local
110 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 …]
/developtools/hdc/src/common/
Dfile_descriptor.cpp195 auto contextIO = new(std::nothrow) CtxFileIO(); in LoopReadOnThread() local
197 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() local
251 if (!contextIO) { in WriteWithMem()
257 contextIO->bufIO = data; in WriteWithMem()
[all …]
Dtransfer.cpp204 CtxFileIO *contextIO = reinterpret_cast<CtxFileIO *>(req->data); in OnFileIO() local
205 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()