Home
last modified time | relevance | path

Searched refs:WARN_ONLY (Results 1 – 16 of 16) sorted by relevance

/third_party/toybox/toys/other/
Dfsync.c31 loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC|WARN_ONLY, in fsync_main()
Dtruncate.c63 loopfiles_rw(toys.optargs, O_WRONLY|O_CLOEXEC|(cr ? O_CREAT|WARN_ONLY : 0), in truncate_main()
/third_party/toybox/toys/posix/
Dtee.c52 O_RDWR|O_CREAT|WARN_ONLY|(FLAG(a)?O_APPEND:O_TRUNC), in tee_main()
Dcmp.c81 loopfiles_rw(toys.optargs, O_CLOEXEC|(WARN_ONLY*!(toys.optflags&FLAG_s)), 0, in cmp_main()
Dtail.c231 loopfiles_rw(args, O_RDONLY|WARN_ONLY|(O_CLOEXEC*!FLAG(f)), 0, do_tail); in tail_main()
Dgrep.c500 } else loopfiles_rw(ss, O_RDONLY|WARN_ONLY, 0, do_grep); in grep_main()
Dsed.c1071 loopfiles_rw(args, O_RDONLY|WARN_ONLY, 0, do_sed_file); in sed_main()
Dtar.c492 WARN_ONLY|(ala & 07777)); in extract_to_disk()
/third_party/toybox/toys/lsb/
Dmktemp.c66 if (!xgetrandom(&rr, sizeof(rr), WARN_ONLY)) { in mktemp_main()
Dgzip.c136 ofd = xcreate(out, O_CREAT|O_WRONLY|WARN_ONLY|(O_EXCL*!FLAG(f)),sb.st_mode); in do_gzip()
/third_party/toybox/lib/
Dportability.c38 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()
Dxwrap.c374 int fd = open(path, (flags^O_CLOEXEC)&~WARN_ONLY, mode); in xcreate_stdio()
376 if (fd == -1) ((mode&WARN_ONLY) ? perror_msg_raw : perror_exit_raw)(path); in xcreate_stdio()
454 return xopen(path, flags^WARN_ONLY); in openro()
460 return openro(path, O_RDONLY|WARN_ONLY); in xopenro()
Dlib.c662 int fd, failok = !(flags&WARN_ONLY); in loopfiles_rw()
664 flags &= ~WARN_ONLY; in loopfiles_rw()
685 loopfiles_rw(argv, O_RDONLY|O_CLOEXEC|WARN_ONLY, 0, function); in loopfiles()
699 loopfiles_rw(argv, O_RDONLY|WARN_ONLY, 0, loopfile_lines_bridge); in loopfiles_lines()
Dlib.h115 #define WARN_ONLY (1<<31) macro
/third_party/toybox/porting/liteos_a/lib/
Dlib.h116 #define WARN_ONLY (1<<31) macro
/third_party/toybox/toys/pending/
Dsh.c443 if (-1 == (fd = xcreate(sss, fd|WARN_ONLY, 777)) || hfd != dup2(fd, hfd)) { in run_command()