Home
last modified time | relevance | path

Searched refs:__DECONST (Results 1 – 25 of 131) sorted by relevance

123456

/dragonfly/tools/tools/netrate/netperf/tcp_stream/
H A Dtcp_stream.c17 #ifndef __DECONST
140 args[i++] = __DECONST(char *, "-P0"); in main()
141 args[i++] = __DECONST(char *, "-H"); in main()
143 args[i++] = __DECONST(char *, NULL); in main()
144 args[i++] = __DECONST(char *, "-l"); in main()
146 args[i++] = __DECONST(char *, "-t"); in main()
155 args[i++] = __DECONST(char *, "--"); in main()
159 args[i++] = __DECONST(char *, "-m"); in main()
161 args[i++] = __DECONST(char *, "-M"); in main()
167 args[i++] = __DECONST(char *, "-s"); in main()
[all …]
/dragonfly/tools/tools/netrate/netperf/tcp_cc/
H A Dtcp_cc.c65 args[i++] = __DECONST(char *, NETPERF_CMD); in main()
66 args[i++] = __DECONST(char *, "-P0"); in main()
67 args[i++] = __DECONST(char *, "-H"); in main()
68 args[i++] = __DECONST(char *, host); in main()
69 args[i++] = __DECONST(char *, "-l"); in main()
70 args[i++] = __DECONST(char *, len_str); in main()
71 args[i++] = __DECONST(char *, "-t"); in main()
72 args[i++] = __DECONST(char *, "TCP_CC"); in main()
/dragonfly/lib/libc/gen/
H A Dexec.c73 return (_execve(name, __DECONST(char **, argv), in execl()
74 __DECONST(char **, environ))); in execl()
101 return (_execve(name, __DECONST(char **, argv), in execle()
102 __DECONST(char **, envp))); in execle()
128 return (execvp(name, __DECONST(char **, argv))); in execlp()
225 _execve(_PATH_BSHELL, __DECONST(char **, memp), envp); in execvPe()
H A Ducontext.c73 ret = sigreturn(__DECONST(ucontext_t *, ucp)); in _swapcontext()
103 ret = sigreturn(__DECONST(ucontext_t *, ucp)); in _setcontext()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_ucode.c55 container_of(__DECONST(void *, hdr), struct mc_firmware_header_v1_0, header); in radeon_ucode_print_mc_hdr()
76 container_of(__DECONST(void *, hdr), struct smc_firmware_header_v1_0, header); in radeon_ucode_print_smc_hdr()
94 container_of(__DECONST(void *, hdr), struct gfx_firmware_header_v1_0, header); in radeon_ucode_print_gfx_hdr()
115 container_of(__DECONST(void *, hdr), struct rlc_firmware_header_v1_0, header); in radeon_ucode_print_rlc_hdr()
142 container_of(__DECONST(void *, hdr), struct sdma_firmware_header_v1_0, header); in radeon_ucode_print_sdma_hdr()
/dragonfly/sbin/ifconfig/
H A Dregdomain.c132 __DECONST(char *, mode), in start_element()
480 __DECONST(char *, id)); in lib80211_regdomain_readconfig()
483 free(__DECONST(char *, id)); in lib80211_regdomain_readconfig()
489 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig()
498 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig()
507 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig()
516 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig()
525 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig()
534 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig()
554 __DECONST(char *, id)); in lib80211_regdomain_readconfig()
[all …]
/dragonfly/sbin/restore/
H A Dmain.c84 inputdev = __DECONST(char *, _PATH_DEFTAPE); in main()
172 *--argv = __DECONST(char *, "."); in main()
199 treescan(__DECONST(char *, "."), UFS_ROOTINO, in main()
211 treescan(__DECONST(char *, "."), UFS_ROOTINO, in main()
220 treescan(__DECONST(char *, "."), UFS_ROOTINO, in main()
/dragonfly/lib/libc/stdio/
H A Dperror.c54 v->iov_base = __DECONST(char *, s); in perror()
57 v->iov_base = __DECONST(char *, ": "); in perror()
65 v->iov_base = __DECONST(char *, "\n"); in perror()
H A Dputs.c54 iov[0].iov_base = __DECONST(char *, s); in puts()
56 iov[1].iov_base = __DECONST(char *, "\n"); in puts()
/dragonfly/lib/libdevattr/
H A Ddevattr.h109 udev_enumerate_add_match_expr((x), (a), __DECONST(char *, (b)))
112 udev_enumerate_add_nomatch_expr((x), (a), __DECONST(char *, (b)))
137 udev_monitor_filter_add_match_expr((x), (a), __DECONST(char *, (b)))
140 udev_monitor_filter_add_nomatch_expr((x), (a), __DECONST(char *, (b)))
H A Ddevattr_monitor.c185 dict = udevd_get_command_dict(__DECONST(char *, "monitor")); in udev_monitor_enable_receiving()
222 __DECONST(char *, subsystem)); in udev_monitor_filter_add_match_subsystem_devtype()
310 error = _udev_dict_set_cstr(dict, "key", __DECONST(char *, key)); in _udev_filter_add_match_gen()
/dragonfly/sbin/mount_autofs/
H A Dmount_autofs.c70 strlcpy(__DECONST(char*, am->from), optarg, MAXPATHLEN); in mount_autofs_parseargs()
76 strlcpy(__DECONST(char*, am->master_options), optarg, in mount_autofs_parseargs()
80 strlcpy(__DECONST(char*, am->master_prefix), optarg, in mount_autofs_parseargs()
/dragonfly/libexec/dma/
H A Ddfcompat.h8 #ifndef __DECONST
9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/dragonfly/initrd/oinit/
H A Doinit.c126 execv(_PATH_BSHELL, __DECONST(char **, argv)); in runcom()
146 execv("/sbin/init", __DECONST(char **, argv_orig)); in runcom()
/dragonfly/usr.bin/m4/
H A Dgnum4.c545 width = strtol(format, __DECONST(char **, &format), 10); in doformat()
562 extra = strtol(format, __DECONST(char **, &format), 10); in doformat()
611 argv[0] = __DECONST(char *, "sh"); in doesyscmd()
612 argv[1] = __DECONST(char *, "-c"); in doesyscmd()
613 argv[2] = __DECONST(char *, cmd); in doesyscmd()
/dragonfly/sbin/mount_ufs/
H A Dmount_ufs.c76 while ((ch = getopt(argc, __DECONST(char **, argv), "o:")) != -1) in mount_ufs()
91 args.fspec = __DECONST(char *, argv[0]); /* The name of the device file. */ in mount_ufs()
/dragonfly/lib/libc/citrus/
H A D_strtol.h60 *endptr = __DECONST(void *, nptr); in _FUNCNAME()
168 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
H A Dcitrus_lookup.c202 _region_init(key, __DECONST(void *, p), (size_t)(q - p)); in seq_next_plain()
205 _region_init(data, len ? __DECONST(void *, p) : NULL, len); in seq_next_plain()
240 _region_init(data, __DECONST(void *, p), len); in seq_lookup_plain()
/dragonfly/usr.bin/dfregress/
H A Duserland.c240 r = execvp(binary, __DECONST(char **, argv)); in run_userland()
311 argv[0] = (s == NULL) ? __DECONST(char *, binary) : s+1; in run_simple_cmd()
312 argv[1] = __DECONST(char *, arg); in run_simple_cmd()
/dragonfly/usr.bin/evtranalyze/
H A Dplotter.c230 if (asprintf(__DECONST(char **, &pl_argv[2 + nr_params + 3]), in ploticus_run()
241 if (asprintf(__DECONST(char **, &pl_argv[i]), "%s=%s", keystr, in ploticus_run()
249 execve("/usr/local/bin/ploticus", __DECONST(char * const *, pl_argv), environ); in ploticus_run()
/dragonfly/usr.bin/m4/lib/
H A Dohash_do.c73 void *result = __DECONST(void *, h->t[i].p); in ohash_remove()
94 return __DECONST(void *, h->t[i].p); in ohash_find()
/dragonfly/lib/libtcplay/
H A Dtcplay.h337 #ifndef __DECONST
338 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
348 _free_safe_mem(__DECONST(void *, x), __FILE__, __LINE__)
/dragonfly/sys/vfs/isofs/cd9660/
H A Dcd9660_util.c75 cd9660_iconv->convchr(handle, __DECONST(const char **, &inp), in isochar()
110 d = sgetrune(fn, fnend - fn, __DECONST(const char **, &fn), in isofncmp()
/dragonfly/lib/i18n_module/mapper_646/
H A Dcitrus_mapper_646.c126 pp = __DECONST(void *, p); in parse_file()
181 _region_init(&r, __DECONST(void *, var), lenvar); in _citrus_mapper_646_mapper_init()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_spec.c149 destructor(__DECONST(void *, data)); in _thread_cleanupspecific()
249 return __DECONST(void *, data); in _pthread_getspecific()

123456