Home
last modified time | relevance | path

Searched full:base (Results 1 – 25 of 3932) sorted by relevance

12345678910>>...158

/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.lltostrbase.d.out1 base -2 of -10: <error>
2 base -2 of -1: <error>
3 base -2 of 0: <error>
4 base -2 of 10: <error>
5 base -2 of 100: <error>
6 base -2 of 1000: <error>
7 base -2 of 4611686018427387904: <error>
8 base -1 of -10: <error>
9 base -1 of -1: <error>
10 base -1 of 0: <error>
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Devent.c146 static void event_queue_make_later_events_active(struct event_base *base);
148 static int evthread_make_base_notifiable_nolock_(struct event_base *base);
166 static int evthread_notify_base(struct event_base *base);
400 #define EVENT_BASE_ASSERT_LOCKED(base) \ argument
401 EVLOCK_ASSERT_LOCKED((base)->th_base_lock)
407 /** Set 'tp' to the current time according to 'base'. We must hold the lock
408 * on 'base'. If there is a cached time, return it. Otherwise, use
413 gettime(struct event_base *base, struct timeval *tp) in gettime() argument
415 EVENT_BASE_ASSERT_LOCKED(base); in gettime()
417 if (base->tv_cache.tv_sec) { in gettime()
[all …]
H A Dsignal.c72 to set a signal handler, and a socket pair to tell the event base when
74 Note that I said "the event base" : only one event base can be set up to use
110 /* The event base that's currently getting informed about signals. */
122 evsig_set_base_(struct event_base *base) in evsig_set_base_() argument
125 evsig_base = base; in evsig_set_base_()
126 evsig_base_n_signals_added = base->sig.ev_n_signals_added; in evsig_set_base_()
127 evsig_base_fd = base->sig.ev_signal_pair[1]; in evsig_set_base_()
139 struct event_base *base; in evsig_cb() local
141 base = arg; in evsig_cb()
167 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in evsig_cb()
[all …]
H A Devdns.c160 struct evdns_base *base; member
163 * owned by event base any more. */
195 struct evdns_base *base; member
235 struct evdns_base *base; member
302 struct evdns_server_request base; member
392 (((char*)(base_ptr) - evutil_offsetof(struct server_request, base))))
394 #define REQ_HEAD(base, id) ((base)->req_heads[id % (base)->n_req_heads]) argument
396 static struct nameserver *nameserver_pick(struct evdns_base *base);
400 static int evdns_transmit(struct evdns_base *base);
405 static struct request *search_request_new(struct evdns_base *base, struct evdns_request *handle, in…
[all …]
/freebsd/contrib/libevent/
H A Devent.c146 static void event_queue_make_later_events_active(struct event_base *base);
148 static int evthread_make_base_notifiable_nolock_(struct event_base *base);
166 static int evthread_notify_base(struct event_base *base);
400 #define EVENT_BASE_ASSERT_LOCKED(base) \ argument
401 EVLOCK_ASSERT_LOCKED((base)->th_base_lock)
407 /** Set 'tp' to the current time according to 'base'. We must hold the lock
408 * on 'base'. If there is a cached time, return it. Otherwise, use
413 gettime(struct event_base *base, struct timeval *tp) in gettime() argument
415 EVENT_BASE_ASSERT_LOCKED(base); in gettime()
417 if (base->tv_cache.tv_sec) { in gettime()
[all …]
H A Dsignal.c72 to set a signal handler, and a socket pair to tell the event base when
74 Note that I said "the event base" : only one event base can be set up to use
110 /* The event base that's currently getting informed about signals. */
122 evsig_set_base_(struct event_base *base) in evsig_set_base_() argument
125 evsig_base = base; in evsig_set_base_()
126 evsig_base_n_signals_added = base->sig.ev_n_signals_added; in evsig_set_base_()
127 evsig_base_fd = base->sig.ev_signal_pair[1]; in evsig_set_base_()
139 struct event_base *base; in evsig_cb() local
141 base = arg; in evsig_cb()
167 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in evsig_cb()
[all …]
H A Devdns.c160 struct evdns_base *base; member
163 * owned by event base any more. */
195 struct evdns_base *base; member
235 struct evdns_base *base; member
302 struct evdns_server_request base; member
392 (((char*)(base_ptr) - evutil_offsetof(struct server_request, base))))
394 #define REQ_HEAD(base, id) ((base)->req_heads[id % (base)->n_req_heads]) argument
396 static struct nameserver *nameserver_pick(struct evdns_base *base);
400 static int evdns_transmit(struct evdns_base *base);
405 static struct request *search_request_new(struct evdns_base *base, struct evdns_request *handle, in…
[all …]
/freebsd/contrib/jemalloc/src/
H A Dbase.c130 base_get_num_blocks(base_t *base, bool with_new_block) { in base_get_num_blocks() argument
131 base_block_t *b = base->blocks; in base_get_num_blocks()
144 base_auto_thp_switch(tsdn_t *tsdn, base_t *base) { in base_auto_thp_switch() argument
146 malloc_mutex_assert_owner(tsdn, &base->mtx); in base_auto_thp_switch()
147 if (base->auto_thp_switched) { in base_auto_thp_switch()
152 if (base_ind_get(base) != 0) { in base_auto_thp_switch()
153 should_switch = (base_get_num_blocks(base, true) == in base_auto_thp_switch()
156 should_switch = (base_get_num_blocks(base, true) == in base_auto_thp_switch()
163 base->auto_thp_switched = true; in base_auto_thp_switch()
164 assert(!config_stats || base->n_thp == 0); in base_auto_thp_switch()
[all …]
/freebsd/contrib/ncurses/ncurses/
H A Dmodules34 @ base
38 lib_addch lib $(base) $(HEADER_DEPS)
39 lib_addstr lib $(base) $(HEADER_DEPS)
40 lib_beep lib $(base) $(HEADER_DEPS)
41 lib_bkgd lib $(base) $(HEADER_DEPS)
42 lib_box lib $(base) $(HEADER_DEPS)
43 lib_chgat lib $(base) $(HEADER_DEPS)
44 lib_clear lib $(base) $(HEADER_DEPS)
45 lib_clearok lib $(base) $(HEADER_DEPS)
46 lib_clrbot lib $(base) $(HEADER_DEPS)
[all …]
/freebsd/contrib/libxo/tests/gettext/
H A DMakefile.am75 ${CHECKER} ./$$base.test --libxo:W$$fmt ${TEST_OPTS} \
76 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \
77 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \
78 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O}
85 base=`${BASENAME} $$test .c` ; \
98 base=`${BASENAME} $$test .c` ; \
101 ${CP} out/$$base.$$fmt.out ${srcdir}/saved/$$base.$$fmt.out ; \
102 ${CP} out/$$base.$$fmt.err ${srcdir}/saved/$$base.$$fmt.err ; \
134 base=`${BASENAME} $$file .c` ; \
135 ${XGETTEXT} --default-domain=$$base \
[all …]
/freebsd/sys/dev/bxe/
H A Decore_fw_defs.h34 #define CSTORM_ASSERT_LIST_INDEX_OFFSET (IRO[152].base)
36 (IRO[151].base + ((assertListEntry) * IRO[151].m1))
38 (IRO[157].base + (((pfId)>>1) * IRO[157].m1) + (((pfId)&1) * \
41 (IRO[158].base + (((pfId)>>1) * IRO[158].m1) + (((pfId)&1) * \
44 (IRO[163].base + ((funcId) * IRO[163].m1))
46 (IRO[153].base + ((funcId) * IRO[153].m1))
48 (IRO[143].base + ((hcIndex) * IRO[143].m1) + ((sbId) * IRO[143].m2))
50 (IRO[142].base + (((hcIndex)>>2) * IRO[142].m1) + (((hcIndex)&3) \
52 #define CSTORM_IGU_MODE_OFFSET (IRO[161].base)
54 (IRO[323].base + ((pfId) * IRO[323].m1))
[all …]
/freebsd/bin/pkill/tests/
H A Dpkill-j_test.sh9 base=pkill_j_test
23 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
24 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
26 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
27 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount &
32 jid1=$(jail_name_to_jid ${base}_1_1)
33 jid2=$(jail_name_to_jid ${base}_1_2)
48 ! test -f "${PWD}/${base}_1_1.pid" &&
49 ! test -f "${PWD}/${base}_1_2.pid" ; then
54 [ -f ${PWD}/${base}_1_1.pid ] && kill "$(cat ${PWD}/${base}_1_1.pid)"
[all …]
H A Dpgrep-j_test.sh9 base=pgrep_j_test
23 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
24 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
26 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
27 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount &
31 jid1=$(jail_name_to_jid ${base}_1_1)
32 jid2=$(jail_name_to_jid ${base}_1_2)
44 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
45 "$(cat ${PWD}/${base}_1_2.pid)" | sort)
51 [ -f ${PWD}/${base}_1_1.pid ] && kill "$(cat ${PWD}/${base}_1_1.pid)"
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_ilist.h27 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 …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_finalize.c76 struct event_base *base = data->base; in test_fin_cb_invoked() local
87 ev = evtimer_new(base, timer_callback, &ev_called); in test_fin_cb_invoked()
90 event_callback_finalize_(base, 0, &evcb, callback_finalize_callback_1); in test_fin_cb_invoked()
92 event_base_dispatch(base); in test_fin_cb_invoked()
98 event_base_assert_ok_(base); in test_fin_cb_invoked()
102 ev = evtimer_new(base, timer_callback, &ev_called); in test_fin_cb_invoked()
106 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
108 event_base_dispatch(base); in test_fin_cb_invoked()
113 event_base_assert_ok_(base); in test_fin_cb_invoked()
118 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
[all …]
/freebsd/contrib/libevent/test/
H A Dregress_finalize.c76 struct event_base *base = data->base; in test_fin_cb_invoked() local
87 ev = evtimer_new(base, timer_callback, &ev_called); in test_fin_cb_invoked()
90 event_callback_finalize_(base, 0, &evcb, callback_finalize_callback_1); in test_fin_cb_invoked()
92 event_base_dispatch(base); in test_fin_cb_invoked()
98 event_base_assert_ok_(base); in test_fin_cb_invoked()
102 ev = evtimer_new(base, timer_callback, &ev_called); in test_fin_cb_invoked()
106 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
108 event_base_dispatch(base); in test_fin_cb_invoked()
113 event_base_assert_ok_(base); in test_fin_cb_invoked()
118 event_callback_activate_(base, &evcb); in test_fin_cb_invoked()
[all …]
/freebsd/contrib/pf/libevent/
H A Devent.c210 event_base_free(struct event_base *base) in event_base_free() argument
214 if (base == NULL && current_base) in event_base_free()
215 base = current_base; in event_base_free()
216 if (base == current_base) in event_base_free()
219 assert(base); in event_base_free()
220 assert(TAILQ_EMPTY(&base->eventqueue)); in event_base_free()
221 for (i=0; i < base->nactivequeues; ++i) in event_base_free()
222 assert(TAILQ_EMPTY(base->activequeues[i])); in event_base_free()
224 assert(RB_EMPTY(&base->timetree)); in event_base_free()
226 for (i = 0; i < base->nactivequeues; ++i) in event_base_free()
[all …]
/freebsd/contrib/unbound/util/
H A Dmini_event.c76 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 …]
H A Dub_event_pluggable.c139 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 …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dlpc1850-cgu.txt5 a base clock and itself is one of the inputs to the two Clock
13 corresponds to one of the base clocks for the LPC18xx.
25 Shall define the base and range of the address space
29 are the base clock numbers defined below.
35 Shall be an ordered list of numbers defining the base clock
41 Which base clocks that are available on the CGU depends on the
42 specific LPC part. Base clocks are numbered from 0 to 27.
45 0 BASE_SAFE_CLK Base safe clock (always on) for WWDT
46 1 BASE_USB0_CLK Base clock for USB0
47 2 BASE_PERIPH_CLK Base clock for Cortex-M0SUB subsystem,
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A De820.c50 uint64_t base; member
58 e820_element_alloc(uint64_t base, uint64_t end, enum e820_memory_type type) in e820_element_alloc() argument
67 element->base = base; in e820_element_alloc()
102 element->base, element->end, in e820_dump_table()
143 entry->base = element->base; in e820_get_fwcfg_item()
144 entry->length = element->end - element->base; in e820_get_fwcfg_item()
154 e820_add_entry(const uint64_t base, const uint64_t end, in e820_add_entry() argument
162 assert(end >= base); in e820_add_entry()
164 new_element = e820_element_alloc(base, end, type); in e820_add_entry()
171 * search for a range whose end is larger than the base parameter. in e820_add_entry()
[all …]
/freebsd/contrib/ntp/kernel/sys/
H A Dpcl720.h23 #define pcl720_data(base,bit) (base+(bit>>3)) argument
24 #define pcl720_data_0_7(base) (base+0) argument
25 #define pcl720_data_8_15(base) (base+1) argument
26 #define pcl720_data_16_23(base) (base+2) argument
27 #define pcl720_data_24_31(base) (base+3) argument
28 #define pcl720_cntr(base,cntr) (base+4+cntr) /* cntr: 0..2 */ argument
29 #define pcl720_cntr_0(base) (base+4) argument
30 #define pcl720_cntr_1(base) (base+5) argument
31 #define pcl720_cntr_2(base) (base+6) argument
32 #define pcl720_ctrl(base) (base+7) argument
[all …]
/freebsd/bin/ed/test/
H A Dmkscripts.sh10 # base=${i%.*}
11 # base=`echo $i | sed 's/\..*//'`
12 # base=`expr $i : '\([^.]*\)'`
16 # echo "r $base.d"
18 # echo "w $base.o"
20 # ) >$base.ed
21 # chmod +x $base.ed
24 base=`$ED - \!"echo $i" <<-EOF
32 r $base.d
33 w $base.o
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_iro.h33 #define YSTORM_FLOW_CONTROL_MODE_OFFSET (IRO[0].base)
36 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO…
39 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO…
42 #define USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) (IRO[3].base + ((vf_id) * IRO[3…
45 #define USTORM_FLR_FINAL_ACK_OFFSET(pf_id) (IRO[4].base + ((pf_id) * IRO[4…
48 #define USTORM_EQE_CONS_OFFSET(pf_id) (IRO[5].base + ((pf_id) * IRO[5…
51 #define USTORM_ETH_QUEUE_ZONE_OFFSET(queue_zone_id) (IRO[6].base + ((queue_zone_id)…
54 #define USTORM_COMMON_QUEUE_CONS_OFFSET(queue_zone_id) (IRO[7].base + ((queue_zone_id)…
57 #define XSTORM_INTEG_TEST_DATA_OFFSET (IRO[8].base)
60 #define YSTORM_INTEG_TEST_DATA_OFFSET (IRO[9].base)
[all …]
/freebsd/lib/libbsdstat/
H A Dbsdstat.h35 * Base class for managing+displaying periodically collected statistics.
75 * Statistics base class. This class is not usable; only
93 { wf->base.setfmt(&wf->base, fmt0); } \
95 { wf->base.collect_cur(&wf->base); } \
97 { wf->base.collect_tot(&wf->base); } \
99 { wf->base.update_tot(&wf->base); } \
101 { return wf->base.get_curstat(&wf->base, s, b, bs); } \
103 { return wf->base.get_totstat(&wf->base, s, b, bs); } \
105 { wf->base.print_header(&wf->base, fd); } \
107 { wf->base.print_current(&wf->base, fd); } \
[all …]

12345678910>>...158