Home
last modified time | relevance | path

Searched refs:creat (Results 1 – 25 of 207) sorted by relevance

123456789

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dandroid-cloexec-creat.cpp5 extern "C" int creat(const char *path, mode_t, ...);
9 creat("filename", 0); in f()
15 creat("filename", mode); in f()
21 int creat(const char *path, mode_t, ...);
23 creat("filename", 0); in g()
30 int creat(const char *path, mode_t, ...);
32 creat("filename", 0); in h()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dandroid-cloexec-creat.rst1 .. title:: clang-tidy - android-cloexec-creat
3 android-cloexec-creat
6 The usage of ``creat()`` is not recommended, it's better to use ``open()``.
12 int fd = creat(path, mode);
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c84 if ((fd0 = creat(filename0, 0666)) == -1) in main()
89 if ((fd1 = creat(filename1, 0666)) == -1) in main()
135 if ((fd0 = creat(filename0, 0666)) == -1) { in main()
143 if ((fd2 = creat(filename1, 0666)) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/dup/
Ddup07.c62 if ((rdoret = creat(testfile, 0444)) == -1) { in main()
84 if ((wroret = creat(testfile, 0222)) == -1) { in main()
107 if ((rdwret = creat(testfile, 0666)) == -1) { in main()
/external/tensorflow/tensorflow/java/src/gen/perl/
Dtftypes.pl116 (my $name, my $builtin, my $jtype, my $creat, my $default, my $desc) =
142 if ($jtype ne '' && $creat eq 'y') {
174 if ($text =~ m/\b$tfname\b/ && $builtin eq 'n' && $creat eq 'y') {
/external/jemalloc_new/include/jemalloc/internal/
Dhooks.h14 #define creat JEMALLOC_HOOK(creat, hooks_libc_hook) macro
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_file_test.c199 close(creat(link_source_path, 0600)); in create_files()
200 close(creat(rename_source_path, 0600)); in create_files()
201 close(creat(truncate_path, 0600)); in create_files()
202 close(creat(unlink_path, 0600)); in create_files()
/external/ltp/testcases/kernel/syscalls/fmtmsg/
Dfmtmsg01.c89 fd = creat("fmtfile", 0644); in main()
155 fd = creat("fmtfile", 0644); in main()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c316 fd = creat(nosetgid_B, MODE_RWX); in main()
345 fd = creat(setgid_B, MODE_SGID); in main()
393 fd = creat(root_setgid_B, MODE_SGID); in main()
Dcreat07.c34 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
Dcreat03.c27 fd = creat(pfilname, 444); in verify_creat()
Dcreat05.c27 TEST(creat("filename", 0666)); in verify_creat()
Dcreat04.c36 TEST(creat(tcases[i].fname, 0444)); in child_fn()
/external/compiler-rt/lib/esan/
Desan_interceptors.cpp281 INTERCEPTOR(int, creat, const char *name, int mode) { in INTERCEPTOR() argument
283 COMMON_INTERCEPTOR_ENTER(ctx, creat, name, mode); in INTERCEPTOR()
285 return REAL(creat)(name, mode); in INTERCEPTOR()
520 INTERCEPT_FUNCTION(creat); in initializeInterceptors()
/external/ltp/testcases/kernel/fs/fs_di/
Dcreate_datafile.c59 if ((fd = creat(argv[2], 0755)) == -1) in main()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs04_create_file.c59 if ((fd = creat(argv[2], 0755)) == -1) in main()
/external/strace/tests-m32/
Dreaddir.c76 assert(!creat(fname, 0600)); in main()
/external/strace/tests/
Dreaddir.c76 assert(!creat(fname, 0600)); in main()
/external/strace/tests-mx32/
Dreaddir.c76 assert(!creat(fname, 0600)); in main()
/external/linux-kselftest/tools/testing/selftests/exec/
Drecursion-depth.c49 int fd = creat(FILENAME, 0700); in main()
/external/ltp/testcases/kernel/fs/lftest/
Dlftest.c66 if ((fd = creat("large_file", 0755)) == -1) in main()
/external/ltp/testcases/kernel/syscalls/chroot/
Dchroot02.c123 if ((fileHandle = creat(TMP_FILENAME, 0777)) == -1) in setup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen09.c96 fildes = creat(tempfile, 0600); in setup()
/external/ltp/testcases/kernel/syscalls/close/
Dclose01.c68 if ((fild = creat(fname, 0777)) == -1) in main()
/external/ltp/testcases/kernel/syscalls/read/
Dread04.c130 if ((fild = creat(fname, 0777)) == -1) { in setup()

123456789