| /freebsd-14-stable/usr.bin/which/ |
| HD | which.c | 103 is_there(char *candidate) in is_there() argument 108 if (access(candidate, X_OK) == 0 && in is_there() 109 stat(candidate, &fin) == 0 && in is_there() 114 printf("%s\n", candidate); in is_there() 123 char candidate[PATH_MAX]; in print_matches() local 133 if (snprintf(candidate, sizeof(candidate), "%s/%s", d, in print_matches() 134 filename) >= (int)sizeof(candidate)) in print_matches() 136 if (is_there(candidate)) { in print_matches()
|
| /freebsd-14-stable/lib/libiconv_modules/HZ/ |
| HD | citrus_hz.c | 182 escape_t *candidate, *init; in _citrus_HZ_mbrtowc_priv() local 242 candidate = NULL; in _citrus_HZ_mbrtowc_priv() 249 candidate = init; in _citrus_HZ_mbrtowc_priv() 251 if (candidate == NULL) { in _citrus_HZ_mbrtowc_priv() 252 candidate = find_escape( in _citrus_HZ_mbrtowc_priv() 254 if (candidate == NULL) { in _citrus_HZ_mbrtowc_priv() 258 candidate = init; in _citrus_HZ_mbrtowc_priv() 261 psenc->inuse = candidate; in _citrus_HZ_mbrtowc_priv() 304 escape_t *candidate, *init; in _citrus_HZ_wcrtomb_priv() local 319 candidate = INIT0(ei); in _citrus_HZ_wcrtomb_priv() [all …]
|
| /freebsd-14-stable/sys/contrib/ck/src/ |
| HD | ck_ht.c | 749 struct ck_ht_entry *candidate, snapshot; in ck_ht_remove_spmc() local 754 candidate = ck_ht_map_probe_rd(map, h, &snapshot, in ck_ht_remove_spmc() 758 candidate = ck_ht_map_probe_rd(map, h, &snapshot, in ck_ht_remove_spmc() 764 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY) in ck_ht_remove_spmc() 769 ck_pr_store_ptr_unsafe(&candidate->key, (void *)CK_HT_KEY_TOMBSTONE); in ck_ht_remove_spmc() 780 struct ck_ht_entry *candidate, snapshot; in ck_ht_get_spmc() local 794 candidate = ck_ht_map_probe_rd(map, h, &snapshot, in ck_ht_get_spmc() 797 candidate = ck_ht_map_probe_rd(map, h, &snapshot, in ck_ht_get_spmc() 811 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY) in ck_ht_get_spmc() 823 struct ck_ht_entry snapshot, *candidate, *priority; in ck_ht_set_spmc() local [all …]
|
| /freebsd-14-stable/usr.bin/env/ |
| HD | envopts.c | 49 static int is_there(char *candidate); 65 is_there(char *candidate) in is_there() argument 70 if (access(candidate, X_OK) == 0 && in is_there() 71 stat(candidate, &fin) == 0 && in is_there() 76 fprintf(stderr, "#env matched:\t'%s'\n", candidate); in is_there() 99 char candidate[PATH_MAX]; in search_paths() local 117 if (snprintf(candidate, sizeof(candidate), "%s/%s", d, in search_paths() 118 filename) >= (int)sizeof(candidate)) in search_paths() 120 if (is_there(candidate)) { in search_paths() 121 fqname = candidate; in search_paths() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| HD | TypoCorrection.h | 301 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() 372 bool ValidateCandidate(const TypoCorrection &candidate) override { in ValidateCandidate() argument 373 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate() 389 bool ValidateCandidate(const TypoCorrection &candidate) override; [all …]
|
| /freebsd-14-stable/contrib/libarchive/libarchive/ |
| HD | archive_read_add_passphrase.c | 131 a->passphrases.candidate = -1; in __archive_read_reset_passphrase() 143 if (a->passphrases.candidate < 0) { in __archive_read_next_passphrase() 149 a->passphrases.candidate = cnt; in __archive_read_next_passphrase() 151 } else if (a->passphrases.candidate > 1) { in __archive_read_next_passphrase() 153 a->passphrases.candidate--; in __archive_read_next_passphrase() 158 } else if (a->passphrases.candidate == 1) { in __archive_read_next_passphrase() 160 a->passphrases.candidate = 0; in __archive_read_next_passphrase() 183 a->passphrases.candidate = 1; in __archive_read_next_passphrase()
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| HD | hwasan_report.cpp | 488 candidate(FindBufferOverflowCandidate()), in BaseReport() 557 const OverflowCandidate candidate; member in __hwasan::__anon0ffe882b0511::BaseReport 721 if (candidate.heap.is_allocated) { in PrintHeapOrGlobalCandidate() 724 if (candidate.heap.begin <= untagged_addr && in PrintHeapOrGlobalCandidate() 725 untagged_addr < candidate.heap.end) { in PrintHeapOrGlobalCandidate() 726 offset = untagged_addr - candidate.heap.begin; in PrintHeapOrGlobalCandidate() 728 } else if (candidate.after) { in PrintHeapOrGlobalCandidate() 729 offset = untagged_addr - candidate.heap.end; in PrintHeapOrGlobalCandidate() 732 offset = candidate.heap.begin - untagged_addr; in PrintHeapOrGlobalCandidate() 741 candidate.heap.end - candidate.heap.begin, candidate.heap.begin, in PrintHeapOrGlobalCandidate() [all …]
|
| /freebsd-14-stable/contrib/wpa/src/rsn_supp/ |
| HD | preauth.c | 313 struct rsn_pmksa_candidate *candidate, *n; in rsn_preauth_candidate_process() local 331 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates, in rsn_preauth_candidate_process() 334 p = pmksa_cache_get(sm->pmksa, candidate->bssid, sm->own_addr, in rsn_preauth_candidate_process() 336 if (!ether_addr_equal(sm->bssid, candidate->bssid) && in rsn_preauth_candidate_process() 341 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process() 342 dl_list_del(&candidate->list); in rsn_preauth_candidate_process() 343 rsn_preauth_init(sm, candidate->bssid, in rsn_preauth_candidate_process() 345 os_free(candidate); in rsn_preauth_candidate_process() 350 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process() 354 wpa_sm_add_pmkid(sm, NULL, candidate->bssid, p->pmkid, in rsn_preauth_candidate_process() [all …]
|
| /freebsd-14-stable/crypto/openssl/doc/man3/ |
| HD | DSA_generate_parameters.pod | 62 When a candidate for q is generated, B<BN_GENCB_call(cb, 0, m++)> is called 63 (m is 0 for the first candidate). 67 When a candidate for q has passed a test by trial division, 69 While a candidate for q is tested by Miller-Rabin primality tests, 71 (once for each witness that confirms that the candidate may be prime); 81 Before a candidate for p (other than the first) is generated and tested, 86 When a candidate for p has passed the test by trial division, 90 (once for each witness that confirms that the candidate may be prime).
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| HD | DelaySlotFiller.cpp | 77 bool delayHasHazard(MachineBasicBlock::iterator candidate, 229 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, in delayHasHazard() argument 236 if (candidate->isImplicitDef() || candidate->isKill()) in delayHasHazard() 239 if (candidate->mayLoad()) { in delayHasHazard() 245 if (candidate->mayStore()) { in delayHasHazard() 253 for (const MachineOperand &MO : candidate->operands()) { in delayHasHazard() 271 unsigned Opcode = candidate->getOpcode(); in delayHasHazard()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/include/lldb/DataFormatters/ |
| HD | FormattersContainer.h | 180 bool Get(FormattersMatchCandidate candidate, ValueSP &entry) { in Get() argument 183 if (formatter.first.Matches(candidate)) { in Get() 194 for (const FormattersMatchCandidate &candidate : candidates) { in Get() local 195 if (Get(candidate, entry)) { in Get() 196 if (candidate.IsMatch(entry) == false) { in Get()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| HD | GenericOptional.cpp | 107 ValueObjectSP candidate = val_sp->GetChildMemberWithName("_M_value"); in GetChildAtIndex() local 108 if (candidate) in GetChildAtIndex() 109 val_sp = candidate; in GetChildAtIndex()
|
| /freebsd-14-stable/contrib/kyua/store/ |
| HD | layout_test.cpp | 215 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()
|
| HD | layout.cpp | 160 const fs::path candidate = in find_results() local 162 if (fs::exists(candidate)) { in find_results() 163 return candidate; in find_results()
|
| /freebsd-14-stable/sys/contrib/libsodium/dist-build/ |
| HD | emscripten.sh | 127 …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-14-stable/contrib/llvm-project/lldb/source/DataFormatters/ |
| HD | LanguageCategory.cpp | 99 for (auto &candidate : GetHardcodedFinder<ImplSP>()) { in GetHardcoded() local 100 if (auto result = candidate(valobj, use_dynamic, fmt_mgr)) { in GetHardcoded()
|
| /freebsd-14-stable/contrib/kyua/utils/fs/ |
| HD | operations.cpp | 412 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-14-stable/contrib/ldns/ |
| HD | dnssec.c | 39 ldns_rr *candidate; in ldns_dnssec_get_rrsig_for_name_and_type() local 46 candidate = ldns_rr_list_rr(rrs, i); in ldns_dnssec_get_rrsig_for_name_and_type() 47 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_RRSIG) { in ldns_dnssec_get_rrsig_for_name_and_type() 48 if (ldns_dname_compare(ldns_rr_owner(candidate), in ldns_dnssec_get_rrsig_for_name_and_type() 50 ldns_rdf2rr_type(ldns_rr_rrsig_typecovered(candidate)) in ldns_dnssec_get_rrsig_for_name_and_type() 53 return candidate; in ldns_dnssec_get_rrsig_for_name_and_type() 66 ldns_rr *candidate; in ldns_dnssec_get_dnskey_for_rrsig() local 73 candidate = ldns_rr_list_rr(rrs, i); in ldns_dnssec_get_dnskey_for_rrsig() 74 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_DNSKEY) { in ldns_dnssec_get_dnskey_for_rrsig() 75 if (ldns_dname_compare(ldns_rr_owner(candidate), in ldns_dnssec_get_dnskey_for_rrsig() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| HD | SymbolFileDWARFDwo.cpp | 72 if (auto *candidate = in FindSingleCompileUnit() local 76 cu = candidate; in FindSingleCompileUnit()
|
| /freebsd-14-stable/lib/libc/amd64/string/ |
| HD | amd64_archlevel.c | 139 const char *candidate = levels[level].name; in match_archlevel() local 142 for (i = 0; str[i] == candidate[i]; i++) in match_archlevel()
|
| /freebsd-14-stable/contrib/bmake/unit-tests/ |
| HD | depsrc-use.mk | 13 not-a-main-candidate: .USE
|
| /freebsd-14-stable/lib/libtacplus/ |
| HD | taclib.c | 1241 struct tac_str *candidate; in tac_get_av_value() local 1250 candidate = &h->srvr_avs[i]; in tac_get_av_value() 1252 candidate = &srvp->avs[i - h->srvr_navs]; in tac_get_av_value() 1254 if (attr_len < candidate->len && in tac_get_av_value() 1255 strncmp(candidate->data, attribute, attr_len) == 0) { in tac_get_av_value() 1257 ch = candidate->data + attr_len; in tac_get_av_value() 1258 end = candidate->data + candidate->len; in tac_get_av_value()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| HD | NSDictionary.cpp | 496 for (auto &candidate : map) { in NSDictionarySummaryProvider() local 497 if (candidate.first && candidate.first->Match(class_name)) in NSDictionarySummaryProvider() 498 return candidate.second(valobj, stream, options); in NSDictionarySummaryProvider() 579 for (auto &candidate : map) { in NSDictionarySyntheticFrontEndCreator() local 580 if (candidate.first && candidate.first->Match((class_name))) in NSDictionarySyntheticFrontEndCreator() 581 return candidate.second(synth, valobj_sp); in NSDictionarySyntheticFrontEndCreator()
|
| /freebsd-14-stable/sys/contrib/dev/rtw88/ |
| HD | rtw8723x.c | 511 u8 candidate[PATH_NR] = {IQK_ROUND_INVALID, IQK_ROUND_INVALID}; in __rtw8723x_iqk_similarity_cmp() local 527 candidate[i / IQK_SX_NR] = c2; in __rtw8723x_iqk_similarity_cmp() 529 candidate[i / IQK_SX_NR] = c1; in __rtw8723x_iqk_similarity_cmp() 541 if (candidate[i] == IQK_ROUND_INVALID) in __rtw8723x_iqk_similarity_cmp() 545 result[IQK_ROUND_HYBRID][j] = result[candidate[i]][j]; in __rtw8723x_iqk_similarity_cmp()
|
| /freebsd-14-stable/contrib/ntp/ |
| HD | README.versions | 21 4.2.3p15-rc1 A release candidate for 4.2.4
|