Lines Matching refs:optflags
164 in.buff = out.buff = xmalloc(in.sz + ((toys.optflags & C_BS)? 0: out.sz)); in setup_inout()
188 if (toys.optflags & C_NOERROR) { //warn message and summary in setup_inout()
233 if (toys.optflags & (C_OF | C_SEEK) && !(toys.optflags & C_NOTRUNC)) in do_dd()
236 while (!(toys.optflags & C_COUNT) || (st.in_full + st.in_part) < c_count) { in do_dd()
242 if (toys.optflags & C_SYNC) memset(in.bp, 0, in.sz); in do_dd()
248 if (!(toys.optflags & C_NOERROR)) exit(1); in do_dd()
251 if (!(toys.optflags & C_SYNC)) continue; in do_dd()
260 if (toys.optflags & C_SYNC) in.count += in.sz; in do_dd()
265 if (toys.optflags & C_BS) { in do_dd()
277 if (toys.optflags & C_FSYNC && fsync(out.fd) < 0) in do_dd()
308 toys.optflags |= res->val; in dd_main()
315 if (!(toys.optflags & C_BS)) in.sz = sz; in dd_main()
319 if (!(toys.optflags & C_BS)) out.sz = sz; in dd_main()
343 toys.optflags |= res->val; in dd_main()