Searched refs:cb (Results 76 - 100 of 383) sorted by relevance

1234567891011>>

/freebsd-9.3-release/crypto/openssl/crypto/cast/
H A Dcast_spd.c173 long ca, cb, cc; local
196 cb = count;
224 printf("Doing CAST_encrypt %ld times\n", cb);
227 for (count = 0, run = 1; COND(cb); count += 4) {
237 b = ((double)COUNT(cb) * 8) / d;
/freebsd-9.3-release/crypto/openssl/crypto/rc2/
H A Drc2speed.c173 long ca, cb, cc; local
196 cb = count;
224 printf("Doing RC2_encrypt %ld times\n", cb);
227 for (count = 0, run = 1; COND(cb); count += 4) {
237 b = ((double)COUNT(cb) * 8) / d;
/freebsd-9.3-release/contrib/dialog/
H A Dguage.c178 handle_input(DIALOG_CALLBACK * cb) argument
180 MY_OBJ *obj = (MY_OBJ *) cb;
223 dlg_remove_callback(cb);
238 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument
243 if (cb != 0) {
245 (void) handle_input(cb);
246 /* cb might be freed in handle_input */
247 status = (valid((MY_OBJ *) cb) && (cb->input != 0));
256 my_cleanup(DIALOG_CALLBACK * cb) argument
[all...]
H A Dtailbox.c207 handle_input(DIALOG_CALLBACK * cb) argument
209 MY_OBJ *obj = (MY_OBJ *) cb;
222 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument
224 MY_OBJ *obj = (MY_OBJ *) cb;
259 clearerr(cb->input);
260 ch = getc(cb->input);
261 (void) ungetc(ch, cb->input);
263 handle_input(cb);
/freebsd-9.3-release/crypto/openssl/ssl/
H A Ds23_srvr.c145 void (*cb) (const SSL *ssl, int type, int val) = NULL;
154 cb = s->info_callback;
156 cb = s->ctx->info_callback;
172 if (cb != NULL)
173 cb(s, SSL_CB_HANDSHAKE_START, 1);
203 cb = NULL;
214 if ((cb != NULL) && (s->state != state)) {
217 cb(s, SSL_CB_ACCEPT_LOOP, 1);
223 if (cb != NULL)
224 cb(
[all...]
/freebsd-9.3-release/lib/libc/stdlib/
H A Drb.h212 a_prefix##iter(a_rbt_type *rbtree, a_type *start, a_type *(*cb)( \
216 a_type *(*cb)(a_rbt_type *, a_type *, void *), void *arg);
316 * ex_iter(ex_t *extree, ex_node_t *start, ex_node_t *(*cb)(ex_t *,
319 * ex_reverse_iter(ex_t *extree, ex_node_t *start, ex_node *(*cb)(ex_t *,
329 * cb : Callback function, which is called for each node during
336 * arg : Opaque pointer passed to cb().
889 a_type *(*cb)(a_rbt_type *, a_type *, void *), void *arg) { \
895 a_field, node), cb, arg)) != &rbtree->rbt_nil \
896 || (ret = cb(rbtree, node, arg)) != NULL) { \
900 a_field, node), cb, ar
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dc-ppoutput.c99 cpp_callbacks *cb = cpp_get_callbacks (parse_in); local
103 cb->line_change = cb_line_change;
108 cb->ident = cb_ident;
109 cb->def_pragma = cb_def_pragma;
114 cb->include = cb_include;
118 cb->valid_pch = c_common_valid_pch;
119 cb->read_pch = cb_read_pch;
124 cb->define = cb_define;
125 cb->undef = cb_undef;
199 struct _cpp_dir_only_callbacks cb; local
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dlistener.c78 evconnlistener_cb cb; member in struct:evconnlistener
110 evconnlistener_cb cb, void *ptr, unsigned flags, int backlog,
157 evconnlistener_cb cb, void *ptr, unsigned flags, int backlog,
167 return evconnlistener_new_async(base, cb, ptr, flags,
185 lev->base.cb = cb;
210 evconnlistener_new_bind(struct event_base *base, evconnlistener_cb cb, argument
253 listener = evconnlistener_new(base, cb, ptr, flags, backlog, fd);
267 lev->cb = NULL;
292 if (lev->cb)
156 evconnlistener_new(struct event_base *base, evconnlistener_cb cb, void *ptr, unsigned flags, int backlog, evutil_socket_t fd) argument
364 evconnlistener_set_cb(struct evconnlistener *lev, evconnlistener_cb cb, void *arg) argument
392 evconnlistener_cb cb; local
606 evconnlistener_cb cb=NULL; 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 Dlog.c93 event_set_fatal_callback(event_fatal_cb cb) argument
95 fatal_fn = cb;
222 event_set_log_callback(event_log_cb cb) argument
224 log_fn = cb;
H A Devrpc-internal.h102 void (*cb)(void *, enum EVRPC_HOOK_RESULT); member in struct:evrpc_hook_ctx
189 void (*cb)(struct evrpc_status*, void *request, void *reply, void *arg); member in struct:evrpc_request_wrapper
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/
H A Devent.c170 "ev=%p", __func__, ev->cb, ev->fd,
173 (ev->cb)(ev->fd,
193 __func__, ev->cb, ev->fd, ev->cbarg, ev);
195 (ev->cb)(ev->fd,
211 void (*cb)(int, short, void *), void *cbarg)
215 ev->cb = cb;
210 __event_set(struct event *ev, int fd, short flags, void (*cb)(int, short, void *), void *cbarg) argument
/freebsd-9.3-release/contrib/ntp/sntp/libevent/include/event2/
H A Dbuffer.h211 * @param cb the callback whose status we want to change.
220 * @param cb the callback whose status we want to change.
621 evbuffer_file_segment_cleanup_cb cb, void* arg);
900 @param cb the callback function to invoke when the evbuffer is modified,
906 struct evbuffer_cb_entry *evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg);
927 int evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg);
939 @param cb the callback whose status we want to change.
945 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
950 @param cb the callback whose status we want to change.
956 struct evbuffer_cb_entry *cb, ev_uint32_
[all...]
H A Dhttp.h255 @param cb the callback function that gets invoked on requesting path
261 void (*cb)(struct evhttp_request *, void *), void *cb_arg);
275 @param cb the callback to invoke for any unmatched requests
280 void (*cb)(struct evhttp_request *, void *), void *arg);
293 @param cb the callback to invoke for incoming connections
298 struct bufferevent *(*cb)(struct event_base *, void *), void *arg);
452 @param cb callback funcion
457 void (*cb)(struct evhttp_connection *, void *), void *arg);
531 void (*cb)(struct evhttp_request *, void *), void *arg);
535 * @param cb wil
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/rsa/
H A Drsa_x931g.c73 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb)
111 Xp, Xp1, Xp2, e, ctx, cb))
120 Xq, Xq1, Xq2, e, ctx, cb))
197 BN_GENCB *cb)
221 e, ctx, cb))
225 e, ctx, cb))
234 NULL, NULL, NULL, NULL, NULL, NULL, e, cb))
70 RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2, const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) argument
196 RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e, BN_GENCB *cb) argument
/freebsd-9.3-release/crypto/openssl/fips/rsa/
H A Dfips_rsa_x931g.c76 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb)
114 Xp, Xp1, Xp2, e, ctx, cb))
123 Xq, Xq1, Xq2, e, ctx, cb))
200 BN_GENCB *cb)
239 e, ctx, cb))
243 e, ctx, cb))
252 NULL, NULL, NULL, NULL, NULL, NULL, e, cb))
73 RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2, const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) argument
199 RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e, BN_GENCB *cb) argument
/freebsd-9.3-release/sys/dev/usb/
H A Dusb_controller.h185 void usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
186 uint8_t usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb);
187 void usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
/freebsd-9.3-release/sys/nfs/
H A Dnfs_fha.c130 struct fha_callbacks *cb)
157 tmp_procnum = cb->get_procnum(procnum);
169 if (cb->no_offset(procnum))
172 error = cb->realign(&req->rq_args, M_NOWAIT);
179 error = cb->get_fh(&i->fh, v3, &md, &dpos);
184 if (cb->is_read(procnum) || cb->is_write(procnum))
185 cb->get_offset(&md, &dpos, v3, i);
188 cb->set_locktype(procnum, i);
389 struct fha_callbacks *cb; local
129 fha_extract_info(struct svc_req *req, struct fha_info *i, struct fha_callbacks *cb) argument
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_restrict.c159 const size_t cb = V4_SIZEOF_RESTRICT_U; local
169 rl = emalloc_zero(count * cb);
171 res = (void *)((char *)rl + (count - 1) * cb);
174 res = (void *)((char *)res - cb);
185 const size_t cb = V6_SIZEOF_RESTRICT_U; local
195 rl = emalloc_zero(count * cb);
197 res = (void *)((char *)rl + (count - 1) * cb);
200 res = (void *)((char *)res - cb);
325 size_t cb; local
329 cb
[all...]
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dhttpread.h77 void (*cb)(struct httpread *handle, void *cookie,
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/tests/
H A Dlink_test.c28 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
H A Dtest_wpa.c277 struct wpa_auth_callbacks cb; local
289 os_memset(&cb, 0, sizeof(cb));
290 cb.ctx = wpa;
291 cb.logger = auth_logger;
292 cb.send_eapol = auth_send_eapol;
293 cb.get_psk = auth_get_psk;
295 wpa->auth_group = wpa_init(wpa->auth_addr, &conf, &cb);
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dks_p12.c136 PKCS12_CertBag cb; local
139 ret = decode_PKCS12_CertBag(data, length, &cb, NULL);
143 if (der_heim_oid_cmp(oid_id_pkcs_9_at_certTypes_x509(), &cb.certType)) {
144 free_PKCS12_CertBag(&cb);
148 ret = decode_PKCS12_OctetString(cb.certValue.data,
149 cb.certValue.length,
152 free_PKCS12_CertBag(&cb);
488 PKCS12_CertBag cb; local
493 memset(&cb, 0, sizeof(cb));
[all...]
/freebsd-9.3-release/contrib/gcclibs/libcpp/
H A Didentifiers.c113 cpp_forall_identifiers (cpp_reader *pfile, cpp_cb cb, void *v) argument
117 ht_forall (pfile->hash_table, (ht_cb) cb, v);
/freebsd-9.3-release/contrib/pf/libevent/
H A Devent.h154 void event_set_log_callback(event_log_cb cb);
167 #define evtimer_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
173 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
179 #define signal_set(ev, x, cb, arg) \
180 event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
220 void (*cb)(struct evbuffer *, size_t, size_t, void *); member in struct:evbuffer
/freebsd-9.3-release/sys/boot/userboot/userboot/
H A Dmain.c70 loader_main(struct loader_callbacks *cb, void *arg, int version, int ndisks) argument
78 callbacks = cb;

Completed in 291 milliseconds

1234567891011>>