/openbsd-current/sys/arch/macppc/dev/ |
H A D | zs.c | 194 struct zs_chanstate *cs; local 241 cs = &xcs->xzs_cs; 242 zsc->zsc_cs[channel] = cs; 244 cs->cs_channel = channel; 245 cs->cs_private = NULL; 246 cs->cs_ops = &zsops_null; 250 cs->cs_reg_csr = &zc->zc_csr; 251 cs->cs_reg_data = &zc->zc_data; 253 memcpy(cs->cs_creg, zs_init_reg, 16); 254 memcpy(cs 383 zsmdioctl(struct zs_chanstate *cs, u_long cmd, caddr_t data) argument 393 zsmd_setclock(struct zs_chanstate *cs) argument 473 struct zs_chanstate *cs; local 494 zs_dma_setup(struct zs_chanstate *cs, caddr_t pa, int len) argument 520 zs_get_speed(struct zs_chanstate *cs) argument 547 zs_set_speed(struct zs_chanstate *cs, int bps) argument 686 zs_set_modes(struct zs_chanstate *cs, int cflag) argument 773 zs_read_reg(struct zs_chanstate *cs, u_char reg) argument 785 zs_write_reg(struct zs_chanstate *cs, u_char reg, u_char val) argument 794 zs_read_csr(struct zs_chanstate *cs) argument 806 zs_write_csr(struct zs_chanstate *cs, u_char val) argument 814 zs_read_data(struct zs_chanstate *cs) argument 824 zs_write_data(struct zs_chanstate *cs, u_char val) argument 838 zs_enable(struct zs_chanstate *cs) argument 846 zs_disable(struct zs_chanstate *cs) argument [all...] |
/openbsd-current/lib/libc/regex/ |
H A D | regex2.h | 112 CHadd(cset *cs, char c) argument 114 cs->ptr[(uch)c] |= cs->mask; 115 cs->hash += c; 119 CHsub(cset *cs, char c) argument 121 cs->ptr[(uch)c] &= ~cs->mask; 122 cs->hash -= c; 126 CHIN(const cset *cs, char c) argument 128 return (cs [all...] |
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | control.c | 54 control_init(struct control_sock *cs) argument 60 if (cs->cs_name == NULL) 69 if (strlcpy(sun.sun_path, cs->cs_name, 71 log_warn("control_init: %s name too long", cs->cs_name); 76 if (unlink(cs->cs_name) == -1) 78 log_warn("control_init: unlink %s", cs->cs_name); 83 if (cs->cs_restricted) { 92 log_warn("control_init: bind: %s", cs->cs_name); 99 if (chmod(cs->cs_name, mode) == -1) { 102 (void)unlink(cs 113 control_listen(struct control_sock *cs) argument 132 control_cleanup(struct control_sock *cs) argument 151 struct control_sock *cs = (struct control_sock *)arg; local 215 control_close(int fd, struct control_sock *cs) argument 243 struct control_sock *cs = (struct control_sock *)arg; local [all...] |
/openbsd-current/gnu/gcc/gcc/ |
H A D | ipa-prop.c | 333 ipa_callsite_param_count (struct cgraph_edge *cs) argument 335 return IPA_EDGE_REF (cs)->ipa_param_num; 340 ipa_callsite_param_count_set (struct cgraph_edge *cs, int i) argument 342 IPA_EDGE_REF (cs)->ipa_param_num = i; 348 ipa_callsite_param (struct cgraph_edge *cs, int i) argument 350 return &(IPA_EDGE_REF (cs)->ipa_param_map[i]); 355 ipa_callsite_callee (struct cgraph_edge *cs) argument 357 return cs->callee; 363 ipa_callsite_param_set_type (struct cgraph_edge *cs, int i, argument 366 IPA_EDGE_REF (cs) 372 ipa_callsite_param_set_info_type_formal(struct cgraph_edge *cs, int i, unsigned int formal) argument 381 ipa_callsite_param_set_info_type(struct cgraph_edge *cs, int i, tree info_type1) argument 388 ipa_callsite_param_map_create(struct cgraph_edge *cs) argument 396 ipa_callsite_tree(struct cgraph_edge *cs) argument 403 ipa_callsite_caller(struct cgraph_edge *cs) argument 411 ipa_callsite_compute_count(struct cgraph_edge *cs) argument 431 ipa_callsite_compute_param(struct cgraph_edge *cs) argument 536 struct cgraph_edge *cs; local 561 struct cgraph_edge *cs; local 576 struct cgraph_edge *cs; local [all...] |
H A D | ipa-cp.c | 497 struct cgraph_edge *cs; local 501 for (cs = node->callers; cs != NULL; cs = cs->next_caller) 502 sum += cs->count; 517 struct cgraph_edge *cs; local 530 for (cs = node->callees; cs; cs 579 struct cgraph_edge *cs; local 641 struct cgraph_edge *cs; local 714 struct cgraph_edge *cs; local 889 ipcp_redirect(struct cgraph_edge *cs) argument 923 struct cgraph_edge *cs; local 976 struct cgraph_edge *cs; local 1010 struct cgraph_edge *cs; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | deduct5.C | 20 static int const cs = 1; local 25 Foo (&cs);
|
/openbsd-current/sys/net/ |
H A D | slcompress.c | 169 struct cstate *cs = comp->last_cs->cs_next; local 198 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 199 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || 200 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { 217 lcs = cs; cs = cs->cs_next; 219 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr 220 && ip->ip_dst.s_addr == cs 469 struct cstate *cs; local [all...] |
/openbsd-current/usr.sbin/httpd/ |
H A D | control.c | 43 control_init(struct privsep *ps, struct control_sock *cs) argument 50 if (cs->cs_name == NULL) 59 if (strlcpy(sun.sun_path, cs->cs_name, 61 log_warn("%s: %s name too long", __func__, cs->cs_name); 66 if (unlink(cs->cs_name) == -1) 68 log_warn("%s: unlink %s", __func__, cs->cs_name); 73 if (cs->cs_restricted) { 82 log_warn("%s: bind: %s", __func__, cs->cs_name); 89 if (chmod(cs->cs_name, mode) == -1) { 92 (void)unlink(cs 103 control_listen(struct control_sock *cs) argument 122 control_cleanup(struct control_sock *cs) argument 137 struct control_sock *cs = arg; local 192 control_close(int fd, struct control_sock *cs) argument 219 struct control_sock *cs = arg; local [all...] |
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | z8530kbd.c | 274 struct zs_chanstate *cs; local 288 cs = zsc->zsc_cs[channel]; 289 cs->cs_private = zst; 290 cs->cs_ops = &zsops_kbd; 292 zst->zst_cs = cs; 325 if (!cs->enable) 326 cs->enabled = 1; 342 zs_write_reg(cs, 9, reset); 354 SET(cs->cs_preg[1], ZSWR1_RIE | ZSWR1_SIE); 355 zs_write_reg(cs, 405 struct zs_chanstate *cs = zst->zst_cs; local 592 struct zs_chanstate *cs = zst->zst_cs; local 632 struct zs_chanstate *cs = zst->zst_cs; local 658 struct zs_chanstate *cs = zst->zst_cs; local 685 struct zs_chanstate *cs = zst->zst_cs; local 714 zskbd_rxint(struct zs_chanstate *cs) argument 789 zskbd_txint(struct zs_chanstate *cs) argument 829 zskbd_stint(struct zs_chanstate *cs, int force) argument 890 struct zs_chanstate *cs = zst->zst_cs; local 967 struct zs_chanstate *cs = zst->zst_cs; local 999 zskbd_softint(struct zs_chanstate *cs) argument [all...] |
/openbsd-current/sys/dev/ic/ |
H A D | z8530tty.c | 265 struct zs_chanstate *cs; local 277 cs = zsc->zsc_cs[channel]; 278 cs->cs_private = zst; 279 cs->cs_ops = &zsops_tty; 281 zst->zst_cs = cs; 343 if (!cs->enable) 344 cs->enabled = 1; 360 t.c_ospeed = cs->cs_defspeed; 361 t.c_cflag = cs->cs_defcflag; 371 SET(cs 409 struct zs_chanstate *cs = zst->zst_cs; local 461 struct zs_chanstate *cs; local 689 struct zs_chanstate *cs = zst->zst_cs; local 741 struct zs_chanstate *cs = zst->zst_cs; local 821 struct zs_chanstate *cs = zst->zst_cs; local 893 struct zs_chanstate *cs = zst->zst_cs; local 1070 struct zs_chanstate *cs = zst->zst_cs; local 1097 struct zs_chanstate *cs = zst->zst_cs, *ccs; local 1126 struct zs_chanstate *cs = zst->zst_cs, *ccs; local 1169 struct zs_chanstate *cs = zst->zst_cs, *ccs; local 1200 struct zs_chanstate *cs = zst->zst_cs; local 1234 struct zs_chanstate *cs = zst->zst_cs, *ccs; local 1266 zstty_rxint(struct zs_chanstate *cs) argument 1342 zstty_txint(struct zs_chanstate *cs) argument 1391 zstty_stint(struct zs_chanstate *cs, int force) argument 1459 struct zs_chanstate *cs = zst->zst_cs; local 1572 struct zs_chanstate *cs = zst->zst_cs; local 1613 zstty_softint(struct zs_chanstate *cs) argument [all...] |
/openbsd-current/sys/dev/pci/drm/i915/gt/ |
H A D | intel_migrate.c | 336 u32 *cs; local 338 cs = intel_ring_begin(rq, 2); 339 if (IS_ERR(cs)) 340 return PTR_ERR(cs); 343 *cs++ = MI_ARB_ON_OFF; 344 *cs++ = MI_NOOP; 345 intel_ring_advance(rq, cs); 376 u32 *hdr, *cs; local 403 cs = intel_ring_begin(rq, I915_EMIT_PTE_NUM_DWORDS); 404 if (IS_ERR(cs)) 537 u32 *cs; local 586 u32 *cs; local 924 u32 *cs; local [all...] |
H A D | gen6_engine_cs.h | 19 u32 *gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs); 20 u32 *gen6_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs); 23 u32 *gen7_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs); 24 u32 *gen7_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs);
|
/openbsd-current/regress/sys/kern/sosplice/loop/ |
H A D | bcast.pl | 56 my $cs = IO::Socket::IP->new( 65 my $peer = $cs->sockname(); 75 setsplice($as, $cs) 77 setsplice($cs, $as) 82 $cs->send($msg, 0) 97 defined $cs->recv($buf, 100, 0) 101 $! = geterror($cs)
|
H A D | chain.pl | 64 my (@cs, @as); 66 my $cs = IO::Socket::IP->new( 95 setsplice($as[-1], $cs) 98 push @cs, $cs; 104 $cs[0]->send($msg, 0)
|
/openbsd-current/usr.bin/vi/vi/ |
H A D | v_match.c | 36 VCS cs; local 99 cs.cs_lno = vp->m_start.lno; 100 cs.cs_cno = off; 101 if (cs_init(sp, &cs)) 104 if (gc(sp, &cs)) 106 if (cs.cs_flags != 0) { 107 if (cs.cs_flags == CS_EOF || cs.cs_flags == CS_SOF) 111 if (cs.cs_ch == startc) 113 else if (cs [all...] |
/openbsd-current/sbin/iked/ |
H A D | control.c | 78 control_init(struct privsep *ps, struct control_sock *cs) argument 85 if (cs->cs_name == NULL) 94 if (strlcpy(s_un.sun_path, cs->cs_name, 96 log_warn("%s: %s name too long", __func__, cs->cs_name); 101 if (unlink(cs->cs_name) == -1) 103 log_warn("%s: unlink %s", __func__, cs->cs_name); 108 if (cs->cs_restricted) { 117 log_warn("%s: bind: %s", __func__, cs->cs_name); 124 if (chmod(cs->cs_name, mode) == -1) { 127 (void)unlink(cs 138 control_listen(struct control_sock *cs) argument 159 struct control_sock *cs = arg; local 225 control_close(int fd, struct control_sock *cs) argument 252 struct control_sock *cs = arg; local [all...] |
/openbsd-current/usr.bin/bc/ |
H A D | bc.y | 72 static ssize_t cs(const char *); 202 $$ = cs(""); 214 $$ = cs(""); 232 $$ = cs(""); 239 $$ = node($1, cs("ps."), END_NODE); 244 $$ = node($3, cs($2), $1.store, 247 $$ = node($1.load, $3, cs($2), $1.store, 252 $$ = node(cs("["), as($1), 253 cs("]P"), END_NODE); 264 cs(" [all...] |
/openbsd-current/usr.sbin/vmd/ |
H A D | control.c | 179 control_init(struct privsep *ps, struct control_sock *cs) argument 185 if (cs->cs_name == NULL) 194 if (strlcpy(sun.sun_path, cs->cs_name, 196 log_warn("%s: %s name too long", __func__, cs->cs_name); 201 if (unlink(cs->cs_name) == -1) 203 log_warn("%s: unlink %s", __func__, cs->cs_name); 208 if (cs->cs_restricted) { 217 log_warn("%s: bind: %s", __func__, cs->cs_name); 224 if (chmod(cs->cs_name, mode) == -1) { 227 (void)unlink(cs 240 control_reset(struct control_sock *cs) argument 250 control_listen(struct control_sock *cs) argument 271 struct control_sock *cs = arg; local 338 control_close(int fd, struct control_sock *cs) argument 374 struct control_sock *cs = arg; local [all...] |
/openbsd-current/regress/sys/kern/sosplice/ |
H A D | Relay.pm | 112 my $cs = IO::Socket->new( 117 setsockopt($cs, SOL_SOCKET, SO_OOBINLINE, pack('i', 1)) 121 setsockopt($cs, SOL_SOCKET, SO_SNDBUF, 126 setsockopt($cs, SOL_SOCKET, SO_RCVBUF, 131 setsockopt($cs, IPPROTO_TCP, TCP_NODELAY, pack('i', 1)) 135 $cs->blocking(0) 140 $cs->connect($rres[3]) || $!{EINPROGRESS} 142 print STDERR "connect sock: ",$cs->sockhost()," ",$cs->sockport(),"\n"; 143 print STDERR "connect peer: ",$cs [all...] |
/openbsd-current/usr.sbin/relayd/ |
H A D | control.c | 43 control_init(struct privsep *ps, struct control_sock *cs) argument 50 if (cs->cs_name == NULL) 59 if (strlcpy(sun.sun_path, cs->cs_name, 61 log_warn("%s: %s name too long", __func__, cs->cs_name); 66 if (unlink(cs->cs_name) == -1) 68 log_warn("%s: unlink %s", __func__, cs->cs_name); 73 if (cs->cs_restricted) { 82 log_warn("%s: bind: %s", __func__, cs->cs_name); 89 if (chmod(cs->cs_name, mode) == -1) { 92 (void)unlink(cs 103 control_listen(struct control_sock *cs) argument 122 control_cleanup(struct control_sock *cs) argument 137 struct control_sock *cs = arg; local 192 control_close(int fd, struct control_sock *cs) argument 219 struct control_sock *cs = arg; local [all...] |
/openbsd-current/sys/dev/pci/drm/i915/selftests/ |
H A D | i915_perf.c | 163 u32 *cs; local 166 cs = intel_ring_begin(rq, 6); 167 if (IS_ERR(cs)) 168 return PTR_ERR(cs); 174 *cs++ = GFX_OP_PIPE_CONTROL(len); 175 *cs++ = PIPE_CONTROL_GLOBAL_GTT_IVB | 178 *cs++ = slot * sizeof(u32); 179 *cs++ = 0; 180 *cs++ = 0; 181 *cs 295 u32 *cs, *store; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | charset.c | 194 register_charset (struct charset *cs) 203 cs->next = 0; 204 *ptr = cs; 211 struct charset *cs; 213 for (cs = all_charsets; cs; cs = cs->next) 214 if (! strcmp (name, cs->name)) 215 return cs; 191 register_charset(struct charset *cs) argument 208 struct charset *cs; local 261 struct charset *cs = xmalloc (sizeof (*cs)); local 923 struct charset *cs = lookup_charset (name); local 932 check_valid_host_charset(struct charset *cs) argument 1030 struct charset *cs = lookup_charset_or_error (charset); local 1039 struct charset *cs = lookup_charset_or_error (charset); local 1052 struct charset *cs = lookup_charset_or_error (host_charset_name); local [all...] |
H A D | coffread.c | 5 Contributed by David D. Johnson, Brown University (ddj@cs.brown.edu). 265 cs_to_section (struct coff_symbol *cs, struct objfile *objfile) 271 args.targ_index = cs->c_secnum; 293 cs_section_address (struct coff_symbol *cs, bfd *abfd) 299 args.targ_index = cs->c_secnum; 688 struct coff_symbol *cs = &coff_symbol; 750 read_one_sym (cs, &main_sym, &main_aux); 752 if (cs->c_symnum == next_file_symnum && cs->c_sclass != C_FILE) 763 if (!last_source_file && SDB_TYPE (cs 264 cs_to_section(struct coff_symbol *cs, struct objfile *objfile) argument 292 cs_section_address(struct coff_symbol *cs, bfd *abfd) argument 683 struct coff_symbol *cs = &coff_symbol; local 1114 read_one_sym(struct coff_symbol *cs, struct internal_syment *sym, union internal_auxent *aux) argument 1471 process_coff_symbol(struct coff_symbol *cs, union internal_auxent *aux, struct objfile *objfile) argument 1690 decode_type(struct coff_symbol *cs, unsigned int c_type, union internal_auxent *aux) argument 1771 decode_function_type(struct coff_symbol *cs, unsigned int c_type, union internal_auxent *aux) argument 1783 decode_base_type(struct coff_symbol *cs, unsigned int c_type, union internal_auxent *aux) argument [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Compress/t/compress/ |
H A D | encode.pl | 80 my $cs = $CompressClass->can('new')->( $CompressClass, $output, AutoClose =>1); 81 $cs->print($encString); 82 $cs->close(); 111 my $cs = $CompressClass->can('new')->( $CompressClass, \$out); 113 eval { $cs->syswrite($a) }; 122 eval { my $cs = $CompressClass->can('new')->( $CompressClass, \$output, Encode => 'fred'); } ; 152 my $cs = $CompressClass->can('new')->( $CompressClass, $output, AutoClose =>1, Encode => 'utf8'); 153 ok $cs->print($string); 154 ok $cs->close();
|
/openbsd-current/usr.bin/tmux/ |
H A D | control.c | 204 control_free_sub(struct control_state *cs, struct control_sub *csub) argument 219 RB_REMOVE(control_subs, &cs->subs, csub); 227 control_free_block(struct control_state *cs, struct control_block *cb) argument 230 TAILQ_REMOVE(&cs->all_blocks, cb, all_entry); 238 struct control_state *cs = c->control_state; local 241 return (RB_FIND(control_panes, &cs->panes, &cp)); 248 struct control_state *cs = c->control_state; local 257 RB_INSERT(control_panes, &cs->panes, cp); 270 struct control_state *cs = c->control_state; local 275 control_free_block(cs, c 298 struct control_state *cs = c->control_state; local 314 struct control_state *cs = c->control_state; local 392 struct control_state *cs = c->control_state; local 409 struct control_state *cs = c->control_state; local 471 struct control_state *cs = c->control_state; local 551 struct control_state *cs = c->control_state; local 582 struct control_state *cs = c->control_state; local 593 struct control_state *cs = c->control_state; local 646 struct control_state *cs = c->control_state; local 660 struct control_state *cs = c->control_state; local 726 struct control_state *cs = c->control_state; local 762 struct control_state *cs; local 810 struct control_state *cs = c->control_state; local 822 struct control_state *cs = c->control_state; local 1049 struct control_state *cs = c->control_state; local 1082 struct control_state *cs = c->control_state; local 1110 struct control_state *cs = c->control_state; local [all...] |