Searched refs:candidate (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-current/usr.bin/which/
H A Dwhich.c103 is_there(char *candidate) argument
108 if (access(candidate, X_OK) == 0 &&
109 stat(candidate, &fin) == 0 &&
114 printf("%s\n", candidate);
123 char candidate[PATH_MAX]; local
133 if (snprintf(candidate, sizeof(candidate), "%s/%s", d,
134 filename) >= (int)sizeof(candidate))
136 if (is_there(candidate)) {
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_add_passphrase.c131 a->passphrases.candidate = -1;
143 if (a->passphrases.candidate < 0) {
149 a->passphrases.candidate = cnt;
151 } else if (a->passphrases.candidate > 1) {
153 a->passphrases.candidate--;
156 /* Pick a new passphrase candidate up. */
158 } else if (a->passphrases.candidate == 1) {
160 a->passphrases.candidate = 0;
167 } else /* There is no passphrase candidate. */
183 a->passphrases.candidate
[all...]
H A Darchive_read_private.h223 int candidate; member in struct:archive_read::__anon16
/freebsd-current/lib/libiconv_modules/HZ/
H A Dcitrus_hz.c182 escape_t *candidate, *init; local
242 candidate = NULL;
249 candidate = init;
251 if (candidate == NULL) {
252 candidate = find_escape(
254 if (candidate == NULL) {
258 candidate = init;
261 psenc->inuse = candidate;
304 escape_t *candidate, *init; local
319 candidate
401 escape_t *candidate; local
[all...]
/freebsd-current/usr.bin/env/
H A Denvopts.c49 static int is_there(char *candidate);
65 is_there(char *candidate) argument
70 if (access(candidate, X_OK) == 0 &&
71 stat(candidate, &fin) == 0 &&
76 fprintf(stderr, "#env matched:\t'%s'\n", candidate);
99 char candidate[PATH_MAX]; local
117 if (snprintf(candidate, sizeof(candidate), "%s/%s", d,
118 filename) >= (int)sizeof(candidate))
120 if (is_there(candidate)) {
[all...]
/freebsd-current/sys/contrib/ck/src/
H A Dck_ht.c749 struct ck_ht_entry *candidate, snapshot; local
754 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
758 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
764 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY)
769 ck_pr_store_ptr_unsafe(&candidate->key, (void *)CK_HT_KEY_TOMBSTONE);
780 struct ck_ht_entry *candidate, snapshot; local
794 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
797 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
811 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY)
823 struct ck_ht_entry snapshot, *candidate, *priorit local
960 struct ck_ht_entry snapshot, *candidate, *priority; local
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h294 /// candidate is viable, without ranking potentially viable candidates.
297 /// The default predicate always returns true if the candidate is not a type
301 virtual bool ValidateCandidate(const TypoCorrection &candidate);
304 /// to a candidate (where a lower value represents a better candidate), or
305 /// returning InvalidDistance if the candidate is not at all viable. For
306 /// validation callbacks that only need to determine if a candidate is viable,
309 virtual unsigned RankCandidate(const TypoCorrection &candidate) { argument
310 return (!MatchesTypo(candidate) && ValidateCandidate(candidate))
340 MatchesTypo(const TypoCorrection &candidate) argument
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DGenericOptional.cpp105 ValueObjectSP candidate = val_sp->GetChildMemberWithName("_M_value"); local
106 if (candidate)
107 val_sp = candidate;
/freebsd-current/contrib/wpa/src/rsn_supp/
H A Dpreauth.c34 * pmksa_candidate_free - Free all entries in PMKSA candidate list
305 * Go through the PMKSA candidates and start pre-authentication if a candidate
311 struct rsn_pmksa_candidate *candidate, *n; local
316 /* TODO: drop priority for old candidate entries */
318 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
329 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates,
332 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL, 0);
333 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
336 "candidate " MACSTR
338 MAC2STR(candidate
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp450 candidate(FindBufferOverflowCandidate()),
519 const OverflowCandidate candidate; member in class:__hwasan::__anon1146::BaseReport
683 if (candidate.heap.is_allocated) {
686 if (candidate.heap.begin <= untagged_addr &&
687 untagged_addr < candidate.heap.end) {
688 offset = untagged_addr - candidate.heap.begin;
690 } else if (candidate.after) {
691 offset = untagged_addr - candidate.heap.end;
694 offset = candidate.heap.begin - untagged_addr;
703 candidate
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h107 // it creates a dummy candidate without type or script interpreter.
179 // Finds the first formatter in the container that matches `candidate`.
180 bool Get(FormattersMatchCandidate candidate, ValueSP &entry) { argument
183 if (formatter.first.Matches(candidate)) {
191 // Finds the first match between candidate types in `candidates` and
194 for (const FormattersMatchCandidate &candidate : candidates) {
195 if (Get(candidate, entry)) {
196 if (candidate.IsMatch(entry) == false) {
H A DTypeCategory.h96 /// Looks for a matching candidate across all priority tiers, in priority
108 bool AnyMatches(const FormattersMatchCandidate &candidate) { argument
111 if (sc->Get(FormattersMatchVector{candidate}, entry))
/freebsd-current/contrib/kyua/store/
H A Dlayout.cpp160 const fs::path candidate = local
162 if (fs::exists(candidate)) {
163 return candidate;
H A Dlayout_test.cpp215 for (const char** candidate = candidates; *candidate != NULL; ++candidate) {
216 std::cout << "Current candidate: " << *candidate << '\n'; local
217 atf::utils::create_file((store_dir / *candidate).str(), "");
/freebsd-current/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 nodejs; do
128 case $($candidate --version 2>&1) in #(
130 NODE=$candidate
/freebsd-current/contrib/llvm-project/lldb/source/DataFormatters/
H A DLanguageCategory.cpp99 for (auto &candidate : GetHardcodedFinder<ImplSP>()) {
100 if (auto result = candidate(valobj, use_dynamic, fmt_mgr)) {
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp77 bool delayHasHazard(MachineBasicBlock::iterator candidate,
229 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, argument
236 if (candidate->isImplicitDef() || candidate->isKill())
239 if (candidate->mayLoad()) {
245 if (candidate->mayStore()) {
253 for (const MachineOperand &MO : candidate->operands()) {
271 unsigned Opcode = candidate->getOpcode();
/freebsd-current/lib/libc/amd64/string/
H A Damd64_archlevel.c139 const char *candidate = levels[level].name; local
142 for (i = 0; str[i] == candidate[i]; i++)
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDwo.cpp72 if (auto *candidate =
76 cu = candidate;
/freebsd-current/tools/tools/git/
H A Dcandidatematch.lua3 -- MFC candidate script utility - $0 from-file to-file
/freebsd-current/contrib/kyua/utils/fs/
H A Doperations.cpp412 const fs::path candidate = path_component.empty() ? local
414 if (exists(candidate)) {
415 if (candidate.is_absolute())
416 return utils::make_optional(candidate);
418 return utils::make_optional(candidate.to_absolute());
/freebsd-current/contrib/ldns/
H A Ddnssec.c39 ldns_rr *candidate; local
46 candidate = ldns_rr_list_rr(rrs, i);
47 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_RRSIG) {
48 if (ldns_dname_compare(ldns_rr_owner(candidate),
50 ldns_rdf2rr_type(ldns_rr_rrsig_typecovered(candidate))
53 return candidate;
66 ldns_rr *candidate; local
73 candidate = ldns_rr_list_rr(rrs, i);
74 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_DNSKEY) {
75 if (ldns_dname_compare(ldns_rr_owner(candidate),
[all...]
/freebsd-current/lib/libtacplus/
H A Dtaclib.c1240 struct tac_str *candidate; local
1249 candidate = &h->srvr_avs[i];
1251 candidate = &srvp->avs[i - h->srvr_navs];
1253 if (attr_len < candidate->len &&
1254 strncmp(candidate->data, attribute, attr_len) == 0) {
1256 ch = candidate->data + attr_len;
1257 end = candidate->data + candidate->len;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.cpp496 for (auto &candidate : map) {
497 if (candidate.first && candidate.first->Match(class_name))
498 return candidate.second(valobj, stream, options);
579 for (auto &candidate : map) {
580 if (candidate.first && candidate.first->Match((class_name)))
581 return candidate.second(synth, valobj_sp);
H A DObjCLanguage.cpp985 CompilerType AdjustForInclusion(CompilerType &candidate) override {
986 LanguageType lang_type(candidate.GetMinimumLanguage());
989 if (candidate.IsTypedefType())
990 return candidate.GetTypedefedType();
991 return candidate;

Completed in 275 milliseconds

123