Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
H A Ddefine_plus.h228 uv_poll_t *pollHandle[2]; // control channel member
283 (void)memset_s(pollHandle, sizeof(pollHandle), 0, sizeof(pollHandle)); in HdcSession()
H A Dsession.cpp460 hSession->pollHandle[STREAM_WORK] = (uv_poll_t *)malloc(handleSize); in MallocSession()
461 hSession->pollHandle[STREAM_MAIN] = (uv_poll_t *)malloc(handleSize); in MallocSession()
462 uv_poll_t *pollHandleMain = hSession->pollHandle[STREAM_MAIN]; in MallocSession()
463 if (pollHandleMain == nullptr || hSession->pollHandle[STREAM_WORK] == nullptr) { in MallocSession()
464 WRITE_LOG(LOG_FATAL, "MallocSession malloc hSession->pollHandle failed"); in MallocSession()
471 hSession->pollHandle[STREAM_MAIN]->data = hSession; in MallocSession()
472 hSession->pollHandle[STREAM_WORK]->data = hSession; in MallocSession()
580 if (handle == reinterpret_cast<uv_handle_t *>(hSession->pollHandle[STREAM_MAIN])) { in FreeSessionContinue()
583 free(hSession->pollHandle[STREAM_MAIN]); in FreeSessionContinue()
596 Base::TryCloseHandle((uv_handle_t *)hSession->pollHandle[STREAM_MAI in FreeSessionContinue()
1283 uv_poll_t *pollHandle = hSession->pollHandle[STREAM_WORK]; SessionWorkThread() local
[all...]

Completed in 3 milliseconds