Searched refs:base (Results 101 - 125 of 1766) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/apr-util/misc/
H A Dapr_rmm.c25 * be empty). The base pointer, rmm->base, points at the beginning of
27 * apr_rmm_off_t value, which represents the offset from the base
29 * "offset from rmm->base".
32 * the "header block", which is always stored at the base pointer.
42 * i.e. rmm->base is *not* a valid address for a block, since the
71 rmm_hdr_block_t *base; member in struct:apr_rmm_t
82 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next);
99 apr_rmm_off_t next = rmm->base->firstfree;
104 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base
[all...]
/freebsd-13-stable/contrib/unbound/util/
H A Dwinsock_event.c72 settime(struct event_base* base) argument
74 if(gettimeofday(base->time_tv, NULL) < 0) {
78 *base->time_secs = (time_t)base->time_tv->tv_sec;
88 * @param base: event base to look in.
93 find_fd(struct event_base* base, int fd) argument
96 for(i=0; i<base->max; i++) {
97 if(base->items[i]->ev_fd == fd)
104 /** Find ptr in base arra
117 struct event_base* base = (struct event_base*)malloc( local
163 handle_timeouts(struct event_base* base, struct timeval* now, struct timeval* wait) argument
230 handle_select(struct event_base* base, struct timeval* wait) argument
429 event_base_dispatch(struct event_base *base) argument
450 event_base_loopexit(struct event_base *base, struct timeval * ATTR_UNUSED(tv)) argument
458 event_base_free(struct event_base *base) argument
482 event_base_set(struct event_base *base, struct event *ev) argument
659 winsock_register_wsaevent(struct event_base* base, struct event* ev, WSAEVENT wsaevent, void (*cb)(int, short, void*), void* arg) argument
[all...]
H A Dub_event.c167 ub_get_event_sys(struct ub_event_base* base, const char** n, const char** s, argument
171 (void)base;
176 (void)base;
181 struct event_base* b = AS_EVENT_BASE(base);
203 if (b && b != AS_EVENT_BASE(base))
212 void* base; local
214 (void)base;
218 base = event_init(time_secs, time_tv);
225 base = ev_default_loop(EVFLAG_AUTO);
227 base
252 ub_libevent_get_event_base(struct ub_event_base* base) argument
263 ub_event_base_free(struct ub_event_base* base) argument
278 ub_event_base_dispatch(struct ub_event_base* base) argument
284 ub_event_base_loopexit(struct ub_event_base* base) argument
290 ub_event_new(struct ub_event_base* base, int fd, short bits, void (*cb)(int, short, void*), void* arg) argument
314 ub_signal_new(struct ub_event_base* base, int fd, void (*cb)(int, short, void*), void* arg) argument
338 ub_winsock_register_wsaevent(struct ub_event_base* base, void* wsaevent, void (*cb)(int, short, void*), void* arg) argument
399 ub_timer_add(struct ub_event* ev, struct ub_event_base* base, void (*cb)(int, short, void*), void* arg, struct timeval* tv) argument
[all...]
/freebsd-13-stable/sys/mips/nlm/hal/
H A Duart.h101 nlm_uart_set_baudrate(uint64_t base, int baud) argument
105 lcr = nlm_read_uart_reg(base, UART_LINE_CTL);
108 nlm_write_uart_reg(base, UART_LINE_CTL, lcr | (1 << 7));
109 nlm_write_uart_reg(base, UART_DIVISOR0,
111 nlm_write_uart_reg(base, UART_DIVISOR1,
115 nlm_write_uart_reg(base, UART_LINE_CTL, lcr);
119 nlm_uart_outbyte(uint64_t base, char c) argument
124 lsr = nlm_read_uart_reg(base, UART_LINE_STS);
129 nlm_write_uart_reg(base, UART_TX_DATA, (int)c);
133 nlm_uart_inbyte(uint64_t base) argument
153 nlm_uart_init(uint64_t base, int baud, int databits, int stopbits, int parity, int int_en, int loopback) argument
[all...]
/freebsd-13-stable/sys/amd64/amd64/
H A Dcopyout.c42 int fubyte_nosmap(volatile const void *base);
43 int fubyte_smap(volatile const void *base);
51 int fuword16_nosmap(volatile const void *base);
52 int fuword16_smap(volatile const void *base);
60 int fueword_nosmap(volatile const void *base, long *val);
61 int fueword_smap(volatile const void *base, long *val);
75 int fueword32_nosmap(volatile const void *base, int32_t *val);
76 int fueword32_smap(volatile const void *base, int32_t *val);
84 int subyte_nosmap(volatile void *base, int byte);
85 int subyte_smap(volatile void *base, in
[all...]
/freebsd-13-stable/sys/i386/i386/
H A Dcopyout.c54 int fubyte_fast(volatile const void *base, u_int kcr3);
56 int fuword16_fast(volatile const void *base, u_int kcr3);
58 int fueword_fast(volatile const void *base, long *val, u_int kcr3);
60 int subyte_fast(volatile void *base, int val, u_int kcr3);
62 int suword16_fast(volatile void *base, int val, u_int kcr3);
64 int suword_fast(volatile void *base, long val, u_int kcr3);
279 fubyte(volatile const void *base) argument
283 if ((uintptr_t)base + sizeof(uint8_t) < (uintptr_t)base ||
284 (uintptr_t)base
305 fuword16(volatile const void *base) argument
331 fueword(volatile const void *base, long *val) argument
350 fueword32(volatile const void *base, int32_t *val) argument
368 subyte(volatile void *base, int byte) argument
388 suword16(volatile void *base, int word) argument
409 suword(volatile void *base, long word) argument
422 suword32(volatile void *base, int32_t word) argument
445 casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp, uint32_t newval) argument
463 casueword(volatile u_long *base, u_long oldval, u_long *oldvalp, u_long newval) argument
[all...]
/freebsd-13-stable/lib/libc/inet/
H A Dinet_network.c55 in_addr_t val, base, n; local
61 val = 0; base = 10; digit = 0;
63 digit = 1, base = 8, cp++;
65 base = 16, cp++;
68 if (base == 8U && (c == '8' || c == '9'))
70 val = (val * base) + (c - '0');
75 if (base == 16U && isxdigit((unsigned char)c)) {
/freebsd-13-stable/contrib/ntp/libntp/
H A Dfindconfig.c16 const char *base
25 strlcpy(result, base, sizeof(result));
31 snprintf(result, sizeof(result), "%s/%s", base, hostname);
42 snprintf(result, sizeof(result), "%s/default.%s", base, cp);
48 snprintf(result, sizeof(result), "%s/default", base);
69 const char *base
72 return base;
/freebsd-13-stable/contrib/ntp/lib/isc/
H A Dinet_aton.c95 int base; local
110 val = 0; base = 10; digit = 0;
114 base = 16, c = *++cp;
116 base = 8;
128 if (base == 8 && (c == '8' || c == '9'))
130 val = (val * base) + (c - '0');
133 } else if (base == 16 && isascii(c) && isxdigit(c)) {
/freebsd-13-stable/sys/amd64/include/
H A Dpcpu.h250 #define zpcpu_base_to_offset(base) (void *)((uintptr_t)(base) - (uintptr_t)&__pcpu[0])
251 #define zpcpu_offset_to_base(base) (void *)((uintptr_t)(base) + (uintptr_t)&__pcpu[0])
253 #define zpcpu_sub_protected(base, n) do { \
255 zpcpu_sub(base, n); \
258 #define zpcpu_set_protected(base, n) do { \
259 __typeof(*base) __n = (n); \
261 switch (sizeof(*base)) { \
264 : : "r" (base), "r
[all...]
/freebsd-13-stable/contrib/libevent/
H A Dchangelist-internal.h88 * in the event maps in the base. This function is generally used right
91 struct event_base *base);
96 int event_changelist_add_(struct event_base *base, evutil_socket_t fd, short old, short events,
99 int event_changelist_del_(struct event_base *base, evutil_socket_t fd, short old, short events,
/freebsd-13-stable/contrib/libevent/include/event2/
H A Drpc_compat.h49 (*(msg)->base->member##_assign)(msg, ## args)
51 (*(msg)->base->member##_get)(msg, ## args)
53 (*(msg)->base->member##_add)(msg, ## args)
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dchangelist-internal.h88 * in the event maps in the base. This function is generally used right
91 struct event_base *base);
96 int event_changelist_add_(struct event_base *base, evutil_socket_t fd, short old, short events,
99 int event_changelist_del_(struct event_base *base, evutil_socket_t fd, short old, short events,
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/
H A Drpc_compat.h49 (*(msg)->base->member##_assign)(msg, ## args)
51 (*(msg)->base->member##_get)(msg, ## args)
53 (*(msg)->base->member##_add)(msg, ## args)
/freebsd-13-stable/sys/libkern/
H A Dbsearch.c50 * the base up one item past p: e.g., when lim is 5 we change base
61 const char *base = base0; local
67 p = base + (lim >> 1) * size;
72 base = (const char *)p + size;
/freebsd-13-stable/sys/contrib/ncsw/etc/
H A Dmm.h64 uint64_t base; /* Base address of the memory block */ member in struct:t_MemBlock
74 uint64_t base; /* Base address of the block */ member in struct:t_FreeBlock
84 uint64_t base; /* Base address of the block */ member in struct:t_BusyBlock
/freebsd-13-stable/crypto/openssh/regress/
H A Dmkdtemp.c39 const char *base; local
47 base = argv[1];
51 r = snprintf(template, sizeof(template), "%s/%s", tmpdir, base);
/freebsd-13-stable/contrib/libevent/test/
H A Dregress_et.c80 struct event_base *base = NULL; local
107 base = event_base_new();
109 if (!strcmp(event_base_get_method(base), "epoll") ||
110 !strcmp(event_base_get_method(base), "epoll (with changelist)") ||
111 !strcmp(event_base_get_method(base), "kqueue"))
117 "support edge-triggering", event_base_get_method(base),
121 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev);
132 event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE);
133 event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE);
148 if (base)
158 struct event_base *base = NULL; local
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_et.c84 struct event_base *base = NULL; local
111 base = event_base_new();
113 if (!strcmp(event_base_get_method(base), "epoll") ||
114 !strcmp(event_base_get_method(base), "epoll (with changelist)") ||
115 !strcmp(event_base_get_method(base), "kqueue"))
121 "support edge-triggering", event_base_get_method(base),
125 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev);
136 event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE);
137 event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE);
152 if (base)
162 struct event_base *base = NULL; local
[all...]
/freebsd-13-stable/contrib/libxo/tests/xo/
H A DMakefile.am48 ${CHECKER} sh ${srcdir}/$$base.sh "${XO} --libxo:W$$fmt" ${TEST_OPTS} \
49 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \
50 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \
51 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O}
58 base=`${BASENAME} $$test .sh` ; \
71 base=`${BASENAME} $$test .sh` ; \
74 ${CP} out/$$base
[all...]
/freebsd-13-stable/lib/libc/locale/
H A Dtolower.c55 _RuneEntry *base, *re; local
61 base = rr->__ranges;
63 re = base + (lim >> 1);
67 base = re + 1;
H A Dtoupper.c55 _RuneEntry *base, *re; local
61 base = rr->__ranges;
63 re = base + (lim >> 1);
69 base = re + 1;
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dprintnataddr.c19 printnataddr(v, base, addr, ifidx)
21 char *base;
32 printaddr(AF_INET, addr->na_atype, base, ifidx,
39 printaddr(AF_INET6, addr->na_atype, base, ifidx,
/freebsd-13-stable/sys/contrib/ncsw/inc/
H A Dstdlib_ext.h47 * @base: The number base to use
49 uint32_t strtoul(const char *cp,char **endp,uint32_t base);
55 * @base: The number base to use
57 long strtol(const char *cp,char **endp,uint32_t base);
63 * @base: The number base to use
65 uint64_t strtoull(const char *cp,char **endp,uint32_t base);
71 * @base
[all...]
/freebsd-13-stable/usr.bin/units/tests/
H A Dbasics_test.sh4 base=`basename $0`

Completed in 304 milliseconds

1234567891011>>