HomeSort by relevance Sort by last modified time
    Searched refs:O_CREAT (Results 251 - 275 of 1185) sorted by null

<<11121314151617181920>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
2-2.c 138 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
142 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
  /external/u-boot/fs/yaffs2/
yportenv.h 109 #ifndef O_CREAT
110 #define O_CREAT 0100
  /bionic/libc/include/bits/fortify/
fcntl.h 43 #define __open_too_few_args_error "called with O_CREAT or O_TMPFILE, but missing mode"
44 #define __open_useless_modes_warning "has superfluous mode bits; missing O_CREAT?"
46 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/
poc.cpp 45 int fd = open(fileName, O_RDWR | O_CREAT, 0744);
  /device/google/cuttlefish_common/host/commands/logcat_receiver/
main.cpp 36 cvd::SharedFD::Open(path.c_str(), O_CREAT | O_APPEND | O_WRONLY, 0666);
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
fcntl.h 71 #define O_CREAT 0x00000200 ///< create if nonexistent
73 #define O_EXCL 0x00000800 ///< Grant EXCLusive access, or error if already exists and O_CREAT
164 Any combination of { O_NONBLOCK, O_APPEND, O_CREAT, O_TRUNC, O_EXCL } may
185 @retval EEXIST File exists and open attempted with (O_EXCL | O_CREAT) set.
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
gettemp.c 146 open(path, O_CREAT | O_EXCL | O_RDWR, 0600)) >= 0)
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Xform.c 28 O_NONBLOCK, O_APPEND, O_CREAT, O_TRUNC, O_EXCL // ORed with one of the previous
51 if(oflags & (O_CREAT | O_TRUNC)) { // Now add the Create flag.
83 O_CREAT -- create if nonexistent
  /external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/
platform_DebugDaemonDumpDebugLogs.py 21 fh = os.open(tmp_file, os.O_TRUNC | os.O_CREAT | os.O_WRONLY)
  /external/autotest/client/tests/aio_dio_bugs/src/
aio-dio-subblock-eof-read.c 50 fd = open(filename, O_CREAT|O_RDWR|O_DIRECT, 0600);
  /external/e2fsprogs/contrib/
make-sparse.c 62 fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
  /external/linux-kselftest/tools/testing/selftests/vm/
hugepage-mmap.c 70 fd = open(FILE_NAME, O_CREAT | O_RDWR, 0755);
  /external/ltp/lib/tests/
trerrno.c 51 fd = SAFE_OPEN(NULL, OUTPUT_FNAME, O_RDWR | O_CREAT, 0666);
  /external/ltp/testcases/kernel/io/direct_io/
diotest3.c 154 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) {
156 "open(%s, O_WRONLY|O_CREAT, ..) failed",
177 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) {
198 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) {
347 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0)
349 "open(%s, O_CREAT|O_EXCL, ..) failed", filename);
  /external/ltp/testcases/kernel/io/ltp-aiodio/
common_sparse.h 41 fd = open(filename, O_CREAT|O_RDWR|O_EXCL, 0600);
  /external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
hugemmap01.c 60 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
hugemmap04.c 65 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
  /external/ltp/testcases/kernel/mem/mmapstress/
mmapstress04.c 67 rofd = SAFE_OPEN(TEST_FILE, O_RDONLY | O_CREAT, 0777);
  /external/ltp/testcases/kernel/security/dirtyc0w/
dirtyc0w.c 72 fd = SAFE_OPEN(FNAME, O_WRONLY|O_CREAT|O_EXCL, 0444);
  /external/ltp/testcases/kernel/syscalls/chmod/
chmod01.c 151 fd = SAFE_OPEN(cleanup, TESTFILE, O_RDWR | O_CREAT, FILE_MODE);
chmod03.c 163 if ((fd = open(TESTFILE, O_RDWR | O_CREAT, FILE_MODE)) == -1) {
165 "open(%s, O_RDWR|O_CREAT, %#o) failed",
chmod07.c 80 fd = SAFE_OPEN(TESTFILE, O_RDWR | O_CREAT, FILE_MODE);
  /external/ltp/testcases/kernel/syscalls/creat/
creat04.c 80 fd = SAFE_OPEN(FILENAME, O_RDWR | O_CREAT, 0444);
  /external/ltp/testcases/kernel/syscalls/dup/
dup03.c 188 open(filename, O_RDWR | O_CREAT, 0700)) == -1) {
  /external/ltp/testcases/kernel/syscalls/fallocate/
fallocate05.c 42 fd = SAFE_OPEN(MNTPOINT "/test_file", O_WRONLY | O_CREAT);

Completed in 726 milliseconds

<<11121314151617181920>>