Lines Matching defs:cs
914 CandidateSearcher_Init(CandidateSearcher *cs)
916 Lst_Init(&cs->list);
920 CandidateSearcher_Done(CandidateSearcher *cs)
922 Lst_Done(&cs->list);
926 CandidateSearcher_Add(CandidateSearcher *cs, Candidate *cand)
929 Lst_Append(&cs->list, cand);
933 CandidateSearcher_AddIfNew(CandidateSearcher *cs, Candidate *cand)
936 if (Lst_FindDatum(&cs->list, cand) == NULL)
937 Lst_Append(&cs->list, cand);
941 CandidateSearcher_MoveAll(CandidateSearcher *cs, CandidateList *list)
944 Lst_MoveAll(&cs->list, list);
1081 FindThem(CandidateList *srcs, CandidateSearcher *cs)
1125 CandidateSearcher_Add(cs, src);
1138 FindCmds(Candidate *targ, CandidateSearcher *cs)
1198 CandidateSearcher_Add(cs, ret);
1532 FindDepsArchive(GNode *gn, CandidateSearcher *cs)
1567 FindDeps(mem, cs);
1762 FindDepsRegular(GNode *gn, CandidateSearcher *cs)
1816 bottom = FindThem(&srcs, cs);
1872 src = FindCmds(targ, cs);
1880 CandidateSearcher_AddIfNew(cs, bottom);
1941 CandidateSearcher_AddIfNew(cs, bottom);
1946 CandidateSearcher_MoveAll(cs, &srcs);
1947 CandidateSearcher_MoveAll(cs, &targs);
1951 CandidateSearcher_CleanUp(CandidateSearcher *cs)
1953 while (RemoveCandidate(&cs->list))
1955 assert(Lst_IsEmpty(&cs->list));
1977 CandidateSearcher cs;
1979 CandidateSearcher_Init(&cs);
1981 FindDeps(gn, &cs);
1983 CandidateSearcher_CleanUp(&cs);
1984 CandidateSearcher_Done(&cs);
1988 FindDeps(GNode *gn, CandidateSearcher *cs)
2001 FindDepsArchive(gn, cs);
2005 FindDepsRegular(gn, cs);