Home
last modified time | relevance | path

Searched refs:cand (Results 1 - 20 of 20) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
H A Dpreauth.c371 struct rsn_pmksa_candidate *cand, *pos; in pmksa_candidate_add() local
385 cand = NULL; in pmksa_candidate_add()
389 cand = pos; in pmksa_candidate_add()
394 if (cand) { in pmksa_candidate_add()
395 dl_list_del(&cand->list); in pmksa_candidate_add()
397 cand->priority = prio; in pmksa_candidate_add()
399 cand = os_zalloc(sizeof(*cand)); in pmksa_candidate_add()
400 if (cand == NULL) in pmksa_candidate_add()
402 os_memcpy(cand in pmksa_candidate_add()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dpreauth.c392 struct rsn_pmksa_candidate *cand, *pos; in pmksa_candidate_add() local
406 cand = NULL; in pmksa_candidate_add()
410 cand = pos; in pmksa_candidate_add()
415 if (cand) { in pmksa_candidate_add()
416 dl_list_del(&cand->list); in pmksa_candidate_add()
418 cand->priority = prio; in pmksa_candidate_add()
420 cand = os_zalloc(sizeof(*cand)); in pmksa_candidate_add()
421 if (cand == NULL) in pmksa_candidate_add()
423 os_memcpy(cand in pmksa_candidate_add()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dnellymoserenc.c210 static void get_exponent_greedy(NellyMoserEncodeContext *s, float *cand, int *idx_table) in get_exponent_greedy() argument
216 find_best(cand[0], ff_nelly_init_table, sf_lut, -20, 96); in get_exponent_greedy()
221 power_candidate = cand[band] - power_idx; in get_exponent_greedy()
235 static void get_exponent_dynamic(NellyMoserEncodeContext *s, float *cand, int *idx_table) in get_exponent_dynamic() argument
248 opt[0][ff_nelly_init_table[i]] = distance(cand[0], ff_nelly_init_table[i], 0); in get_exponent_dynamic()
256 power_candidate = cand[band]; in get_exponent_dynamic()
258 idx_min = FFMAX(0, cand[band] - q); in get_exponent_dynamic()
259 idx_max = FFMIN(OPT_SIZE, cand[band - 1] + q); in get_exponent_dynamic()
260 for (i = FFMAX(0, cand[band - 1] - q); i < FFMIN(OPT_SIZE, cand[ban in get_exponent_dynamic()
311 float cand[NELLY_BANDS]; encode_block() local
[all...]
H A Dhevc_mvs.c274 #define AVAILABLE(cand, v) \
275 (cand && !(TAB_MVF_PU(v).pred_flag == PF_INTRA))
/third_party/python/Lib/importlib/resources/
H A D_common.py42 def resolve(cand):
44 return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
/third_party/rust/crates/aho-corasick/src/packed/teddy/
H A Druntime.rs211 cand: __m128i, in verify128()
213 debug_assert!(!is_all_zeroes128(cand)); in verify128()
218 let parts = unpack64x128(cand); in verify128()
243 cand: __m256i, in verify256()
245 debug_assert!(!is_all_zeroes256(cand)); in verify256()
250 let parts = unpack64x256(cand); in verify256()
276 cand: __m256i, in verify_fat256()
278 debug_assert!(!is_all_zeroes256(cand)); in verify_fat256()
304 let swap = _mm256_permute4x64_epi64(cand, 0x4E); in verify_fat256()
306 // cand firs in verify_fat256()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dp2p_supplicant.c5979 unsigned int cand; in wpas_p2p_init_go_params() local
6076 cand = wpas_p2p_pick_best_used_freq(wpa_s, freqs, num); in wpas_p2p_init_go_params()
6077 if (wpas_p2p_supported_freq_go(wpa_s, channels, cand)) { in wpas_p2p_init_go_params()
6080 cand); in wpas_p2p_init_go_params()
6081 params->freq = cand; in wpas_p2p_init_go_params()
6165 cand = p2p_get_pref_freq(wpa_s->global->p2p, channels); in wpas_p2p_init_go_params()
6166 if (cand && wpas_p2p_supported_freq_go(wpa_s, channels, cand)) { in wpas_p2p_init_go_params()
6167 params->freq = cand; in wpas_p2p_init_go_params()
6180 cand in wpas_p2p_init_go_params()
9089 u8 curr_chan, cand, chan; wpas_p2p_optimize_listen_channel() local
[all...]
/third_party/rust/crates/aho-corasick/src/
H A Dprefilter.rs1004 let cand = prefilter.next_candidate(prestate, haystack, at); in next()
1005 match cand { in next()
1016 cand in next()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_wext.c323 const struct iw_pmkid_cand *cand; in wpa_driver_wext_event_wireless_pmkidcand() local
327 if (len < sizeof(*cand)) in wpa_driver_wext_event_wireless_pmkidcand()
330 cand = (const struct iw_pmkid_cand *) ev; in wpa_driver_wext_event_wireless_pmkidcand()
331 addr = (const u8 *) cand->bssid.sa_data; in wpa_driver_wext_event_wireless_pmkidcand()
334 "flags=0x%x index=%d bssid=" MACSTR, cand->flags, in wpa_driver_wext_event_wireless_pmkidcand()
335 cand->index, MAC2STR(addr)); in wpa_driver_wext_event_wireless_pmkidcand()
339 data.pmkid_candidate.index = cand->index; in wpa_driver_wext_event_wireless_pmkidcand()
340 data.pmkid_candidate.preauth = cand->flags & IW_PMKID_CAND_PREAUTH; in wpa_driver_wext_event_wireless_pmkidcand()
H A Ddriver_nl80211_event.c1434 struct nlattr *cand[NUM_NL80211_PMKSA_CANDIDATE]; in nl80211_pmksa_candidate_event() local
1448 nla_parse_nested(cand, MAX_NL80211_PMKSA_CANDIDATE, in nl80211_pmksa_candidate_event()
1450 !cand[NL80211_PMKSA_CANDIDATE_INDEX] || in nl80211_pmksa_candidate_event()
1451 !cand[NL80211_PMKSA_CANDIDATE_BSSID]) in nl80211_pmksa_candidate_event()
1456 nla_data(cand[NL80211_PMKSA_CANDIDATE_BSSID]), ETH_ALEN); in nl80211_pmksa_candidate_event()
1458 nla_get_u32(cand[NL80211_PMKSA_CANDIDATE_INDEX]); in nl80211_pmksa_candidate_event()
1460 cand[NL80211_PMKSA_CANDIDATE_PREAUTH] != NULL; in nl80211_pmksa_candidate_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dp2p_supplicant.c7226 unsigned int cand; local
7331 cand = wpas_p2p_pick_best_used_freq(wpa_s, freqs, num);
7332 if (wpas_p2p_supported_freq_go(wpa_s, channels, cand)) {
7335 cand);
7336 params->freq = cand;
7420 cand = p2p_get_pref_freq(wpa_s->global->p2p, channels);
7421 if (cand && wpas_p2p_supported_freq_go(wpa_s, channels, cand)) {
7422 params->freq = cand;
7436 cand
[all...]
/third_party/libbpf/src/
H A Dbtf.c4008 struct btf_type *cand; local
4035 cand = btf_type_by_id(d->btf, cand_id);
4036 if (btf_equal_int_tag(t, cand)) {
4048 cand = btf_type_by_id(d->btf, cand_id);
4049 if (btf_equal_enum(t, cand)) {
4053 if (btf_compat_enum(t, cand)) {
4070 cand = btf_type_by_id(d->btf, cand_id);
4071 if (btf_equal_common(t, cand)) {
4649 struct btf_type *t, *cand; local
4678 cand
[all...]
H A Dlibbpf.c5865 struct bpf_core_cand *new_cands, *cand; local
5900 cand = &new_cands[cands->len];
5901 cand->btf = targ_btf;
5902 cand->id = i;
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_pkt.c2185 int64_t cand = (expected & ~mask) | pkt_num; in ngtcp2_pkt_adjust_pkt_num() local
2187 if (cand <= expected - hwin) { in ngtcp2_pkt_adjust_pkt_num()
2188 assert(cand <= (int64_t)NGTCP2_MAX_VARINT - win); in ngtcp2_pkt_adjust_pkt_num()
2189 return cand + win; in ngtcp2_pkt_adjust_pkt_num()
2191 if (cand > expected + hwin && cand >= win) { in ngtcp2_pkt_adjust_pkt_num()
2192 return cand - win; in ngtcp2_pkt_adjust_pkt_num()
2194 return cand; in ngtcp2_pkt_adjust_pkt_num()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_wext.c323 const struct iw_pmkid_cand *cand; in wpa_driver_wext_event_wireless_pmkidcand() local
327 if (len < sizeof(*cand)) in wpa_driver_wext_event_wireless_pmkidcand()
330 cand = (const struct iw_pmkid_cand *) ev; in wpa_driver_wext_event_wireless_pmkidcand()
331 addr = (const u8 *) cand->bssid.sa_data; in wpa_driver_wext_event_wireless_pmkidcand()
334 "flags=0x%x index=%d bssid=" MACSTR_SEC, cand->flags, in wpa_driver_wext_event_wireless_pmkidcand()
335 cand->index, MAC2STR_SEC(addr)); in wpa_driver_wext_event_wireless_pmkidcand()
339 data.pmkid_candidate.index = cand->index; in wpa_driver_wext_event_wireless_pmkidcand()
340 data.pmkid_candidate.preauth = cand->flags & IW_PMKID_CAND_PREAUTH; in wpa_driver_wext_event_wireless_pmkidcand()
H A Ddriver_nl80211_event.c2009 struct nlattr *cand[NUM_NL80211_PMKSA_CANDIDATE]; local
2023 nla_parse_nested(cand, MAX_NL80211_PMKSA_CANDIDATE,
2025 !cand[NL80211_PMKSA_CANDIDATE_INDEX] ||
2026 !cand[NL80211_PMKSA_CANDIDATE_BSSID])
2031 nla_data(cand[NL80211_PMKSA_CANDIDATE_BSSID]), ETH_ALEN);
2033 nla_get_u32(cand[NL80211_PMKSA_CANDIDATE_INDEX]);
2035 cand[NL80211_PMKSA_CANDIDATE_PREAUTH] != NULL;
/third_party/python/
H A Dsetup.py1214 for cand in dbm_order:
1215 if cand == "ndbm":
1232 elif cand == "gdbm":
1242 elif cand == "bdb":
/third_party/python/Lib/test/
H A Dtest_tempfile.py234 cand = tempfile._candidate_tempdir_list()
236 self.assertFalse(len(cand) == 0)
237 for c in cand:
250 cand = tempfile._candidate_tempdir_list()
255 self.assertIn(dirname, cand)
262 self.assertIn(dirname, cand)
/third_party/mesa3d/src/imgui/
H A Dimgui.cpp7159 static bool NavScoreItem(ImGuiNavMoveResult* result, ImRect cand) in NavScoreItem() argument
7173 if (!window->ClipRect.Contains(cand)) in NavScoreItem()
7175 cand.ClipWithFull(window->ClipRect); // This allows the scored item to not overlap other candidates in the parent window in NavScoreItem()
7180 NavClampRectToVisibleAreaForMoveDir(g.NavMoveClipDir, cand, window->ClipRect); in NavScoreItem()
7184 float dbx = NavScoreItemDistInterval(cand.Min.x, cand.Max.x, curr.Min.x, curr.Max.x); in NavScoreItem()
7185 float dby = NavScoreItemDistInterval(ImLerp(cand.Min.y, cand.Max.y, 0.2f), ImLerp(cand.Min.y, cand in NavScoreItem()
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp8861 ImRect cand = g.LastItemData.NavRect; // Current item nav rectangle in NavScoreItem()
8869 if (!window->ClipRect.Overlaps(cand)) in NavScoreItem()
8871 cand.ClipWithFull(window->ClipRect); // This allows the scored item to not overlap other candidates in the parent window in NavScoreItem()
8876 NavClampRectToVisibleAreaForMoveDir(g.NavMoveClipDir, cand, window->ClipRect); in NavScoreItem()
8880 float dbx = NavScoreItemDistInterval(cand.Min.x, cand.Max.x, curr.Min.x, curr.Max.x); in NavScoreItem()
8881 float dby = NavScoreItemDistInterval(ImLerp(cand.Min.y, cand.Max.y, 0.2f), ImLerp(cand.Min.y, cand in NavScoreItem()
[all...]

Completed in 95 milliseconds