Home
last modified time | relevance | path

Searched refs:candidate (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd-13.1/usr.bin/which/
H A Dwhich.c106 is_there(char *candidate) in is_there() argument
111 if (access(candidate, X_OK) == 0 && in is_there()
112 stat(candidate, &fin) == 0 && in is_there()
117 printf("%s\n", candidate); in is_there()
126 char candidate[PATH_MAX]; in print_matches() local
136 if (snprintf(candidate, sizeof(candidate), "%s/%s", d, in print_matches()
137 filename) >= (int)sizeof(candidate)) in print_matches()
139 if (is_there(candidate)) { in print_matches()
/freebsd-13.1/lib/libiconv_modules/HZ/
H A Dcitrus_hz.c243 candidate = NULL; in _citrus_HZ_mbrtowc_priv()
250 candidate = init; in _citrus_HZ_mbrtowc_priv()
259 candidate = init; in _citrus_HZ_mbrtowc_priv()
320 candidate = INIT0(ei); in _citrus_HZ_wcrtomb_priv()
321 graphic = (bit == 0) ? candidate->left : candidate->right; in _citrus_HZ_wcrtomb_priv()
343 if (candidate == NULL) { in _citrus_HZ_wcrtomb_priv()
345 if (candidate == NULL) in _citrus_HZ_wcrtomb_priv()
349 graphic = (bit == 0) ? candidate->left : candidate->right; in _citrus_HZ_wcrtomb_priv()
361 } else if (candidate == (init = INIT(candidate))) { in _citrus_HZ_wcrtomb_priv()
402 escape_t *candidate; in _citrus_HZ_put_state_reset() local
[all …]
/freebsd-13.1/sys/contrib/ck/src/
H A Dck_ht.c752 struct ck_ht_entry *candidate, snapshot; in ck_ht_remove_spmc() local
783 struct ck_ht_entry *candidate, snapshot; in ck_ht_get_spmc() local
851 if (candidate != NULL) in ck_ht_set_spmc()
858 if (candidate == NULL) { in ck_ht_set_spmc()
859 candidate = priority; in ck_ht_set_spmc()
863 if (candidate->key != CK_HT_KEY_EMPTY && in ck_ht_set_spmc()
911 candidate->key != CK_HT_KEY_TOMBSTONE; in ck_ht_set_spmc()
919 candidate = priority; in ck_ht_set_spmc()
982 if (candidate != NULL || priority != NULL) in ck_ht_put_spmc()
995 candidate = priority; in ck_ht_put_spmc()
[all …]
/freebsd-13.1/usr.bin/env/
H A Denvopts.c51 static int is_there(char *candidate);
67 is_there(char *candidate) in is_there() argument
72 if (access(candidate, X_OK) == 0 && in is_there()
73 stat(candidate, &fin) == 0 && in is_there()
78 fprintf(stderr, "#env matched:\t'%s'\n", candidate); in is_there()
101 char candidate[PATH_MAX]; in search_paths() local
119 if (snprintf(candidate, sizeof(candidate), "%s/%s", d, in search_paths()
120 filename) >= (int)sizeof(candidate)) in search_paths()
122 if (is_there(candidate)) { in search_paths()
123 fqname = candidate; in search_paths()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h301 virtual bool ValidateCandidate(const TypoCorrection &candidate);
309 virtual unsigned RankCandidate(const TypoCorrection &candidate) { in RankCandidate() argument
310 return (!MatchesTypo(candidate) && ValidateCandidate(candidate)) in RankCandidate()
340 bool MatchesTypo(const TypoCorrection &candidate) { in MatchesTypo() argument
341 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
342 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
345 candidate.getCorrectionSpecifier() == TypoNNS; in MatchesTypo()
368 bool ValidateCandidate(const TypoCorrection &candidate) override { in ValidateCandidate() argument
369 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
385 bool ValidateCandidate(const TypoCorrection &candidate) override;
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_read_add_passphrase.c132 a->passphrases.candidate = -1; in __archive_read_reset_passphrase()
144 if (a->passphrases.candidate < 0) { in __archive_read_next_passphrase()
150 a->passphrases.candidate = cnt; in __archive_read_next_passphrase()
152 } else if (a->passphrases.candidate > 1) { in __archive_read_next_passphrase()
154 a->passphrases.candidate--; in __archive_read_next_passphrase()
159 } else if (a->passphrases.candidate == 1) { in __archive_read_next_passphrase()
161 a->passphrases.candidate = 0; in __archive_read_next_passphrase()
184 a->passphrases.candidate = 1; in __archive_read_next_passphrase()
/freebsd-13.1/contrib/wpa/src/rsn_supp/
H A Dpreauth.c311 struct rsn_pmksa_candidate *candidate, *n; in rsn_preauth_candidate_process() local
329 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates, in rsn_preauth_candidate_process()
333 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && in rsn_preauth_candidate_process()
338 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
339 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
340 rsn_preauth_init(sm, candidate->bssid, in rsn_preauth_candidate_process()
342 os_free(candidate); in rsn_preauth_candidate_process()
347 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
351 wpa_sm_add_pmkid(sm, NULL, candidate->bssid, p->pmkid, in rsn_preauth_candidate_process()
356 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DDSA_generate_parameters.pod54 When a candidate for q is generated, B<BN_GENCB_call(cb, 0, m++)> is called
55 (m is 0 for the first candidate).
59 When a candidate for q has passed a test by trial division,
61 While a candidate for q is tested by Miller-Rabin primality tests,
63 (once for each witness that confirms that the candidate may be prime);
73 Before a candidate for p (other than the first) is generated and tested,
78 When a candidate for p has passed the test by trial division,
82 (once for each witness that confirms that the candidate may be prime).
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp302 uptr mem = ShadowToMem(reinterpret_cast<uptr>(candidate)); in ShowHeapOrGlobalCandidate()
310 } else if (candidate == left) { in ShowHeapOrGlobalCandidate()
346 candidate == left ? untagged_addr - (info.start + info.size) in ShowHeapOrGlobalCandidate()
348 candidate == left ? "right" : "left", info.size, info.name, in ShowHeapOrGlobalCandidate()
361 untagged_addr, candidate == left ? "right" : "left", size, in ShowHeapOrGlobalCandidate()
420 tag_t *candidate = nullptr, *left = tag_ptr, *right = tag_ptr; in PrintAddressDescription() local
425 candidate = left; in PrintAddressDescription()
431 candidate = right; in PrintAddressDescription()
440 ShowHeapOrGlobalCandidate(untagged_addr, candidate, left, right); in PrintAddressDescription()
481 if (candidate && num_descriptions_printed == 0) { in PrintAddressDescription()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp78 bool delayHasHazard(MachineBasicBlock::iterator candidate,
227 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, in delayHasHazard() argument
234 if (candidate->isImplicitDef() || candidate->isKill()) in delayHasHazard()
237 if (candidate->mayLoad()) { in delayHasHazard()
243 if (candidate->mayStore()) { in delayHasHazard()
251 for (unsigned i = 0, e = candidate->getNumOperands(); i!= e; ++i) { in delayHasHazard()
252 const MachineOperand &MO = candidate->getOperand(i); in delayHasHazard()
270 unsigned Opcode = candidate->getOpcode(); in delayHasHazard()
/freebsd-13.1/contrib/kyua/store/
H A Dlayout_test.cpp215 for (const char** candidate = candidates; *candidate != NULL; ++candidate) { in ATF_TEST_CASE_BODY() local
216 std::cout << "Current candidate: " << *candidate << '\n'; in ATF_TEST_CASE_BODY()
217 atf::utils::create_file((store_dir / *candidate).str(), ""); in ATF_TEST_CASE_BODY()
H A Dlayout.cpp160 const fs::path candidate = in find_results() local
162 if (fs::exists(candidate)) { in find_results()
163 return candidate; in find_results()
/freebsd-13.1/sys/contrib/libsodium/dist-build/
H A Demscripten.sh127 …for candidate in /usr/local/bin/node /usr/local/bin/nodejs /usr/bin/node /usr/bin/nodejs node node…
128 case $($candidate --version 2>&1) in #(
130 NODE=$candidate
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h217 for (const FormattersMatchCandidate &candidate : candidates) { in Get() local
218 if (Get(candidate.GetTypeName(), entry)) { in Get()
219 if (candidate.IsMatch(entry) == false) { in Get()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDwo.cpp69 if (auto *candidate = in FindSingleCompileUnit() local
73 cu = candidate; in FindSingleCompileUnit()
/freebsd-13.1/contrib/llvm-project/lldb/source/DataFormatters/
H A DLanguageCategory.cpp99 for (auto &candidate : GetHardcodedFinder<ImplSP>()) { in GetHardcoded() local
100 if (auto result = candidate(valobj, use_dynamic, fmt_mgr)) { in GetHardcoded()
/freebsd-13.1/contrib/kyua/utils/fs/
H A Doperations.cpp412 const fs::path candidate = path_component.empty() ? in find_in_path() local
414 if (exists(candidate)) { in find_in_path()
415 if (candidate.is_absolute()) in find_in_path()
416 return utils::make_optional(candidate); in find_in_path()
418 return utils::make_optional(candidate.to_absolute()); in find_in_path()
/freebsd-13.1/contrib/ldns/
H A Ddnssec.c34 ldns_rr *candidate; in ldns_dnssec_get_rrsig_for_name_and_type() local
41 candidate = ldns_rr_list_rr(rrs, i); in ldns_dnssec_get_rrsig_for_name_and_type()
42 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_RRSIG) { in ldns_dnssec_get_rrsig_for_name_and_type()
43 if (ldns_dname_compare(ldns_rr_owner(candidate), in ldns_dnssec_get_rrsig_for_name_and_type()
48 return candidate; in ldns_dnssec_get_rrsig_for_name_and_type()
61 ldns_rr *candidate; in ldns_dnssec_get_dnskey_for_rrsig() local
68 candidate = ldns_rr_list_rr(rrs, i); in ldns_dnssec_get_dnskey_for_rrsig()
69 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_DNSKEY) { in ldns_dnssec_get_dnskey_for_rrsig()
70 if (ldns_dname_compare(ldns_rr_owner(candidate), in ldns_dnssec_get_dnskey_for_rrsig()
73 ldns_calc_keytag(candidate) in ldns_dnssec_get_dnskey_for_rrsig()
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Ddate.c367 apr_time_t candidate; in svn_parse_date() local
378 apr_err = apr_time_exp_gmt_get(&candidate, &expt); in svn_parse_date()
382 apr_err = apr_time_exp_lt(&expthen, candidate); in svn_parse_date()
/freebsd-13.1/contrib/bmake/unit-tests/
H A Ddepsrc-use.mk9 not-a-main-candidate: .USE
H A Ddepsrc-usebefore.mk13 not-a-main-candidate: .USEBEFORE
/freebsd-13.1/contrib/subversion/subversion/libsvn_repos/
H A Drepos.c1341 const char *candidate = path; in svn_repos_find_root_path() local
1350 err = svn_path_cstring_from_utf8(&decoded, candidate, pool); in svn_repos_find_root_path()
1351 if (!err && check_repos_path(candidate, pool)) in svn_repos_find_root_path()
1355 if (svn_path_is_empty(candidate) || in svn_repos_find_root_path()
1356 svn_dirent_is_root(candidate, strlen(candidate))) in svn_repos_find_root_path()
1359 candidate = svn_dirent_dirname(candidate, pool); in svn_repos_find_root_path()
1362 return candidate; in svn_repos_find_root_path()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.cpp460 for (auto &candidate : map) { in NSDictionarySummaryProvider() local
461 if (candidate.first && candidate.first->Match(class_name)) in NSDictionarySummaryProvider()
462 return candidate.second(valobj, stream, options); in NSDictionarySummaryProvider()
544 for (auto &candidate : map) { in NSDictionarySyntheticFrontEndCreator() local
545 if (candidate.first && candidate.first->Match((class_name))) in NSDictionarySyntheticFrontEndCreator()
546 return candidate.second(synth, valobj_sp); in NSDictionarySyntheticFrontEndCreator()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp999 CompilerType AdjustForInclusion(CompilerType &candidate) override { in GetTypeScavenger() argument
1000 LanguageType lang_type(candidate.GetMinimumLanguage()); in GetTypeScavenger()
1004 if (candidate.IsTypedefType()) in GetTypeScavenger()
1005 return candidate.GetTypedefedType(); in GetTypeScavenger()
1006 return candidate; in GetTypeScavenger()
/freebsd-13.1/contrib/bc/
H A DNEWS.md1079 This release is the eighth release candidate for 1.1, though it is the third
1080 release candidate meant as a general release candidate. The new code has not
1085 This release is the seventh release candidate for 1.1, though it is the second
1086 release candidate meant as a general release candidate. The new code has not
1091 This release is the sixth release candidate for 1.1, though it is the fifth
1092 release candidate meant specifically to test if `bc` works on FreeBSD. The new
1097 This release is the fifth release candidate for 1.1, though it is the fourth
1103 This release is the fourth release candidate for 1.1, though it is the third
1109 This release is the third release candidate for 1.1, though it is the second
1115 This release is the second release candidate for 1.1, though it is meant
[all …]

1234