/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_spawn.c | 52 char * const args[] = { __UNCONST("ls"), __UNCONST("-la"), NULL }; in ATF_TC_BODY() 69 char * const args[] = { __UNCONST("ls"), __UNCONST("-la"), NULL }; in ATF_TC_BODY() 87 char * const args[] = { __UNCONST("h_zero"), NULL }; in ATF_TC_BODY() 106 char * const args[] = { __UNCONST("h_nonexist"), NULL }; in ATF_TC_BODY() 126 char * const args[] = { __UNCONST("h_nonexec"), NULL }; in ATF_TC_BODY() 146 char * const args0[] = { __UNCONST("h_spawn"), __UNCONST("0"), NULL }; in ATF_TC_BODY() 147 char * const args1[] = { __UNCONST("h_spawn"), __UNCONST("1"), NULL }; in ATF_TC_BODY() 148 char * const args7[] = { __UNCONST("h_spawn"), __UNCONST("7"), NULL }; in ATF_TC_BODY()
|
H A D | t_fileactions.c | 100 char * const args[2] = { __UNCONST("cat"), NULL }; in ATF_TC_BODY() 195 char * const args[2] = { __UNCONST("cat"), NULL }; in ATF_TC_BODY() 230 char * const args[2] = { __UNCONST("cat"), NULL }; in ATF_TC_BODY() 269 char * const args[2] = { __UNCONST("cat"), NULL }; in ATF_TC_BODY() 304 char *args[3] = { __UNCONST("h_fileactions"), NULL, NULL }; in ATF_TC_BODY() 357 char * const args[2] = { __UNCONST("cat"), NULL }; in ATF_TC_BODY() 395 char * const args[2] = { __UNCONST("pwd"), NULL }; in t_spawn_chdir_impl()
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_hsearch.c | 145 e.key = __UNCONST("a"); in ATF_TC_BODY() 180 e.key = __UNCONST("A"); in ATF_TC_BODY() 201 e.key = __UNCONST("a"); in ATF_TC_BODY() 210 e.key = __UNCONST("b"); in ATF_TC_BODY() 219 e.key = __UNCONST("a"); in ATF_TC_BODY() 222 e.key = __UNCONST("b"); in ATF_TC_BODY() 306 e.key = __UNCONST("a"); in ATF_TC_BODY() 344 e.key = __UNCONST("A"); in ATF_TC_BODY() 366 e.key = __UNCONST("a"); in ATF_TC_BODY() 374 e.key = __UNCONST("b"); in ATF_TC_BODY() [all …]
|
H A D | t_getenv.c | 117 ATF_CHECK_ERRNO(EINVAL, putenv(__UNCONST("val")) == -1); in ATF_TC_BODY() 118 ATF_CHECK_ERRNO(EINVAL, putenv(__UNCONST("=val")) == -1); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/usr.bin/id/ |
H A D | pwgr.c | 93 g->gr_name = __UNCONST("wheel"); in getgrgid() 96 g->gr_name = __UNCONST("users"); in getgrgid() 156 p->pw_name = __UNCONST("root"); in getpwnam() 160 p->pw_name = __UNCONST("test"); in getpwnam() 176 p->pw_name = __UNCONST("root"); in getpwuid() 180 p->pw_name = __UNCONST("test"); in getpwuid()
|
/freebsd/contrib/netbsd-tests/lib/librumpclient/ |
H A D | h_exec.c | 113 ename = __UNCONST("fourchette"); in main() 118 ename = __UNCONST("h_ution"); in main() 122 ename = __UNCONST("h_ution"); in main() 127 eargv[1] = __UNCONST("_didexec"); in main() 130 if (rumpclient_exec(argv[1], __UNCONST(eargv), environ) == -1) in main()
|
/freebsd/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | h_locking.c | 101 __UNCONST("libh_helper_dso2.so")); in test_dlopen() 108 __UNCONST("libutil.so")); in test_dlopen() 123 __UNCONST("libh_helper_dso2.so")); in test_dlclose() 129 __UNCONST("libutil.so")); in test_dlclose()
|
/freebsd/contrib/netbsd-tests/fs/union/ |
H A D | t_pr.c | 43 unionargs.target = __UNCONST("/Tunion2/A"); in ATF_TC_BODY() 50 unionargs.target = __UNCONST("/Tunion2/B"); in ATF_TC_BODY() 73 unionargs.target = __UNCONST("/dev"); in ATF_TC_BODY() 107 unionargs.target = __UNCONST("/dev"); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/fs/common/ |
H A D | fstest_nfs.c | 98 nfsdargv[3] = __UNCONST(SERVERADDR); in donewfs() 99 nfsdargv[4] = __UNCONST(SERVERROADDR); in donewfs() 100 nfsdargv[5] = __UNCONST(NETNETMASK); in donewfs() 101 nfsdargv[6] = __UNCONST(EXPORTPATH); in donewfs() 202 mount_nfs_parseargs(__arraycount(nfscliargs)-1, __UNCONST(nfscliargs), in domount()
|
H A D | fstest_puffs.c | 342 dtfsargv[1] = __UNCONST("-i"); in puffs_fstest_newfs() 343 dtfsargv[2] = __UNCONST("-s"); in puffs_fstest_newfs() 344 dtfsargv[3] = __UNCONST("dtfs"); in puffs_fstest_newfs() 345 dtfsargv[4] = __UNCONST("fictional"); in puffs_fstest_newfs() 368 rumpffs_argv[0] = __UNCONST("rump_ffs"); in p2k_ffs_fstest_newfs() 369 rumpffs_argv[1] = __UNCONST(image); in p2k_ffs_fstest_newfs() 370 rumpffs_argv[2] = __UNCONST("p2kffsfake"); /* NOTUSED */ in p2k_ffs_fstest_newfs()
|
H A D | snapshot.c | 73 fss.fss_mount = __UNCONST("/mnt"); in ATF_TC_BODY() 74 fss.fss_bstore = __UNCONST(BAKNAME); in ATF_TC_BODY() 204 fss.fss_mount = __UNCONST("/mnt"); in ATF_TC_BODY() 205 fss.fss_bstore = __UNCONST(BAKNAME); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | h_aesctr1.c | 222 cs.key = __UNCONST(&tests[i].key); in main() 231 co.src = __UNCONST(&tests[i].plaintx); in main() 234 co.iv = __UNCONST(&tests[i].iv); in main()
|
H A D | h_md5hmac.c | 157 cs.mackey = __UNCONST(&tests[i].key); in main() 167 co.src = __UNCONST(&tests[i].data); in main()
|
H A D | h_sha1hmac.c | 167 cs.mackey = __UNCONST(&tests[i].key); in main() 177 co.src = __UNCONST(&tests[i].data); in main()
|
/freebsd/contrib/blocklist/bin/ |
H A D | state.c | 122 k.data = __UNCONST(c); in state_del() 148 k.data = __UNCONST(c); in state_get() 176 k.data = __UNCONST(c); in state_put() 178 v.data = __UNCONST(dbi); in state_put()
|
/freebsd/contrib/mandoc/ |
H A D | compat_strcasestr.c | 41 #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro 63 return __UNCONST(s); in strcasestr()
|
/freebsd/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fexecve.c | 67 if (fexecve(fd, __UNCONST(argv), __UNCONST(envp)) == -1) { in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/lib/libc/db/ |
H A D | t_db_hash_seq.c | 133 k.data = __UNCONST(c); in state_del() 160 k.data = __UNCONST(c); 189 k.data = __UNCONST(c); in state_put() 191 v.data = __UNCONST(dbi); in state_put()
|
/freebsd/contrib/blocklist/port/ |
H A D | port.h | 22 #ifndef __UNCONST 23 #define __UNCONST(a) ((void *)(intptr_t)(a)) macro
|
/freebsd/contrib/netbsd-tests/fs/ffs/ |
H A D | t_mount.c | 75 args.fspec = __UNCONST("/devdisk"); in ATF_TC_BODY() 116 args.fspec = __UNCONST("/devdisk"); in ATF_TC_BODY()
|
H A D | h_quota2_tests.c | 249 fss.fss_mount = __UNCONST("/mnt"); in quota_test4() 250 fss.fss_bstore = __UNCONST(FSTEST_MNTNAME "/le_snap"); in quota_test4() 303 uargs.fspec = __UNCONST("/diskdev"); in quota_test5() 439 uargs.fspec = __UNCONST("/diskdev"); in main()
|
H A D | t_snapshot.c | 30 uargs.fspec = __UNCONST(fspec); in mount_diskfs()
|
/freebsd/contrib/bmake/ |
H A D | util.c | 703 #ifndef __UNCONST 704 # define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro 722 #ifndef __UNCONST 723 # define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro 739 #ifndef __UNCONST 740 # define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro
|
H A D | _strtol.h | 72 *endptr = __UNCONST(nptr); in _FUNCNAME() 196 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME()
|
/freebsd/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 199 putenv(__UNCONST("TZ=EST")); in ATF_TC_BODY() 204 putenv(__UNCONST("TZ=Asia/Tokyo")); in ATF_TC_BODY() 213 putenv(__UNCONST("TZ=Europe/London")); in ATF_TC_BODY() 440 putenv(__UNCONST("TZ=Europe/Berlin")); in ATF_TC_BODY() 443 putenv(__UNCONST("TZ=America/New_York")); in ATF_TC_BODY()
|