Searched refs:cctx (Results 1 - 25 of 100) sorted by relevance

1234

/macosx-10.10/bind9-45.101/bind9/lib/dns/
H A Dcompress.c46 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx) { argument
49 REQUIRE(cctx != NULL);
52 cctx->allowed = 0;
53 cctx->edns = edns;
55 cctx->table[i] = NULL;
56 cctx->mctx = mctx;
57 cctx->count = 0;
58 cctx->magic = CCTX_MAGIC;
63 dns_compress_invalidate(dns_compress_t *cctx) { argument
67 REQUIRE(VALID_CCTX(cctx));
84 dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed) argument
92 dns_compress_getmethods(dns_compress_t *cctx) argument
98 dns_compress_setsensitive(dns_compress_t *cctx, isc_boolean_t sensitive) argument
108 dns_compress_getsensitive(dns_compress_t *cctx) argument
115 dns_compress_getedns(dns_compress_t *cctx) argument
134 dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, isc_uint16_t *offset) argument
196 dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, isc_uint16_t offset) argument
252 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset) argument
[all...]
H A Drdataset.c314 dns_compress_t *cctx, isc_buffer_t *target,
334 * in cctx, and storing the result in 'target'.
340 REQUIRE(cctx != NULL && cctx->mctx != NULL);
354 return (dns_ncache_towire(rdataset, cctx, target, ncache_opts,
374 shuffled = isc_mem_get(cctx->mctx, count * sizeof(*shuffled));
375 sorted = isc_mem_get(cctx->mctx, count * sizeof(*sorted));
474 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
475 result = dns_name_towire(owner_name, cctx, target);
507 result = dns_rdata_towire(&rdata, cctx, targe
313 towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, isc_boolean_t partial, unsigned int options, unsigned int *countp, void **state) argument
559 dns_rdataset_towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, unsigned int options, unsigned int *countp) argument
574 dns_rdataset_towirepartial(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, unsigned int options, unsigned int *countp, void **state) argument
591 dns_rdataset_towire(dns_rdataset_t *rdataset, dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, unsigned int options, unsigned int *countp) argument
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/dns/include/dns/
H A Dcompress.h78 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx);
80 * Initialise the compression context structure pointed to by 'cctx'.
83 * \li 'cctx' is a valid dns_compress_t structure.
86 * \li cctx->global is initialized.
94 dns_compress_invalidate(dns_compress_t *cctx);
97 * Invalidate the compression structure pointed to by cctx.
100 *\li 'cctx' to be initialized.
104 dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed);
110 *\li 'cctx' to be initialized.
114 dns_compress_getmethods(dns_compress_t *cctx);
[all...]
H A Dncache.h101 dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx,
106 * compressing names as specified in 'cctx', and storing the result in
H A Drdataset.h387 dns_compress_t *cctx,
393 * in 'cctx', and storing the result in 'target'.
426 dns_compress_t *cctx,
445 dns_compress_t *cctx,
/macosx-10.10/Heimdal-398.1.2/kcm/
H A Dconnect.c42 heim_sipc_call cctx)
61 (*complete)(cctx, EINVAL, NULL);
72 (*complete)(cctx, EINVAL, NULL);
87 (*complete)(cctx, ret, &rep);
39 kcm_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
/macosx-10.10/bind9-45.101/bind9/bin/tests/
H A Dcompress_test.c98 dns_compress_t cctx; local
118 RUNTIME_CHECK(dns_compress_init(&cctx, -1, mctx) == ISC_R_SUCCESS);
120 RUNTIME_CHECK(dns_name_towire(name1, &cctx, &source) == ISC_R_SUCCESS);
123 RUNTIME_CHECK(dns_compress_localinit(&cctx, name1, &source) ==
126 dns_compress_setmethods(&cctx, allowed);
127 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS);
128 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS);
129 RUNTIME_CHECK(dns_name_towire(name3, &cctx, &source) == ISC_R_SUCCESS);
132 dns_compress_localinvalidate(&cctx);
134 dns_compress_rollback(&cctx,
[all...]
H A Dwire_test.c222 dns_compress_t cctx; local
236 result = dns_compress_init(&cctx, -1, mctx);
239 result = dns_message_renderbegin(message, &cctx, &buffer);
264 dns_compress_invalidate(&cctx);
H A Dsig0_test.c141 dns_compress_t cctx; local
167 result = dns_compress_init(&cctx, -1, mctx);
169 result = dns_message_renderbegin(query, &cctx, &qbuffer);
181 dns_compress_invalidate(&cctx);
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/
H A Dtest_context.c86 gss_ctx_id_t *sctx, gss_ctx_id_t *cctx,
154 cctx,
252 wrapunwrap(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) argument
262 maj_stat = gss_wrap(&min_stat, cctx, flags, 0, &input_token,
289 wrapunwrap_iov(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) argument
364 maj_stat = gss_wrap_iov(&min_stat, cctx, dce_style_flag || flags & USE_CONF, 0, &conf_state,
425 getverifymic(gss_ctx_id_t cctx, gss_ctx_id_t sctx, gss_OID mechoid) argument
434 maj_stat = gss_get_mic(&min_stat, cctx, 0, &input_token,
670 gss_ctx_id_t cctx, sctx; local
685 cctx
81 loop(gss_OID mechoid, gss_const_OID nameoid, const char *target, const char *acceptor_name, gss_cred_id_t init_cred, gss_channel_bindings_t bindings, gss_ctx_id_t *sctx, gss_ctx_id_t *cctx, gss_OID *actual_mech, gss_cred_id_t *deleg_cred) argument
943 &sctx, &cctx, &actual_mech, &deleg_cred); local
1306 &sctx, &cctx, &actual_mech, NULL); local
[all...]
H A Dtest_gss_fuzzer.c97 gss_ctx_id_t cctx = NULL, sctx = NULL; local
149 &cctx,
241 gss_delete_sec_context(&min_stat, &cctx, NULL);
/macosx-10.10/bind9-45.101/bind9/lib/isccfg/include/isccfg/
H A Daclconf.h62 const cfg_obj_t *cctx,
70 * 'cctx'. Memory is allocated through 'mctx'.
/macosx-10.10/OpenSSH-189/openssh/
H A Dmux.c305 struct mux_session_confirm_ctx *cctx; local
311 cctx = xcalloc(1, sizeof(*cctx));
312 cctx->term = NULL;
313 cctx->rid = rid;
315 cctx->env = NULL;
318 buffer_get_int_ret(&cctx->want_tty, m) != 0 ||
319 buffer_get_int_ret(&cctx->want_x_fwd, m) != 0 ||
320 buffer_get_int_ret(&cctx->want_agent_fwd, m) != 0 ||
321 buffer_get_int_ret(&cctx
1244 struct mux_session_confirm_ctx *cctx = arg; local
[all...]
H A Dchannels.c3245 /* Try to start non-blocking connect to next host in cctx list */
3247 connect_next(struct channel_connect *cctx) argument
3252 for (; cctx->ai; cctx->ai = cctx->ai->ai_next) {
3253 if (cctx->ai->ai_family != AF_INET &&
3254 cctx->ai->ai_family != AF_INET6)
3256 if (getnameinfo(cctx->ai->ai_addr, cctx->ai->ai_addrlen,
3262 if ((sock = socket(cctx
3292 channel_connect_ctx_free(struct channel_connect *cctx) argument
3310 struct channel_connect cctx; local
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/ipc/
H A Dts.c64 heim_sipc_call cctx)
70 (*complete)(cctx, 0, &rep);
61 test_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
H A Dts-http.c64 heim_sipc_call cctx)
70 (*complete)(cctx, 0, &rep);
61 test_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
/macosx-10.10/bind9-45.101/bind9/lib/isccfg/
H A Daclconf.c104 get_acl_def(const cfg_obj_t *cctx, const char *name, const cfg_obj_t **ret) { argument
109 result = cfg_map_get(cctx, "acl", &acls);
128 convert_named_acl(const cfg_obj_t *nameobj, const cfg_obj_t *cctx, argument
155 result = get_acl_def(cctx, aclname, &cacl);
169 result = cfg_acl_fromconfig(cacl, cctx, lctx, ctx, mctx,
217 count_acl_elements(const cfg_obj_t *caml, const cfg_obj_t *cctx, argument
244 n += count_acl_elements(ce, cctx, &negative);
254 result = get_acl_def(cctx, name, &cacl);
256 n += count_acl_elements(cacl, cctx,
267 const cfg_obj_t *cctx,
266 cfg_acl_fromconfig(const cfg_obj_t *caml, const cfg_obj_t *cctx, isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, unsigned int nest_level, dns_acl_t **target) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/mech/
H A Dgss_iter_cred.c63 iterate(void *cctx, gss_OID mech, gss_cred_id_t cred) argument
65 struct _gss_iter *ctx = cctx;
/macosx-10.10/OpenSSL098-52/src/crypto/evp/
H A Dp5_crpt.c103 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, argument
154 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de);
/macosx-10.10/Heimdal-398.1.2/kdc/
H A Dconnect.c69 heim_sipc_call cctx);
438 heim_sipc_call cctx)
472 (*complete)(cctx, ret, &reply);
480 heim_sipc_call cctx)
495 (*complete)(cctx, ret, &reply);
435 kdc_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
477 kdc_local(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
/macosx-10.10/bind9-45.101/bind9/lib/dns/rdata/generic/
H A Dminfo_14.c124 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
134 RETERR(dns_name_towire(&rmail, cctx, target));
139 return (dns_name_towire(&rmail, cctx, target));
H A Drp_17.c124 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
133 RETERR(dns_name_towire(&rmail, cctx, target));
138 return (dns_name_towire(&rmail, cctx, target));
H A Dcname_5.c95 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
101 return (dns_name_towire(&name, cctx, target));
H A Ddname_39.c96 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
101 return (dns_name_towire(&name, cctx, target));
/macosx-10.10/bind9-45.101/bind9/lib/dns/rdata/in_1/
H A Dpx_26.c161 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
174 RETERR(dns_name_towire(&name, cctx, target));
182 return (dns_name_towire(&name, cctx, target));

Completed in 164 milliseconds

1234