/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | android-cloexec-creat.cpp | 5 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/ |
D | android-cloexec-creat.rst | 1 .. 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/ |
D | dup203.c | 84 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/ |
D | dup07.c | 62 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/ |
D | tftypes.pl | 116 (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/ |
D | hooks.h | 14 #define creat JEMALLOC_HOOK(creat, hooks_libc_hook) macro
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_file_test.c | 199 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/ |
D | fmtmsg01.c | 89 fd = creat("fmtfile", 0644); in main() 155 fd = creat("fmtfile", 0644); in main()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 316 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()
|
D | creat07.c | 34 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
|
D | creat03.c | 27 fd = creat(pfilname, 444); in verify_creat()
|
D | creat05.c | 27 TEST(creat("filename", 0666)); in verify_creat()
|
D | creat04.c | 36 TEST(creat(tcases[i].fname, 0444)); in child_fn()
|
/external/compiler-rt/lib/esan/ |
D | esan_interceptors.cpp | 281 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/ |
D | create_datafile.c | 59 if ((fd = creat(argv[2], 0755)) == -1) in main()
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs04_create_file.c | 59 if ((fd = creat(argv[2], 0755)) == -1) in main()
|
/external/strace/tests-m32/ |
D | readdir.c | 76 assert(!creat(fname, 0600)); in main()
|
/external/strace/tests/ |
D | readdir.c | 76 assert(!creat(fname, 0600)); in main()
|
/external/strace/tests-mx32/ |
D | readdir.c | 76 assert(!creat(fname, 0600)); in main()
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | recursion-depth.c | 49 int fd = creat(FILENAME, 0700); in main()
|
/external/ltp/testcases/kernel/fs/lftest/ |
D | lftest.c | 66 if ((fd = creat("large_file", 0755)) == -1) in main()
|
/external/ltp/testcases/kernel/syscalls/chroot/ |
D | chroot02.c | 123 if ((fileHandle = creat(TMP_FILENAME, 0777)) == -1) in setup()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open09.c | 96 fildes = creat(tempfile, 0600); in setup()
|
/external/ltp/testcases/kernel/syscalls/close/ |
D | close01.c | 68 if ((fild = creat(fname, 0777)) == -1) in main()
|
/external/ltp/testcases/kernel/syscalls/read/ |
D | read04.c | 130 if ((fild = creat(fname, 0777)) == -1) { in setup()
|