Searched refs:g_session (Results 1 – 8 of 8) sorted by relevance
47 } *g_session; variable51 if (g_session == NULL) { in IsSessionExist()86 g_session = Malloc(sizeof(struct SessionInfo)); in OpenEditSession()87 if (g_session == NULL) { in OpenEditSession()91 if (memset_s(g_session, sizeof(struct SessionInfo), 0, sizeof(struct SessionInfo)) != EOK) { in OpenEditSession()93 Free(g_session); in OpenEditSession()94 g_session = NULL; in OpenEditSession()97 g_session->userId = userId; in OpenEditSession()98 ResultCode ret = GenerateChallenge(g_session->challenge, CHALLENGE_LEN); in OpenEditSession()101 Free(g_session); in OpenEditSession()[all …]
34 } *g_session;62 g_session = nullptr;65 g_session = &session;67 EXPECT_LE(g_session->validAuthTokenTime, GetSystemTime());68 g_session = nullptr;73 g_session = nullptr;79 g_session = nullptr;87 g_session = nullptr;100 g_session = &session;102 g_session = nullptr;[all …]
38 } *g_session;101 g_session = &session;113 g_session = nullptr;133 g_session = &session;154 g_session = nullptr;159 g_session = nullptr;171 g_session = &session;181 g_session = nullptr;195 g_session = &session;197 g_session = nullptr;[all …]
37 } *g_session;71 g_session = nullptr;93 g_session = &session;127 g_session = nullptr;
24 struct UsbSession *g_session = NULL; variable513 ret = UsbRawInit(&g_session); in CheckRawSdkIfInit001()518 g_acm->session = g_session; in CheckRawSdkIfInit001()532 g_session = NULL; in CheckRawSdkIfExit001()533 g_acm->session = g_session; in CheckRawSdkIfExit001()565 int32_t ret = UsbRawInit(&g_session); in CheckRawSdkIfInit003()570 g_acm->session = g_session; in CheckRawSdkIfInit003()576 g_session = NULL; in CheckRawSdkIfInit003()577 g_acm->session = g_session; in CheckRawSdkIfInit003()603 int32_t ret = UsbRawInit(&g_session); in CheckRawSdkIfInit005()[all …]
23 static struct UsbSession *g_session = NULL; variable157 int32_t ret = UsbInitHostSdk(&g_session); in CheckHostSdkIfInit001()162 g_acm->session = g_session; in CheckHostSdkIfInit001()174 g_session = g_acm->session; in CheckHostSdkIfExit001()201 int32_t ret = UsbInitHostSdk(&g_session); in CheckHostSdkIfInit003()206 g_acm->session = g_session; in CheckHostSdkIfInit003()213 g_session = g_acm->session; in CheckHostSdkIfInit003()237 int32_t ret = UsbInitHostSdk(&g_session); in CheckHostSdkIfInit005()242 g_acm->session = g_session; in CheckHostSdkIfInit005()
43 static struct UsbSession *g_session = nullptr; variable378 ret = UsbRawInit(&g_session);380 g_acm->session = g_session;409 g_acm->session = g_session;438 ret = UsbRawInit(&g_session);440 g_acm->session = g_session;475 ret = UsbRawInit(&g_session);477 g_acm->session = g_session;643 g_devHandle = UsbRawOpenDevice(g_session, g_acm->busNum, g_acm->devAddr);
44 static struct UsbSession *g_session = nullptr; variable206 ret = UsbInitHostSdk(&g_session);208 g_acm->session = g_session;265 ret = UsbInitHostSdk(&g_session);267 g_acm->session = g_session;335 ret = UsbInitHostSdk(&g_session);337 g_acm->session = g_session;