/freebsd/usr.bin/which/ |
H A D | 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/lib/libiconv_modules/HZ/ |
H A D | 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/sys/contrib/ck/src/ |
H A D | 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/usr.bin/env/ |
H A D | 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/contrib/libarchive/libarchive/ |
H A D | 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() 156 /* Pick a new passphrase candidate up. */ 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() 167 } else /* There is no passphrase candidate. */ in __archive_read_next_passphrase() 183 a->passphrases.candidate in __archive_read_next_passphrase() [all...] |
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_report.cpp | 488 candidate(FindBufferOverflowCandidate()), in BaseReport() 557 const OverflowCandidate candidate; member in __hwasan::__anon865875d10511::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/contrib/wpa/src/rsn_supp/ |
H A D | 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/crypto/openssl/doc/man3/ |
H A D | 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).
|
H A D | OSSL_CMP_validate_msg.pod | 30 If no such sender cert has been pinned then candidate sender certificates are 34 where a candidate is acceptable only if has not expired, its subject DN matches
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | 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/contrib/llvm-project/lldb/include/lldb/DataFormatters/ |
H A D | 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/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | 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/contrib/kyua/store/ |
H A D | 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()
|
H A D | 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/sys/contrib/libsodium/dist-build/ |
H A D | 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/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | LanguageCategory.cpp | 99 for (auto &candidate : GetHardcodedFinder<ImplSP>()) { in GetHardcoded() local 100 if (auto result = candidate(valobj, use_dynamic, fmt_mgr)) { in GetHardcoded()
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | 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/contrib/ldns/ |
H A D | 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/lib/libc/amd64/string/ |
H A D | 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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | SymbolFileDWARFDwo.cpp | 72 if (auto *candidate = in FindSingleCompileUnit() local 76 cu = candidate; in FindSingleCompileUnit()
|
/freebsd/lib/libtacplus/ |
H A D | taclib.c | 1240 struct tac_str *candidate; in tac_get_av_value() local 1249 candidate = &h->srvr_avs[i]; in tac_get_av_value() 1251 candidate = &srvp->avs[i - h->srvr_navs]; in tac_get_av_value() 1253 if (attr_len < candidate->len && in tac_get_av_value() 1254 strncmp(candidate->data, attribute, attr_len) == 0) { in tac_get_av_value() 1256 ch = candidate->data + attr_len; in tac_get_av_value() 1257 end = candidate->data + candidate->len; in tac_get_av_value()
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | depsrc-use.mk | 13 not-a-main-candidate: .USE
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | 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()
|
H A D | ObjCLanguage.cpp | 985 CompilerType AdjustForInclusion(CompilerType &candidate) override { in GetTypeScavenger() argument 986 LanguageType lang_type(candidate.GetMinimumLanguage()); in GetTypeScavenger() 989 if (candidate.IsTypedefType()) in GetTypeScavenger() 990 return candidate.GetTypedefedType(); in GetTypeScavenger() 991 return candidate; in GetTypeScavenger()
|
/freebsd/contrib/ntp/ |
H A D | README.versions | 21 4.2.3p15-rc1 A release candidate for 4.2.4
|