Home
last modified time | relevance | path

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

12345

/freebsd-12.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-12.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-12.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-12.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-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h302 virtual bool ValidateCandidate(const TypoCorrection &candidate);
310 virtual unsigned RankCandidate(const TypoCorrection &candidate) { in RankCandidate() argument
311 return (!MatchesTypo(candidate) && ValidateCandidate(candidate)) in RankCandidate()
334 bool MatchesTypo(const TypoCorrection &candidate) { in MatchesTypo() argument
335 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
336 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
339 candidate.getCorrectionSpecifier() == TypoNNS; in MatchesTypo()
351 bool ValidateCandidate(const TypoCorrection &candidate) override { in ValidateCandidate() argument
352 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
365 bool ValidateCandidate(const TypoCorrection &candidate) override;
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_add_passphrase.c128 a->passphrases.candidate = -1; in __archive_read_reset_passphrase()
140 if (a->passphrases.candidate < 0) { in __archive_read_next_passphrase()
146 a->passphrases.candidate = cnt; in __archive_read_next_passphrase()
148 } else if (a->passphrases.candidate > 1) { in __archive_read_next_passphrase()
150 a->passphrases.candidate--; in __archive_read_next_passphrase()
155 } else if (a->passphrases.candidate == 1) { in __archive_read_next_passphrase()
157 a->passphrases.candidate = 0; in __archive_read_next_passphrase()
180 a->passphrases.candidate = 1; in __archive_read_next_passphrase()
/freebsd-12.1/contrib/llvm/tools/lldb/source/DataFormatters/
H A DLanguageCategory.cpp139 for (auto &candidate : m_hardcoded_formats) { in GetHardcoded() local
140 if ((format_sp = candidate(valobj, use_dynamic, fmt_mgr))) in GetHardcoded()
159 for (auto &candidate : m_hardcoded_summaries) { in GetHardcoded() local
160 if ((format_sp = candidate(valobj, use_dynamic, fmt_mgr))) in GetHardcoded()
179 for (auto &candidate : m_hardcoded_synthetics) { in GetHardcoded() local
180 if ((format_sp = candidate(valobj, use_dynamic, fmt_mgr))) in GetHardcoded()
199 for (auto &candidate : m_hardcoded_validators) { in GetHardcoded() local
200 if ((format_sp = candidate(valobj, use_dynamic, fmt_mgr))) in GetHardcoded()
/freebsd-12.1/contrib/wpa/src/rsn_supp/
H A Dpreauth.c302 struct rsn_pmksa_candidate *candidate, *n; in rsn_preauth_candidate_process() local
323 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates, in rsn_preauth_candidate_process()
327 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && in rsn_preauth_candidate_process()
332 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
333 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
334 rsn_preauth_init(sm, candidate->bssid, in rsn_preauth_candidate_process()
336 os_free(candidate); in rsn_preauth_candidate_process()
341 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
345 wpa_sm_add_pmkid(sm, NULL, candidate->bssid, p->pmkid, in rsn_preauth_candidate_process()
349 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
[all …]
/freebsd-12.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-12.1/contrib/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp79 bool delayHasHazard(MachineBasicBlock::iterator candidate,
228 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, in delayHasHazard() argument
235 if (candidate->isImplicitDef() || candidate->isKill()) in delayHasHazard()
238 if (candidate->mayLoad()) { in delayHasHazard()
244 if (candidate->mayStore()) { in delayHasHazard()
252 for (unsigned i = 0, e = candidate->getNumOperands(); i!= e; ++i) { in delayHasHazard()
253 const MachineOperand &MO = candidate->getOperand(i); in delayHasHazard()
271 unsigned Opcode = candidate->getOpcode(); in delayHasHazard()
/freebsd-12.1/contrib/compiler-rt/lib/hwasan/
H A Dhwasan_report.cc170 tag_t *candidate = nullptr; in PrintAddressDescription() local
172 candidate = right - tag_ptr < tag_ptr - left ? right : left; in PrintAddressDescription()
174 candidate = right; in PrintAddressDescription()
176 candidate = left; in PrintAddressDescription()
178 if (candidate) { in PrintAddressDescription()
179 uptr mem = ShadowToMem(reinterpret_cast<uptr>(candidate)); in PrintAddressDescription()
186 candidate == left ? untagged_addr - chunk.End() in PrintAddressDescription()
188 candidate == right ? "left" : "right", chunk.UsedSize(), in PrintAddressDescription()
/freebsd-12.1/sys/contrib/zstd/tests/
H A Dparamgrill.c779 BMK_result_t candidate; in optimizeForSize() local
792 BMK_benchParam(&candidate, origBuff, benchedSize, ctx, CParams); in optimizeForSize()
793 if (candidate.cSpeed < targetSpeed) in optimizeForSize()
795 if ( (candidate.cSize < winner.result.cSize) in optimizeForSize()
796 … | ((candidate.cSize == winner.result.cSize) & (candidate.cSpeed > winner.result.cSpeed)) ) in optimizeForSize()
799 winner.result = candidate; in optimizeForSize()
819 BMK_benchParam(&candidate, origBuff, benchedSize, ctx, params); in optimizeForSize()
822 if ( (candidate.cSpeed > targetSpeed) in optimizeForSize()
823 & ( (candidate.cSize < winner.result.cSize) in optimizeForSize()
824 … | ((candidate.cSize == winner.result.cSize) & (candidate.cSpeed > winner.result.cSpeed)) ) ) in optimizeForSize()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMIRCanonicalizerPass.cpp683 for (auto candidate : Candidates) { in runOnBasicBlock() local
692 for (unsigned i = 1; i < candidate->getNumOperands(); i++) { in runOnBasicBlock()
693 if (candidate->mayStore() || candidate->isBranch()) in runOnBasicBlock()
696 MachineOperand &MO = candidate->getOperand(i); in runOnBasicBlock()
706 for (unsigned i = 0; i < candidate->getNumOperands(); i++) { in runOnBasicBlock()
708 if (!candidate->mayStore() && !candidate->isBranch()) in runOnBasicBlock()
711 MachineOperand &MO = candidate->getOperand(i); in runOnBasicBlock()
/freebsd-12.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-12.1/contrib/llvm/tools/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h326 for (const FormattersMatchCandidate &candidate : candidates) { in Get() local
327 if (Get(candidate.GetTypeName(), entry)) { in Get()
328 if (candidate.IsMatch(entry) == false) { in Get()
333 *reason = candidate.GetReason(); in Get()
/freebsd-12.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-12.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-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.cpp430 for (auto &candidate : map) { in NSDictionarySummaryProvider() local
431 if (candidate.first && candidate.first->Match(class_name)) in NSDictionarySummaryProvider()
432 return candidate.second(valobj, stream, options); in NSDictionarySummaryProvider()
506 for (auto &candidate : map) { in NSDictionarySyntheticFrontEndCreator() local
507 if (candidate.first && candidate.first->Match((class_name))) in NSDictionarySyntheticFrontEndCreator()
508 return candidate.second(synth, valobj_sp); in NSDictionarySyntheticFrontEndCreator()
H A DObjCLanguage.cpp955 if (CompilerType candidate = in GetTypeScavenger() local
959 new ObjCScavengerResult(candidate)); in GetTypeScavenger()
1008 virtual CompilerType AdjustForInclusion(CompilerType &candidate) override { in GetTypeScavenger() argument
1009 LanguageType lang_type(candidate.GetMinimumLanguage()); in GetTypeScavenger()
1012 if (candidate.IsTypedefType()) in GetTypeScavenger()
1013 return candidate.GetTypedefedType(); in GetTypeScavenger()
1014 return candidate; in GetTypeScavenger()
/freebsd-12.1/contrib/gcc/cp/
H A Dmangle.c415 tree candidate; in add_substitution() local
417 for (i = 0; VEC_iterate (tree, G.substitutions, i, candidate); i++) in add_substitution()
419 gcc_assert (!(DECL_P (node) && node == candidate)); in add_substitution()
420 gcc_assert (!(TYPE_P (node) && TYPE_P (candidate) in add_substitution()
421 && same_type_p (node, candidate))); in add_substitution()
638 tree candidate = VEC_index (tree, G.substitutions, i); in find_substitution() local
641 if (decl == candidate in find_substitution()
642 || (TYPE_P (candidate) && type && TYPE_P (type) in find_substitution()
643 && same_type_p (type, candidate)) in find_substitution()
644 || NESTED_TEMPLATE_MATCH (node, candidate)) in find_substitution()
/freebsd-12.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-12.1/usr.sbin/timed/timed/
H A DMakefile8 SRCS= acksend.c candidate.c correct.c master.c networkdelta.c readmsg.c \
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp936 virtual CompilerType AdjustForInclusion(CompilerType &candidate) override { in GetTypeScavenger() argument
937 LanguageType lang_type(candidate.GetMinimumLanguage()); in GetTypeScavenger()
941 if (candidate.IsTypedefType()) in GetTypeScavenger()
942 return candidate.GetTypedefedType(); in GetTypeScavenger()
943 return candidate; in GetTypeScavenger()
/freebsd-12.1/lib/libtacplus/
H A Dtaclib.c1286 const char *candidate; in tac_get_av_value() local
1295 candidate = h->srvr_avs[i].data; in tac_get_av_value()
1303 if (!candidate) in tac_get_av_value()
1307 !strncmp(candidate, attribute, len)) { in tac_get_av_value()
1309 ch = candidate + len; in tac_get_av_value()
1310 end = candidate + candidate_len; in tac_get_av_value()
/freebsd-12.1/contrib/ntp/
H A DREADME.versions21 4.2.3p15-rc1 A release candidate for 4.2.4

12345