/openbsd/sys/dev/pci/drm/i915/gt/ |
H A D | intel_engine_regs.h | 11 #define RING_EXCC(base) _MMIO((base) + 0x28) argument 12 #define RING_TAIL(base) _MMIO((base) + 0x30) argument 14 #define RING_HEAD(base) _MMIO((base) + 0x34) argument 18 #define RING_START(base) _MMIO((base) + 0x38) argument 19 #define RING_CTL(base) _MMIO((base) + 0x3c) argument 32 #define RING_SYNC_0(base) _MMIO((base) + 0x40) argument 33 #define RING_SYNC_1(base) _MMIO((base) + 0x44) argument 34 #define RING_SYNC_2(base) _MMIO((base) + 0x48) argument 68 #define IPEIR(base) _MMIO((base) + 0x88) argument 69 #define IPEHR(base) _MMIO((base) + 0x8c) argument [all …]
|
/openbsd/sys/dev/ic/ |
H A D | i82596reg.h | 93 #define IE_SCP_BUS_USE(base) ((base) + 2) argument 94 #define IE_SCP_TEST(base) ((base) + 4) argument 95 #define IE_SCP_ISCP(base) ((base) + 8) argument 116 #define IE_ISCP_BUSY(base) ((base) + 0) argument 117 #define IE_ISCP_SCB(base) ((base) + 2) argument 118 #define IE_ISCP_BASE(base) ((base) + 4) argument 148 #define IE_SCB_STATUS(base) ((base) + 0) argument 149 #define IE_SCB_CMD(base) ((base) + 2) argument 150 #define IE_SCB_CMDLST(base) ((base) + 4) argument 151 #define IE_SCB_RCVLST(base) ((base) + 6) argument [all …]
|
/openbsd/usr.sbin/radiusd/ |
H A D | radiusd_module.c | 117 event_set(&base->ev, base->ibuf.fd, EV_READ, module_on_event, base); in module_start() 142 free(base); in module_destroy() 508 memcpy(base->radpkt + base->radpktoff, in module_imsg_handler() 522 base->radpkt, base->radpktoff); in module_imsg_handler() 525 base->radpkt, base->radpktoff); in module_imsg_handler() 528 if (base->radpktoff > base->radpkt2siz) { in module_imsg_handler() 538 base->radpkt2siz = base->radpktoff; in module_imsg_handler() 540 memcpy(base->radpkt2, base->radpkt, base->radpktoff); in module_imsg_handler() 541 base->radpkt2len = base->radpktoff; in module_imsg_handler() 544 base->radpkt2, base->radpkt2len, base->radpkt, in module_imsg_handler() [all …]
|
/openbsd/lib/libevent/ |
H A D | event.c | 119 gettime(base, &base->event_tv); in event_base_new() 130 base->evbase = base->evsel->init(base); in event_base_new() 158 assert(base); in event_base_free() 189 base->evsel->dealloc(base, base->evbase); in event_base_free() 203 free(base); in event_base_free() 228 event_queue_remove(base, &base->sig.ev_signal, in event_reinit() 231 event_queue_remove(base, &base->sig.ev_signal, in event_reinit() 237 base->evsel->dealloc(base, base->evbase); in event_reinit() 238 evbase = base->evbase = evsel->init(base); in event_reinit() 469 gettime(base, &base->event_tv); in event_base_loop() [all …]
|
H A D | signal.c | 83 base->sig.sh_old = NULL; in evsignal_init() 84 base->sig.sh_old_max = 0; in evsignal_init() 85 base->sig.evsignal_caught = 0; in evsignal_init() 91 event_set(&base->sig.ev_signal, base->sig.ev_signal_pair[1], in evsignal_init() 93 base->sig.ev_signal.ev_base = base; in evsignal_init() 171 evsignal_base = base; in evsignal_add() 280 if (i < base->sig.sh_old_max && base->sig.sh_old[i] != NULL) in evsignal_dealloc() 292 base->sig.sh_old_max = 0; in evsignal_dealloc() 295 if (base->sig.sh_old) { in evsignal_dealloc() 296 free(base->sig.sh_old); in evsignal_dealloc() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/fixinc/ |
H A D | fixinc.svr4 | 359 rm -f /tmp/$base /tmp/$base.sed 395 rm -f /tmp/$base /tmp/$base.sed 433 rm -f /tmp/$base /tmp/$base.sed 467 rm -f /tmp/$base /tmp/$base.sed 534 rm -f /tmp/$base /tmp/$base.sed 566 rm -f /tmp/$base /tmp/$base.sed 606 rm -f /tmp/$base /tmp/$base.sed 637 rm -f /tmp/$base /tmp/$base.sed 664 /tmp/$base > /tmp/$base.sed 706 rm -f /tmp/$base /tmp/$base.sed [all …]
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_auth.c | 78 strlcpy(base->name, name, sizeof(base->name)); in npppd_auth_create() 81 return base; in npppd_auth_create() 90 strlcpy(base->name, name, sizeof(base->name)); in npppd_auth_create() 99 return base; in npppd_auth_create() 107 free(base); in npppd_auth_create() 134 base->disposing = 1; in npppd_auth_dispose() 149 switch(base->type) { in npppd_auth_destroy() 169 free(base); in npppd_auth_destroy() 385 return base->type; in npppd_auth_get_type() 391 return (base->initialized != 0 && base->disposing == 0)? 1 : 0; in npppd_auth_is_usable() [all …]
|
/openbsd/usr.sbin/nsd/ |
H A D | mini_event.c | 91 *base->time_secs = (time_t)base->time_tv->tv_sec; in settime() 102 if(!base) in event_init() 104 memset(base, 0, sizeof(*base)); in event_init() 107 free(base); in event_init() 116 base->times = rbtree_create(base->region, mini_ev_cmp); in event_init() 141 return base; in event_init() 226 if(!base->fds[i] || !(FD_ISSET(i, &base->ready))) { in handle_select() 239 (*base->fds[i]->ev_callback)(base->fds[i]->ev_fd, in handle_select() 256 if(handle_timeouts(base, base->time_tv, &wait)) in event_base_loop() 279 (void)handle_timeouts(base, base->time_tv, &wait); in event_base_dispatch() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dce80/ |
H A D | dce80_resource.c | 513 return &tg110->base; in dce80_timing_generator_create() 528 return &opp->base; in dce80_opp_create() 611 return &enc110->base; in dce80_stream_encoder_create() 687 return &dce_mi->base; in dce80_mem_input_create() 739 return &enc110->base; in dce80_link_encoder_create() 801 return &ipp->base; in dce80_ipp_create() 1045 if (!pool->base.irqs) in dce80_construct() 1143 return &pool->base; in dce80_create_resource_pool() 1245 if (!pool->base.irqs) in dce81_construct() 1343 return &pool->base; in dce81_create_resource_pool() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dce60/ |
H A D | dce60_resource.c | 506 return &tg110->base; in dce60_timing_generator_create() 521 return &opp->base; in dce60_opp_create() 604 return &enc110->base; in dce60_stream_encoder_create() 680 return &dce_mi->base; in dce60_mem_input_create() 732 return &enc110->base; in dce60_link_encoder_create() 794 return &ipp->base; in dce60_ipp_create() 1031 if (!pool->base.irqs) in dce60_construct() 1129 return &pool->base; in dce60_create_resource_pool() 1229 if (!pool->base.irqs) in dce61_construct() 1327 return &pool->base; in dce61_create_resource_pool() [all …]
|
/openbsd/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/t/ |
H A D | 04-base.t | 19 my ( $base, $phony, $cwd ); 22 $base = ExtUtils::CBuilder::Base->new(); 33 is( $base->{config}->{cc}, $phony, 43 is( $base->{config}->{cc}, $phony, 106 $base->cleanup(); 122 $base->compile(foo => 'bar'); 208 my %exp = map {$_ => 1} $base->split_like_shell($base->{config}{lddlflags}); 252 $rv = $base->perl_src(); 260 $rv = $base->perl_src(); 268 $rv = $base->perl_src(); [all …]
|
/openbsd/sbin/unwind/libunbound/util/ |
H A D | mini_event.c | 82 *base->time_secs = (time_t)base->time_tv->tv_sec; in settime() 92 if(!base) in event_init() 94 memset(base, 0, sizeof(*base)); in event_init() 111 base->fds = (struct event**)calloc((size_t)base->capfd, in event_init() 126 return base; in event_init() 189 memmove(&base->ready, &base->content, sizeof(fd_set)); in handle_select() 205 if(!base->fds[i] || !(FD_ISSET(i, &base->ready))) { in handle_select() 220 (*base->fds[i]->ev_callback)(base->fds[i]->ev_fd, in handle_select() 238 handle_timeouts(base, base->time_tv, &wait); in event_base_dispatch() 262 if(!base) in event_base_free() [all …]
|
H A D | ub_event_pluggable.c | 253 event_base_free(AS_MY_EVENT_BASE(base)->base); in my_event_base_free() 258 event_base_free(AS_MY_EVENT_BASE(base)->base); in my_event_base_free() 336 (void)base; in my_winsock_register_wsaevent() 394 (void)base; in ub_libevent_event_base() 404 my_base->base = base; in ub_libevent_event_base() 414 return AS_MY_EVENT_BASE(base)->base; in ub_libevent_get_event_base() 478 if (base && base->magic == UB_EVENT_MAGIC) { in ub_event_base_free() 481 (*base->vmt->free)(base); in ub_event_base_free() 491 return (*base->vmt->dispatch)(base); in ub_event_base_dispatch() 502 return (*base->vmt->loopexit)(base, NULL); in ub_event_base_loopexit() [all …]
|
/openbsd/usr.sbin/unbound/util/ |
H A D | mini_event.c | 82 *base->time_secs = (time_t)base->time_tv->tv_sec; in settime() 92 if(!base) in event_init() 94 memset(base, 0, sizeof(*base)); in event_init() 111 base->fds = (struct event**)calloc((size_t)base->capfd, in event_init() 126 return base; in event_init() 189 memmove(&base->ready, &base->content, sizeof(fd_set)); in handle_select() 205 if(!base->fds[i] || !(FD_ISSET(i, &base->ready))) { in handle_select() 220 (*base->fds[i]->ev_callback)(base->fds[i]->ev_fd, in handle_select() 238 handle_timeouts(base, base->time_tv, &wait); in event_base_dispatch() 262 if(!base) in event_base_free() [all …]
|
H A D | ub_event_pluggable.c | 253 event_base_free(AS_MY_EVENT_BASE(base)->base); in my_event_base_free() 258 event_base_free(AS_MY_EVENT_BASE(base)->base); in my_event_base_free() 336 (void)base; in my_winsock_register_wsaevent() 394 (void)base; in ub_libevent_event_base() 404 my_base->base = base; in ub_libevent_event_base() 414 return AS_MY_EVENT_BASE(base)->base; in ub_libevent_get_event_base() 478 if (base && base->magic == UB_EVENT_MAGIC) { in ub_event_base_free() 481 (*base->vmt->free)(base); in ub_event_base_free() 491 return (*base->vmt->dispatch)(base); in ub_event_base_dispatch() 502 return (*base->vmt->loopexit)(base, NULL); in ub_event_base_loopexit() [all …]
|
/openbsd/lib/libssl/ |
H A D | bs_cbb.c | 34 base->buf = buf; in cbb_init() 35 base->len = 0; in cbb_init() 36 base->cap = cap; in cbb_init() 39 cbb->base = base; in cbb_init() 82 if (cbb->base) { in CBB_cleanup() 84 freezero(cbb->base->buf, cbb->base->cap); in CBB_cleanup() 85 free(cbb->base); in CBB_cleanup() 114 newbuf = recallocarray(base->buf, base->cap, newcap, 1); in cbb_buffer_add() 123 *out = base->buf + base->len; in cbb_buffer_add() 305 out_contents->base = cbb->base; in cbb_add_length_prefixed() [all …]
|
/openbsd/lib/libcrypto/bytestring/ |
H A D | bs_cbb.c | 34 base->buf = buf; in cbb_init() 35 base->len = 0; in cbb_init() 36 base->cap = cap; in cbb_init() 39 cbb->base = base; in cbb_init() 82 if (cbb->base) { in CBB_cleanup() 84 freezero(cbb->base->buf, cbb->base->cap); in CBB_cleanup() 85 free(cbb->base); in CBB_cleanup() 114 newbuf = recallocarray(base->buf, base->cap, newcap, 1); in cbb_buffer_add() 123 *out = base->buf + base->len; in cbb_buffer_add() 305 out_contents->base = cbb->base; in cbb_add_length_prefixed() [all …]
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | make-temp-file.c | 69 if (base != 0) in try_dir() 70 return base; in try_dir() 106 base = try_dir (getenv ("TMPDIR"), base); in choose_tmpdir() 107 base = try_dir (getenv ("TMP"), base); in choose_tmpdir() 108 base = try_dir (getenv ("TEMP"), base); in choose_tmpdir() 111 base = try_dir (P_tmpdir, base); in choose_tmpdir() 115 base = try_dir (vartmp, base); in choose_tmpdir() 116 base = try_dir (usrtmp, base); in choose_tmpdir() 117 base = try_dir (tmp, base); in choose_tmpdir() 120 if (base == 0) in choose_tmpdir() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | vec.h | 474 VEC(T,B) base; \ 491 VEC_T(T,base); \ 496 VEC_TA_GTY(T,base,A,); \ 512 VEC_T_GTY(T,base); \ 517 VEC_TA_GTY(T,base,A,); \ 523 static inline unsigned VEC_OP (T,base,length) (const VEC(T,base) *vec_) \ 591 static inline T VEC_OP (T,base,pop) (VEC(T,base) *vec_ VEC_CHECK_DECL) \ 798 VEC_T_GTY(T,base); \ 809 static inline unsigned VEC_OP (T,base,length) (const VEC(T,base) *vec_) \ 814 static inline T *VEC_OP (T,base,last) (VEC(T,base) *vec_ VEC_CHECK_DECL) \ [all …]
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | i915_perf_oa_regs.h | 100 #define GEN12_OACTXCONTROL(base) _MMIO((base) + 0x360) argument 172 #define GEN12_OAM_MMIO_TRG(base) \ argument 179 #define GEN12_OAM_BUFFER(base) \ argument 183 #define GEN12_OAM_CONTROL(base) \ argument 185 #define GEN12_OAM_DEBUG(base) \ argument 187 #define GEN12_OAM_STATUS(base) \ argument 192 #define GEN12_OAM_CEC0_0(base) \ argument 194 #define GEN12_OAM_CEC7_1(base) \ argument 199 #define GEN12_OAM_STARTTRIG1(base) \ argument 201 #define GEN12_OAM_STARTTRIG8(base) \ argument [all …]
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_modeset_setup.c | 62 crtc->base.base.id, crtc->base.name); in intel_crtc_disable_noatomic_begin() 88 crtc->base.base.id, crtc->base.name); in intel_crtc_disable_noatomic_begin() 377 plane->base.base.id, plane->base.name); in intel_sanitize_plane_mapping() 589 encoder->base.base.id, in intel_sanitize_encoder() 606 encoder->base.base.id, in intel_sanitize_encoder() 664 plane->base.base.id, plane->base.name, in readout_plane_state() 711 crtc->base.base.id, crtc->base.name, in intel_modeset_readout_hw_state() 729 encoder->base.crtc = &crtc->base; in intel_modeset_readout_hw_state() 764 encoder->base.base.id, encoder->base.name, in intel_modeset_readout_hw_state() 802 connector->base.base.id, connector->base.name, in intel_modeset_readout_hw_state() [all …]
|
/openbsd/usr.bin/dig/lib/isc/ |
H A D | base32.c | 50 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */ in base32_totext() 52 buf[1] = base[(source->base[0]<<2)&0x1c]; in base32_totext() 58 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */ in base32_totext() 60 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */ in base32_totext() 62 buf[3] = base[(source->base[1]<<4)&0x10]; in base32_totext() 67 buf[3] = base[((source->base[1]<<4)&0x10)| /* 1 = 8 */ in base32_totext() 70 buf[4] = base[(source->base[2]<<1)&0x1e]; in base32_totext() 77 buf[5] = base[((source->base[3]>>2)&0x1f)]; /* 5 + */ in base32_totext() 79 buf[6] = base[(source->base[3]<<3)&0x18]; in base32_totext() 86 buf[7] = base[source->base[4]&0x1f]; /* 5 = 8 */ in base32_totext() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn321/ |
H A D | dcn321_dio_link_encoder.c | 43 enc10->base.ctx 45 enc10->base.ctx->logger 110 enc10->base.funcs = &dcn321_link_enc_funcs; in dcn321_link_encoder_construct() 111 enc10->base.ctx = init_data->ctx; in dcn321_link_encoder_construct() 112 enc10->base.id = init_data->encoder; in dcn321_link_encoder_construct() 114 enc10->base.hpd_source = init_data->hpd_source; in dcn321_link_encoder_construct() 115 enc10->base.connector = init_data->connector; in dcn321_link_encoder_construct() 122 enc10->base.features = *enc_features; in dcn321_link_encoder_construct() 135 enc10->base.output_signals = in dcn321_link_encoder_construct() 150 switch (enc10->base.transmitter) { in dcn321_link_encoder_construct() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_link_encoder.c | 38 enc10->base.ctx 40 enc10->base.ctx->logger 106 enc10->base.funcs = &dcn30_link_enc_funcs; in dcn30_link_encoder_construct() 107 enc10->base.ctx = init_data->ctx; in dcn30_link_encoder_construct() 108 enc10->base.id = init_data->encoder; in dcn30_link_encoder_construct() 110 enc10->base.hpd_source = init_data->hpd_source; in dcn30_link_encoder_construct() 111 enc10->base.connector = init_data->connector; in dcn30_link_encoder_construct() 115 enc10->base.features = *enc_features; in dcn30_link_encoder_construct() 128 enc10->base.output_signals = in dcn30_link_encoder_construct() 154 switch (enc10->base.transmitter) { in dcn30_link_encoder_construct() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
H A D | base.t | 15 my $base = TAP::Base->new(); 16 isa_ok $base, 'TAP::Base', 'object of correct type'; 18 can_ok $base, $method; 22 $base->callback( 30 my $cb = $base->_callback_for('some_event'); 38 my $base = TAP::Base->new( 68 my $base = CallbackOK->new(); 69 isa_ok $base, 'TAP::Base'; 72 $base->callback( 116 my $base = CallbackOK->new( [all …]
|