Home
last modified time | relevance | path

Searched refs:O_SYNC (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/node/test/parallel/
Dtest-fs-open-flags.js38 O_SYNC = 0,
47 assert.strictEqual(stringToFlags('rs+'), O_RDWR | O_SYNC);
48 assert.strictEqual(stringToFlags('sr+'), O_RDWR | O_SYNC);
60 assert.strictEqual(stringToFlags('as'), O_APPEND | O_CREAT | O_WRONLY | O_SYNC);
61 assert.strictEqual(stringToFlags('sa'), O_APPEND | O_CREAT | O_WRONLY | O_SYNC);
64 assert.strictEqual(stringToFlags('as+'), O_APPEND | O_CREAT | O_RDWR | O_SYNC);
65 assert.strictEqual(stringToFlags('sa+'), O_APPEND | O_CREAT | O_RDWR | O_SYNC);
/third_party/ltp/testcases/network/nfsv4/locks/
Dlocktests.h58 #ifdef O_SYNC
59 #define OPENFLAGS (O_CREAT | O_RDWR | O_SYNC )
/third_party/musl/libc-test/src/functionalext/supplement/temp/
Dmkostemp.c75 int fd = mkostemp(tmpfile, O_SYNC); in mkostemp_0300()
144 int fd = mkostemp(tmpfile, O_SYNC); in mkostemp_0600()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/
D12-1.c33 if (aio_fsync(O_SYNC, &aiocb) != -1) { in main()
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
Dcpuctl_fj_simple_echo.c57 if ((fd = open(argv[2], O_RDWR | O_SYNC)) == -1) in main()
/third_party/musl/porting/liteos_m/user/include/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/powerpc64/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/m68k/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/arm/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/x86_64/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/aarch64/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/generic/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/mips64/bits/
Dfcntl.h8 #define O_SYNC 040020 macro
/third_party/musl/arch/powerpc/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/mips/bits/
Dfcntl.h8 #define O_SYNC 040020 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/x32/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/mipsn32/bits/
Dfcntl.h8 #define O_SYNC 040020 macro
/third_party/musl/arch/riscv64/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/arch/s390x/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dfcntl.h8 #define O_SYNC 04010000 macro
/third_party/node/lib/internal/fs/
Dutils.js67 O_SYNC,
550 case 'sr' : return O_RDONLY | O_SYNC;
553 case 'sr+' : return O_RDWR | O_SYNC;
567 case 'sa' : return O_APPEND | O_CREAT | O_WRONLY | O_SYNC;
573 case 'sa+': return O_APPEND | O_CREAT | O_RDWR | O_SYNC;
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c101 open("/tmp/testfile", O_CREAT | O_RDWR | O_SYNC | FASYNC, in main()
542 if ((fileHandle = open(fname, O_RDONLY | O_SYNC | O_ASYNC)) < 0) { in open_read_close()
548 if ((fileHandle2 = open(fname, O_RDONLY | O_SYNC | O_ASYNC)) < 0) { in open_read_close()

1234