Home
last modified time | relevance | path

Searched refs:pollHandle (Results 1 – 2 of 2) sorted by relevance

/developtools/hdc/src/common/
Dsession.cpp449 hSession->pollHandle[STREAM_WORK] = (uv_poll_t *)malloc(handleSize); in MallocSession()
450 hSession->pollHandle[STREAM_MAIN] = (uv_poll_t *)malloc(handleSize); in MallocSession()
451 uv_poll_t *pollHandleMain = hSession->pollHandle[STREAM_MAIN]; in MallocSession()
452 if (pollHandleMain == nullptr || hSession->pollHandle[STREAM_WORK] == nullptr) { in MallocSession()
460 hSession->pollHandle[STREAM_MAIN]->data = hSession; in MallocSession()
461 hSession->pollHandle[STREAM_WORK]->data = hSession; in MallocSession()
569 if (handle == reinterpret_cast<uv_handle_t *>(hSession->pollHandle[STREAM_MAIN])) { in FreeSessionContinue()
572 free(hSession->pollHandle[STREAM_MAIN]); in FreeSessionContinue()
584 …Base::TryCloseHandle((uv_handle_t *)hSession->pollHandle[STREAM_MAIN], true, closeSessionTCPHandle… in FreeSessionContinue()
610 if (hSession->pollHandle[STREAM_WORK]->loop) { in FreeSessionOpeate()
[all …]
Ddefine_plus.h408 uv_poll_t *pollHandle[2]; // control channel member
461 (void)memset_s(pollHandle, sizeof(pollHandle), 0, sizeof(pollHandle)); in HdcSession()