cand
struct puffs_framebuf *cand;
TAILQ_FOREACH(cand, &fio->res_qing, pfb_entries)
if (fctrl->cmpfb(pu, findme, cand, ¬resp) == 0 || notresp)
assert(!(notresp && cand == NULL));
if (notresp || cand == NULL)
TAILQ_REMOVE(&fio->res_qing, cand, pfb_entries);
return cand;
struct cycv_clk_mux_info *cand = &cycv_clk_mux_tree[i];
if (strncmp(name, cand->name, strlen(cand->name)) == 0)
return cand;
struct cycv_clk *cand = &sc->sc_clocks[i];
if (strncmp(cand->base.name, name, strlen(name)) == 0)
return cand;
int cand, ocount;
cand = 0; /* assume the first block */
cand = i;
cand = i;
DEBUG("insert blk %d -> %d @ %d # %d", blkno, cand, now, bcache_bcount);
memcpy(bcache_data + (bcache_blksize * cand), buf, bcache_blksize);
bcache_ctl[cand].bc_blkno = blkno;
bcache_ctl[cand].bc_stamp = now;
bcache_ctl[cand].bc_count = bcache_bcount++;
audio_hw_probe(struct audio_softc *sc, audio_format2_t *cand, int mode)
cand->encoding = query.fmt.encoding;
cand->precision = query.fmt.validbits;
cand->stride = query.fmt.precision;
cand->channels = query.fmt.channels;
cand->sample_rate = audio_select_freq(&query.fmt);
cand->precision, cand->stride,
cand->channels, cand->sample_rate);
audio_encoding_name(cand->encoding),
cand->precision, cand->stride, cand->channels, cand->sample_rate);
static struct cand *clist; /* merely a free storage pot for candidates */
struct cand *q;
struct cand *q;
CandidateList_AddCandidatesFor(CandidateList *list, Candidate *cand)
for (ln = cand->suff->children.first; ln != NULL; ln = ln->next) {
CandidateList_Add(list, bmake_strdup(cand->prefix),
cand, suff, "1");
CandidateList_Add(list, str_concat2(cand->prefix, suff->name),
cand, suff, "2");
CandidateSearcher_Add(CandidateSearcher *cs, Candidate *cand)
Lst_Append(&cs->list, cand);
CandidateSearcher_AddIfNew(CandidateSearcher *cs, Candidate *cand)
if (Lst_FindDatum(&cs->list, cand) == NULL)
Lst_Append(&cs->list, cand);
Candidate *cand = ln->datum;
debug_printf(" %p:%s", cand, cand->file);
Candidate *cand = bmake_malloc(sizeof *cand);
cand->file = name;
cand->prefix = prefix;
cand->suff = Suffix_Ref(suff);
cand->parent = parent;
cand->node = gn;
cand->numChildren = 0;
Lst_Init(&cand->childrenList);
return cand;
Candidate *cand = Candidate_New(srcName, targ->prefix, suff, targ,
Lst_Append(list, cand);
Lst_Append(&targ->childrenList, cand);
debug_tag, targ, targ->file, cand, cand->file, list);