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

12

/freebsd-11-stable/contrib/mdocml/
H A Dcompat_strcasestr.c48 #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro
70 return __UNCONST(s);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_spawn.c52 char * const args[] = { __UNCONST("ls"), __UNCONST("-la"), NULL };
69 char * const args[] = { __UNCONST("ls"), __UNCONST("-la"), NULL };
87 char * const args[] = { __UNCONST("h_zero"), NULL };
106 char * const args[] = { __UNCONST("h_nonexist"), NULL };
126 char * const args[] = { __UNCONST("h_nonexec"), NULL };
146 char * const args0[] = { __UNCONST("h_spawn"), __UNCONST("0"), NULL };
147 char * const args1[] = { __UNCONST("h_spaw
[all...]
H A Dt_fileactions.c100 char * const args[2] = { __UNCONST("cat"), NULL };
195 char * const args[2] = { __UNCONST("cat"), NULL };
230 char * const args[2] = { __UNCONST("cat"), NULL };
269 char * const args[2] = { __UNCONST("cat"), NULL };
304 char * const args[2] = { __UNCONST("h_fileactions"), NULL };
349 char * const args[2] = { __UNCONST("cat"), NULL };
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/id/
H A Dpwgr.c93 g->gr_name = __UNCONST("wheel");
96 g->gr_name = __UNCONST("users");
156 p->pw_name = __UNCONST("root");
160 p->pw_name = __UNCONST("test");
176 p->pw_name = __UNCONST("root");
180 p->pw_name = __UNCONST("test");
/freebsd-11-stable/contrib/netbsd-tests/lib/librumpclient/
H A Dh_exec.c113 ename = __UNCONST("fourchette");
118 ename = __UNCONST("h_ution");
122 ename = __UNCONST("h_ution");
127 eargv[1] = __UNCONST("_didexec");
130 if (rumpclient_exec(argv[1], __UNCONST(eargv), environ) == -1)
/freebsd-11-stable/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dh_locking.c101 __UNCONST("libh_helper_dso2.so"));
108 __UNCONST("libutil.so"));
123 __UNCONST("libh_helper_dso2.so"));
129 __UNCONST("libutil.so"));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_hsearch.c145 e.key = __UNCONST("a");
180 e.key = __UNCONST("A");
201 e.key = __UNCONST("a");
210 e.key = __UNCONST("b");
219 e.key = __UNCONST("a");
222 e.key = __UNCONST("b");
306 e.key = __UNCONST("a");
344 e.key = __UNCONST("A");
366 e.key = __UNCONST("a");
374 e.key = __UNCONST("
[all...]
H A Dt_getenv.c117 ATF_CHECK_ERRNO(EINVAL, putenv(__UNCONST("val")) == -1);
118 ATF_CHECK_ERRNO(EINVAL, putenv(__UNCONST("=val")) == -1);
/freebsd-11-stable/lib/libnetbsd/sys/
H A Dcdefs.h64 #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/
H A Dt_snapshot_log.c31 uargs.fspec = __UNCONST(fspec);
H A Dt_snapshot_v2.c30 uargs.fspec = __UNCONST(fspec);
H A Dt_snapshot.c30 uargs.fspec = __UNCONST(fspec);
H A Dt_mount.c75 args.fspec = __UNCONST("/devdisk");
116 args.fspec = __UNCONST("/devdisk");
H A Dh_ffs_server.c94 uargs.fspec = __UNCONST("/diskdev");
/freebsd-11-stable/contrib/netbsd-tests/fs/union/
H A Dt_pr.c43 unionargs.target = __UNCONST("/Tunion2/A");
50 unionargs.target = __UNCONST("/Tunion2/B");
73 unionargs.target = __UNCONST("/dev");
107 unionargs.target = __UNCONST("/dev");
/freebsd-11-stable/contrib/blacklist/port/
H A Dport.h22 #ifndef __UNCONST
23 #define __UNCONST(a) ((void *)(intptr_t)(a)) macro
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fexecve.c67 if (fexecve(fd, __UNCONST(argv), __UNCONST(envp)) == -1) {
/freebsd-11-stable/contrib/blacklist/bin/
H A Dstate.c122 k.data = __UNCONST(c);
148 k.data = __UNCONST(c);
176 k.data = __UNCONST(c);
178 v.data = __UNCONST(dbi);
/freebsd-11-stable/contrib/netbsd-tests/fs/lfs/
H A Dt_pr.c41 args.fspec = __UNCONST(FAKEBLK);
/freebsd-11-stable/contrib/netbsd-tests/fs/msdosfs/
H A Dt_snapshot.c33 margs.fspec = __UNCONST(fspec);
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_puffs.c342 dtfsargv[1] = __UNCONST("-i");
343 dtfsargv[2] = __UNCONST("-s");
344 dtfsargv[3] = __UNCONST("dtfs");
345 dtfsargv[4] = __UNCONST("fictional");
368 rumpffs_argv[0] = __UNCONST("rump_ffs");
369 rumpffs_argv[1] = __UNCONST(image);
370 rumpffs_argv[2] = __UNCONST("p2kffsfake"); /* NOTUSED */
H A Dfstest_nfs.c98 nfsdargv[3] = __UNCONST(SERVERADDR);
99 nfsdargv[4] = __UNCONST(SERVERROADDR);
100 nfsdargv[5] = __UNCONST(NETNETMASK);
101 nfsdargv[6] = __UNCONST(EXPORTPATH);
202 mount_nfs_parseargs(__arraycount(nfscliargs)-1, __UNCONST(nfscliargs),
H A Dsnapshot.c73 fss.fss_mount = __UNCONST("/mnt");
74 fss.fss_bstore = __UNCONST(BAKNAME);
204 fss.fss_mount = __UNCONST("/mnt");
205 fss.fss_bstore = __UNCONST(BAKNAME);
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_name.c86 __UNCONST(NAME_JUST_RIGHT)));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dt_db_hash_seq.c133 k.data = __UNCONST(c);
160 k.data = __UNCONST(c);
189 k.data = __UNCONST(c);
191 v.data = __UNCONST(dbi);

Completed in 121 milliseconds

12