Home
last modified time | relevance | path

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

/developtools/hdc/src/host/
Dhost_unity.cpp79 CtxUnityIO *contextIO = reinterpret_cast<CtxUnityIO *>(req->data); in OnFileIO() local
80 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() local
106 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 …]
/developtools/hdc/src/common/
Dfile_descriptor.cpp146 auto contextIO = new(std::nothrow) CtxFileIO(); in LoopReadOnThread() local
148 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() local
195 if (!contextIO) { in WriteWithMem()
201 contextIO->bufIO = data; in WriteWithMem()
[all …]
Dtransfer.cpp205 CtxFileIO *contextIO = reinterpret_cast<CtxFileIO *>(req->data); in OnFileIO() local
206 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()