Lines Matching refs:thisClass
70 HdcFileDescriptor *thisClass = ctxIO->thisClass; in FileIOOnThread() local
80 ev.data.fd = thisClass->fdIO; in FileIOOnThread()
82 epoll_ctl(epfd, EPOLL_CTL_ADD, thisClass->fdIO, &ev); in FileIOOnThread()
85 if (thisClass->workContinue == false) { in FileIOOnThread()
86 WRITE_LOG(LOG_INFO, "FileIOOnThread fdIO:%d workContinue false", thisClass->fdIO); in FileIOOnThread()
103 FD_SET(thisClass->fdIO, &rset); in FileIOOnThread()
104 int rc = select(thisClass->fdIO + 1, &rset, nullptr, nullptr, &timeout); in FileIOOnThread()
108 thisClass->fdIO, errno); in FileIOOnThread()
123 if ((nBytes > 0) && !thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
124 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
129 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d read interrupt", thisClass->fdIO); in FileIOOnThread()
133 if (!thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
134 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
141 thisClass->fdIO, nBytes, errno); in FileIOOnThread()
147 nBytes = read(thisClass->fdIO, buf, bufSize); in FileIOOnThread()
149 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d read interrupt", thisClass->fdIO); in FileIOOnThread()
153 if (!thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
154 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
161 thisClass->fdIO, nBytes, errno); in FileIOOnThread()
169 if (epoll_ctl(epfd, EPOLL_CTL_DEL, thisClass->fdIO, nullptr) == -1) { in FileIOOnThread()
171 thisClass->fdIO, epfd, errno); in FileIOOnThread()
181 --thisClass->refIO; in FileIOOnThread()
183 thisClass->workContinue = false; in FileIOOnThread()
184 thisClass->callbackFinish(thisClass->callerContext, fetalFinish, STRING_EMPTY); in FileIOOnThread()
209 contextIO->thisClass = this; in LoopReadOnThread()
259 contextIO->thisClass = this; in WriteWithMem()