Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/exit/
H A Dexit02.c17 #define FNAME "test_file" macro
23 fd = SAFE_CREAT(FNAME, 0666); in child_write()
24 SAFE_WRITE(SAFE_WRITE_ALL, 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()
/third_party/elfio/c_wrapper/
H A Delfio_c_wrapper.h26 #define ELFIO_C_HEADER_ACCESS_GET( TYPE, FNAME ) \
27 TYPE elfio_get_##FNAME( pelfio_t pelfio );
29 #define ELFIO_C_HEADER_ACCESS_GET_SET( TYPE, FNAME ) \
30 TYPE elfio_get_##FNAME( pelfio_t pelfio ); \
31 void elfio_set_##FNAME( pelfio_t pelfio, TYPE val );
33 #define ELFIO_C_HEADER_ACCESS_GET_IMPL( TYPE, FNAME ) \
34 TYPE elfio_get_##FNAME( pelfio_t pelfio ) { return pelfio->get_##FNAME(); }
36 #define ELFIO_C_HEADER_ACCESS_GET_SET_IMPL( TYPE, FNAME ) \
37 TYPE elfio_get_##FNAME( pelfio_
[all...]
/third_party/elfio/examples/c_wrapper/
H A Delfio_c_wrapper.h26 #define ELFIO_C_HEADER_ACCESS_GET( TYPE, FNAME ) \
27 TYPE elfio_get_##FNAME( pelfio_t pelfio );
29 #define ELFIO_C_HEADER_ACCESS_GET_SET( TYPE, FNAME ) \
30 TYPE elfio_get_##FNAME( pelfio_t pelfio ); \
31 void elfio_set_##FNAME( pelfio_t pelfio, TYPE val );
33 #define ELFIO_C_HEADER_ACCESS_GET_IMPL( TYPE, FNAME ) \
34 TYPE elfio_get_##FNAME( pelfio_t pelfio ) { return pelfio->get_##FNAME(); }
36 #define ELFIO_C_HEADER_ACCESS_GET_SET_IMPL( TYPE, FNAME ) \
37 TYPE elfio_get_##FNAME( pelfio_
[all...]
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen04.c18 #define FNAME "open04" macro
29 first = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0777); in setup()
35 sprintf(fname, FNAME ".%d", i); in setup()
49 sprintf(fname, FNAME ".%d", fds_limit); in run()
/third_party/ltp/testcases/kernel/security/dirtyc0w/
H A Ddirtyc0w.c40 #define FNAME "test" macro
64 fd = SAFE_OPEN(FNAME, O_WRONLY|O_CREAT|O_EXCL, 0444); in dirtyc0w_test()
80 SAFE_FILE_SCANF(FNAME, "%c", &c); in dirtyc0w_test()
90 SAFE_UNLINK(FNAME); in dirtyc0w_test()
H A Ddirtyc0w_child.c21 #define FNAME "test" macro
101 fd = SAFE_OPEN(FNAME, O_RDONLY); in main()
/third_party/ltp/testcases/kernel/syscalls/setxattr/
H A 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()
/third_party/ltp/testcases/kernel/syscalls/dup/
H A Ddup05.c16 #define FNAME "dupfile" macro
28 SAFE_MKFIFO(FNAME, 0777); in setup()
29 fd = SAFE_OPEN(FNAME, O_RDWR, 0700); in setup()
/third_party/ltp/testcases/kernel/syscalls/inotify/
H A 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()
/third_party/ltp/testcases/kernel/syscalls/sync/
H A Dsync01.c23 #define FNAME MNTPOINT"/test" macro
33 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_sync()
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/
H A Dfgetxattr01.c43 #define FNAME MNTPOINT"/fgetxattr01testfile" macro
113 SAFE_TOUCH(FNAME, 0644, NULL); in setup()
114 fd = SAFE_OPEN(FNAME, O_RDONLY); in setup()
/third_party/ltp/testcases/kernel/syscalls/fsync/
H A Dfsync04.c23 #define FNAME MNTPOINT"/test" macro
33 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_fsync()
/third_party/ltp/testcases/kernel/syscalls/fdatasync/
H A Dfdatasync03.c23 #define FNAME MNTPOINT"/test" macro
33 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_fdatasync()
/third_party/ltp/testcases/kernel/syscalls/syncfs/
H A Dsyncfs01.c24 #define FNAME MNTPOINT"/test" macro
34 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE); in verify_syncfs()
/third_party/ltp/testcases/kernel/syscalls/fremovexattr/
H A Dfremovexattr01.c36 #define FNAME MNTPOINT"/fremovexattr01testfile" macro
77 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644); in setup()
H A Dfremovexattr02.c38 #define FNAME MNTPOINT"/fremovexattr02testfile" macro
95 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/fsetxattr/
H A Dfsetxattr01.c56 #define FNAME MNTPOINT"/fsetxattr01testfile" macro
207 SAFE_TOUCH(FNAME, 0644, NULL); in setup()
208 fd = SAFE_OPEN(FNAME, O_RDONLY); in setup()
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl04.c43 #define FNAME "filename" macro
125 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0666); in check_strict_mode()
166 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0666); in check_filter_mode()
/third_party/elfio/elfio/
H A Delfio.hpp44 #define ELFIO_HEADER_ACCESS_GET( TYPE, FNAME ) \
45 TYPE get_##FNAME() const noexcept \
47 return header ? ( header->get_##FNAME() ) : 0; \
50 #define ELFIO_HEADER_ACCESS_GET_SET( TYPE, FNAME ) \
51 TYPE get_##FNAME() const noexcept \
53 return header ? ( header->get_##FNAME() ) : 0; \
55 void set_##FNAME( TYPE val ) noexcept \
58 header->set_##FNAME( val ); \
/third_party/ltp/testcases/kernel/syscalls/pwritev/
H A Dpwritev03.c26 #define FNAME MNTPOINT"/file" macro
106 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT | O_DIRECT, 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv03.c25 #define FNAME MNTPOINT"/file" macro
107 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT | O_DIRECT, 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate04.c27 #define FNAME MNTPOINT "/fallocate.txt" macro
278 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0700); in setup()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Ddebug.h53 * always define FNAME macro for use in non-debug messages
55 #define FNAME(NAME) static const char *fname = #NAME macro
/third_party/python/Lib/
H A Dgzip.py16 FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16
244 # RFC 1952 requires the FNAME field to be Latin-1. Do not
255 flags = FNAME
438 if flag & FNAME:
/third_party/openssl/test/
H A Dcmp_ctx_test.c521 #define DEFINE_SET_GET_SK_X509_TEST(OSSL_CMP, CTX, N, M, FNAME) \
522 DEFINE_SET_GET_SK_TEST_DEFAULT(OSSL_CMP, CTX, N, M, FNAME, X509, \

Completed in 9 milliseconds