Lines Matching refs:flag
41 #define flag(x) (toys.optflags & FLAG_ ## x) macro
161 if (flag(u)) { in shm_array()
175 if (flag(l)) { in shm_array()
189 if (flag(t)) { in shm_array()
193 } else if (flag(p)) { in shm_array()
197 } else if (flag(c)) { in shm_array()
210 if (flag(t)) { in shm_array()
220 } else if (flag(p)) { in shm_array()
225 } else if (flag(c)) { in shm_array()
265 if (flag(u)) { in sem_array()
272 if (flag(l)) { in sem_array()
288 if (flag(t)) { in sem_array()
292 } else if (flag(c)) { in sem_array()
297 } else if (flag(p)){ in sem_array()
309 if (flag(t)) { in sem_array()
317 } else if (flag(c)) { in sem_array()
350 if (flag(u)) { in msg_array()
358 if (flag(l)) { in msg_array()
368 if (flag(t)) { in msg_array()
372 } else if (flag(p)) { in msg_array()
376 } else if (flag(c)) { in msg_array()
389 if (flag(t)) { in msg_array()
398 } else if (flag(p)) { in msg_array()
402 } else if (flag(c)) { in msg_array()
424 if (flag(i)) { in ipcs_main()
425 if (flag(m)) show_shm_id(); in ipcs_main()
426 else if (flag(s)) show_sem_id(); in ipcs_main()
427 else if (flag(q)) show_msg_id(); in ipcs_main()
435 if (!(flag(m) || flag(s) || flag(q)) || flag(a)) toys.optflags |= (FLAG_m|FLAG_s|FLAG_q); in ipcs_main()
438 if (flag(m)) { in ipcs_main()
442 if (flag(s)) { in ipcs_main()
446 if (flag(q)) { in ipcs_main()