Home
last modified time | relevance | path

Searched refs:FNAME (Results 1 – 25 of 43) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/exit/
Dexit02.c17 #define FNAME "test_file" macro
23 fd = SAFE_CREAT(FNAME, 0666); in child_write()
24 SAFE_WRITE(1, fd, FNAME, sizeof(FNAME)); in child_write()
33 fd = SAFE_OPEN(FNAME, O_RDONLY); in check_file()
36 if (len != sizeof(FNAME)) { in check_file()
41 if (memcmp(buf, FNAME, sizeof(FNAME))) { in check_file()
63 SAFE_UNLINK(FNAME); in run()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod02.c56 #define FNAME "test_file" macro
75 TEST(chmod(FNAME, modes[i])); in main()
79 "chmod(%s, %#o) failed", FNAME, modes[i]); in main()
83 FNAME, modes[i], TEST_RETURN); in main()
101 SAFE_FILE_PRINTF(cleanup, FNAME, "File content\n"); in setup()
/external/cldr/tools/scripts/ansible/templates/cldrbackup/
Dbackup_sh.j27 FNAME={{ cldr_database_name }}-DUMP-`date +%Y-%m-%d`
11 …p ${DATABASE_NAME} --add-drop-table --create-options --default-character-set=utf8mb4 > ${FNAME}.sql
12 xz ${FNAME}.sql
13 rsync -q ${FNAME}.sql.xz ${RSYNC_DEST}
/external/ltp/testcases/kernel/security/dirtyc0w/
Ddirtyc0w.c38 #define FNAME "test" macro
60 fd = SAFE_OPEN(FNAME, O_WRONLY|O_CREAT|O_EXCL, 0444); in dirtyc0w_test()
76 SAFE_FILE_SCANF(FNAME, "%c", &c); in dirtyc0w_test()
86 SAFE_UNLINK(FNAME); in dirtyc0w_test()
Ddirtyc0w_child.c21 #define FNAME "test" macro
101 fd = SAFE_OPEN(FNAME, O_RDONLY); in main()
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr01.c55 #define FNAME MNTPOINT"/setxattr01testfile" macro
140 SAFE_SETXATTR(FNAME, tc[i].key, tc[i].value, tc[i].size, in verify_setxattr()
144 TEST(setxattr(FNAME, tc[i].key, *tc[i].value, tc[i].size, tc[i].flags)); in verify_setxattr()
159 SAFE_REMOVEXATTR(FNAME, tc[i].key); in verify_setxattr()
181 SAFE_REMOVEXATTR(FNAME, tc[i].key); in verify_setxattr()
198 SAFE_TOUCH(FNAME, 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify09.c35 #define FNAME "stress_fname" macro
58 fd = SAFE_OPEN(FNAME, O_CREAT | O_RDWR, 0600); in setup()
79 wd = SAFE_MYINOTIFY_ADD_WATCH(inotify_fd, FNAME, IN_MODIFY); in verify_inotify()
/external/oss-fuzz/projects/pycryptodome/
Dpcd_hash_fuzzer.cc22 #ifndef FNAME
23 #error Macro FNAME must be defined.
36 #include INCLUDE(FNAME)
/external/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr01.c43 #define FNAME MNTPOINT"/fgetxattr01testfile" macro
113 SAFE_TOUCH(FNAME, 0644, NULL); in setup()
114 fd = SAFE_OPEN(FNAME, O_RDONLY, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/fdatasync/
Dfdatasync03.c23 #define FNAME MNTPOINT"/test" macro
33 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_fdatasync()
/external/ltp/testcases/kernel/syscalls/sync/
Dsync03.c23 #define FNAME MNTPOINT"/test" macro
33 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_sync()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync04.c23 #define FNAME MNTPOINT"/test" macro
33 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_fsync()
/external/ltp/testcases/kernel/syscalls/syncfs/
Dsyncfs01.c24 #define FNAME MNTPOINT"/test" macro
34 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_syncfs()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl04.c36 #define FNAME "filename" macro
113 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0666); in check_strict_mode()
149 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0666); in check_filter_mode()
/external/ltp/testcases/kernel/syscalls/fremovexattr/
Dfremovexattr01.c36 #define FNAME MNTPOINT"/fremovexattr01testfile" macro
77 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644); in setup()
Dfremovexattr02.c38 #define FNAME MNTPOINT"/fremovexattr02testfile" macro
95 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644); in setup()
/external/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr01.c56 #define FNAME MNTPOINT"/fsetxattr01testfile" macro
207 SAFE_TOUCH(FNAME, 0644, NULL); in setup()
208 fd = SAFE_OPEN(FNAME, O_RDONLY, NULL); in setup()
/external/python/cpython2/Demo/zlib/
Dminigzip.py10 FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16 variable
27 output.write(chr(FNAME)) # ... flag byte ...
65 if flag & FNAME:
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev03.c26 #define FNAME MNTPOINT"/file" macro
106 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT | O_DIRECT, 0644); in setup()
/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv03.c25 #define FNAME MNTPOINT"/file" macro
107 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT | O_DIRECT, 0644); in setup()
/external/llvm/test/Transforms/LowerTypeTests/
Dfunction.ll9 …, i8 }> <{ i8 -23, i32 trunc (i64 sub (i64 sub (i64 ptrtoint (void ()* @[[FNAME:.*]] to i64), i64 …
14 ; CHECK: define private void @[[FNAME]]()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DGzipSource.java32 private static final byte FNAME = 3; field in GzipSource
142 if (((flags >> FNAME) & 1) == 1) { in consumeHeader()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorOutputStream.java44 private static final int FNAME = 1 << 3; field in GzipCompressorOutputStream
96 … buffer.put((byte) ((filename != null ? FNAME : 0) | (comment != null ? FCOMMENT : 0))); // flags in writeHeader()
/external/okhttp/okio/okio/src/main/java/okio/
DGzipSource.java30 private static final byte FNAME = 3; field in GzipSource
140 if (((flags >> FNAME) & 1) == 1) { in consumeHeader()
/external/okio/okio/src/jvmMain/kotlin/okio/
DGzipSource.kt130 if (flags.getBit(FNAME)) { in consumeHeader()
206 private const val FNAME = 3 constant

12