Lines Matching refs:hs
202 HSession hs = i->second; in EnumUARTDeviceRegister() local
203 if ((hs->connType != CONN_SERIAL) or (hs->hUART == nullptr)) { in EnumUARTDeviceRegister()
206 kickOut(hs); in EnumUARTDeviceRegister()
221 HSession hs = i->second; in EnumUSBDeviceRegister() local
222 if (hs->connType != CONN_USB) { in EnumUSBDeviceRegister()
225 if (hs->hUSB == nullptr) { in EnumUSBDeviceRegister()
229 pCallBack(hs); in EnumUSBDeviceRegister()
258 HSession hs = i->second; in QueryUSBDeviceRegister() local
259 if (hs->connType == CONN_USB) { in QueryUSBDeviceRegister()
262 if (hs->hUSB == nullptr) { in QueryUSBDeviceRegister()
265 if (hs->hUSB->devId != devId || hs->hUSB->busId != busId) { in QueryUSBDeviceRegister()
268 hResult = hs; in QueryUSBDeviceRegister()
1069 string hs = SerialStruct::SerializeToString(handshake); in WorkThreadStartSession() local
1072 hSession->sessionId, handshake.authType, hs.c_str()); in WorkThreadStartSession()
1075 reinterpret_cast<uint8_t *>(const_cast<char *>(hs.c_str())), hs.size()); in WorkThreadStartSession()