Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
Dsession.cpp441 hSession->pollHandle[STREAM_WORK] = (uv_poll_t *)malloc(handleSize); in MallocSession()
442 hSession->pollHandle[STREAM_MAIN] = (uv_poll_t *)malloc(handleSize); in MallocSession()
443 uv_poll_t *pollHandleMain = hSession->pollHandle[STREAM_MAIN]; in MallocSession()
444 if (pollHandleMain == nullptr || hSession->pollHandle[STREAM_WORK] == nullptr) { in MallocSession()
452 hSession->pollHandle[STREAM_MAIN]->data = hSession; in MallocSession()
453 hSession->pollHandle[STREAM_WORK]->data = hSession; in MallocSession()
555 if (handle == reinterpret_cast<uv_handle_t *>(hSession->pollHandle[STREAM_MAIN])) { in FreeSessionContinue()
556 free(hSession->pollHandle[STREAM_MAIN]); in FreeSessionContinue()
568 …Base::TryCloseHandle((uv_handle_t *)hSession->pollHandle[STREAM_MAIN], true, closeSessionTCPHandle… in FreeSessionContinue()
593 if (hSession->pollHandle[STREAM_WORK]->loop) { in FreeSessionOpeate()
[all …]
Ddefine_plus.h405 uv_poll_t *pollHandle[2]; // control channel member
458 (void)memset_s(pollHandle, sizeof(pollHandle), 0, sizeof(pollHandle)); in HdcSession()