| /openbsd/src/sys/dev/pci/drm/i915/gt/ |
| 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 47 #define RING_PSMI_CTL(base) _MMIO((base) + 0x50) argument 55 #define RING_MAX_IDLE(base) _MMIO((base) + 0x54) argument [all …]
|
| /openbsd/src/usr.sbin/radiusd/ |
| D | radiusd_module.c | 93 struct module_base *base; in module_create() local 95 if ((base = calloc(1, sizeof(struct module_base))) == NULL) in module_create() 98 if (imsgbuf_init(&base->ibuf, sock) == -1) { in module_create() 99 free(base); in module_create() 102 base->ctx = ctx; in module_create() 115 return (base); in module_create() 119 module_start(struct module_base *base) in module_start() argument 124 if ((ival = fcntl(base->ibuf.fd, F_GETFL)) == -1) in module_start() 126 if (fcntl(base->ibuf.fd, F_SETFL, ival | O_NONBLOCK) == -1) in module_start() 128 event_set(&base->ev, base->ibuf.fd, EV_READ, module_on_event, base); in module_start() [all …]
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/ |
| D | alpha-opc.c | 39 The information for the base instruction set was compiled from the 400 #define BASE AXP_OPCODE_BASE macro 472 { "halt", SPCD(0x00,0x0000), BASE, ARG_NONE }, 473 { "draina", SPCD(0x00,0x0002), BASE, ARG_NONE }, 474 { "bpt", SPCD(0x00,0x0080), BASE, ARG_NONE }, 475 { "bugchk", SPCD(0x00,0x0081), BASE, ARG_NONE }, 476 { "callsys", SPCD(0x00,0x0083), BASE, ARG_NONE }, 477 { "chmk", SPCD(0x00,0x0083), BASE, ARG_NONE }, 478 { "imb", SPCD(0x00,0x0086), BASE, ARG_NONE }, 479 { "rduniq", SPCD(0x00,0x009e), BASE, ARG_NONE }, [all …]
|
| /openbsd/src/lib/libevent/ |
| D | event.c | 81 gettime(struct event_base *base, struct timeval *tp) in gettime() argument 85 if (base->tv_cache.tv_sec) { in gettime() 86 *tp = base->tv_cache; in gettime() 99 struct event_base *base = event_base_new(); in event_init() local 101 if (base != NULL) in event_init() 102 current_base = base; in event_init() 104 return (base); in event_init() 111 struct event_base *base; in event_base_new() local 113 if ((base = calloc(1, sizeof(struct event_base))) == NULL) in event_base_new() 119 gettime(base, &base->event_tv); in event_base_new() [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/opcodes/ |
| D | alpha-opc.c | 38 The information for the base instruction set was compiled from the 453 #define BASE AXP_OPCODE_BASE macro 525 { "halt", SPCD(0x00,0x0000), BASE, ARG_NONE }, 526 { "draina", SPCD(0x00,0x0002), BASE, ARG_NONE }, 527 { "bpt", SPCD(0x00,0x0080), BASE, ARG_NONE }, 528 { "bugchk", SPCD(0x00,0x0081), BASE, ARG_NONE }, 529 { "callsys", SPCD(0x00,0x0083), BASE, ARG_NONE }, 530 { "chmk", SPCD(0x00,0x0083), BASE, ARG_NONE }, 531 { "imb", SPCD(0x00,0x0086), BASE, ARG_NONE }, 532 { "rduniq", SPCD(0x00,0x009e), BASE, ARG_NONE }, [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| D | tsan_ilist.h | 27 template <typename Base, INode Base::*Node, typename Elem> 41 template <typename Base, INode Base::*Node, typename Elem = Base> 76 template <typename Base, INode Base::*Node, typename Elem> 77 IList<Base, Node, Elem>::IList() { in IList() 81 template <typename Base, INode Base::*Node, typename Elem> 82 void IList<Base, Node, Elem>::PushFront(Elem* e) { in PushFront() 86 template <typename Base, INode Base::*Node, typename Elem> 87 void IList<Base, Node, Elem>::PushBack(Elem* e) { in PushBack() 91 template <typename Base, INode Base::*Node, typename Elem> 92 void IList<Base, Node, Elem>::Push(Elem* e, INode* after) { in Push() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/t/ |
| D | 04-base.t | 9 use ExtUtils::CBuilder::Base; 12 ## in the base class. Specifically, don't do anything that will send 19 my ( $base, $phony, $cwd ); 22 $base = ExtUtils::CBuilder::Base->new(); 23 ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" ); 24 isa_ok( $base, 'ExtUtils::CBuilder::Base' ); 28 $base = ExtUtils::CBuilder::Base->new( 31 ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" ); 32 isa_ok( $base, 'ExtUtils::CBuilder::Base' ); 33 is( $base->{config}->{cc}, $phony, [all …]
|
| /openbsd/src/usr.sbin/nsd/ |
| D | mini_event.c | 85 settime(struct event_base* base) in settime() argument 87 if(gettimeofday(base->time_tv, NULL) < 0) { in settime() 91 *base->time_secs = (time_t)base->time_tv->tv_sec; in settime() 96 /** create event base */ 100 struct event_base* base = (struct event_base*)malloc( in event_init() local 102 if(!base) in event_init() 104 memset(base, 0, sizeof(*base)); in event_init() 105 base->region = region_create(xalloc, free); in event_init() 106 if(!base->region) { in event_init() 107 free(base); in event_init() [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/dce60/ |
| D | dce60_resource.c | 506 return &tg110->base; in dce60_timing_generator_create() 521 return &opp->base; in dce60_opp_create() 541 return &aux_engine->base; in dce60_aux_engine_create() 604 return &enc110->base; in dce60_stream_encoder_create() 680 return &dce_mi->base; in dce60_mem_input_create() 702 return &transform->base; in dce60_transform_create() 732 return &enc110->base; in dce60_link_encoder_create() 749 return &panel_cntl->base; in dce60_panel_cntl_create() 767 clk_src->base.dp_clk_src = dp_clk_src; in dce60_clock_source_create() 768 return &clk_src->base; in dce60_clock_source_create() [all …]
|
| /openbsd/src/sbin/unwind/libunbound/util/ |
| D | mini_event.c | 76 settime(struct event_base* base) in settime() argument 78 if(gettimeofday(base->time_tv, NULL) < 0) { in settime() 82 *base->time_secs = (time_t)base->time_tv->tv_sec; in settime() 87 /** create event base */ 90 struct event_base* base = (struct event_base*)malloc( in event_init() local 92 if(!base) in event_init() 94 memset(base, 0, sizeof(*base)); in event_init() 95 base->time_secs = time_secs; in event_init() 96 base->time_tv = time_tv; in event_init() 97 if(settime(base) < 0) { in event_init() [all …]
|
| D | ub_event_pluggable.c | 139 struct event_base* base; member 192 my_timer_add(struct ub_event* ev, struct ub_event_base* base, in my_timer_add() argument 196 if (event_base_set(AS_MY_EVENT_BASE(base)->base, &AS_MY_EVENT(ev)->ev) in my_timer_add() 250 my_event_base_free(struct ub_event_base* base) in my_event_base_free() argument 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() 260 free(AS_MY_EVENT_BASE(base)); in my_event_base_free() 264 my_event_base_dispatch(struct ub_event_base* base) in my_event_base_dispatch() argument 266 return event_base_dispatch(AS_MY_EVENT_BASE(base)->base); in my_event_base_dispatch() 270 my_event_base_loopexit(struct ub_event_base* base, struct timeval* tv) in my_event_base_loopexit() argument [all …]
|
| /openbsd/src/usr.sbin/unbound/util/ |
| D | mini_event.c | 76 settime(struct event_base* base) in settime() argument 78 if(gettimeofday(base->time_tv, NULL) < 0) { in settime() 82 *base->time_secs = (time_t)base->time_tv->tv_sec; in settime() 87 /** create event base */ 90 struct event_base* base = (struct event_base*)malloc( in event_init() local 92 if(!base) in event_init() 94 memset(base, 0, sizeof(*base)); in event_init() 95 base->time_secs = time_secs; in event_init() 96 base->time_tv = time_tv; in event_init() 97 if(settime(base) < 0) { in event_init() [all …]
|
| D | ub_event_pluggable.c | 139 struct event_base* base; member 192 my_timer_add(struct ub_event* ev, struct ub_event_base* base, in my_timer_add() argument 196 if (event_base_set(AS_MY_EVENT_BASE(base)->base, &AS_MY_EVENT(ev)->ev) in my_timer_add() 250 my_event_base_free(struct ub_event_base* base) in my_event_base_free() argument 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() 260 free(AS_MY_EVENT_BASE(base)); in my_event_base_free() 264 my_event_base_dispatch(struct ub_event_base* base) in my_event_base_dispatch() argument 266 return event_base_dispatch(AS_MY_EVENT_BASE(base)->base); in my_event_base_dispatch() 270 my_event_base_loopexit(struct ub_event_base* base, struct timeval* tv) in my_event_base_loopexit() argument [all …]
|
| /openbsd/src/usr.sbin/npppd/npppd/ |
| D | npppd_auth.c | 70 npppd_auth_base *base; in npppd_auth_create() local 76 if ((base = calloc(1, sizeof(npppd_auth_local))) != NULL) { in npppd_auth_create() 77 base->type = NPPPD_AUTH_TYPE_LOCAL; in npppd_auth_create() 78 strlcpy(base->name, name, sizeof(base->name)); in npppd_auth_create() 79 base->npppd = _npppd; in npppd_auth_create() 81 return base; in npppd_auth_create() 87 if ((base = calloc(1, sizeof(npppd_auth_radius))) != NULL) { in npppd_auth_create() 88 npppd_auth_radius *_this = (npppd_auth_radius *)base; in npppd_auth_create() 89 base->type = NPPPD_AUTH_TYPE_RADIUS; in npppd_auth_create() 90 strlcpy(base->name, name, sizeof(base->name)); in npppd_auth_create() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/base/t/ |
| D | base.t | 6 use_ok('base'); 16 use base qw(No::Version); 19 # Test Inverse of $VERSION bug base.pm should not clobber existing $VERSION 26 use base qw(Has::Version); 36 use base 'Eval1'; 51 eval q{use base 'reallyReAlLyNotexists'}; 52 like( $@, qr/^Base class package "reallyReAlLyNotexists" is empty\./, 53 'base with empty package'); 55 eval q{use base 'reallyReAlLyNotexists'}; 56 like( $@, qr/^Base class package "reallyReAlLyNotexists" is empty\./, [all …]
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_modeset_setup.c | 39 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in intel_crtc_disable_noatomic_begin() 41 to_intel_crtc_state(crtc->base.state); in intel_crtc_disable_noatomic_begin() 52 to_intel_plane_state(plane->base.state); in intel_crtc_disable_noatomic_begin() 62 crtc->base.base.id, crtc->base.name); in intel_crtc_disable_noatomic_begin() 77 ret = drm_atomic_add_affected_connectors(state, &temp_crtc->base); in intel_crtc_disable_noatomic_begin() 88 crtc->base.base.id, crtc->base.name); in intel_crtc_disable_noatomic_begin() 91 crtc->base.enabled = false; in intel_crtc_disable_noatomic_begin() 102 struct drm_connector_state *conn_state = connector->base.state; in set_encoder_for_connector() 105 drm_connector_put(&connector->base); in set_encoder_for_connector() 108 conn_state->best_encoder = &encoder->base; in set_encoder_for_connector() [all …]
|
| D | intel_dp_tunnel.c | 73 struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base; in update_tunnel_state() 87 encoder->base.base.id, encoder->base.name, in update_tunnel_state() 109 encoder->base.base.id, encoder->base.name, in update_tunnel_state() 125 struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base; in allocate_initial_tunnel_bw_for_pipes() 132 to_intel_crtc_state(crtc->base.state); in allocate_initial_tunnel_bw_for_pipes() 140 encoder->base.base.id, encoder->base.name, in allocate_initial_tunnel_bw_for_pipes() 141 crtc->base.base.id, crtc->base.name, in allocate_initial_tunnel_bw_for_pipes() 151 encoder->base.base.id, encoder->base.name, in allocate_initial_tunnel_bw_for_pipes() 176 struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base; in detect_new_tunnel() 195 encoder->base.base.id, encoder->base.name, in detect_new_tunnel() [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/fixinc/ |
| D | fixinc.svr4 | 270 base=`basename $file`.$$ 282 sed -e 's/getcwd(char \*, int)/getcwd(char *, size_t)/' $file_to_fix > /tmp/$base 283 if cmp $file_to_fix /tmp/$base >/dev/null 2>&1; then \ 288 cp /tmp/$base ${LIB}/$file 291 rm -f /tmp/$base 298 base=`basename $file`.$$ 311 …ned int, unsigned int, unsigned int)/profil(unsigned short *, size_t, int, unsigned)/' > /tmp/$base 312 if cmp $file_to_fix /tmp/$base >/dev/null 2>&1; then \ 317 cp /tmp/$base ${LIB}/$file 320 rm -f /tmp/$base [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
| D | base.t | 9 use TAP::Base; 14 can_ok 'TAP::Base', 'new'; 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( 56 use TAP::Base; 57 use base 'TAP::Base'; [all …]
|
| /openbsd/src/regress/bin/ed/ |
| D | mkscripts.sh | 12 # base=${i%.*} 13 # base=`echo $i | sed 's/\..*//'` 14 # base=`expr $i : '\([^.]*\)'` 18 # echo "r $base.d" 20 # echo "w $base.o" 22 # ) >$base.ed 23 # chmod +x $base.ed 26 base=`$ED - \!"echo $i" <<-EOF 34 r $base.d 35 w $base.o [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/base/lib/ |
| D | base.pm | 2 package base; package 9 sub base::__inc::unhook { @INC = grep !(ref eq 'CODE' && $_ == $_[0]), @INC } subroutine 11 sub base::__inc::scope_guard::DESTROY { base::__inc::unhook $_ for @{$_[0]} } subroutine 25 my($base) = shift; 26 my $fglob = ${"$base\::"}{FIELDS}; 85 # List of base classes from which we will inherit %FIELDS. 91 foreach my $base (@_) { 92 if ( $inheritor eq $base ) { 96 next if grep $_->isa($base), ($inheritor, @bases); 103 my $fn = _module_to_filename($base); [all …]
|
| /openbsd/src/lib/libssl/ |
| D | bs_cbb.c | 29 struct cbb_buffer_st *base; in cbb_init() local 31 if ((base = calloc(1, sizeof(struct cbb_buffer_st))) == NULL) in cbb_init() 34 base->buf = buf; in cbb_init() 35 base->len = 0; in cbb_init() 36 base->cap = cap; in cbb_init() 37 base->can_resize = 1; in cbb_init() 39 cbb->base = base; in cbb_init() 74 cbb->base->can_resize = 0; in CBB_init_fixed() 82 if (cbb->base) { in CBB_cleanup() 83 if (cbb->base->can_resize) in CBB_cleanup() [all …]
|
| /openbsd/src/sys/dev/ic/ |
| 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/src/gnu/gcc/gcc/ |
| D | vec.h | 89 *exactly* one definition of the common non-memory managed base vector. 148 #define VEC_length(T,V) (VEC_OP(T,base,length)(VEC_BASE(V))) 166 #define VEC_last(T,V) (VEC_OP(T,base,last)(VEC_BASE(V) VEC_CHECK_INFO)) 175 #define VEC_index(T,V,I) (VEC_OP(T,base,index)(VEC_BASE(V),I VEC_CHECK_INFO)) 189 #define VEC_iterate(T,V,I,P) (VEC_OP(T,base,iterate)(VEC_BASE(V),I,&(P))) 214 #define VEC_embedded_size(T,N) (VEC_OP(T,base,embedded_size)(N)) 215 #define VEC_embedded_init(T,O,N) (VEC_OP(T,base,embedded_init)(VEC_BASE(O),N)) 236 (VEC_OP(T,base,space)(VEC_BASE(V),R VEC_CHECK_INFO)) 271 (VEC_OP(T,base,quick_push)(VEC_BASE(V),O VEC_CHECK_INFO)) 293 #define VEC_pop(T,V) (VEC_OP(T,base,pop)(VEC_BASE(V) VEC_CHECK_INFO)) [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/ |
| D | ChangeLog | 40 * gdb.base/overlays.exp: Update copyright years. 44 * gdb.base/overlays.exp: Disable if target is Linux. 58 * gdb.base/bigcore.exp (extract_heap): If the expect "file size" 60 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>. 72 * gdb.base/bigcore.exp: Replace the code that creates a corefile 78 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple 83 * gdb.base/constvars.exp (local_compiler_xfail_check_2): 85 * gdb.base/volatile.exp (local_compiler_xfail_check_2): 95 * gdb.base/bigcore.exp: Deactivate on IRIX targets. 108 * gdb.base/define.exp: Two new tests to verify zero space chars [all …]
|