Home
last modified time | relevance | path

Searched refs:cand (Results 1 – 25 of 30) sorted by relevance

12

/third_party/rust/crates/clap/clap_complete/tests/snapshots/
Dspecial_commands.elvish9 fn cand {|text desc|
21 cand -c 'some config file'
22 cand -C 'some config file'
23 cand --config 'some config file'
24 cand --conf 'some config file'
25 cand -h 'Print help'
26 cand --help 'Print help'
27 cand -V 'Print version'
28 cand --version 'Print version'
29 cand test 'tests things'
[all …]
Dsub_subcommands.elvish9 fn cand {|text desc|
21 cand -c 'some config file'
22 cand -C 'some config file'
23 cand --config 'some config file'
24 cand --conf 'some config file'
25 cand -h 'Print help'
26 cand --help 'Print help'
27 cand -V 'Print version'
28 cand --version 'Print version'
29 cand test 'tests things'
[all …]
Dquoting.elvish9 fn cand {|text desc|
21 cand --single-quotes 'Can be ''always'', ''auto'', or ''never'''
22 cand --double-quotes 'Can be "always", "auto", or "never"'
23 cand --backticks 'For more information see `echo test`'
24 cand --backslash 'Avoid ''\n'''
25 cand --brackets 'List packages [filter]'
26 cand --expansions 'Execute the shell command with $SHELL'
27 cand -h 'Print help'
28 cand --help 'Print help'
29 cand -V 'Print version'
[all …]
Dvalue_hint.elvish9 fn cand {|text desc|
21 cand --choice 'choice'
22 cand --unknown 'unknown'
23 cand --other 'other'
24 cand -p 'p'
25 cand --path 'path'
26 cand -f 'f'
27 cand --file 'file'
28 cand -d 'd'
29 cand --dir 'dir'
[all …]
Dfeature_sample.elvish9 fn cand {|text desc|
21 cand -c 'some config file'
22 cand -C 'some config file'
23 cand --config 'some config file'
24 cand --conf 'some config file'
25 cand -h 'Print help'
26 cand --help 'Print help'
27 cand -V 'Print version'
28 cand --version 'Print version'
29 cand test 'tests things'
[all …]
Daliases.elvish9 fn cand {|text desc|
21 cand -o 'cmd option'
22 cand -O 'cmd option'
23 cand --option 'cmd option'
24 cand --opt 'cmd option'
25 cand -f 'cmd flag'
26 cand -F 'cmd flag'
27 cand --flag 'cmd flag'
28 cand --flg 'cmd flag'
29 cand -h 'Print help'
[all …]
Dbasic.elvish9 fn cand {|text desc|
21 cand -c 'c'
22 cand -v 'v'
23 cand -h 'Print help'
24 cand --help 'Print help'
25 cand test 'Subcommand'
26 cand help 'Print this message or the help of the given subcommand(s)'
29 cand -d 'd'
30 cand -c 'c'
31 cand -h 'Print help'
[all …]
Dvalue_terminator.elvish9 fn cand {|text desc|
21 cand -h 'Print help'
22 cand --help 'Print help'
Dtwo_multi_valued_arguments.elvish9 fn cand {|text desc|
21 cand -h 'Print help'
22 cand --help 'Print help'
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
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->bssid, bssid, ETH_ALEN); in pmksa_candidate_add()
424 cand->priority = prio; in pmksa_candidate_add()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
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->bssid, bssid, ETH_ALEN); in pmksa_candidate_add()
403 cand->priority = prio; in pmksa_candidate_add()
[all …]
/third_party/ffmpeg/libavcodec/
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[band - 1] + q); i++) { in get_exponent_dynamic()
311 float cand[NELLY_BANDS]; in encode_block() local
[all …]
/third_party/python/Lib/importlib/
D_common.py55 def resolve(cand): argument
57 return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
/third_party/rust/crates/aho-corasick/src/packed/teddy/
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()
307 let r1 = _mm256_unpacklo_epi8(cand, swap); in verify_fat256()
[all …]
/third_party/libbpf/src/
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 = btf_type_by_id(d->btf, cand_id);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant.c7027 unsigned int cand; local
7132 cand = wpas_p2p_pick_best_used_freq(wpa_s, freqs, num);
7133 if (wpas_p2p_supported_freq_go(wpa_s, channels, cand)) {
7136 cand);
7137 params->freq = cand;
7221 cand = p2p_get_pref_freq(wpa_s->global->p2p, channels);
7222 if (cand && wpas_p2p_supported_freq_go(wpa_s, channels, cand)) {
7223 params->freq = cand;
7237 cand = wpa_s->p2p_group_common_freqs[i];
7238 op_class = is_6ghz_freq(cand) ? 133 : 128;
[all …]
/third_party/rust/crates/aho-corasick/src/
Dprefilter.rs1004 let cand = prefilter.next_candidate(prestate, haystack, at); in next() localVariable
1005 match cand { in next()
1016 cand in next()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
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 = wpa_s->p2p_group_common_freqs[i]; in wpas_p2p_init_go_params()
6181 mode = ieee80211_freq_to_chan(cand, &chan); in wpas_p2p_init_go_params()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
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()
Ddriver_nl80211_event.c1648 struct nlattr *cand[NUM_NL80211_PMKSA_CANDIDATE]; in nl80211_pmksa_candidate_event() local
1662 nla_parse_nested(cand, MAX_NL80211_PMKSA_CANDIDATE, in nl80211_pmksa_candidate_event()
1664 !cand[NL80211_PMKSA_CANDIDATE_INDEX] || in nl80211_pmksa_candidate_event()
1665 !cand[NL80211_PMKSA_CANDIDATE_BSSID]) in nl80211_pmksa_candidate_event()
1670 nla_data(cand[NL80211_PMKSA_CANDIDATE_BSSID]), ETH_ALEN); in nl80211_pmksa_candidate_event()
1672 nla_get_u32(cand[NL80211_PMKSA_CANDIDATE_INDEX]); in nl80211_pmksa_candidate_event()
1674 cand[NL80211_PMKSA_CANDIDATE_PREAUTH] != NULL; in nl80211_pmksa_candidate_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
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()
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/node/deps/ngtcp2/ngtcp2/lib/
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/python/Lib/test/
Dtest_tempfile.py238 cand = tempfile._candidate_tempdir_list()
240 self.assertFalse(len(cand) == 0)
241 for c in cand:
254 cand = tempfile._candidate_tempdir_list()
259 self.assertIn(dirname, cand)
266 self.assertIn(dirname, cand)
/third_party/mesa3d/src/imgui/
Dimgui.cpp7159 static bool NavScoreItem(ImGuiNavMoveResult* result, ImRect cand) in NavScoreItem() argument
7173 if (!window->ClipRect.Contains(cand)) in NavScoreItem()
7175cand.ClipWithFull(window->ClipRect); // This allows the scored item to not overlap other candidate… 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()
7191 float dcx = (cand.Min.x + cand.Max.x) - (curr.Min.x + curr.Max.x); in NavScoreItem()
7192 float dcy = (cand.Min.y + cand.Max.y) - (curr.Min.y + curr.Max.y); in NavScoreItem()
7222 if (ImGui::IsMouseHoveringRect(cand.Min, cand.Max)) in NavScoreItem()
7227 draw_list->AddRect(cand.Min, cand.Max, IM_COL32(255,255,0,200)); in NavScoreItem()
[all …]

12