Searched refs:WARN_ONLY (Results 1 – 15 of 15) 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/toys/posix/ |
D | tee.c | 56 O_RDWR|O_CREAT|WARN_ONLY|(FLAG(a)?O_APPEND:O_TRUNC), in tee_main()
|
D | cmp.c | 81 loopfiles_rw(toys.optargs, O_CLOEXEC|(WARN_ONLY*!(toys.optflags&FLAG_s)), 0, in cmp_main()
|
D | tail.c | 231 loopfiles_rw(args, O_RDONLY|WARN_ONLY|(O_CLOEXEC*!FLAG(f)), 0, do_tail); in tail_main()
|
D | grep.c | 505 } else loopfiles_rw(ss, O_RDONLY|WARN_ONLY, 0, do_grep); in grep_main()
|
D | sed.c | 1023 loopfiles_rw(args, O_RDONLY|WARN_ONLY, 0, do_sed_file); in sed_main()
|
D | tar.c | 508 WARN_ONLY|O_WRONLY|O_CREAT|(FLAG(overwrite)?O_TRUNC:O_EXCL), in extract_to_disk()
|
/external/toybox/toys/lsb/ |
D | mktemp.c | 66 if (!xgetrandom(&rr, sizeof(rr), WARN_ONLY)) { in mktemp_main()
|
D | gzip.c | 137 ofd = xcreate(out, O_CREAT|O_WRONLY|WARN_ONLY|(O_EXCL*!FLAG(f)),sb.st_mode); in do_gzip()
|
/external/toybox/lib/ |
D | xwrap.c | 398 int fd = open(path, (flags^O_CLOEXEC)&~WARN_ONLY, mode); in xcreate_stdio() 400 if (fd == -1) ((flags&WARN_ONLY) ? perror_msg_raw : perror_exit_raw)(path); in xcreate_stdio() 478 return xopen(path, flags^WARN_ONLY); in openro() 484 return openro(path, O_RDONLY|WARN_ONLY); in xopenro()
|
D | portability.c | 38 if (buflen == getrandom(buf, buflen, flags&~WARN_ONLY)) return 1; in xgetrandom() 39 if (errno!=ENOSYS && !(flags&WARN_ONLY)) perror_exit("getrandom"); in xgetrandom() 41 fd = xopen(flags ? "/dev/random" : "/dev/urandom",O_RDONLY|(flags&WARN_ONLY)); in xgetrandom()
|
D | lib.c | 716 int fd, failok = !(flags&WARN_ONLY); in loopfiles_rw() 718 flags &= ~WARN_ONLY; in loopfiles_rw() 739 loopfiles_rw(argv, O_RDONLY|O_CLOEXEC|WARN_ONLY, 0, function); in loopfiles() 753 loopfiles_rw(argv, O_RDONLY|WARN_ONLY, 0, loopfile_lines_bridge); in loopfiles_lines()
|
D | lib.h | 115 #define WARN_ONLY (1<<31) macro
|
/external/toybox/toys/pending/ |
D | sh.c | 1481 jj = xcreate_stdio(ss = xstrndup(ss, ll), O_RDONLY|WARN_ONLY, 0); in expand_arg_nobrace() 2237 if (-1 == (from = xcreate_stdio(sss, from|WARN_ONLY, 0666))) { in expand_redir()
|