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

12

/freebsd-10.1-release/usr.bin/which/
H A Dwhich.c105 is_there(char *candidate) argument
110 if (access(candidate, X_OK) == 0 &&
111 stat(candidate, &fin) == 0 &&
116 printf("%s\n", candidate);
125 char candidate[PATH_MAX]; local
135 if (snprintf(candidate, sizeof(candidate), "%s/%s", d,
136 filename) >= (int)sizeof(candidate))
138 if (is_there(candidate)) {
/freebsd-10.1-release/usr.sbin/timed/timed/
H A DMakefile8 SRCS= acksend.c candidate.c correct.c master.c networkdelta.c readmsg.c \
/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h261 /// candidate is viable, without ranking potentially viable candidates.
264 /// The default predicate always returns true if the candidate is not a type
268 virtual bool ValidateCandidate(const TypoCorrection &candidate);
271 /// to a candidate (where a lower value represents a better candidate), or
272 /// returning InvalidDistance if the candidate is not at all viable. For
273 /// validation callbacks that only need to determine if a candidate is viable,
276 virtual unsigned RankCandidate(const TypoCorrection &candidate) { argument
277 return ValidateCandidate(candidate) ? 0 : InvalidDistance;
297 virtual bool ValidateCandidate(const TypoCorrection &candidate) { argument
327 ValidateCandidate(const TypoCorrection &candidate) argument
[all...]
/freebsd-10.1-release/contrib/wpa/src/rsn_supp/
H A Dpreauth.c34 * pmksa_candidate_free - Free all entries in PMKSA candidate list
280 * Go through the PMKSA candidates and start pre-authentication if a candidate
286 struct rsn_pmksa_candidate *candidate, *n; local
291 /* TODO: drop priority for old candidate entries */
293 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
305 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates,
308 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL);
309 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
312 "candidate " MACSTR
314 MAC2STR(candidate
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp81 bool delayHasHazard(MachineBasicBlock::iterator candidate,
232 bool Filler::delayHasHazard(MachineBasicBlock::iterator candidate, argument
239 if (candidate->isImplicitDef() || candidate->isKill())
242 if (candidate->mayLoad()) {
248 if (candidate->mayStore()) {
256 for (unsigned i = 0, e = candidate->getNumOperands(); i!= e; ++i) {
257 const MachineOperand &MO = candidate->getOperand(i);
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Expression/
H A DIRMemoryMap.cpp71 lldb::addr_t candidate = LLDB_INVALID_ADDRESS; local
78 candidate = random_data;
79 candidate &= ~0xfffull;
86 candidate = random_high;
87 candidate <<= 32ull;
88 candidate |= random_low;
89 candidate &= ~0xfffull;
94 if (IntersectsAllocation(candidate, size))
97 ret = candidate;
/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/llvm/tools/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h471 for (const FormattersMatchCandidate& candidate : candidates)
474 if (Get(candidate.GetTypeName(),entry))
476 if (candidate.IsMatch(entry) == false)
484 *reason = candidate.GetReason();
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_repos/
H A Drepos.c1501 const char *candidate = path;
1510 err = svn_path_cstring_from_utf8(&decoded, candidate, pool);
1511 if (!err && check_repos_path(candidate, pool))
1515 if (svn_path_is_empty(candidate) ||
1516 svn_dirent_is_root(candidate, strlen(candidate)))
1519 candidate = svn_dirent_dirname(candidate, pool);
1522 return candidate;
1500 const char *candidate = path; local
/freebsd-10.1-release/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
H A Dcall.c110 /* The function candidate corresponding to this conversion
387 /* The FUNCTION_DECL that will be called if this candidate is
929 expression, with S a class type, the candidate functions are
935 (_dcl.init.ref_) with "cv2 T2", are candidate functions.
1330 /* Create an overload candidate for the function or method FN called with
1370 First, to be a viable function, a candidate function shall have enough
1467 /* Create an overload candidate for the conversion function FN which will
1475 choose the best one; so when we create our candidate, we record the type
1574 /* We need something for printing the candidate. */
1655 and VQ is either volatile or empty, there exist candidate operato
2428 print_z_candidate(const char *msgstr, struct z_candidate *candidate) argument
[all...]
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c211 * symbol to be a candidate, it must:
219 * If such a candidate is global, then we assume we've found it. The
248 int candidate = 0; local
284 candidate = 1;
295 if (candidate) {
/freebsd-10.1-release/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;
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dcompleter.c319 candidate completion. The loop below removes that leading
/freebsd-10.1-release/sys/netinet6/
H A Din6.c1746 struct in6_addr mask, candidate, match; local
1793 bcopy(IFA_IN6(ifa), &candidate, sizeof(candidate)); local
1794 in6_clearscope(&candidate);
1795 candidate.s6_addr32[0] &= mask.s6_addr32[0];
1796 candidate.s6_addr32[1] &= mask.s6_addr32[1];
1797 candidate.s6_addr32[2] &= mask.s6_addr32[2];
1798 candidate.s6_addr32[3] &= mask.s6_addr32[3];
1799 if (IN6_ARE_ADDR_EQUAL(&candidate, &match))
/freebsd-10.1-release/tools/tools/kdrv/
H A DKernelDriver101 set candidate [glob -nocomplain "$hint/*.drvinfo"];
102 switch [llength $candidate] {
107 return $candidate;
/freebsd-10.1-release/sys/netinet/
H A Din.c690 struct in_addr mask, candidate, match; local
724 candidate.s_addr = sin->sin_addr.s_addr;
725 candidate.s_addr &= mask.s_addr;
726 if (candidate.s_addr == match.s_addr)
/freebsd-10.1-release/contrib/gcc/
H A Dreorg.c1601 is called when INSN is a candidate for a delay slot of TARGET.
1775 rtx candidate = XVECEXP (pat, 0, i);
1779 if (rtx_equal_p (PATTERN (candidate), ipat)
1781 && INSN_FROM_TARGET_P (candidate)))
1784 INSN_FROM_TARGET_P (candidate) = 0;
1785 return candidate;
1791 || ! INSN_FROM_TARGET_P (candidate))
1792 && insn_sets_resource_p (candidate, &needed, 1))
2112 delay-slot candidate. Stop searching when a label or jump is hit.
2114 For each candidate, i
1762 rtx candidate = XVECEXP (pat, 0, i); local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp2403 // when T2 is an enumeration type, are candidate functions.
2908 // candidate set.
3519 // nothing more to be done to add Correction to the candidate set.
4106 // If a callback object considers an empty typo correction candidate to be
4292 assert(I->second.size() == 1 && "Expected a single unresolved candidate");
4386 // current correction candidate is the name of that class, then skip
4401 // If the current correction candidate and namespace combination are
4424 // If correction candidate would be an identical written qualified
4547 bool CorrectionCandidateCallback::ValidateCandidate(const TypoCorrection &candidate) {
4548 if (!candidate
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp145 virtual bool ValidateCandidate(const TypoCorrection &candidate) { argument
146 if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>())
147 return !candidate.getCorrectionSpecifier() || isa<ObjCIvarDecl>(FD);
149 return candidate.getCorrectionDeclAs<VarDecl>();
151 candidate.getCorrectionDeclAs<NamespaceDecl>())
153 return CorrectionCandidateCallback::ValidateCandidate(candidate);
/freebsd-10.1-release/sys/netipsec/
H A Dkey.c939 struct secasvar *sav, *nextsav, *candidate, *d; local
942 candidate = NULL;
955 if (candidate == NULL) {
956 candidate = sav;
962 IPSEC_ASSERT(candidate->lft_c != NULL,
963 ("null candidate lifetime"));
968 if (candidate->lft_c->addtime >
970 candidate = sav;
977 if (candidate->lft_c->addtime <
979 d = candidate;
[all...]

Completed in 408 milliseconds

12