• Home
  • Raw
  • Download

Lines Matching refs:i

39     uint32_t i;  in WifiEventReport()  local
41 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiEventReport()
42 if (g_callbackEventMap[i] != NULL && (strcmp(g_callbackEventMap[i]->ifName, ifName) == 0) && in WifiEventReport()
43 (((1 << event) & g_callbackEventMap[i]->eventType) != 0)) { in WifiEventReport()
45 g_callbackEventMap[i]->onRecFunc(event, data, ifName); in WifiEventReport()
52 uint32_t i; in WifiRegisterEventCallback() local
59 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiRegisterEventCallback()
60 if (g_callbackEventMap[i] != NULL && g_callbackEventMap[i]->eventType == eventType && in WifiRegisterEventCallback()
61 …(strcmp(g_callbackEventMap[i]->ifName, ifName) == 0) && g_callbackEventMap[i]->onRecFunc == onRecF… in WifiRegisterEventCallback()
78 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiRegisterEventCallback()
79 if (g_callbackEventMap[i] == NULL) { in WifiRegisterEventCallback()
80 g_callbackEventMap[i] = callbackEvent; in WifiRegisterEventCallback()
92 uint32_t i; in WifiUnregisterEventCallback() local
98 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiUnregisterEventCallback()
99 if (g_callbackEventMap[i] != NULL && g_callbackEventMap[i]->eventType == eventType && in WifiUnregisterEventCallback()
100 …(strcmp(g_callbackEventMap[i]->ifName, ifName) == 0) && g_callbackEventMap[i]->onRecFunc == onRecF… in WifiUnregisterEventCallback()
101 g_callbackEventMap[i]->onRecFunc = NULL; in WifiUnregisterEventCallback()
102 free(g_callbackEventMap[i]); in WifiUnregisterEventCallback()
103 g_callbackEventMap[i] = NULL; in WifiUnregisterEventCallback()
111 uint32_t i; in Hid2dEventReport() local
113 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in Hid2dEventReport()
114 if (g_hid2dEventMap[i] != NULL && (strcmp(g_hid2dEventMap[i]->ifName, ifName) == 0)) { in Hid2dEventReport()
116 g_hid2dEventMap[i]->func(msg, msgLen); in Hid2dEventReport()
124 uint32_t i; in WifiRegisterHid2dCallback() local
130 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiRegisterHid2dCallback()
131 if (g_hid2dEventMap[i] != NULL && (strcmp(g_hid2dEventMap[i]->ifName, ifName) == 0) && in WifiRegisterHid2dCallback()
132 g_hid2dEventMap[i]->func == func) { in WifiRegisterHid2dCallback()
148 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiRegisterHid2dCallback()
149 if (g_hid2dEventMap[i] == NULL) { in WifiRegisterHid2dCallback()
150 g_hid2dEventMap[i] = event; in WifiRegisterHid2dCallback()
164 uint32_t i; in WifiUnregisterHid2dCallback() local
170 for (i = 0; i < MAX_CALL_BACK_COUNT; i++) { in WifiUnregisterHid2dCallback()
171 if (g_hid2dEventMap[i] != NULL && (strcmp(g_hid2dEventMap[i]->ifName, ifName) == 0) && in WifiUnregisterHid2dCallback()
172 g_hid2dEventMap[i]->func == func) { in WifiUnregisterHid2dCallback()
173 g_hid2dEventMap[i]->func = NULL; in WifiUnregisterHid2dCallback()
174 OsalMemFree(g_hid2dEventMap[i]); in WifiUnregisterHid2dCallback()
175 g_hid2dEventMap[i] = NULL; in WifiUnregisterHid2dCallback()
199 uint32_t i; in FreeScanResults() local
203 for (i = 0; i < res->num; i++) { in FreeScanResults()
204 FreeScanResult(&res->scanResult[i]); in FreeScanResults()