Lines Matching refs:flags

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