Searched refs:WARN_ONLY (Results 1 – 11 of 11) sorted by relevance
/external/toybox/toys/other/ |
D | fsync.c | 31 loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC|WARN_ONLY, in fsync_main()
|
D | truncate.c | 63 loopfiles_rw(toys.optargs, O_WRONLY|O_CLOEXEC|(cr ? O_CREAT|WARN_ONLY : 0), in truncate_main()
|
/external/toybox/lib/ |
D | xwrap.c | 332 int fd = open(path, (flags^O_CLOEXEC)&~WARN_ONLY, mode); in xcreate_stdio() 334 if (fd == -1) ((mode&WARN_ONLY) ? perror_msg_raw : perror_exit_raw)(path); in xcreate_stdio() 397 return xopen(path, flags^WARN_ONLY); in openro() 403 return openro(path, O_RDONLY|WARN_ONLY); in xopenro()
|
D | lib.c | 615 int fd, failok = !(flags&WARN_ONLY); in loopfiles_rw() 617 flags &= ~WARN_ONLY; in loopfiles_rw() 638 loopfiles_rw(argv, O_RDONLY|O_CLOEXEC|WARN_ONLY, 0, function); in loopfiles()
|
D | lib.h | 111 #define WARN_ONLY (1<<31) macro
|
/external/toybox/toys/posix/ |
D | tee.c | 52 O_RDWR|O_CREAT|WARN_ONLY|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC), in tee_main()
|
D | cmp.c | 83 loopfiles_rw(toys.optargs, O_CLOEXEC|(WARN_ONLY*!(toys.optflags&FLAG_s)), 0, in cmp_main()
|
D | tail.c | 245 loopfiles_rw(args, O_RDONLY|WARN_ONLY|(O_CLOEXEC*!(toys.optflags&FLAG_f)), in tail_main()
|
D | grep.c | 403 } else loopfiles_rw(ss, O_RDONLY|WARN_ONLY, 0, do_grep); in grep_main()
|
D | sed.c | 1028 loopfiles_rw(args, O_RDONLY|WARN_ONLY, 0, do_sed); in sed_main()
|
/external/toybox/toys/pending/ |
D | gzip.c | 138 O_CREAT|O_WRONLY|WARN_ONLY|(O_EXCL*!(toys.optflags&FLAG_f)), sb.st_mode); in do_gzip()
|