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

123

/freebsd-11-stable/usr.bin/which/
H A Dwhich.c106 is_there(char *candidate) argument
111 if (access(candidate, X_OK) == 0 &&
112 stat(candidate, &fin) == 0 &&
117 printf("%s\n", candidate);
126 char candidate[PATH_MAX]; local
136 if (snprintf(candidate, sizeof(candidate), "%s/%s", d,
137 filename) >= (int)sizeof(candidate))
139 if (is_there(candidate)) {
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_add_passphrase.c132 a->passphrases.candidate = -1;
144 if (a->passphrases.candidate < 0) {
150 a->passphrases.candidate = cnt;
152 } else if (a->passphrases.candidate > 1) {
154 a->passphrases.candidate--;
157 /* Pick a new passphrase candidate up. */
159 } else if (a->passphrases.candidate == 1) {
161 a->passphrases.candidate = 0;
168 } else /* There is no passphrase candidate. */
184 a->passphrases.candidate
[all...]
H A Darchive_read_private.h226 int candidate; member in struct:archive_read::__anon26
/freebsd-11-stable/usr.sbin/timed/timed/
H A DMakefile8 SRCS= acksend.c candidate.c correct.c master.c networkdelta.c readmsg.c \
/freebsd-11-stable/lib/libiconv_modules/HZ/
H A Dcitrus_hz.c181 escape_t *candidate, *init; local
241 candidate = NULL;
248 candidate = init;
250 if (candidate == NULL) {
251 candidate = find_escape(
253 if (candidate == NULL) {
257 candidate = init;
260 psenc->inuse = candidate;
303 escape_t *candidate, *init; local
318 candidate
400 escape_t *candidate; local
[all...]
/freebsd-11-stable/usr.bin/env/
H A Denvopts.c51 static int is_there(char *candidate);
67 is_there(char *candidate) argument
72 if (access(candidate, X_OK) == 0 &&
73 stat(candidate, &fin) == 0 &&
78 fprintf(stderr, "#env matched:\t'%s'\n", candidate);
101 char candidate[PATH_MAX]; local
119 if (snprintf(candidate, sizeof(candidate), "%s/%s", d,
120 filename) >= (int)sizeof(candidate))
122 if (is_there(candidate)) {
[all...]
/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_ht.c752 struct ck_ht_entry *candidate, snapshot; local
757 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
761 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
767 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY)
772 ck_pr_store_ptr_unsafe(&candidate->key, (void *)CK_HT_KEY_TOMBSTONE);
783 struct ck_ht_entry *candidate, snapshot; local
797 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
800 candidate = ck_ht_map_probe_rd(map, h, &snapshot,
814 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY)
826 struct ck_ht_entry snapshot, *candidate, *priorit local
963 struct ck_ht_entry snapshot, *candidate, *priority; local
[all...]
/freebsd-11-stable/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-11-stable/contrib/wpa/src/rsn_supp/
H A Dpreauth.c34 * pmksa_candidate_free - Free all entries in PMKSA candidate list
296 * Go through the PMKSA candidates and start pre-authentication if a candidate
302 struct rsn_pmksa_candidate *candidate, *n; local
307 /* TODO: drop priority for old candidate entries */
309 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
323 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates,
326 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL, 0);
327 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
330 "candidate " MACSTR
332 MAC2STR(candidate
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp78 bool delayHasHazard(MachineBasicBlock::iterator candidate,
227 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, argument
234 if (candidate->isImplicitDef() || candidate->isKill())
237 if (candidate->mayLoad()) {
243 if (candidate->mayStore()) {
251 for (unsigned i = 0, e = candidate->getNumOperands(); i!= e; ++i) {
252 const MachineOperand &MO = candidate->getOperand(i);
270 unsigned Opcode = candidate->getOpcode();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDwo.cpp80 if (auto *candidate =
84 cu = candidate;
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DLanguageCategory.cpp100 for (auto &candidate : GetHardcodedFinder<ImplSP>()) {
101 if (auto result = candidate(valobj, use_dynamic, fmt_mgr)) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp251 tag_t *candidate = nullptr, *left = tag_ptr, *right = tag_ptr; local
254 candidate = left;
259 candidate = right;
265 if (candidate) {
266 uptr mem = ShadowToMem(reinterpret_cast<uptr>(candidate));
272 candidate == left ? untagged_addr - chunk.End()
274 candidate == left ? "right" : "left", chunk.UsedSize(),
295 candidate == left ? untagged_addr - (info.start + info.size)
297 candidate == left ? "right" : "left", info.size, info.name,
301 untagged_addr, candidate
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h313 for (const FormattersMatchCandidate &candidate : candidates) {
314 if (Get(candidate.GetTypeName(), entry)) {
315 if (candidate.IsMatch(entry) == false) {
320 *reason = candidate.GetReason();
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Ddate.c367 apr_time_t candidate; local
378 apr_err = apr_time_exp_gmt_get(&candidate, &expt);
382 apr_err = apr_time_exp_lt(&expthen, candidate);
/freebsd-11-stable/contrib/ldns/
H A Ddnssec.c34 ldns_rr *candidate; local
41 candidate = ldns_rr_list_rr(rrs, i);
42 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_RRSIG) {
43 if (ldns_dname_compare(ldns_rr_owner(candidate),
45 ldns_rdf2rr_type(ldns_rr_rrsig_typecovered(candidate))
48 return candidate;
61 ldns_rr *candidate; local
68 candidate = ldns_rr_list_rr(rrs, i);
69 if (ldns_rr_get_type(candidate) == LDNS_RR_TYPE_DNSKEY) {
70 if (ldns_dname_compare(ldns_rr_owner(candidate),
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.cpp412 for (auto &candidate : map) {
413 if (candidate.first && candidate.first->Match(class_name))
414 return candidate.second(valobj, stream, options);
488 for (auto &candidate : map) {
489 if (candidate.first && candidate.first->Match((class_name)))
490 return candidate.second(synth, valobj_sp);
H A DObjCLanguage.cpp988 CompilerType AdjustForInclusion(CompilerType &candidate) override {
989 LanguageType lang_type(candidate.GetMinimumLanguage());
992 if (candidate.IsTypedefType())
993 return candidate.GetTypedefedType();
994 return candidate;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Drepos.c1342 const char *candidate = path;
1351 err = svn_path_cstring_from_utf8(&decoded, candidate, pool);
1352 if (!err && check_repos_path(candidate, pool))
1356 if (svn_path_is_empty(candidate) ||
1357 svn_dirent_is_root(candidate, strlen(candidate)))
1360 candidate = svn_dirent_dirname(candidate, pool);
1363 return candidate;
1341 const char *candidate = path; local
/freebsd-11-stable/contrib/gcc/cp/
H A Dmangle.c392 /* Add NODE as a substitution candidate. NODE must not already be on
404 /* Get the canonicalized substitution candidate for NODE. */
407 fprintf (stderr, " ++ using candidate (%s at %10p)\n",
412 /* Make sure NODE isn't already a candidate. */
415 tree candidate; local
417 for (i = 0; VEC_iterate (tree, G.substitutions, i, candidate); i++)
419 gcc_assert (!(DECL_P (node) && node == candidate));
420 gcc_assert (!(TYPE_P (node) && TYPE_P (candidate)
421 && same_type_p (node, candidate)));
638 tree candidate local
[all...]
H A Dcvt.c1152 tree candidate;
1158 candidate = non_reference (TREE_TYPE (TREE_TYPE (cand)));
1160 switch (TREE_CODE (candidate))
1175 switch (TREE_CODE (TREE_TYPE (candidate)))
1201 error (" candidate conversions include %qD and %qD",
1150 tree candidate; local
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp978 CompilerType AdjustForInclusion(CompilerType &candidate) override {
979 LanguageType lang_type(candidate.GetMinimumLanguage());
983 if (candidate.IsTypedefType())
984 return candidate.GetTypedefedType();
985 return candidate;
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp88 DefinedRegular *candidate = nullptr; local
94 (candidate && d->getValue() < candidate->getValue()))
97 candidate = d;
100 return candidate;
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c209 * symbol to be a candidate, it must:
217 * If such a candidate is global, then we assume we've found it. The
246 int candidate = 0; local
282 candidate = 1;
293 if (candidate) {
/freebsd-11-stable/lib/libtacplus/
H A Dtaclib.c1284 const char *candidate; local
1293 candidate = h->srvr_avs[i].data;
1301 if (!candidate)
1305 !strncmp(candidate, attribute, len)) {
1307 ch = candidate + len;
1308 end = candidate + candidate_len;

Completed in 184 milliseconds

123