/third_party/ltp/testcases/kernel/syscalls/exit/ |
H A D | exit02.c | 17 #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 D | elfio_c_wrapper.h | 26 #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 D | elfio_c_wrapper.h | 26 #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 D | open04.c | 18 #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 D | dirtyc0w.c | 40 #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 D | dirtyc0w_child.c | 21 #define FNAME "test" macro 101 fd = SAFE_OPEN(FNAME, O_RDONLY); in main()
|
/third_party/ltp/testcases/kernel/syscalls/setxattr/ |
H A D | setxattr01.c | 55 #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 D | dup05.c | 16 #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 D | inotify09.c | 35 #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 D | sync01.c | 23 #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 D | fgetxattr01.c | 43 #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 D | fsync04.c | 23 #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 D | fdatasync03.c | 23 #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 D | syncfs01.c | 24 #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 D | fremovexattr01.c | 36 #define FNAME MNTPOINT"/fremovexattr01testfile" macro 77 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644); in setup()
|
H A D | fremovexattr02.c | 38 #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 D | fsetxattr01.c | 56 #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 D | prctl04.c | 43 #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 D | elfio.hpp | 44 #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 D | pwritev03.c | 26 #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 D | preadv03.c | 25 #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 D | fallocate04.c | 27 #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 D | debug.h | 53 * 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 D | gzip.py | 16 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 D | cmp_ctx_test.c | 521 #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, \
|