Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 216) sorted by relevance

123456789

/NextBSD/usr.sbin/dconschat/
HDdconschat.c131 dread(struct dcons_state *dc, void *buf, size_t n, off_t offset) in dread() argument
133 switch (dc->type) { in dread()
135 return (pread(dc->fd, buf, n, offset)); in dread()
137 return (kvm_read(dc->kd, offset, buf, n)); in dread()
143 dwrite(struct dcons_state *dc, void *buf, size_t n, off_t offset) in dwrite() argument
145 if ((dc->flags & F_RD_ONLY) != 0) in dwrite()
148 switch (dc->type) { in dwrite()
150 return (pwrite(dc->fd, buf, n, offset)); in dwrite()
152 return (kvm_write(dc->kd, offset, buf, n)); in dwrite()
158 dconschat_reset_target(struct dcons_state *dc, struct dcons_port *p) in dconschat_reset_target() argument
[all …]
/NextBSD/etc/rc.d/
HDserial48 dc=$1; shift # device name character
53 comcontrol /dev/tty${dc}${i} dtrwait 300 drainwait $drainwait
54 stty < /dev/tty${dc}${i}.init -clocal crtscts hupcl 9600 reprint ^R
55 stty < /dev/tty${dc}${i}.lock -clocal -crtscts -hupcl 0
56 stty < /dev/cua${dc}${i}.init -clocal crtscts hupcl 9600 reprint ^R
57 stty < /dev/cua${dc}${i}.lock -clocal -crtscts -hupcl 0
64 dc=$1; shift
69 stty < /dev/tty${dc}${i}.init reprint undef
70 stty < /dev/cua${dc}${i}.init reprint undef
72 stty < /dev/tty${dc}${i}.lock clocal
[all …]
/NextBSD/sys/dev/dcons/
HDdcons.c48 dcons_ischar(struct dcons_softc *dc) in dcons_ischar() argument
53 ch = &dc->i; in dcons_ischar()
76 dcons_checkc(struct dcons_softc *dc) in dcons_checkc() argument
82 ch = &dc->i; in dcons_checkc()
112 dcons_putc(struct dcons_softc *dc, int c) in dcons_putc() argument
116 ch = &dc->o; in dcons_putc()
132 struct dcons_softc *dc; in dcons_init_port() local
134 dc = &sc[port]; in dcons_init_port()
138 dc->o.size = osize; in dcons_init_port()
139 dc->i.size = size - osize; in dcons_init_port()
[all …]
HDdcons_os.c144 dcons_check_break(struct dcons_softc *dc, int c) in dcons_check_break() argument
151 if ((dc->flags & DC_GDB) != 0 && gdb_cur == &dcons_gdb_dbgport) in dcons_check_break()
152 kdb_alt_break_gdb(c, &dc->brk_state); in dcons_check_break()
155 kdb_alt_break(c, &dc->brk_state); in dcons_check_break()
160 #define dcons_check_break(dc, c) (c) argument
164 dcons_os_checkc_nopoll(struct dcons_softc *dc) in dcons_os_checkc_nopoll() argument
171 c = dcons_check_break(dc, dcons_checkc(dc)); in dcons_os_checkc_nopoll()
180 dcons_os_checkc(struct dcons_softc *dc) in dcons_os_checkc() argument
183 return (dcons_os_checkc_nopoll(dc)); in dcons_os_checkc()
187 dcons_os_putc(struct dcons_softc *dc, int c) in dcons_os_putc() argument
[all …]
/NextBSD/crypto/openssl/crypto/evp/
HDnames.c155 struct doall_cipher *dc = arg; in do_all_cipher_fn() local
157 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
159 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
166 struct doall_cipher dc; in EVP_CIPHER_do_all() local
167 dc.fn = fn; in EVP_CIPHER_do_all()
168 dc.arg = arg; in EVP_CIPHER_do_all()
169 OBJ_NAME_do_all(OBJ_NAME_TYPE_CIPHER_METH, do_all_cipher_fn, &dc); in EVP_CIPHER_do_all()
176 struct doall_cipher dc; in EVP_CIPHER_do_all_sorted() local
177 dc.fn = fn; in EVP_CIPHER_do_all_sorted()
178 dc.arg = arg; in EVP_CIPHER_do_all_sorted()
[all …]
/NextBSD/contrib/binutils/libiberty/
HDcp-demangle.c235 #define d_left(dc) ((dc)->u.s_binary.left) argument
236 #define d_right(dc) ((dc)->u.s_binary.right) argument
476 d_dump (struct demangle_component *dc, int indent) in d_dump() argument
480 if (dc == NULL) in d_dump()
490 switch (dc->type) in d_dump()
493 printf ("name '%.*s'\n", dc->u.s_name.len, dc->u.s_name.s); in d_dump()
496 printf ("template parameter %ld\n", dc->u.s_number.number); in d_dump()
499 printf ("constructor %d\n", (int) dc->u.s_ctor.kind); in d_dump()
500 d_dump (dc->u.s_ctor.name, indent + 2); in d_dump()
503 printf ("destructor %d\n", (int) dc->u.s_dtor.kind); in d_dump()
[all …]
HDcp-demint.c188 struct demangle_component *dc; in cplus_demangle_v3_components() local
217 dc = cplus_demangle_mangled_name (&di, 1); in cplus_demangle_v3_components()
219 dc = cplus_demangle_type (&di); in cplus_demangle_v3_components()
224 dc = NULL; in cplus_demangle_v3_components()
228 if (dc != NULL) in cplus_demangle_v3_components()
233 return dc; in cplus_demangle_v3_components()
/NextBSD/contrib/gcclibs/libiberty/
HDcp-demangle.c203 #define d_left(dc) ((dc)->u.s_binary.left) argument
204 #define d_right(dc) ((dc)->u.s_binary.right) argument
434 d_dump (struct demangle_component *dc, int indent) in d_dump() argument
438 if (dc == NULL) in d_dump()
444 switch (dc->type) in d_dump()
447 printf ("name '%.*s'\n", dc->u.s_name.len, dc->u.s_name.s); in d_dump()
450 printf ("template parameter %ld\n", dc->u.s_number.number); in d_dump()
453 printf ("constructor %d\n", (int) dc->u.s_ctor.kind); in d_dump()
454 d_dump (dc->u.s_ctor.name, indent + 2); in d_dump()
457 printf ("destructor %d\n", (int) dc->u.s_dtor.kind); in d_dump()
[all …]
HDcp-demint.c188 struct demangle_component *dc; in cplus_demangle_v3_components() local
217 dc = cplus_demangle_mangled_name (&di, 1); in cplus_demangle_v3_components()
219 dc = cplus_demangle_type (&di); in cplus_demangle_v3_components()
224 dc = NULL; in cplus_demangle_v3_components()
228 if (dc != NULL) in cplus_demangle_v3_components()
233 return dc; in cplus_demangle_v3_components()
/NextBSD/sys/kern/
HDsubr_bus.c169 static void print_devclass_short(devclass_t dc, int indent);
170 static void print_devclass(devclass_t dc, int indent);
205 devclass_t dc = (devclass_t)arg1; in devclass_sysctl_handler() local
210 value = dc->parent ? dc->parent->name : ""; in devclass_sysctl_handler()
219 devclass_sysctl_init(devclass_t dc) in devclass_sysctl_init() argument
222 if (dc->sysctl_tree != NULL) in devclass_sysctl_init()
224 sysctl_ctx_init(&dc->sysctl_ctx); in devclass_sysctl_init()
225 dc->sysctl_tree = SYSCTL_ADD_NODE(&dc->sysctl_ctx, in devclass_sysctl_init()
226 SYSCTL_STATIC_CHILDREN(_dev), OID_AUTO, dc->name, in devclass_sysctl_init()
228 SYSCTL_ADD_PROC(&dc->sysctl_ctx, SYSCTL_CHILDREN(dc->sysctl_tree), in devclass_sysctl_init()
[all …]
/NextBSD/lib/libdispatch/src/
HDintrospection.c144 dispatch_continuation_t dc, unsigned long *type) in _dispatch_introspection_continuation_get_info() argument
146 void *ctxt = dc->dc_ctxt; in _dispatch_introspection_continuation_get_info()
147 dispatch_function_t func = dc->dc_func; in _dispatch_introspection_continuation_get_info()
150 long flags = (long)dc->do_vtable; in _dispatch_introspection_continuation_get_info()
152 waiter = pthread_from_mach_thread_np((mach_port_t)dc->dc_data); in _dispatch_introspection_continuation_get_info()
154 dc = dc->dc_ctxt; in _dispatch_introspection_continuation_get_info()
155 dq = dc->dc_data; in _dispatch_introspection_continuation_get_info()
157 ctxt = dc->dc_ctxt; in _dispatch_introspection_continuation_get_info()
158 func = dc->dc_func; in _dispatch_introspection_continuation_get_info()
161 dc = dc->dc_ctxt; in _dispatch_introspection_continuation_get_info()
[all …]
HDqueue.c54 dispatch_continuation_t dc, pthread_priority_t pp);
1821 dispatch_continuation_t dc; in _dispatch_force_cache_cleanup() local
1822 dc = _dispatch_thread_getspecific(dispatch_cache_key); in _dispatch_force_cache_cleanup()
1823 if (dc) { in _dispatch_force_cache_cleanup()
1825 _dispatch_cache_cleanup(dc); in _dispatch_force_cache_cleanup()
1833 dispatch_continuation_t dc, next_dc = value; in _dispatch_cache_cleanup() local
1835 while ((dc = next_dc)) { in _dispatch_cache_cleanup()
1836 next_dc = dc->do_next; in _dispatch_cache_cleanup()
1837 _dispatch_continuation_free_to_heap(dc); in _dispatch_cache_cleanup()
1846 _dispatch_continuation_free_to_cache_limit(dispatch_continuation_t dc) in _dispatch_continuation_free_to_cache_limit() argument
[all …]
HDinline_internal.h863 dispatch_continuation_t dc = (dispatch_continuation_t) in _dispatch_continuation_alloc_cacheonly() local
865 if (dc) { in _dispatch_continuation_alloc_cacheonly()
866 _dispatch_thread_setspecific(dispatch_cache_key, dc->do_next); in _dispatch_continuation_alloc_cacheonly()
868 return dc; in _dispatch_continuation_alloc_cacheonly()
875 dispatch_continuation_t dc = in _dispatch_continuation_alloc() local
877 if(!dc) { in _dispatch_continuation_alloc()
880 return dc; in _dispatch_continuation_alloc()
885 _dispatch_continuation_free_cacheonly(dispatch_continuation_t dc) in _dispatch_continuation_free_cacheonly() argument
892 return dc; in _dispatch_continuation_free_cacheonly()
894 dc->do_next = prev_dc; in _dispatch_continuation_free_cacheonly()
[all …]
HDvoucher_internal.h460 #define _dispatch_voucher_ktrace_dc_push(dc) \ argument
461 _dispatch_voucher_ktrace(0x1, (dc)->dc_voucher ? \
462 (dc)->dc_voucher->v_kvoucher : MACH_VOUCHER_NULL, (dc))
463 #define _dispatch_voucher_ktrace_dc_pop(dc) \ argument
464 _dispatch_voucher_ktrace(0x2, (dc)->dc_voucher ? \
465 (dc)->dc_voucher->v_kvoucher : MACH_VOUCHER_NULL, (dc))
473 #define _dispatch_voucher_ktrace_dc_push(dc) argument
474 #define _dispatch_voucher_ktrace_dc_pop(dc) argument
481 _dispatch_continuation_voucher_set(dispatch_continuation_t dc, in _dispatch_continuation_voucher_set() argument
484 unsigned long bits = (unsigned long)dc->do_vtable; in _dispatch_continuation_voucher_set()
[all …]
HDsource.c270 dispatch_continuation_t dc = _dispatch_continuation_alloc(); in _dispatch_source_handler_alloc() local
272 dc->do_vtable = (void *)((block ? DISPATCH_OBJ_BLOCK_RELEASE_BIT : in _dispatch_source_handler_alloc()
275 dc->dc_priority = 0; in _dispatch_source_handler_alloc()
276 dc->dc_voucher = NULL; in _dispatch_source_handler_alloc()
283 _dispatch_continuation_priority_set(dc, in _dispatch_source_handler_alloc()
287 dc->dc_func = _dispatch_call_block_and_release; in _dispatch_source_handler_alloc()
289 dc->dc_func = _dispatch_Block_invoke(handler); in _dispatch_source_handler_alloc()
291 dc->dc_ctxt = _dispatch_Block_copy(handler); in _dispatch_source_handler_alloc()
294 dc->dc_func = handler; in _dispatch_source_handler_alloc()
295 dc->dc_ctxt = ds->do_ctxt; in _dispatch_source_handler_alloc()
[all …]
HDtrace.h214 dispatch_continuation_t dc = dr->ds_handler[DS_EVENT_HANDLER]; in _dispatch_trace_timer_function() local
215 dispatch_function_t func = dc ? dc->dc_func : NULL; in _dispatch_trace_timer_function()
218 dc = ds->do_ctxt; in _dispatch_trace_timer_function()
219 func = dc->dc_func != _dispatch_call_block_and_release ? dc->dc_func : in _dispatch_trace_timer_function()
220 dc->dc_ctxt ? _dispatch_Block_invoke(dc->dc_ctxt) : NULL; in _dispatch_trace_timer_function()
/NextBSD/contrib/gcclibs/libdecnumber/
HDdecimal32.c81 decContext dc; /* .. */ in decimal32FromNumber() local
95 decContextDefault (&dc, DEC_INIT_DECIMAL32); /* [no traps] */ in decimal32FromNumber()
96 dc.round = set->round; /* use supplied rounding */ in decimal32FromNumber()
97 decNumberPlus (&dw, dn, &dc); /* (round and check) */ in decimal32FromNumber()
99 status |= dc.status; /* save status */ in decimal32FromNumber()
302 decContext dc; /* work */ in decimal32FromString() local
305 decContextDefault (&dc, DEC_INIT_DECIMAL32); /* no traps, please */ in decimal32FromString()
306 dc.round = set->round; /* use supplied rounding */ in decimal32FromString()
308 decNumberFromString (&dn, string, &dc); /* will round if needed */ in decimal32FromString()
309 decimal32FromNumber (result, &dn, &dc); in decimal32FromString()
[all …]
HDdecimal64.c81 decContext dc; /* .. */ in decimal64FromNumber() local
95 decContextDefault (&dc, DEC_INIT_DECIMAL64); /* [no traps] */ in decimal64FromNumber()
96 dc.round = set->round; /* use supplied rounding */ in decimal64FromNumber()
97 decNumberPlus (&dw, dn, &dc); /* (round and check) */ in decimal64FromNumber()
99 status |= dc.status; /* save status */ in decimal64FromNumber()
301 decContext dc; /* work */ in decimal64FromString() local
304 decContextDefault (&dc, DEC_INIT_DECIMAL64); /* no traps, please */ in decimal64FromString()
305 dc.round = set->round; /* use supplied rounding */ in decimal64FromString()
307 decNumberFromString (&dn, string, &dc); /* will round if needed */ in decimal64FromString()
309 decimal64FromNumber (result, &dn, &dc); in decimal64FromString()
[all …]
HDdecimal128.c81 decContext dc; /* .. */ in decimal128FromNumber() local
95 decContextDefault (&dc, DEC_INIT_DECIMAL128); /* [no traps] */ in decimal128FromNumber()
96 dc.round = set->round; /* use supplied rounding */ in decimal128FromNumber()
97 decNumberPlus (&dw, dn, &dc); /* (round and check) */ in decimal128FromNumber()
99 status |= dc.status; /* save status */ in decimal128FromNumber()
310 decContext dc; /* work */ in decimal128FromString() local
313 decContextDefault (&dc, DEC_INIT_DECIMAL128); /* no traps, please */ in decimal128FromString()
314 dc.round = set->round; /* use supplied rounding */ in decimal128FromString()
316 decNumberFromString (&dn, string, &dc); /* will round if needed */ in decimal128FromString()
317 decimal128FromNumber (result, &dn, &dc); in decimal128FromString()
[all …]
/NextBSD/gnu/usr.bin/rcs/lib/
HDrcssyn.c513 initdiffcmd(dc) in initdiffcmd() argument
514 register struct diffcmd *dc; in initdiffcmd()
517 dc->adprev = 0;
518 dc->dafter = 0;
536 getdiffcmd(finfile, delimiter, foutfile, dc) in getdiffcmd() argument
540 struct diffcmd *dc;
619 if (line1 < dc->adprev) {
622 dc->adprev = line1 + 1;
625 if (line1 < dc->adprev || line1 < dc->dafter) {
628 dc->adprev = line1;
[all …]
/NextBSD/tools/regression/include/tgmath/
HDtgmath.c170 double complex dc; variable
341 RUN_TEST(FNC(dc), double complex) && \
351 RUN_TEST(FNC(dc), double) && \
360 RUN_TEST(FNC(ldc, dc), long double complex) && \
366 RUN_TEST(FNC(dc, ldc), long double complex) && \
372 RUN_TEST(FNC(ld, dc), long double complex) && \
375 RUN_TEST(FNC(dc, 1.l), long double complex) && \
377 RUN_TEST(FNC(dc, dc), double complex) && \
378 RUN_TEST(FNC(dc, fc), double complex) && \
379 RUN_TEST(FNC(dc, d), double complex) && \
[all …]
/NextBSD/sys/fs/tmpfs/
HDtmpfs_subr.c743 tmpfs_dir_first(struct tmpfs_node *dnode, struct tmpfs_dir_cursor *dc) in tmpfs_dir_first() argument
748 dc->tdc_tree = de; in tmpfs_dir_first()
751 dc->tdc_current = de; in tmpfs_dir_first()
753 return (dc->tdc_current); in tmpfs_dir_first()
757 tmpfs_dir_next(struct tmpfs_node *dnode, struct tmpfs_dir_cursor *dc) in tmpfs_dir_next() argument
761 MPASS(dc->tdc_tree != NULL); in tmpfs_dir_next()
762 if (tmpfs_dirent_dup(dc->tdc_current)) { in tmpfs_dir_next()
763 dc->tdc_current = LIST_NEXT(dc->tdc_current, uh.td_dup.entries); in tmpfs_dir_next()
764 if (dc->tdc_current != NULL) in tmpfs_dir_next()
765 return (dc->tdc_current); in tmpfs_dir_next()
[all …]
/NextBSD/contrib/binutils/binutils/
HDresbin.c519 rc_dialog_control *dc; in bin_to_res_dialog() local
524 dc = (rc_dialog_control *) res_alloc (sizeof (rc_dialog_control)); in bin_to_res_dialog()
531 dc->style = windres_get_32 (wrbfd, data + off, 4); in bin_to_res_dialog()
532 dc->exstyle = windres_get_32 (wrbfd, data + off + 4, 4); in bin_to_res_dialog()
533 dc->help = 0; in bin_to_res_dialog()
540 dc->help = windres_get_32 (wrbfd, data + off, 4); in bin_to_res_dialog()
541 dc->exstyle = windres_get_32 (wrbfd, data + off + 4, 4); in bin_to_res_dialog()
542 dc->style = windres_get_32 (wrbfd, data + off + 8, 4); in bin_to_res_dialog()
549 dc->x = windres_get_16 (wrbfd, data + off, 2); in bin_to_res_dialog()
550 dc->y = windres_get_16 (wrbfd, data + off + 2, 2); in bin_to_res_dialog()
[all …]
/NextBSD/contrib/tcpdump/
HDprint-aodv.c268 u_int i, dc; in aodv_rerr() local
280 for (dc = ap->rerr_dc; dc != 0; dc--) { in aodv_rerr()
378 u_int i, dc; in aodv_v6_rerr() local
390 for (dc = ap->rerr_dc; dc != 0; dc--) { in aodv_v6_rerr()
491 u_int i, dc; in aodv_v6_draft_01_rerr() local
503 for (dc = ap->rerr_dc; dc != 0; dc--) { in aodv_v6_draft_01_rerr()
/NextBSD/contrib/flex/
HDmisc.c55 bool dc; /**< do_copy */ member
59 static void sko_push(bool dc) in sko_push() argument
74 sko_stack[sko_len].dc = dc; in sko_push()
77 static void sko_peek(bool *dc) in sko_peek() argument
81 if(dc) in sko_peek()
82 *dc = sko_stack[sko_len-1].dc; in sko_peek()
84 static void sko_pop(bool* dc) in sko_pop() argument
86 sko_peek(dc); in sko_pop()

123456789