Home | History | Annotate | Download | only in make

Lines Matching refs:Candidate

189  * A candidate when searching for implied sources.
191 * For example, when "src.o" is to be made, a typical candidate is "src.c"
194 * candidate as well. The first such chain that leads to an existing file or
197 typedef struct Candidate {
209 * The candidate that can be made from this, or NULL for the
210 * top-level candidate.
212 struct Candidate *parent;
218 * don't free this candidate too early or too late.
224 } Candidate;
926 CandidateSearcher_Add(CandidateSearcher *cs, Candidate *cand)
933 CandidateSearcher_AddIfNew(CandidateSearcher *cs, Candidate *cand)
955 Candidate *cand = ln->datum;
962 static Candidate *
963 Candidate_New(char *name, char *prefix, Suffix *suff, Candidate *parent,
966 Candidate *cand = bmake_malloc(sizeof *cand);
981 /* Add a new candidate to the list. */
983 CandidateList_Add(CandidateList *list, char *srcName, Candidate *targ,
986 Candidate *cand = Candidate_New(srcName, targ->prefix, suff, targ,
993 debug_printf("%s add suff %p:%s candidate %p:%s to list %p:",
1001 * the candidate.
1004 CandidateList_AddCandidatesFor(CandidateList *list, Candidate *cand)
1013 * also create a candidate for a file with no suffix
1026 * Free the first candidate in the list that is not referenced anymore.
1027 * Return whether a candidate was removed.
1040 Candidate *src = ln->datum;
1080 static Candidate *
1088 Candidate *src = Lst_Dequeue(sources);
1133 * See if any of the children of the candidate's GNode is one from which the
1134 * target can be transformed. If there is one, a candidate is put together
1137 static Candidate *
1138 FindCmds(Candidate *targ, CandidateSearcher *cs)
1144 Suffix *suff; /* Suffix of the matching candidate */
1145 Candidate *ret; /* Return value */
1656 Candidate *targ;
1679 Candidate *targ;
1713 FindDepsRegularPath(GNode *gn, Candidate *targ)
1771 Candidate *bottom; /* Start of found transformation path */
1772 Candidate *src;
1773 Candidate *targ;