Lines Matching full:specs
85 struct label_specs *specs; in main() local
95 specs = new_specs(); in main()
106 add_specs(specs, optarg, 0); in main()
115 add_specs(specs, optarg, 1); in main()
133 add_setfmac_specs(specs, *argv); in main()
137 if (argc == 0 || specs_empty(specs)) in main()
157 if (apply_specs(specs, ftsent, hflag, vflag)) { in main()
230 add_specs(struct label_specs *specs, const char *file, int is_sebsd) in add_specs() argument
280 STAILQ_INSERT_TAIL(&specs->head, spec, link); in add_specs()
284 add_setfmac_specs(struct label_specs *specs, char *label) in add_setfmac_specs() argument
298 STAILQ_INSERT_TAIL(&specs->head, spec, link); in add_setfmac_specs()
386 specs_empty(struct label_specs *specs) in specs_empty() argument
389 return (STAILQ_EMPTY(&specs->head)); in specs_empty()
393 apply_specs(struct label_specs *specs, FTSENT *ftsent, int hflag, int vflag) in apply_specs() argument
409 STAILQ_FOREACH(ls, &specs->head, link) { in apply_specs()
454 STAILQ_FOREACH(ls, &specs->head, link) { in apply_specs()
466 STAILQ_FOREACH(ls, &specs->head, link) { in apply_specs()
493 struct label_specs *specs; in new_specs() local
495 specs = malloc(sizeof(*specs)); in new_specs()
496 if (specs == NULL) in new_specs()
498 STAILQ_INIT(&specs->head); in new_specs()
499 return (specs); in new_specs()