Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 2497) sorted by relevance

12345678910>>...100

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
HDtst.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-11-stable/contrib/ntp/sntp/libevent/
HDevent.c142 static void event_queue_make_later_events_active(struct event_base *base);
144 static int evthread_make_base_notifiable_nolock_(struct event_base *base);
162 static int evthread_notify_base(struct event_base *base);
344 #define EVENT_BASE_ASSERT_LOCKED(base) \ argument
345 EVLOCK_ASSERT_LOCKED((base)->th_base_lock)
357 gettime(struct event_base *base, struct timeval *tp)
359 EVENT_BASE_ASSERT_LOCKED(base);
361 if (base->tv_cache.tv_sec) {
362 *tp = base->tv_cache;
366 if (evutil_gettime_monotonic_(&base->monotonic_timer, tp) == -1) {
[all …]
HDevutil_time.c148 adjust_monotonic_time(struct evutil_monotonic_timer *base, in adjust_monotonic_time() argument
151 evutil_timeradd(tv, &base->adjust_monotonic_clock, tv); in adjust_monotonic_time()
153 if (evutil_timercmp(tv, &base->last_time, <)) { in adjust_monotonic_time()
156 evutil_timersub(&base->last_time, tv, &adjust); in adjust_monotonic_time()
157 evutil_timeradd(&adjust, &base->adjust_monotonic_clock, in adjust_monotonic_time()
158 &base->adjust_monotonic_clock); in adjust_monotonic_time()
159 *tv = base->last_time; in adjust_monotonic_time()
161 base->last_time = *tv; in adjust_monotonic_time()
224 evutil_configure_monotonic_time_(struct evutil_monotonic_timer *base, in evutil_configure_monotonic_time_() argument
246 base->monotonic_clock = CLOCK_MONOTONIC_COARSE; in evutil_configure_monotonic_time_()
[all …]
HDsignal.c120 evsig_set_base_(struct event_base *base) in evsig_set_base_() argument
123 evsig_base = base; in evsig_set_base_()
124 evsig_base_n_signals_added = base->sig.ev_n_signals_added; in evsig_set_base_()
125 evsig_base_fd = base->sig.ev_signal_pair[1]; in evsig_set_base_()
137 struct event_base *base; in evsig_cb() local
139 base = arg; in evsig_cb()
165 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in evsig_cb()
168 evmap_signal_active_(base, i, ncaught[i]); in evsig_cb()
170 EVBASE_RELEASE_LOCK(base, th_base_lock); in evsig_cb()
174 evsig_init_(struct event_base *base) in evsig_init_() argument
[all …]
HDevdns.c159 struct evdns_base *base; member
194 struct evdns_base *base; member
234 struct evdns_base *base; member
301 struct evdns_server_request base; member
388 (((char*)(base_ptr) - evutil_offsetof(struct server_request, base))))
390 #define REQ_HEAD(base, id) ((base)->req_heads[id % (base)->n_req_heads]) argument
392 static struct nameserver *nameserver_pick(struct evdns_base *base);
396 static int evdns_transmit(struct evdns_base *base);
401 static struct request *search_request_new(struct evdns_base *base, struct evdns_request *handle, in…
402 static void evdns_requests_pump_waiting_queue(struct evdns_base *base);
[all …]
/freebsd-11-stable/sys/dev/bxe/
HDecore_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-11-stable/sys/mips/nlm/hal/
HDfmn.c139 void nlm_cms_setup_credits(uint64_t base, int destid, int srcid, int credit) in nlm_cms_setup_credits() argument
144 nlm_write_cms_reg(base, CMS_OUTPUTQ_CREDIT_CFG, val); in nlm_cms_setup_credits()
156 int nlm_cms_alloc_spill_q(uint64_t base, int qid, uint64_t spill_base, in nlm_cms_alloc_spill_q() argument
166 queue_config = nlm_read_cms_reg(base,(CMS_OUTPUTQ_CONFIG(qid))); in nlm_cms_alloc_spill_q()
175 nlm_write_cms_reg(base,(CMS_OUTPUTQ_CONFIG(qid)),queue_config); in nlm_cms_alloc_spill_q()
180 uint64_t nlm_cms_get_onchip_queue (uint64_t base, int qid) in nlm_cms_get_onchip_queue() argument
182 return nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid)); in nlm_cms_get_onchip_queue()
185 void nlm_cms_set_onchip_queue (uint64_t base, int qid, uint64_t val) in nlm_cms_set_onchip_queue() argument
189 rdval = nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid)); in nlm_cms_set_onchip_queue()
191 nlm_write_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid), rdval); in nlm_cms_set_onchip_queue()
[all …]
/freebsd-11-stable/contrib/libxo/tests/gettext/
HDMakefile.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-11-stable/bin/pkill/tests/
HDpkill-j_test.sh10 base=pkill_j_test
24 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
25 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
27 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
28 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount &
33 jid1=$(jail_name_to_jid ${base}_1_1)
34 jid2=$(jail_name_to_jid ${base}_1_2)
46 ! -f ${PWD}/${base}_1_1.pid &&
47 ! -f ${PWD}/${base}_1_2.pid ; then
52 [ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid)
[all …]
HDpgrep-j_test.sh10 base=pgrep_j_test
24 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
25 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
27 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
28 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)
45 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
46 $(cat ${PWD}/${base}_1_2.pid) | sort)
52 [ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid)
[all …]
/freebsd-11-stable/contrib/pf/libevent/
HDevent.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-11-stable/contrib/unbound/util/
HDmini_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()
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()
98 event_base_free(base); in event_init()
[all …]
HDub_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-11-stable/sys/dev/qlnx/qlnxe/
HDecore_iro.h35 #define YSTORM_FLOW_CONTROL_MODE_OFFSET (IRO[0].base)
38 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO…
41 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO…
44 #define USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) (IRO[3].base + ((vf_id) * IRO[3…
47 #define USTORM_FLR_FINAL_ACK_OFFSET(pf_id) (IRO[4].base + ((pf_id) * IRO[4…
50 #define USTORM_EQE_CONS_OFFSET(pf_id) (IRO[5].base + ((pf_id) * IRO[5…
53 #define USTORM_ETH_QUEUE_ZONE_OFFSET(queue_zone_id) (IRO[6].base + ((queue_zone_id)…
56 #define USTORM_COMMON_QUEUE_CONS_OFFSET(queue_zone_id) (IRO[7].base + ((queue_zone_id)…
59 #define XSTORM_INTEG_TEST_DATA_OFFSET (IRO[8].base)
62 #define YSTORM_INTEG_TEST_DATA_OFFSET (IRO[9].base)
[all …]
/freebsd-11-stable/contrib/gcc/
HDvec.h148 #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))
302 (VEC_OP(T,base,truncate)(VEC_BASE(V),I VEC_CHECK_INFO))
[all …]
/freebsd-11-stable/contrib/ncurses/ncurses/
HDmodules33 @ base
37 lib_addch lib $(base) $(HEADER_DEPS)
38 lib_addstr lib $(base) $(HEADER_DEPS)
39 lib_beep lib $(base) $(HEADER_DEPS)
40 lib_bkgd lib $(base) $(HEADER_DEPS)
41 lib_box lib $(base) $(HEADER_DEPS)
42 lib_chgat lib $(base) $(HEADER_DEPS)
43 lib_clear lib $(base) $(HEADER_DEPS)
44 lib_clearok lib $(base) $(HEADER_DEPS)
45 lib_clrbot lib $(base) $(HEADER_DEPS)
[all …]
/freebsd-11-stable/lib/libbsdstat/
HDbsdstat.h93 { 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); } \
109 { wf->base.print_total(&wf->base, fd); } \
111 { wf->base.print_verbose(&wf->base, fd); } \
[all …]
/freebsd-11-stable/contrib/gcclibs/libiberty/
HDmake-temp-file.c67 try_dir (const char *dir, const char *base) in try_dir() argument
69 if (base != 0) in try_dir()
70 return base; in try_dir()
99 const char *base = 0; in choose_tmpdir() local
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 (tmp, base); in choose_tmpdir()
116 base = try_dir (vartmp, base); in choose_tmpdir()
[all …]
/freebsd-11-stable/contrib/binutils/libiberty/
HDmake-temp-file.c67 try_dir (const char *dir, const char *base) in try_dir() argument
69 if (base != 0) in try_dir()
70 return base; in try_dir()
99 const char *base = 0; in choose_tmpdir() local
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()
[all …]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
HDregress_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 …]
HDregress.c395 struct event_base *base = event_base_new(); in test_simpleclose() local
431 closeev = event_new(base, -1, EV_TIMEOUT, simpleclose_close_fd_cb, in test_simpleclose()
433 rev = event_new(base, pair1[1], EV_READ, record_event_cb, in test_simpleclose()
436 wev = event_new(base, pair2[1], EV_WRITE, record_event_cb, in test_simpleclose()
448 event_base_loopexit(base, &tv); in test_simpleclose()
449 event_base_loop(base, 0); in test_simpleclose()
470 if (base) in test_simpleclose()
471 event_base_free(base); in test_simpleclose()
630 event_assign(&ev, data->base, -1, EV_PERSIST, periodic_timeout_cb, &count); in test_persistent_timeout_jump()
634 event_base_loopexit(data->base, &msec50); in test_persistent_timeout_jump()
[all …]
/freebsd-11-stable/contrib/ntp/lib/isc/
HDbase32.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
57 isc_buffer_t *target, const char base[]) in base32_totext() argument
67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */ in base32_totext()
69 buf[1] = base[(source->base[0]<<2)&0x1c]; in base32_totext()
75 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */ in base32_totext()
76 ((source->base[1]>>6)&0x03)]; /* 2 + */ in base32_totext()
77 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */ in base32_totext()
79 buf[3] = base[(source->base[1]<<4)&0x10]; in base32_totext()
84 buf[3] = base[((source->base[1]<<4)&0x10)| /* 1 = 8 */ in base32_totext()
85 ((source->base[2]>>4)&0x0f)]; /* 4 + */ in base32_totext()
[all …]
/freebsd-11-stable/sys/arm/mv/
HDmv_common.c106 static void decode_win_eth_dump(u_long base);
107 static void decode_win_idma_dump(u_long base);
108 static void decode_win_xor_dump(u_long base);
773 if ((tab->base + tab->size - 1) < (wintab + win)->base) in decode_win_overlap()
776 else if (((wintab + win)->base + (wintab + win)->size - 1) < in decode_win_overlap()
777 tab->base) in decode_win_overlap()
813 b = cpu_wins[i].base; in decode_win_cpu_valid()
837 cpu_wins[j].base, in decode_win_cpu_valid()
838 cpu_wins[j].base + cpu_wins[j].size - 1); in decode_win_cpu_valid()
847 decode_win_cpu_set(int target, int attr, vm_paddr_t base, uint32_t size, in decode_win_cpu_set() argument
[all …]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
HDstore_emem.c38 unsigned char *base; member
48 if((size_t)(s->base + s->len - s->ptr) < size) in emem_fetch()
49 size = s->base + s->len - s->ptr; in emem_fetch()
59 if(size > (size_t)(s->base + s->size - s->ptr)){ in emem_store()
60 void *base; in emem_store() local
62 off = s->ptr - s->base; in emem_store()
66 base = realloc(s->base, sz); in emem_store()
67 if(base == NULL) in emem_store()
70 s->base = base; in emem_store()
71 s->ptr = (unsigned char*)base + off; in emem_store()
[all …]
/freebsd-11-stable/sys/contrib/ncsw/etc/
HDmm.c66 static t_BusyBlock * CreateBusyBlock(uint64_t base, uint64_t size, char *name) in CreateBusyBlock() argument
78 p_BusyBlock->base = base; in CreateBusyBlock()
79 p_BusyBlock->end = base + size; in CreateBusyBlock()
106 static t_MemBlock * CreateNewBlock(uint64_t base, uint64_t size) in CreateNewBlock() argument
117 p_MemBlock->base = base; in CreateNewBlock()
118 p_MemBlock->end = base+size; in CreateNewBlock()
139 static t_FreeBlock * CreateFreeBlock(uint64_t base, uint64_t size) in CreateFreeBlock() argument
150 p_FreeBlock->base = base; in CreateFreeBlock()
151 p_FreeBlock->end = base + size; in CreateFreeBlock()
175 static t_Error AddFree(t_MM *p_MM, uint64_t base, uint64_t end) in AddFree() argument
[all …]

12345678910>>...100