Home
last modified time | relevance | path

Searched refs:xopen (Results 1 – 25 of 33) sorted by relevance

12

/third_party/f2fs-tools/tools/f2fs_io/
Df2fs_io.c103 static int xopen(const char *pathname, int flags, mode_t mode) in xopen() function
167 fd = xopen(argv[1], O_WRONLY, 0); in do_fsync()
228 fd = xopen(argv[1], O_RDONLY, 0); in do_getflags()
298 fd = xopen(argv[2], O_RDONLY, 0); in do_setflags()
345 fd = xopen(argv[2], O_RDONLY, 0); in do_shutdown()
371 fd = xopen(argv[2], O_RDONLY, 0); in do_pinfile()
423 fd = xopen(argv[4], O_RDWR, 0); in do_fallocate()
489 fd = xopen(argv[6], O_CREAT | O_WRONLY | flags, 0755); in do_write()
566 fd = xopen(argv[6], O_RDONLY | flags, 0); in do_read()
640 fd = xopen(argv[4], O_RDONLY | flags, 0); in do_randread()
[all …]
/third_party/boost/libs/log/build/
Dlog-platform-config.jam18 project.load [ path.join [ path.make $(here:D) ] ../config/xopen-source-600 ] ;
42 …if [ configure.builds /boost/log/xopen-source-600//xopen_source_600 : $(properties) : xopen-source…
/third_party/toybox/toys/other/
Dfreeramdisk.c24 fd = xopen(toys.optargs[0], O_RDWR); in freeramdisk_main()
Dmkswap.c25 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE);
Deject.c59 int fd = xopen(*toys.optargs ? : "/dev/cdrom", O_RDONLY | O_NONBLOCK); in eject_main()
Ddevmem.c39 fd = xopen("/dev/mem", (writing ? O_RDWR : O_RDONLY) | O_SYNC); in devmem_main()
Dmix.c37 fd = xopen(TT.d, O_RDWR|O_NONBLOCK); in mix_main()
Dnbd_client.c49 nbd = xopen(device, O_RDWR); in nbd_client_main()
Dnsenter.c85 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY);
Dhwclock.c87 if (fd == -1) fd = xopen(TT.f, flag); in hwclock_main()
Dlosetup.c60 if (file) ffd = xopen(file, TT.openflags);
Dhexedit.c122 fd = xopen(*toys.optargs, ro ? O_RDONLY : O_RDWR); in hexedit_main()
Di2ctools.c92 fd = xopen(toybuf, O_RDONLY); in i2c_open()
/third_party/toybox/toys/android/
Dsendevent.c24 int fd = xopen(*toys.optargs, O_RDWR); in sendevent_main()
/third_party/boost/libs/log/config/xopen-source-600/
DJamfile.jam10 project /boost/log/xopen-source-600
/third_party/toybox/toys/net/
Dtunctl.c42 int fd = xopen("/dev/net/tun", O_RDWR);
Dmicrocom.c45 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
Drfkill.c60 fd = xopen("/dev/rfkill", (tvar ? O_RDWR : O_RDONLY)|O_NONBLOCK); in rfkill_main()
Dnetcat.c115 if (TT.f) in1 = out2 = xopen(TT.f, O_RDWR); in netcat_main()
/third_party/toybox/toys/pending/
Dopenvt.c92 fd = xopen("/dev/console", O_RDONLY | O_NONBLOCK); in openvt_main()
Dstty.c454 else TT.fd=xopen(TT.device, (O_RDWR*!!*toys.optargs)|O_NOCTTY|O_NONBLOCK); in stty_main()
/third_party/toybox/lib/
Dxwrap.c444 int xopen(char *path, int flags) in xopen() function
454 return xopen(path, flags^WARN_ONLY); in openro()
Dportability.c41 fd = xopen(flags ? "/dev/random" : "/dev/urandom",O_RDONLY|(flags&WARN_ONLY)); in xgetrandom()
/third_party/toybox/toys/posix/
Dpatch.c426 if (FLAG(dry_run)) TT.fileout = xopen("/dev/null", O_RDWR); in patch_main()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c477 fd = xopen(toybuf, O_RDWR); in ifconfig_main()

12