Lines Matching refs:ioContext
91 CtxFileIO *ioContext = new(std::nothrow) CtxFileIO();
92 if (ioContext == nullptr) {
98 WRITE_LOG(LOG_FATAL, "SimpleFileIO ioContext nullptr");
114 uv_fs_t *req = &ioContext->fs;
115 ioContext->bufIO = buf + payloadPrefixReserve;
116 ioContext->context = context;
117 req->data = ioContext;
120 uv_buf_t iov = uv_buf_init(reinterpret_cast<char *>(ioContext->bufIO), bytes);
125 if (bytes > 0 && memcpy_s(ioContext->bufIO, bufMaxSize, sendBuf, bytes) != EOK) {
129 uv_buf_t iov = uv_buf_init(reinterpret_cast<char *>(ioContext->bufIO), bytes);
136 if (ioContext != nullptr) {
137 delete ioContext;
138 ioContext = nullptr;