Searched refs:ctx (Results 1 - 25 of 1586) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/sendmail/libmilter/
H A Dhandler.c21 ** ctx -- context structure
28 mi_handle_session(ctx)
29 SMFICTX_PTR ctx;
33 if (ctx == NULL)
35 ctx->ctx_id = (sthread_t) sthread_get_id();
42 if (pthread_detach(ctx->ctx_id) != 0)
45 ret = mi_engine(ctx);
46 mi_clr_ctx(ctx);
47 ctx = NULL;
/freebsd-10-stable/contrib/wpa/src/crypto/
H A Daes-encblock.c25 void *ctx; local
26 ctx = aes_encrypt_init(key, 16);
27 if (ctx == NULL)
29 aes_encrypt(ctx, in, out);
30 aes_encrypt_deinit(ctx);
/freebsd-10-stable/crypto/openssl/crypto/evp/
H A Dpmeth_fn.c67 #define M_check_autoarg(ctx, arg, arglen, err) \
68 if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \
70 size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \
83 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) argument
86 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) {
91 ctx->operation = EVP_PKEY_OP_SIGN;
92 if (!ctx->pmeth->sign_init)
94 ret = ctx
100 EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen) argument
117 EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx) argument
134 EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen) argument
150 EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx) argument
167 EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen, const unsigned char *sig, size_t siglen) argument
184 EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx) argument
201 EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument
218 EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx) argument
235 EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument
252 EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx) argument
269 EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer) argument
333 EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *pkeylen) argument
[all...]
H A Dbio_b64.c116 BIO_B64_CTX *ctx; local
118 ctx = (BIO_B64_CTX *)OPENSSL_malloc(sizeof(BIO_B64_CTX));
119 if (ctx == NULL)
122 ctx->buf_len = 0;
123 ctx->tmp_len = 0;
124 ctx->tmp_nl = 0;
125 ctx->buf_off = 0;
126 ctx->cont = 1;
127 ctx->start = 1;
128 ctx
151 BIO_B64_CTX *ctx; local
365 BIO_B64_CTX *ctx; local
476 BIO_B64_CTX *ctx; local
[all...]
H A Ddigest.c124 void EVP_MD_CTX_init(EVP_MD_CTX *ctx) argument
126 memset(ctx, '\0', sizeof *ctx);
131 EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof *ctx); local
133 if (ctx)
134 EVP_MD_CTX_init(ctx);
136 return ctx;
139 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) argument
141 EVP_MD_CTX_init(ctx);
145 EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) argument
241 EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t count) argument
251 EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) argument
260 EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) argument
342 EVP_MD_CTX ctx; local
355 EVP_MD_CTX_destroy(EVP_MD_CTX *ctx) argument
364 EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) argument
[all...]
H A Dbio_ok.c177 BIO_OK_CTX *ctx; local
179 ctx = (BIO_OK_CTX *)OPENSSL_malloc(sizeof(BIO_OK_CTX));
180 if (ctx == NULL)
183 ctx->buf_len = 0;
184 ctx->buf_off = 0;
185 ctx->buf_len_save = 0;
186 ctx->buf_off_save = 0;
187 ctx->cont = 1;
188 ctx->finished = 0;
189 ctx
216 BIO_OK_CTX *ctx; local
299 BIO_OK_CTX *ctx; local
362 BIO_OK_CTX *ctx; local
479 BIO_OK_CTX *ctx; local
515 BIO_OK_CTX *ctx; local
557 BIO_OK_CTX *ctx; local
584 BIO_OK_CTX *ctx; local
[all...]
/freebsd-10-stable/contrib/serf/buckets/
H A Ddeflate_buckets.c86 deflate_context_t *ctx; local
88 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx));
89 ctx->stream = stream;
90 ctx->stream_status = APR_SUCCESS;
91 ctx->inflate_stream = serf_bucket_aggregate_create(allocator);
92 ctx->format = format;
93 ctx->crc = 0;
95 memset(&ctx->zstream, 0, sizeof(ctx
122 deflate_context_t *ctx = bucket->data; local
143 deflate_context_t *ctx = bucket->data; local
[all...]
H A Dresponse_buckets.c48 static int expect_body(response_context_t *ctx) argument
50 if (ctx->head_req)
54 if (ctx->sl.code >= 100 && ctx->sl.code < 200)
58 if (ctx->sl.code == 204)
64 if (ctx->sl.code == 304)
74 response_context_t *ctx; local
76 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx));
77 ctx
92 response_context_t *ctx = bucket->data; local
106 response_context_t *ctx = bucket->data; local
120 fetch_line(response_context_t *ctx, int acceptable) argument
125 parse_status_line(response_context_t *ctx, serf_bucket_alloc_t *allocator) argument
156 fetch_headers(serf_bucket_t *bkt, response_context_t *ctx) argument
210 run_machine(serf_bucket_t *bkt, response_context_t *ctx) argument
337 wait_for_body(serf_bucket_t *bkt, response_context_t *ctx) argument
359 response_context_t *ctx = bucket->data; local
368 response_context_t *ctx = bkt->data; local
399 response_context_t *ctx = bucket->data; local
431 response_context_t *ctx = bucket->data; local
445 response_context_t *ctx = bucket->data; local
[all...]
H A Ddechunk_buckets.c44 dechunk_context_t *ctx; local
46 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx));
47 ctx->stream = stream;
48 ctx->state = STATE_SIZE;
50 serf_linebuf_init(&ctx->linebuf);
52 return serf_bucket_create(&serf_bucket_type_dechunk, allocator, ctx);
57 dechunk_context_t *ctx = bucket->data; local
59 serf_bucket_destroy(ctx->stream);
68 dechunk_context_t *ctx local
[all...]
H A Dbwtp_buckets.c68 frame_context_t *ctx; local
70 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx));
71 ctx->type = 0;
72 ctx->open = 0;
73 ctx->channel = channel;
74 ctx->phrase = "CLOSED";
75 ctx->headers = serf_bucket_headers_create(allocator);
77 return serf_bucket_create(&serf_bucket_type_bwtp_frame, allocator, ctx);
85 frame_context_t *ctx; local
102 frame_context_t *ctx; local
119 frame_context_t *ctx; local
135 frame_context_t *ctx = bucket->data; local
140 incoming_context_t *ctx = bucket->data; local
152 frame_context_t *ctx = bucket->data; local
157 incoming_context_t *ctx = bucket->data; local
169 frame_context_t *ctx = bucket->data; local
174 incoming_context_t *ctx = bucket->data; local
186 frame_context_t *ctx = bucket->data; local
191 incoming_context_t *ctx = bucket->data; local
221 frame_context_t *ctx = bucket->data; local
317 incoming_context_t *ctx; local
335 incoming_context_t *ctx = bucket->data; local
349 fetch_line(incoming_context_t *ctx, int acceptable) argument
354 parse_status_line(incoming_context_t *ctx, serf_bucket_alloc_t *allocator) argument
403 fetch_headers(serf_bucket_t *bkt, incoming_context_t *ctx) argument
449 run_machine(serf_bucket_t *bkt, incoming_context_t *ctx) argument
518 wait_for_body(serf_bucket_t *bkt, incoming_context_t *ctx) argument
540 incoming_context_t *ctx = bucket->data; local
549 incoming_context_t *ctx = bucket->data; local
572 incoming_context_t *ctx = bucket->data; local
[all...]
/freebsd-10-stable/sys/crypto/siphash/
H A Dsiphash.c55 static void SipRounds(SIPHASH_CTX *ctx, int final);
58 SipHash_InitX(SIPHASH_CTX *ctx, int rc, int rf) argument
61 ctx->v[0] = 0x736f6d6570736575ull;
62 ctx->v[1] = 0x646f72616e646f6dull;
63 ctx->v[2] = 0x6c7967656e657261ull;
64 ctx->v[3] = 0x7465646279746573ull;
65 ctx->buf.b64 = 0;
66 ctx->bytes = 0;
67 ctx->buflen = 0;
68 ctx
74 SipHash_SetKey(SIPHASH_CTX *ctx, const uint8_t key[16]) argument
94 SipBuf(SIPHASH_CTX *ctx, const uint8_t **src, size_t len, int final) argument
120 SipHash_Update(SIPHASH_CTX *ctx, const void *src, size_t len) argument
170 SipHash_Final(void *dst, SIPHASH_CTX *ctx) argument
182 SipHash_End(SIPHASH_CTX *ctx) argument
199 SipHashX(SIPHASH_CTX *ctx, int rc, int rf, const uint8_t key[16], const void *src, size_t len) argument
213 SipRounds(SIPHASH_CTX *ctx, int final) argument
[all...]
/freebsd-10-stable/crypto/heimdal/lib/gssapi/krb5/
H A Ddelete_sec_context.c42 gsskrb5_ctx ctx; local
56 ctx = (gsskrb5_ctx) *context_handle;
59 HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
61 krb5_auth_con_free (context, ctx->auth_context);
62 krb5_auth_con_free (context, ctx->deleg_auth_context);
63 if (ctx->kcred)
64 krb5_free_creds(context, ctx->kcred);
65 if(ctx->source)
66 krb5_free_principal (context, ctx->source);
67 if(ctx
[all...]
H A Dticket_flags.c38 gsskrb5_ctx ctx,
41 if (ctx == NULL) {
45 HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
47 if (ctx->ticket == NULL) {
48 HEIMDAL_MUTEX_unlock(&ctx->ctx_id_mutex);
53 *tkt_flags = TicketFlags2int(ctx->ticket->ticket.flags);
54 HEIMDAL_MUTEX_unlock(&ctx->ctx_id_mutex);
37 _gsskrb5_get_tkt_flags(OM_uint32 *minor_status, gsskrb5_ctx ctx, OM_uint32 *tkt_flags) argument
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_cryptor.c95 mbedtls_md_context_t ctx; local
99 mbedtls_md_init(&ctx);
102 mbedtls_md_free(&ctx);
105 ret = mbedtls_md_setup(&ctx, info, 1);
107 mbedtls_md_free(&ctx);
110 ret = mbedtls_pkcs5_pbkdf2_hmac(&ctx, (const unsigned char *)pw,
113 mbedtls_md_free(&ctx);
165 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) argument
169 ctx->key_len = key_len;
170 memcpy(ctx
179 aes_ctr_encrypt_counter(archive_crypto_ctx *ctx) argument
193 aes_ctr_release(archive_crypto_ctx *ctx) argument
203 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) argument
274 aes_ctr_encrypt_counter(archive_crypto_ctx *ctx) argument
286 aes_ctr_release(archive_crypto_ctx *ctx) argument
304 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) argument
315 aes_ctr_encrypt_counter(archive_crypto_ctx *ctx) argument
327 aes_ctr_release(archive_crypto_ctx *ctx) argument
337 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) argument
348 aes_ctr_encrypt_counter(archive_crypto_ctx *ctx) argument
379 aes_ctr_release(archive_crypto_ctx *ctx) argument
388 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) argument
416 aes_ctr_encrypt_counter(archive_crypto_ctx *ctx) argument
432 aes_ctr_release(archive_crypto_ctx *ctx) argument
445 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) argument
454 aes_ctr_encrypt_counter(archive_crypto_ctx *ctx) argument
461 aes_ctr_release(archive_crypto_ctx *ctx) argument
471 aes_ctr_update(archive_crypto_ctx *ctx, const uint8_t * const in, size_t in_len, uint8_t * const out, size_t *out_len) argument
485 aes_ctr_increase_counter(archive_crypto_ctx *ctx) argument
497 aes_ctr_update(archive_crypto_ctx *ctx, const uint8_t * const in, size_t in_len, uint8_t * const out, size_t *out_len) argument
[all...]
H A Darchive_digest.c52 win_crypto_init(Digest_CTX *ctx, ALG_ID algId) argument
55 ctx->valid = 0;
56 if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL,
60 if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL,
65 if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) {
66 CryptReleaseContext(ctx->cryptProv, 0);
70 ctx->valid = 1;
78 win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) argument
81 if (!ctx
91 win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) argument
112 __archive_md5init(archive_md5_ctx *ctx) argument
119 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
127 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
136 __archive_md5init(archive_md5_ctx *ctx) argument
143 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
151 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
160 __archive_md5init(archive_md5_ctx *ctx) argument
167 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
175 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
184 __archive_md5init(archive_md5_ctx *ctx) argument
194 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
204 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
218 __archive_md5init(archive_md5_ctx *ctx) argument
225 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
233 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
242 __archive_md5init(archive_md5_ctx *ctx) argument
251 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
259 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
276 __archive_md5init(archive_md5_ctx *ctx) argument
282 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
289 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
297 __archive_md5init(archive_md5_ctx *ctx) argument
304 __archive_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) argument
314 __archive_md5final(archive_md5_ctx *ctx, void *md) argument
327 __archive_ripemd160init(archive_rmd160_ctx *ctx) argument
334 __archive_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) argument
342 __archive_ripemd160final(archive_rmd160_ctx *ctx, void *md) argument
351 __archive_ripemd160init(archive_rmd160_ctx *ctx) argument
358 __archive_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) argument
366 __archive_ripemd160final(archive_rmd160_ctx *ctx, void *md) argument
375 __archive_ripemd160init(archive_rmd160_ctx *ctx) argument
385 __archive_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) argument
395 __archive_ripemd160final(archive_rmd160_ctx *ctx, void *md) argument
409 __archive_ripemd160init(archive_rmd160_ctx *ctx) argument
416 __archive_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) argument
424 __archive_ripemd160final(archive_rmd160_ctx *ctx, void *md) argument
433 __archive_ripemd160init(archive_rmd160_ctx *ctx) argument
442 __archive_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) argument
450 __archive_ripemd160final(archive_rmd160_ctx *ctx, void *md) argument
463 __archive_ripemd160init(archive_rmd160_ctx *ctx) argument
470 __archive_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) argument
480 __archive_ripemd160final(archive_rmd160_ctx *ctx, void *md) argument
493 __archive_sha1init(archive_sha1_ctx *ctx) argument
500 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
508 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
517 __archive_sha1init(archive_sha1_ctx *ctx) argument
524 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
532 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
541 __archive_sha1init(archive_sha1_ctx *ctx) argument
548 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
556 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
565 __archive_sha1init(archive_sha1_ctx *ctx) argument
575 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
585 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
599 __archive_sha1init(archive_sha1_ctx *ctx) argument
606 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
614 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
623 __archive_sha1init(archive_sha1_ctx *ctx) argument
632 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
640 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
657 __archive_sha1init(archive_sha1_ctx *ctx) argument
663 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
670 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
678 __archive_sha1init(archive_sha1_ctx *ctx) argument
685 __archive_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) argument
695 __archive_sha1final(archive_sha1_ctx *ctx, void *md) argument
708 __archive_sha256init(archive_sha256_ctx *ctx) argument
715 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
723 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
732 __archive_sha256init(archive_sha256_ctx *ctx) argument
739 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
747 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
756 __archive_sha256init(archive_sha256_ctx *ctx) argument
763 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
771 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
780 __archive_sha256init(archive_sha256_ctx *ctx) argument
787 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
795 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
804 __archive_sha256init(archive_sha256_ctx *ctx) argument
811 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
819 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
828 __archive_sha256init(archive_sha256_ctx *ctx) argument
838 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
848 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
862 __archive_sha256init(archive_sha256_ctx *ctx) argument
869 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
877 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
886 __archive_sha256init(archive_sha256_ctx *ctx) argument
895 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
903 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
916 __archive_sha256init(archive_sha256_ctx *ctx) argument
922 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
929 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
937 __archive_sha256init(archive_sha256_ctx *ctx) argument
944 __archive_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) argument
954 __archive_sha256final(archive_sha256_ctx *ctx, void *md) argument
967 __archive_sha384init(archive_sha384_ctx *ctx) argument
974 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
982 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
991 __archive_sha384init(archive_sha384_ctx *ctx) argument
998 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1006 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1015 __archive_sha384init(archive_sha384_ctx *ctx) argument
1022 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1030 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1039 __archive_sha384init(archive_sha384_ctx *ctx) argument
1046 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1054 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1063 __archive_sha384init(archive_sha384_ctx *ctx) argument
1073 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1083 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1097 __archive_sha384init(archive_sha384_ctx *ctx) argument
1104 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1112 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1121 __archive_sha384init(archive_sha384_ctx *ctx) argument
1130 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1138 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1151 __archive_sha384init(archive_sha384_ctx *ctx) argument
1157 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1164 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1172 __archive_sha384init(archive_sha384_ctx *ctx) argument
1179 __archive_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) argument
1189 __archive_sha384final(archive_sha384_ctx *ctx, void *md) argument
1202 __archive_sha512init(archive_sha512_ctx *ctx) argument
1209 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1217 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1226 __archive_sha512init(archive_sha512_ctx *ctx) argument
1233 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1241 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1250 __archive_sha512init(archive_sha512_ctx *ctx) argument
1257 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1265 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1274 __archive_sha512init(archive_sha512_ctx *ctx) argument
1281 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1289 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1298 __archive_sha512init(archive_sha512_ctx *ctx) argument
1305 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1313 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1322 __archive_sha512init(archive_sha512_ctx *ctx) argument
1332 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1342 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1356 __archive_sha512init(archive_sha512_ctx *ctx) argument
1363 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1371 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1380 __archive_sha512init(archive_sha512_ctx *ctx) argument
1389 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1397 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1410 __archive_sha512init(archive_sha512_ctx *ctx) argument
1416 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1423 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
1431 __archive_sha512init(archive_sha512_ctx *ctx) argument
1438 __archive_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) argument
1448 __archive_sha512final(archive_sha512_ctx *ctx, void *md) argument
[all...]
/freebsd-10-stable/contrib/ipfilter/lib/
H A Dsave_nothing.c28 void *ctx; local
34 ctx = calloc(1, sizeof(void *));
36 return ctx;
41 nothing_destroy(ctx)
42 void *ctx;
44 free(ctx);
49 nothing_send(ctx, msg)
50 void *ctx;
54 ctx = ctx; /* gc
[all...]
H A Dsave_file.c33 file_opts_t *ctx; local
35 ctx = calloc(1, sizeof(*ctx));
36 if (ctx == NULL)
40 ctx->ref = 1;
42 ctx->raw = 1;
43 ctx->path = strdup(strings[0] + 6);
44 ctx->fp = fopen(ctx->path, "ab");
46 ctx
[all...]
/freebsd-10-stable/crypto/openssl/crypto/
H A DLPdir_unix.c70 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) argument
74 if (ctx == NULL || directory == NULL) {
80 if (*ctx == NULL) {
81 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX));
82 if (*ctx == NULL) {
86 memset(*ctx, '\0', sizeof(LP_DIR_CTX));
88 (*ctx)->dir = opendir(directory);
89 if ((*ctx)->dir == NULL) {
91 free(*ctx);
92 *ctx
109 LP_find_file_end(LP_DIR_CTX **ctx) argument
[all...]
/freebsd-10-stable/contrib/unbound/libunbound/
H A Dlibunbound.c83 struct ub_ctx* ctx; local
101 ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
102 if(!ctx) {
106 alloc_init(&ctx->superalloc, NULL, 0);
108 if(!(ctx->seed_rnd = ub_initstate(seed, NULL))) {
110 ub_randfree(ctx->seed_rnd);
111 free(ctx);
116 lock_basic_init(&ctx->qqpipe_lock);
117 lock_basic_init(&ctx
145 struct ub_ctx* ctx = ub_ctx_create_nopipe(); local
175 struct ub_ctx* ctx = ub_ctx_create_nopipe(); local
195 ub_stop_bg(struct ub_ctx* ctx) argument
241 ub_ctx_delete(struct ub_ctx* ctx) argument
294 ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val) argument
310 ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str) argument
323 ub_ctx_config(struct ub_ctx* ctx, const char* fname) argument
339 ub_ctx_add_ta(struct ub_ctx* ctx, const char* ta) argument
359 ub_ctx_add_ta_file(struct ub_ctx* ctx, const char* fname) argument
378 ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname) argument
399 ub_ctx_trustedkeys(struct ub_ctx* ctx, const char* fname) argument
419 ub_ctx_debuglevel(struct ub_ctx* ctx, int d) argument
428 ub_ctx_debugout(struct ub_ctx* ctx, void* out) argument
439 ub_ctx_async(struct ub_ctx* ctx, int dothread) argument
456 ub_poll(struct ub_ctx* ctx) argument
463 ub_fd(struct ub_ctx* ctx) argument
470 process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len, ub_callback_t* cb, void** cbarg, int* err, struct ub_result** res) argument
535 process_answer(struct ub_ctx* ctx, uint8_t* msg, uint32_t len) argument
554 ub_process(struct ub_ctx* ctx) argument
578 ub_wait(struct ub_ctx* ctx) argument
632 ub_resolve(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass, struct ub_result** result) argument
676 ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass, void* mydata, ub_event_callback_t callback, int* async_id) argument
715 ub_resolve_async(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass, void* mydata, ub_callback_t callback, int* async_id) argument
778 ub_cancel(struct ub_ctx* ctx, int async_id) argument
856 ub_ctx_set_fwd(struct ub_ctx* ctx, const char* addr) argument
928 ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname) argument
1014 ub_ctx_hosts(struct ub_ctx* ctx, const char* fname) argument
1119 ub_ctx_finalize(struct ub_ctx* ctx) argument
1131 ub_ctx_print_local_zones(struct ub_ctx* ctx) argument
1142 ub_ctx_zone_add(struct ub_ctx* ctx, const char *zone_name, const char *zone_type) argument
1183 ub_ctx_zone_remove(struct ub_ctx* ctx, const char *zone_name) argument
1209 ub_ctx_data_add(struct ub_ctx* ctx, const char *data) argument
1219 ub_ctx_data_remove(struct ub_ctx* ctx, const char *data) argument
1243 ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base) argument
[all...]
/freebsd-10-stable/lib/libc/arm/gen/
H A Dgetcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);
/freebsd-10-stable/lib/libc/ia64/gen/
H A Dgetcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);
/freebsd-10-stable/lib/libc/mips/gen/
H A Dgetcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);
/freebsd-10-stable/lib/libc/powerpc/gen/
H A Dgetcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);
/freebsd-10-stable/lib/libc/powerpc64/gen/
H A Dgetcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);
/freebsd-10-stable/lib/libc/sparc64/gen/
H A Dgetcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);

Completed in 163 milliseconds

1234567891011>>