Searched refs:base (Results 251 - 275 of 1511) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dkqueue.c116 kq_init(struct event_base *base) argument
162 base->evsigsel = &kqsigops;
254 kq_dispatch(struct event_base *base, struct timeval *tv) argument
256 struct kqop *kqop = base->evbase;
267 /* Build "changes" from "base->changes" */
269 n_changes = kq_build_changes_list(&base->changelist, kqop);
273 event_changelist_remove_all_(&base->changelist, base);
299 EVBASE_RELEASE_LOCK(base, th_base_lock);
304 EVBASE_ACQUIRE_LOCK(base, th_base_loc
431 kq_dealloc(struct event_base *base) argument
440 kq_sig_add(struct event_base *base, int nsignal, short old, short events, void *p) argument
473 kq_sig_del(struct event_base *base, int nsignal, short old, short events, void *p) argument
508 event_kq_add_notify_event_(struct event_base *base) argument
539 event_kq_notify_base_(struct event_base *base) argument
[all...]
H A Ddevpoll.c121 devpoll_init(struct event_base *base) argument
162 evsig_init_(base);
168 devpoll_dispatch(struct event_base *base, struct timeval *tv) argument
170 struct devpollop *devpollop = base->evbase;
185 EVBASE_RELEASE_LOCK(base, th_base_lock);
189 EVBASE_ACQUIRE_LOCK(base, th_base_lock);
220 evmap_io_active_(base, events[i].fd, which);
228 devpoll_add(struct event_base *base, int fd, short old, short events, void *p) argument
230 struct devpollop *devpollop = base->evbase;
254 devpoll_del(struct event_base *base, in argument
295 devpoll_dealloc(struct event_base *base) argument
[all...]
H A Dlistener.c88 struct evconnlistener base; member in struct:evconnlistener_event
94 struct evconnlistener base; member in struct:evconnlistener_iocp
109 evconnlistener_new_async(struct event_base *base,
156 evconnlistener_new(struct event_base *base, argument
163 if (base && event_base_get_iocp_(base)) {
167 return evconnlistener_new_async(base, cb, ptr, flags,
184 lev->base.ops = &evconnlistener_event_ops;
185 lev->base.cb = cb;
186 lev->base
210 evconnlistener_new_bind(struct event_base *base, evconnlistener_cb cb, void *ptr, unsigned flags, int backlog, const struct sockaddr *sa, int socklen) argument
348 struct event_base *base; local
803 evconnlistener_new_async(struct event_base *base, evconnlistener_cb cb, void *ptr, unsigned flags, int backlog, evutil_socket_t fd) argument
[all...]
H A Devrpc.c74 struct evrpc_base* base = mm_calloc(1, sizeof(struct evrpc_base)); local
75 if (base == NULL)
81 TAILQ_INIT(&base->registered_rpcs);
82 TAILQ_INIT(&base->input_hooks);
83 TAILQ_INIT(&base->output_hooks);
85 TAILQ_INIT(&base->paused_requests);
87 base->http_server = http_server;
89 return (base);
93 evrpc_free(struct evrpc_base *base) argument
100 while ((rpc = TAILQ_FIRST(&base
125 struct evrpc_hooks_ *base = vbase; local
171 struct evrpc_hooks_ *base = vbase; local
228 evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg) argument
250 evrpc_unregister_rpc(struct evrpc_base *base, const char *name) argument
507 evrpc_pool_new(struct event_base *base) argument
765 struct evrpc_hooks_ *base = vbase; local
780 struct evrpc_hooks_ *base = vbase; local
1132 evrpc_register_generic(struct evrpc_base *base, const char *name, void (*callback)(struct evrpc_req_generic *, void *), void *cbarg, void *(*req_new)(void *), void *req_new_arg, void (*req_free)(void *), int (*req_unmarshal)(void *, struct evbuffer *), void *(*rpl_new)(void *), void *rpl_new_arg, void (*rpl_free)(void *), int (*rpl_complete)(void *), void (*rpl_marshal)(struct evbuffer *, void *)) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dds.c84 isc_sha1_update(&sha1, r.base, r.length);
87 isc_sha1_update(&sha1, r.base, r.length);
106 (const void *) r.base,
111 (const void *) r.base,
120 isc_sha384_update(&sha384, r.base, r.length);
123 isc_sha384_update(&sha384, r.base, r.length);
131 isc_sha256_update(&sha256, r.base, r.length);
134 isc_sha256_update(&sha256, r.base, r.length);
142 ds.algorithm = r.base[3];
/freebsd-9.3-release/contrib/bind9/lib/isccc/
H A Dccmsg.c83 region.base = isc_mem_get(ccmsg->mctx, ccmsg->size);
85 if (region.base == NULL) {
90 isc_buffer_init(&ccmsg->buffer, region.base, region.length);
143 ccmsg->buffer.base = NULL;
175 if (ccmsg->buffer.base != NULL) {
176 isc_mem_put(ccmsg->mctx, ccmsg->buffer.base,
178 ccmsg->buffer.base = NULL;
191 region.base = (unsigned char *)&ccmsg->size;
214 if (ccmsg->buffer.base == NULL)
217 isc_mem_put(ccmsg->mctx, ccmsg->buffer.base, ccms
[all...]
/freebsd-9.3-release/sys/kern/
H A Dsubr_scanf.c115 int base; /* base argument to strtoq/strtouq */ local
129 base = 0; /* XXX just to keep gcc happy */
195 base = 10;
201 base = 0;
207 base = 8;
213 base = 10;
220 base = 16;
242 base = 16;
422 * base
[all...]
/freebsd-9.3-release/usr.bin/dc/
H A Dinout.c186 readnumber(struct source *src, u_int base) argument
218 bn_check(BN_mul_word(n->number, base));
226 if (base != 10) {
229 BN_div_word(n->number, base);
275 get_digit(u_long num, int digits, u_int base) argument
279 if (base <= 16) {
291 printnumber(FILE *f, const struct number *b, u_int base) argument
310 if (base <= 16)
313 digits = snprintf(buf, sizeof(buf), "%u", base-1);
320 BN_ULONG rem = BN_div_word(int_part->number, base);
378 print_value(FILE *f, const struct value *value, const char *prefix, u_int base) argument
[all...]
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dinet_addr.c105 register int base, n; local
119 val = 0; base = 10;
123 base = 16, c = *++cp;
125 base = 8;
129 val = (val * base) + (c - '0');
131 } else if (base == 16 && ISASCII(c) && ISXDIGIT(c)) {
/freebsd-9.3-release/sys/boot/ia64/ski/
H A Dskifs.c96 u_int64_t base; local
100 base = 0;
104 base = f->f_offset;
109 base = f->f_offset;
113 f->f_offset = base + offset;
114 return base;
/freebsd-9.3-release/sys/dev/hptmv/
H A DmvOs.h98 extern void HPTLIBAPI MV_REG_WRITE_BYTE(MV_BUS_ADDR_T base, MV_U32 offset, MV_U8 val);
99 extern void HPTLIBAPI MV_REG_WRITE_WORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U16 val);
100 extern void HPTLIBAPI MV_REG_WRITE_DWORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U32 val);
101 extern MV_U8 HPTLIBAPI MV_REG_READ_BYTE(MV_BUS_ADDR_T base, MV_U32 offset);
102 extern MV_U16 HPTLIBAPI MV_REG_READ_WORD(MV_BUS_ADDR_T base, MV_U32 offset);
103 extern MV_U32 HPTLIBAPI MV_REG_READ_DWORD(MV_BUS_ADDR_T base, MV_U32 offset);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c68 /* set if a test needs to call loopexit on a base */
124 http_setup(ev_uint16_t *pport, struct event_base *base, int ipv6) argument
129 myhttp = evhttp_new(base);
135 evhttp_set_cb(myhttp, "/test", http_basic_cb, base);
136 evhttp_set_cb(myhttp, "/chunked", http_chunked_cb, base);
137 evhttp_set_cb(myhttp, "/streamed", http_chunked_cb, base);
138 evhttp_set_cb(myhttp, "/postit", http_post_cb, base);
139 evhttp_set_cb(myhttp, "/putit", http_put_cb, base);
140 evhttp_set_cb(myhttp, "/deleteit", http_delete_cb, base);
141 evhttp_set_cb(myhttp, "/delay", http_delay_cb, base);
339 struct event_base *base; member in struct:chunk_req_state
1235 struct event_base *base; local
1587 struct event_base *base = arg; local
1764 struct event_base *base = arg; local
1881 struct event_base *base = arg; local
1986 struct event_base *base = evhttp_connection_get_base(evcon); local
2004 struct event_base *base = evhttp_connection_get_base(evcon); local
2700 struct event_base *base = NULL; local
3249 struct event_base *base = evhttp_connection_get_base(evcon); local
3690 struct event_base *base; member in struct:terminate_state
[all...]
H A Dregress_rpc.c142 struct evrpc_base *base = NULL; local
145 base = evrpc_init(http);
147 EVRPC_REGISTER(base, Message, msg, kill, MessageCb, NULL);
148 EVRPC_REGISTER(base, NeverReply, msg, kill, NeverReplyCb, NULL);
152 *pbase = base;
159 rpc_teardown(struct evrpc_base *base) argument
161 assert(EVRPC_UNREGISTER(base, Message) == 0);
162 assert(EVRPC_UNREGISTER(base, NeverReply) == 0);
164 evrpc_free(base);
189 struct evrpc_base *base local
258 struct evrpc_base *base = NULL; local
450 struct evrpc_base *base = NULL; local
536 struct evrpc_base *base = NULL; local
636 struct evrpc_base *base = NULL; local
688 struct evrpc_base *base = NULL; local
[all...]
/freebsd-9.3-release/contrib/libstdc++/include/debug/
H A Dsafe_iterator.h146 : _Safe_iterator_base(__x, _M_constant()), _M_current(__x.base())
312 base() const { return _M_current; } function in class:__gnu_debug::_Safe_iterator
388 return std::make_pair(__rhs.base() - __lhs.base(), __dp_exact);
396 return std::make_pair(__lhs.base() == __rhs.base()? 0 : 1,
422 return __lhs.base() == __rhs.base();
438 return __lhs.base() == __rhs.base();
[all...]
/freebsd-9.3-release/lib/libstand/
H A Dprintf.c59 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper);
104 * Put a NUL-terminated ASCII number (base <= 36) in a buffer in reverse
110 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
117 c = hex2ascii(num % base);
119 } while (num /= base);
133 * printf("reg=%b\n", regval, "<base><arg>*");
135 * where <base> is the output base expressed as a control character, e.g.
161 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local
278 base
[all...]
/freebsd-9.3-release/libexec/rtld-elf/
H A Drtld_printf.c105 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
112 c = upper ? hex2ascii_upper(num % base) :
113 hex2ascii(num % base);
115 } while (num /= base);
130 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local
243 base = 10;
280 base = 8;
283 base = 16;
292 base = radix;
321 base
[all...]
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dhuman.c162 being used. If in addition (OPTS & human_B), append "B" (if base
163 1000) or "iB" (if base 1024) to the SI prefix. When ((OPTS &
174 unsigned int base = opts & human_base_1024 ? 1024 : 1000; local
260 e *= base;
263 while (e * base <= damt && exponent < exponent_max);
299 if (base <= amt)
303 unsigned int r10 = (amt % base) * 10 + tenths;
304 unsigned int r2 = (r10 % base) * 2 + (rounding >> 1);
305 amt /= base;
306 tenths = r10 / base;
[all...]
/freebsd-9.3-release/sys/boot/i386/libi386/
H A Dsmbios.c60 #define SMBIOS_GET8(base, off) (*(uint8_t *)((base) + (off)))
61 #define SMBIOS_GET16(base, off) (*(uint16_t *)((base) + (off)))
62 #define SMBIOS_GET32(base, off) (*(uint32_t *)((base) + (off)))
64 #define SMBIOS_GETLEN(base) SMBIOS_GET8(base, 0x01)
65 #define SMBIOS_GETSTR(base) ((base)
[all...]
/freebsd-9.3-release/lib/libc/locale/
H A Dxlocale.c221 static int dupcomponent(int type, locale_t base, locale_t new) argument
225 struct xlocale_component *src = base->components[type];
227 if (&__xlocale_global_locale == base) {
233 } else if (base->components[type]) {
234 new->components[type] = xlocale_retain(base->components[type]);
236 /* If the component was NULL, return success - if base is a
250 locale_t newlocale(int mask, const char *locale, locale_t base) argument
264 FIX_LOCALE(base);
265 copyflags(new, base);
288 if (!dupcomponent(type, base, ne
303 duplocale(locale_t base) argument
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dvint64ops.c45 int base
65 if (base == 0) {
66 base = 10;
68 base = 8;
71 base = 16;
74 } else if (base == 16) { /* remove optional leading '0x' or '0X' */
77 } else if (base <= 2 || base > 36) {
93 if (digit >= base)
97 res.Q_s = res.Q_s * base
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dhex.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
62 buf[0] = hex[(source->base[0] >> 4) & 0xf];
63 buf[1] = hex[(source->base[0]) & 0xf];
150 RETERR(hex_decode_char(&ctx, tr->base[i]));
186 memmove(region.base, source, l);
192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) { argument
198 memmove(tr.base, base, length);
/freebsd-9.3-release/contrib/libstdc++/include/ext/
H A Dvstring_util.h150 { _S_copy_chars(__p, __k1.base(), __k2.base()); }
155 { _S_copy_chars(__p, __k1.base(), __k2.base()); }
159 { _S_copy_chars(__p, __k1.base(), __k2.base()); }
164 { _S_copy_chars(__p, __k1.base(), __k2.base()); }
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dbuf.c50 static int ibv_dontfork_range(void *base, size_t size) argument
55 static int ibv_dofork_range(void *base, size_t size) argument
/freebsd-9.3-release/contrib/ofed/libmthca/src/
H A Dbuf.c48 static int ibv_dontfork_range(void *base, size_t size) argument
53 static int ibv_dofork_range(void *base, size_t size) argument
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dcrypto_internal-modexp.c22 int crypto_mod_exp(const u8 *base, size_t base_len, argument
39 if (bignum_set_unsigned_bin(bn_base, base, base_len) < 0 ||

Completed in 281 milliseconds

<<11121314151617181920>>