Lines Matching refs:flags
96 ptree(int flags, struct node *np, int no_iterators, int fileline) in ptree() argument
105 out(flags|O_NONL, "%s", np->u.name.s); in ptree()
110 out(flags|O_NONL, "%d", num); in ptree()
114 out(flags|O_NONL, "<>"); in ptree()
116 out(flags|O_NONL, "<"); in ptree()
117 ptree(flags, np->u.name.child, in ptree()
119 out(flags|O_NONL, ">"); in ptree()
124 out(flags|O_NONL, "["); in ptree()
125 ptree(flags, np->u.name.child, no_iterators, in ptree()
128 out(flags|O_NONL, "]"); in ptree()
134 out(flags|O_NONL, "."); in ptree()
136 out(flags|O_NONL, "/"); in ptree()
137 ptree(flags, np->u.name.next, no_iterators, fileline); in ptree()
141 ptree_timeval(flags, &np->u.ull); in ptree()
144 out(flags|O_NONL, "%llu", np->u.ull); in ptree()
147 out(flags|O_NONL, "\"%s\"", np->u.quote.s); in ptree()
150 out(flags|O_NONL, "$%s", np->u.globid.s); in ptree()
153 out(flags|O_NONL, "%s(", np->u.func.s); in ptree()
154 ptree(flags, np->u.func.arglist, no_iterators, fileline); in ptree()
155 out(flags|O_NONL, ")"); in ptree()
158 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
159 out(flags|O_NONL, "="); in ptree()
160 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
163 ptree(flags, np->u.event.ename, no_iterators, fileline); in ptree()
165 out(flags|O_NONL, "@"); in ptree()
166 ptree(flags, np->u.event.epname, in ptree()
170 out(flags|O_NONL, "{"); in ptree()
171 ptree(flags, np->u.event.eexprlist, in ptree()
173 out(flags|O_NONL, "}"); in ptree()
177 out(flags|O_NONL, "("); in ptree()
178 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
179 out(flags|O_NONL, "="); in ptree()
180 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
181 out(flags|O_NONL, ")"); in ptree()
184 out(flags|O_NONL, "("); in ptree()
185 out(flags|O_NONL, "!"); in ptree()
186 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
187 out(flags|O_NONL, ")"); in ptree()
190 out(flags|O_NONL, "("); in ptree()
191 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
192 out(flags|O_NONL, "&&"); in ptree()
193 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
194 out(flags|O_NONL, ")"); in ptree()
197 out(flags|O_NONL, "("); in ptree()
198 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
199 out(flags|O_NONL, "||"); in ptree()
200 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
201 out(flags|O_NONL, ")"); in ptree()
204 out(flags|O_NONL, "("); in ptree()
205 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
206 out(flags|O_NONL, "=="); in ptree()
207 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
208 out(flags|O_NONL, ")"); in ptree()
211 out(flags|O_NONL, "("); in ptree()
212 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
213 out(flags|O_NONL, "!="); in ptree()
214 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
215 out(flags|O_NONL, ")"); in ptree()
218 out(flags|O_NONL, "("); in ptree()
219 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
220 out(flags|O_NONL, "-"); in ptree()
221 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
222 out(flags|O_NONL, ")"); in ptree()
225 out(flags|O_NONL, "("); in ptree()
226 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
227 out(flags|O_NONL, "+"); in ptree()
228 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
229 out(flags|O_NONL, ")"); in ptree()
232 out(flags|O_NONL, "("); in ptree()
233 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
234 out(flags|O_NONL, "*"); in ptree()
235 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
236 out(flags|O_NONL, ")"); in ptree()
239 out(flags|O_NONL, "("); in ptree()
240 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
241 out(flags|O_NONL, "/"); in ptree()
242 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
243 out(flags|O_NONL, ")"); in ptree()
246 out(flags|O_NONL, "("); in ptree()
247 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
248 out(flags|O_NONL, "%%"); in ptree()
249 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
250 out(flags|O_NONL, ")"); in ptree()
253 out(flags|O_NONL, "("); in ptree()
254 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
255 out(flags|O_NONL, "<"); in ptree()
256 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
257 out(flags|O_NONL, ")"); in ptree()
260 out(flags|O_NONL, "("); in ptree()
261 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
262 out(flags|O_NONL, "<="); in ptree()
263 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
264 out(flags|O_NONL, ")"); in ptree()
267 out(flags|O_NONL, "("); in ptree()
268 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
269 out(flags|O_NONL, ">"); in ptree()
270 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
271 out(flags|O_NONL, ")"); in ptree()
274 out(flags|O_NONL, "("); in ptree()
275 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
276 out(flags|O_NONL, ">="); in ptree()
277 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
278 out(flags|O_NONL, ")"); in ptree()
281 out(flags|O_NONL, "("); in ptree()
282 out(flags|O_NONL, "~"); in ptree()
283 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
284 out(flags|O_NONL, ")"); in ptree()
287 out(flags|O_NONL, "("); in ptree()
288 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
289 out(flags|O_NONL, "&"); in ptree()
290 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
291 out(flags|O_NONL, ")"); in ptree()
294 out(flags|O_NONL, "("); in ptree()
295 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
296 out(flags|O_NONL, "|"); in ptree()
297 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
298 out(flags|O_NONL, ")"); in ptree()
301 out(flags|O_NONL, "("); in ptree()
302 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
303 out(flags|O_NONL, "^"); in ptree()
304 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
305 out(flags|O_NONL, ")"); in ptree()
308 out(flags|O_NONL, "("); in ptree()
309 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
310 out(flags|O_NONL, "<<"); in ptree()
311 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
312 out(flags|O_NONL, ")"); in ptree()
315 out(flags|O_NONL, "("); in ptree()
316 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
317 out(flags|O_NONL, ">>"); in ptree()
318 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
319 out(flags|O_NONL, ")"); in ptree()
322 out(flags|O_NONL, "("); in ptree()
323 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
324 out(flags|O_NONL, "?"); in ptree()
325 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
326 out(flags|O_NONL, ")"); in ptree()
329 out(flags|O_NONL, "("); in ptree()
330 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
331 out(flags|O_NONL, ":"); in ptree()
332 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
333 out(flags|O_NONL, ")"); in ptree()
336 ptree(flags, np->u.arrow.lhs, no_iterators, fileline); in ptree()
338 out(flags|O_NONL, "("); in ptree()
339 ptree(flags, np->u.arrow.nnp, no_iterators, fileline); in ptree()
340 out(flags|O_NONL, ")"); in ptree()
342 out(flags|O_NONL, "->"); in ptree()
344 out(flags|O_NONL, "("); in ptree()
345 ptree(flags, np->u.arrow.knp, no_iterators, fileline); in ptree()
346 out(flags|O_NONL, ")"); in ptree()
348 ptree(flags, np->u.arrow.rhs, no_iterators, fileline); in ptree()
351 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
355 out(flags|O_NONL, ","); in ptree()
356 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
364 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
365 out(flags|O_NONL, "event "); in ptree()
366 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
368 out(flags|O_NONL, " "); in ptree()
369 ptree(flags, np->u.stmt.nvpairs, no_iterators, in ptree()
372 out(flags, ";"); in ptree()
377 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
378 out(flags|O_NONL, "engine "); in ptree()
379 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
381 out(flags|O_NONL, " "); in ptree()
382 ptree(flags, np->u.stmt.nvpairs, no_iterators, in ptree()
387 pd.flags = flags; in ptree()
392 out(flags, ";"); in ptree()
396 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
397 out(flags|O_NONL, "asru "); in ptree()
398 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
400 out(flags|O_NONL, " "); in ptree()
401 ptree(flags, np->u.stmt.nvpairs, no_iterators, in ptree()
404 out(flags, ";"); in ptree()
408 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
409 out(flags|O_NONL, "fru "); in ptree()
410 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
412 out(flags|O_NONL, " "); in ptree()
413 ptree(flags, np->u.stmt.nvpairs, no_iterators, in ptree()
416 out(flags, ";"); in ptree()
420 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
421 out(flags|O_NONL, "config "); in ptree()
422 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
424 out(flags|O_NONL, " "); in ptree()
425 ptree(flags, np->u.stmt.nvpairs, no_iterators, in ptree()
428 out(flags, ";"); in ptree()
432 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
433 out(flags|O_NONL, "prop "); in ptree()
434 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
435 out(flags, ";"); in ptree()
439 out(flags, "# %d \"%s\"", np->line, np->file); in ptree()
440 out(flags|O_NONL, "mask "); in ptree()
441 ptree(flags, np->u.stmt.np, no_iterators, fileline); in ptree()
442 out(flags, ";"); in ptree()
461 out(pd->flags, ","); in ptree_plut()
466 out(pd->flags|O_NONL, "\t"); in ptree_plut()
467 out(pd->flags|O_NONL, "%s", (char *)name); in ptree_plut()
469 out(pd->flags|O_NONL, "="); in ptree_plut()
470 ptree(pd->flags, val, 0, 0); in ptree_plut()
476 ptree_name(int flags, struct node *np) in ptree_name() argument
478 ptree(flags, np, 1, 0); in ptree_name()
482 ptree_name_iter(int flags, struct node *np) in ptree_name_iter() argument
484 ptree(flags, np, 0, 0); in ptree_name_iter()
569 int flags; member
676 ptree(infop->flags, rhs, 0, 0); in byname_printer()
680 ptree_type_pattern(int flags, enum nodetype t, const char *pat) in ptree_type_pattern() argument
685 info.flags = flags; in ptree_type_pattern()
723 ptree(flags, np, 0, 0); in ptree_type_pattern()
728 ptree(flags, np, 0, 0); in ptree_type_pattern()
731 ptree(flags, tree_root(NULL), 0, 0); in ptree_type_pattern()
736 ptree_all(int flags, const char *pat) in ptree_all() argument
738 ptree_type_pattern(flags, T_NOTHING, pat); in ptree_all()
742 ptree_fault(int flags, const char *pat) in ptree_fault() argument
744 ptree_type_pattern(flags, T_FAULT, pat); in ptree_fault()
748 ptree_upset(int flags, const char *pat) in ptree_upset() argument
750 ptree_type_pattern(flags, T_UPSET, pat); in ptree_upset()
754 ptree_defect(int flags, const char *pat) in ptree_defect() argument
756 ptree_type_pattern(flags, T_DEFECT, pat); in ptree_defect()
760 ptree_error(int flags, const char *pat) in ptree_error() argument
762 ptree_type_pattern(flags, T_ERROR, pat); in ptree_error()
766 ptree_ereport(int flags, const char *pat) in ptree_ereport() argument
768 ptree_type_pattern(flags, T_EREPORT, pat); in ptree_ereport()
772 ptree_serd(int flags, const char *pat) in ptree_serd() argument
774 ptree_type_pattern(flags, T_SERD, pat); in ptree_serd()
778 ptree_stat(int flags, const char *pat) in ptree_stat() argument
780 ptree_type_pattern(flags, T_STAT, pat); in ptree_stat()
784 ptree_asru(int flags, const char *pat) in ptree_asru() argument
786 ptree_type_pattern(flags, T_ASRU, pat); in ptree_asru()
790 ptree_fru(int flags, const char *pat) in ptree_fru() argument
792 ptree_type_pattern(flags, T_FRU, pat); in ptree_fru()
796 ptree_prop(int flags, const char *pat) in ptree_prop() argument
798 ptree_type_pattern(flags, T_PROP, pat); in ptree_prop()
802 ptree_mask(int flags, const char *pat) in ptree_mask() argument
804 ptree_type_pattern(flags, T_MASK, pat); in ptree_mask()
808 ptree_timeval(int flags, unsigned long long *ullp) in ptree_timeval() argument
814 out(flags|O_NONL, "0us"); in ptree_timeval()
816 out(flags|O_NONL, "infinity"); in ptree_timeval()
818 out(flags|O_NONL, "%lluyear%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
820 out(flags|O_NONL, "%llumonth%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
822 out(flags|O_NONL, "%lluweek%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
824 out(flags|O_NONL, "%lluday%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
826 out(flags|O_NONL, "%lluhour%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
828 out(flags|O_NONL, "%lluminute%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
830 out(flags|O_NONL, "%llusecond%s", val, (val == 1) ? "" : "s"); in ptree_timeval()
832 out(flags|O_NONL, "%llums", val); in ptree_timeval()
834 out(flags|O_NONL, "%lluus", val); in ptree_timeval()
836 out(flags|O_NONL, "%lluns", *ullp); in ptree_timeval()