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

1234567891011>>

/freebsd-11-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-11-stable/sys/mips/nlm/hal/
H A Duart.h99 nlm_uart_set_baudrate(uint64_t base, int baud) argument
103 lcr = nlm_read_uart_reg(base, UART_LINE_CTL);
106 nlm_write_uart_reg(base, UART_LINE_CTL, lcr | (1 << 7));
107 nlm_write_uart_reg(base, UART_DIVISOR0,
109 nlm_write_uart_reg(base, UART_DIVISOR1,
113 nlm_write_uart_reg(base, UART_LINE_CTL, lcr);
117 nlm_uart_outbyte(uint64_t base, char c) argument
122 lsr = nlm_read_uart_reg(base, UART_LINE_STS);
127 nlm_write_uart_reg(base, UART_TX_DATA, (int)c);
131 nlm_uart_inbyte(uint64_t base) argument
151 nlm_uart_init(uint64_t base, int baud, int databits, int stopbits, int parity, int int_en, int loopback) argument
[all...]
/freebsd-11-stable/contrib/byacc/
H A Dmstring.c29 if (!s || !s->base)
71 size_t cp = (size_t) (s->ptr - s->base);
72 size_t cl = (size_t) (s->end - s->base);
76 if ((new_base = realloc(s->base, nl)))
78 s->base = new_base;
79 s->ptr = s->base + cp;
80 s->end = s->base + nl;
84 free(s->base);
85 s->base = 0;
99 if (!s || !s->base)
[all...]
/freebsd-11-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-11-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-11-stable/lib/libc/inet/
H A Dinet_network.c53 in_addr_t val, base, n; local
59 val = 0; base = 10; digit = 0;
61 digit = 1, base = 8, cp++;
63 base = 16, cp++;
66 if (base == 8U && (c == '8' || c == '9'))
68 val = (val * base) + (c - '0');
73 if (base == 16U && isxdigit((unsigned char)c)) {
/freebsd-11-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-11-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-11-stable/sys/contrib/ncsw/etc/
H A Dmm.h63 uint64_t base; /* Base address of the memory block */ member in struct:t_MemBlock
73 uint64_t base; /* Base address of the block */ member in struct:t_FreeBlock
83 uint64_t base; /* Base address of the block */ member in struct:t_BusyBlock
/freebsd-11-stable/sys/libkern/
H A Dbsearch.c48 * the base up one item past p: e.g., when lim is 5 we change base
63 const char *base = base0; local
69 p = base + (lim >> 1) * size;
74 base = (const char *)p + size;
/freebsd-11-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-11-stable/contrib/libxo/tests/xo/
H A DMakefile.am54 ${CHECKER} sh ${srcdir}/$$base.sh "${XO} --libxo:W$$fmt" ${TEST_OPTS} \
55 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \
56 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \
57 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O}
64 base=`${BASENAME} $$test .sh` ; \
77 base=`${BASENAME} $$test .sh` ; \
80 ${CP} out/$$base
[all...]
/freebsd-11-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-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_strtoint.c42 strtoint(const char *s_arg, uint64_t *out, uint32_t base, int sign) argument
57 if (s == NULL || base == 1 || base > MAX_BASE) {
83 if (base == 0) {
85 base = 10;
87 base = 16;
89 base = 8;
92 if (base == 16 && c == '0' && (s[1] == 'x' || s[1] == 'X'))
95 if ((val = CTOI(c)) >= base) {
103 multmax = (uint64_t)UINT64_MAX / (uint64_t)base;
164 uu_strtoint(const char *s, void *v, size_t sz, int base, int64_t min, int64_t max) argument
235 uu_strtouint(const char *s, void *v, size_t sz, int base, uint64_t min, uint64_t max) argument
[all...]
/freebsd-11-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-11-stable/lib/libc/locale/
H A Dtolower.c53 _RuneEntry *base, *re; local
59 base = rr->__ranges;
61 re = base + (lim >> 1);
65 base = re + 1;
H A Dtoupper.c53 _RuneEntry *base, *re; local
59 base = rr->__ranges;
61 re = base + (lim >> 1);
67 base = re + 1;
/freebsd-11-stable/tests/sys/geom/class/raid3/
H A Dconf.sh6 base=`basename $0`
/freebsd-11-stable/tests/sys/geom/class/shsec/
H A Dconf.sh6 base=`basename $0`
/freebsd-11-stable/tools/tools/mwl/mwlstats/
H A Dmwlstats.h41 struct bsdstat base; member in struct:mwlstatfoo
/freebsd-11-stable/usr.bin/units/tests/
H A Dbasics_test.sh4 base=`basename $0`
/freebsd-11-stable/tools/tools/ath/athaggrstats/
H A Dathaggrstats.h41 struct bsdstat base; member in struct:athaggrstatfoo
/freebsd-11-stable/contrib/apr-util/buckets/
H A Dapr_buckets_pool.c37 p->heap.base = apr_bucket_alloc(p->heap.alloc_len, p->list);
38 memcpy(p->heap.base, p->base, p->heap.alloc_len);
39 p->base = NULL;
49 const char *base = p->base; local
57 base = p->heap.base;
59 *str = base + b->start;
103 /* XXX: why is this? buf is const, p->base i
[all...]
/freebsd-11-stable/sys/arm/mv/
H A Dmv_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);
681 /* Return CS i base address */
724 printf("Internal regs base: 0x%08x\n",
773 if ((tab->base + tab->size - 1) < (wintab + win)->base)
776 else if (((wintab + win)->base + (wintab + win)->size - 1) <
777 tab->base)
813 b = cpu_wins[i].base;
847 decode_win_cpu_set(int target, int attr, vm_paddr_t base, uint32_t size, vm_paddr_t remap) argument
1074 decode_win_usb_dump(u_long base) argument
1090 decode_win_usb_setup(u_long base) argument
1143 decode_win_usb3_dump(u_long base) argument
1156 decode_win_usb3_setup(u_long base) argument
1201 decode_win_usb3_setup(u_long base) argument
1206 decode_win_usb3_dump(u_long base) argument
1226 eth_bare_read(uint32_t base, int i) argument
1237 eth_bare_write(uint32_t base, int i, int val) argument
1248 eth_epap_write(uint32_t base, int i, int val) argument
1259 decode_win_eth_dump(u_long base) argument
1289 decode_win_eth_setup(u_long base) argument
1349 decode_win_pcie_setup(u_long base) argument
1424 idma_bare_read(u_long base, int i) argument
1435 idma_bare_write(u_long base, int i, int val) argument
1449 idma_cap_write(u_long base, int c, int w, int val) argument
1463 idma_set_prot(u_long base, int w, int val) argument
1483 decode_win_idma_setup(u_long base) argument
1625 decode_win_idma_dump(u_long base) argument
1657 decode_win_idma_setup(u_long base) argument
1662 decode_win_idma_dump(u_long base) argument
1672 xor_ctrl_read(u_long base, int i, int c, int e) argument
1682 xor_ctrl_write(u_long base, int i, int c, int e, int val) argument
1696 xor_chan_write(u_long base, int c, int e, int w, int val) argument
1710 xor_set_prot(u_long base, int w, int e, int val) argument
1753 xor_active_dram(u_long base, int c, int e, int *window) argument
1789 decode_win_xor_setup(u_long base) argument
1921 decode_win_xor_dump(u_long base) argument
1955 decode_win_xor_setup(u_long base) argument
1960 decode_win_xor_dump(u_long base) argument
1969 decode_win_sata_setup(u_long base) argument
2156 u_long size, base; local
2247 uint32_t base; local
[all...]

Completed in 145 milliseconds

1234567891011>>