Home
last modified time | relevance | path

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

12345678910>>...234

/src/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 …]
/src/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 …]
/src/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 …]
/src/contrib/jemalloc/src/
H A Dbase.c10 * In auto mode, arenas switch to huge pages for the base allocator on the
11 * second base block. a0 switches to thp on the 5th block (after 20 megabytes
12 * of metadata), since more metadata (e.g. rtree nodes) come from a0's base.
125 base_get_num_blocks(base_t *base, bool with_new_block) { in base_get_num_blocks() argument
126 base_block_t *b = base->blocks; in base_get_num_blocks()
139 base_auto_thp_switch(tsdn_t *tsdn, base_t *base) { in base_auto_thp_switch() argument
141 malloc_mutex_assert_owner(tsdn, &base->mtx); in base_auto_thp_switch()
142 if (base->auto_thp_switched) { in base_auto_thp_switch()
147 if (base_ind_get(base) != 0) { in base_auto_thp_switch()
148 should_switch = (base_get_num_blocks(base, true) == in base_auto_thp_switch()
[all …]
/src/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 …]
/src/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 …]
/src/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 …]
/src/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 …]
/src/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 …]
/src/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 …]
/src/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 …]
/src/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 …]
/src/sys/contrib/device-tree/Bindings/cache/
H A Dqcom,llcc.yaml81 - description: LLCC0 base register region
97 - description: LLCC0 base register region
98 - description: LLCC1 base register region
124 - description: LLCC0 base register region
125 - description: LLCC broadcast base register region
141 - description: LLCC0 base register region
142 - description: LLCC1 base register region
143 - description: LLCC2 base register region
144 - description: LLCC3 base register region
145 - description: LLCC4 base register region
[all …]
/src/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 …]
/src/sys/contrib/device-tree/Bindings/clock/
H A Dnxp,lpc1850-cgu.yaml12 a base clock and itself is one of the inputs to the two Clock
20 corresponds to one of the base clocks for the LPC18xx.
37 Which base clocks that are available on the CGU depends on the
38 specific LPC part. Base clocks are numbered from 0 to 27.
41 0 BASE_SAFE_CLK Base safe clock (always on) for WWDT
42 1 BASE_USB0_CLK Base clock for USB0
43 2 BASE_PERIPH_CLK Base clock for Cortex-M0SUB subsystem,
45 3 BASE_USB1_CLK Base clock for USB1
46 4 BASE_CPU_CLK System base clock for ARM Cortex-M core
48 5 BASE_SPIFI_CLK Base clock for SPIFI
[all …]
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 …]
/src/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 …]
/src/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 …]
/src/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 …]

12345678910>>...234