Lines Matching refs:filter
3 /* filter - postprocessing of flex output through filters */
34 struct filter *output_chain = NULL;
36 /* Allocate and initialize an external filter.
41 * @return newest filter in chain
43 struct filter *filter_create_ext (struct filter *chain, const char *cmd,
46 struct filter *f;
51 /* allocate and initialize new filter */
52 f = (struct filter *) flex_alloc (sizeof (struct filter));
93 /* Allocate and initialize an internal filter.
98 * @param extra optional user-defined data to pass to the filter.
99 * @return newest filter in chain
101 struct filter *filter_create_int (struct filter *chain,
102 int (*filter_func) (struct filter *),
105 struct filter *f;
107 /* allocate and initialize new filter */
108 f = (struct filter *) flex_alloc (sizeof (struct filter));
127 /** Fork and exec entire filter chain.
131 bool filter_apply_chain (struct filter * chain)
171 /* run as a filter, either internally or by exec */
203 int filter_truncate (struct filter *chain, int max_len)
224 int filter_tee_header (struct filter *chain)
293 /* write a fake line number. It will get fixed by the linedir filter. */
331 int filter_fix_linedirs (struct filter *chain)