Home | History | Annotate | Download | only in pending

Lines Matching refs:toys

35 #include "toys.h"
164 in.buff = out.buff = xmalloc(in.sz + ((toys.optflags & C_BS)? 0: out.sz));
188 if (toys.optflags & C_NOERROR) { //warn message and summary
233 if (toys.optflags & (C_OF | C_SEEK) && !(toys.optflags & C_NOTRUNC))
236 while (!(toys.optflags & C_COUNT) || (st.in_full + st.in_part) < c_count) {
242 if (toys.optflags & C_SYNC) memset(in.bp, 0, in.sz);
248 if (!(toys.optflags & C_NOERROR)) exit(1);
251 if (!(toys.optflags & C_SYNC)) continue;
260 if (toys.optflags & C_SYNC) in.count += in.sz;
265 if (toys.optflags & C_BS) {
277 if (toys.optflags & C_FSYNC && fsync(out.fd) < 0)
297 while (*toys.optargs) {
298 if (!(arg = strchr(*toys.optargs, '='))) error_exit("unknown arg %s", *toys.optargs);
301 key.name = *toys.optargs;
305 toys.optflags |= res->val;
312 if (!(toys.optflags & C_BS)) in.sz = sz;
316 if (!(toys.optflags & C_BS)) out.sz = sz;
340 toys.optflags |= res->val;
344 toys.optargs++;