Home
last modified time | relevance | path

Searched refs:cbinfo (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dcrypto.c270 write_parsed_cb(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in write_parsed_cb() argument
276 pgp_print_packet(&cbinfo->printstate, pkt); in write_parsed_cb()
278 if (pkt->tag != PGP_PTAG_CT_UNARMOURED_TEXT && cbinfo->printstate.skipping) { in write_parsed_cb()
280 cbinfo->printstate.skipping = 0; in write_parsed_cb()
285 if (!cbinfo->printstate.skipping) { in write_parsed_cb()
287 cbinfo->printstate.skipping = 1; in write_parsed_cb()
292 cbinfo->printstate.skipping = 1; in write_parsed_cb()
297 return pgp_pk_sesskey_cb(pkt, cbinfo); in write_parsed_cb()
300 if (cbinfo->sshseckey) { in write_parsed_cb()
301 *content->get_seckey.seckey = cbinfo->sshseckey; in write_parsed_cb()
[all …]
H A Dreader.c449 pgp_cbdata_t *cbinfo, in read_char() argument
462 cbinfo) != 1) { in read_char()
476 pgp_cbdata_t *cbinfo, in eat_whitespace() argument
482 c = read_char(stream, dearmour, errors, readinfo, cbinfo, skip); in eat_whitespace()
491 pgp_cbdata_t *cbinfo, in read_and_eat_whitespace() argument
497 c = read_char(stream, dearmour, errors, readinfo, cbinfo, skip); in read_and_eat_whitespace()
503 flush(dearmour_t *dearmour, pgp_cbdata_t *cbinfo) in flush() argument
510 CALLBACK(PGP_PTAG_CT_UNARMOURED_TEXT, cbinfo, &content); in flush()
519 pgp_cbdata_t *cbinfo, in unarmoured_read_char() argument
525 c = read_char(stream, dearmour, errors, readinfo, cbinfo, 0); in unarmoured_read_char()
[all …]
H A Dpacket-parse.c94 #define ERRP(cbinfo, cont, err) do { \ argument
96 CALLBACK(PGP_PARSER_ERROR, cbinfo, &cont); \
129 &stream->errors, &stream->readinfo, &stream->cbinfo); in limread_data()
168 &stream->readinfo, &stream->cbinfo)) { in read_unsig_str()
223 pgp_reader_t *readinfo, pgp_cbdata_t *cbinfo) in sub_base_read() argument
235 readinfo, cbinfo); in sub_base_read()
286 pgp_reader_t *readinfo, pgp_cbdata_t *cbinfo) in pgp_stacked_read() argument
288 return sub_base_read(stream, dest, length, errors, readinfo->next, cbinfo); in pgp_stacked_read()
296 &stream->cbinfo); in base_read()
310 pgp_cbdata_t *cbinfo) in full_read() argument
[all …]
H A Dcompress.c118 pgp_cbdata_t *cbinfo) in zlib_compressed_data_reader() argument
161 errors, readinfo, cbinfo)) { in zlib_compressed_data_reader()
173 PGP_ERROR_1(cbinfo->errors, in zlib_compressed_data_reader()
180 PGP_ERROR_1(cbinfo->errors, in zlib_compressed_data_reader()
207 pgp_cbdata_t *cbinfo) in bzip2_compressed_data_reader() argument
242 errors, readinfo, cbinfo)) in bzip2_compressed_data_reader()
254 PGP_ERROR_1(cbinfo->errors, in bzip2_compressed_data_reader()
259 PGP_ERROR_1(cbinfo->errors, in bzip2_compressed_data_reader()
H A Dvalidate.c95 pgp_cbdata_t *cbinfo) in keydata_reader() argument
101 __PGP_USED(cbinfo); in keydata_reader()
236 pgp_validate_key_cb(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in pgp_validate_key_cb() argument
247 io = cbinfo->io; in pgp_validate_key_cb()
252 key = pgp_callback_arg(cbinfo); in pgp_validate_key_cb()
253 errors = pgp_callback_errors(cbinfo); in pgp_validate_key_cb()
405 return key->getpassphrase(pkt, cbinfo); in pgp_validate_key_cb()
426 validate_data_cb(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in validate_data_cb() argument
437 io = cbinfo->io; in validate_data_cb()
442 data = pgp_callback_arg(cbinfo); in validate_data_cb()
[all …]
H A Dnetpgpdefs.h61 #define CALLBACK(t, cbinfo, pkt) do { \ argument
63 if (pgp_callback(pkt, cbinfo) == PGP_RELEASE_MEMORY) { \
H A Dkeyring.c230 decrypt_cb(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in decrypt_cb() argument
236 decrypt = pgp_callback_arg(cbinfo); in decrypt_cb()
298 decrypt_cb_empty(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in decrypt_cb_empty() argument
307 return decrypt_cb(pkt, cbinfo); in decrypt_cb_empty()
592 cb_keyring_read(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in cb_keyring_read() argument
599 cb = pgp_callback_arg(cbinfo); in cb_keyring_read()
H A Dmisc.c120 accumulate_cb(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in accumulate_cb() argument
130 accumulate = pgp_callback_arg(cbinfo); in accumulate_cb()
151 PGP_ERROR_1(cbinfo->errors, PGP_E_P_NO_USERID, "%s", in accumulate_cb()
183 return pgp_stacked_callback(pkt, cbinfo); in accumulate_cb()
1188 pgp_reader_t *readinfo, pgp_cbdata_t *cbinfo) in sum16_reader() argument
1195 r = pgp_stacked_read(stream, dest_, length, errors, readinfo, cbinfo); in sum16_reader()
H A Dcrypto.h307 pgp_cbdata_t cbinfo; member
H A Dpacket-print.c1433 cb_list_packets(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo) in cb_list_packets() argument
1435 pgp_print_packet(&cbinfo->printstate, pkt); in cb_list_packets()
1465 stream->cbinfo.passfp = passfp; in pgp_list_packets()
/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dinfo_nis.c156 struct ypall_callback cbinfo; in nis_reload() local
166 cbinfo.data = (voidp) &data; in nis_reload()
167 cbinfo.foreach = (ypall_callback_fxn_t) callback; in nis_reload()
177 error = yp_all(gopt.nis_domain, map, &cbinfo); in nis_reload()
/netbsd-src/external/bsd/libevent/dist/
H A Dbufferevent_filter.c78 const struct evbuffer_cb_info *cbinfo, void *arg);
425 const struct evbuffer_cb_info *cbinfo, void *arg) in bufferevent_filtered_outbuf_cb() argument
430 if (cbinfo->n_added) { in bufferevent_filtered_outbuf_cb()
487 const struct evbuffer_cb_info *cbinfo, void *arg) in bufferevent_filtered_inbuf_cb() argument
H A Dbufferevent_async.c311 const struct evbuffer_cb_info *cbinfo, in be_async_outbuf_callback() argument
322 if (cbinfo->n_added) in be_async_outbuf_callback()
330 const struct evbuffer_cb_info *cbinfo, in be_async_inbuf_callback() argument
341 if (cbinfo->n_deleted) in be_async_inbuf_callback()
H A Dbufferevent_sock.c133 const struct evbuffer_cb_info *cbinfo, in bufferevent_socket_outbuf_cb() argument
139 if (cbinfo->n_added && in bufferevent_socket_outbuf_cb()
H A Dbufferevent_openssl.c1140 const struct evbuffer_cb_info *cbinfo, void *arg) in be_openssl_outbuf_cb() argument
1146 if (cbinfo->n_added && bev_ssl->state == BUFFEREVENT_SSL_OPEN) { in be_openssl_outbuf_cb()
1147 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
H A Dbufferevent.c141 const struct evbuffer_cb_info *cbinfo, in bufferevent_inbuf_wm_cb() argument
/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_buffer.c1929 const struct evbuffer_cb_info *cbinfo, in log_change_callback() argument
1933 size_t old_len = cbinfo->orig_size; in log_change_callback()
1934 size_t new_len = old_len + cbinfo->n_added - cbinfo->n_deleted; in log_change_callback()
2236 const struct evbuffer_cb_info *cbinfo, in check_prepend() argument
2239 tt_int_op(cbinfo->orig_size, ==, 3); in check_prepend()
2240 tt_int_op(cbinfo->n_added, ==, 8096); in check_prepend()
2241 tt_int_op(cbinfo->n_deleted, ==, 0); in check_prepend()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dsearch.cc2634 tree cbinfo; in copied_binfo() local
2638 cbinfo = copied_binfo (BINFO_INHERITANCE_CHAIN (binfo), here); in copied_binfo()
2639 for (ix = 0; BINFO_BASE_ITERATE (cbinfo, ix, base_binfo); ix++) in copied_binfo()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dsearch.c2600 tree cbinfo; in copied_binfo() local
2604 cbinfo = copied_binfo (BINFO_INHERITANCE_CHAIN (binfo), here); in copied_binfo()
2605 for (ix = 0; BINFO_BASE_ITERATE (cbinfo, ix, base_binfo); ix++) in copied_binfo()