Symbol: encode
crypto/heimdal/appl/ftp/ftp/security.c
256
bytes = (*mech->encode)(app_data, from, length, data_prot, &buf);
crypto/heimdal/appl/ftp/ftp/security.c
383
len = (*mech->encode)(app_data, buf, strlen(buf), command_prot, &enc);
crypto/heimdal/appl/ftp/ftp/security.h
55
int (*encode)(void *, void*, int, int, void**);
crypto/heimdal/appl/ftp/ftp/security.h
66
int (*encode)(void *, void*, int, int, void**);
crypto/heimdal/appl/ftp/ftpd/security.c
256
bytes = (*mech->encode)(app_data, from, length, data_prot, &buf);
crypto/heimdal/appl/ftp/ftpd/security.c
383
len = (*mech->encode)(app_data, buf, strlen(buf), command_prot, &enc);
crypto/heimdal/lib/asn1/asn1-template.h
104
asn1_type_encode encode;
crypto/heimdal/lib/asn1/check-common.c
199
int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *),
crypto/heimdal/lib/asn1/check-common.c
241
ret = (*encode) (buf + buf_sz - 1, buf_sz,
crypto/heimdal/lib/asn1/check-common.h
53
int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *),
crypto/heimdal/lib/asn1/template.c
470
ret = (f->encode)(p, len, el, &newsize);
crypto/heimdal/lib/asn1/template.c
523
ret = (prim[type].encode)(p, len, el, &newsize);
crypto/krb5/src/lib/krad/attr.c
276
if (attributes[type - 1].encode == NULL) {
crypto/krb5/src/lib/krad/attr.c
285
return attributes[type - 1].encode(ctx, secret, auth, in, outbuf, outlen);
crypto/krb5/src/lib/krad/attr.c
299
if (attributes[type - 1].encode == NULL) {
crypto/krb5/src/lib/krad/attr.c
47
attribute_transform_fn encode;
crypto/openssl/crypto/comp/c_brotli.c
401
} encode;
crypto/openssl/crypto/comp/c_brotli.c
461
ctx->encode.bufsize = BROTLI_DEFAULT_BUFSIZE;
crypto/openssl/crypto/comp/c_brotli.c
462
ctx->encode.state = BrotliEncoderCreateInstance(brotli_alloc, brotli_free, NULL);
crypto/openssl/crypto/comp/c_brotli.c
463
if (ctx->encode.state == NULL)
crypto/openssl/crypto/comp/c_brotli.c
465
ctx->encode.mode = BROTLI_DEFAULT_MODE;
crypto/openssl/crypto/comp/c_brotli.c
474
BrotliEncoderDestroyInstance(ctx->encode.state);
crypto/openssl/crypto/comp/c_brotli.c
490
BrotliEncoderDestroyInstance(ctx->encode.state);
crypto/openssl/crypto/comp/c_brotli.c
491
OPENSSL_free(ctx->encode.buf);
crypto/openssl/crypto/comp/c_brotli.c
590
if (ctx->encode.done)
crypto/openssl/crypto/comp/c_brotli.c
594
if (ctx->encode.buf == NULL) {
crypto/openssl/crypto/comp/c_brotli.c
595
ctx->encode.buf = OPENSSL_malloc(ctx->encode.bufsize);
crypto/openssl/crypto/comp/c_brotli.c
596
if (ctx->encode.buf == NULL) {
crypto/openssl/crypto/comp/c_brotli.c
600
ctx->encode.ptr = ctx->encode.buf;
crypto/openssl/crypto/comp/c_brotli.c
601
ctx->encode.count = 0;
crypto/openssl/crypto/comp/c_brotli.c
602
ctx->encode.next_out = ctx->encode.buf;
crypto/openssl/crypto/comp/c_brotli.c
603
ctx->encode.avail_out = ctx->encode.bufsize;
crypto/openssl/crypto/comp/c_brotli.c
606
ctx->encode.next_in = (unsigned char *)in;
crypto/openssl/crypto/comp/c_brotli.c
607
ctx->encode.avail_in = (size_t)inl;
crypto/openssl/crypto/comp/c_brotli.c
610
while (ctx->encode.count > 0) {
crypto/openssl/crypto/comp/c_brotli.c
611
ret = BIO_write(next, ctx->encode.ptr, ctx->encode.count);
crypto/openssl/crypto/comp/c_brotli.c
614
int tot = inl - ctx->encode.avail_in;
crypto/openssl/crypto/comp/c_brotli.c
621
ctx->encode.ptr += ret;
crypto/openssl/crypto/comp/c_brotli.c
622
ctx->encode.count -= ret;
crypto/openssl/crypto/comp/c_brotli.c
626
if (ctx->encode.avail_in == 0 && !BrotliEncoderHasMoreOutput(ctx->encode.state))
crypto/openssl/crypto/comp/c_brotli.c
632
ctx->encode.ptr = ctx->encode.buf;
crypto/openssl/crypto/comp/c_brotli.c
633
ctx->encode.next_out = ctx->encode.buf;
crypto/openssl/crypto/comp/c_brotli.c
634
ctx->encode.avail_out = ctx->encode.bufsize;
crypto/openssl/crypto/comp/c_brotli.c
636
brret = BrotliEncoderCompressStream(ctx->encode.state, BROTLI_OPERATION_FLUSH, &ctx->encode.avail_in, (const uint8_t **)&ctx->encode.next_in,
crypto/openssl/crypto/comp/c_brotli.c
637
&ctx->encode.avail_out, &ctx->encode.next_out, NULL);
crypto/openssl/crypto/comp/c_brotli.c
643
ctx->encode.count = ctx->encode.bufsize - ctx->encode.avail_out;
crypto/openssl/crypto/comp/c_brotli.c
657
if (ctx->encode.buf == NULL || (ctx->encode.done && ctx->encode.count == 0))
crypto/openssl/crypto/comp/c_brotli.c
662
ctx->encode.next_in = NULL;
crypto/openssl/crypto/comp/c_brotli.c
663
ctx->encode.avail_in = 0;
crypto/openssl/crypto/comp/c_brotli.c
666
while (ctx->encode.count > 0) {
crypto/openssl/crypto/comp/c_brotli.c
667
ret = BIO_write(next, ctx->encode.ptr, ctx->encode.count);
crypto/openssl/crypto/comp/c_brotli.c
672
ctx->encode.ptr += ret;
crypto/openssl/crypto/comp/c_brotli.c
673
ctx->encode.count -= ret;
crypto/openssl/crypto/comp/c_brotli.c
675
if (ctx->encode.done)
crypto/openssl/crypto/comp/c_brotli.c
681
ctx->encode.ptr = ctx->encode.buf;
crypto/openssl/crypto/comp/c_brotli.c
682
ctx->encode.next_out = ctx->encode.buf;
crypto/openssl/crypto/comp/c_brotli.c
683
ctx->encode.avail_out = ctx->encode.bufsize;
crypto/openssl/crypto/comp/c_brotli.c
685
brret = BrotliEncoderCompressStream(ctx->encode.state, BROTLI_OPERATION_FINISH, &ctx->encode.avail_in,
crypto/openssl/crypto/comp/c_brotli.c
686
(const uint8_t **)&ctx->encode.next_in, &ctx->encode.avail_out, &ctx->encode.next_out, NULL);
crypto/openssl/crypto/comp/c_brotli.c
692
if (!BrotliEncoderHasMoreOutput(ctx->encode.state) && ctx->encode.avail_in == 0)
crypto/openssl/crypto/comp/c_brotli.c
693
ctx->encode.done = 1;
crypto/openssl/crypto/comp/c_brotli.c
694
ctx->encode.count = ctx->encode.bufsize - ctx->encode.avail_out;
crypto/openssl/crypto/comp/c_brotli.c
712
ctx->encode.count = 0;
crypto/openssl/crypto/comp/c_brotli.c
713
ctx->encode.done = 0;
crypto/openssl/crypto/comp/c_brotli.c
727
obs = ctx->encode.bufsize;
crypto/openssl/crypto/comp/c_brotli.c
750
if (obs > 0 && obs != ctx->encode.bufsize) {
crypto/openssl/crypto/comp/c_brotli.c
752
if (ctx->encode.buf != NULL) {
crypto/openssl/crypto/comp/c_brotli.c
753
tmp = OPENSSL_realloc(ctx->encode.buf, obs);
crypto/openssl/crypto/comp/c_brotli.c
756
ctx->encode.buf = tmp;
crypto/openssl/crypto/comp/c_brotli.c
758
ctx->encode.bufsize = obs;
crypto/openssl/crypto/comp/c_brotli.c
770
if (BrotliEncoderHasMoreOutput(ctx->encode.state))
crypto/openssl/crypto/encode_decode/encoder_lib.c
662
ok = current_encoder->encode(current_encoder_ctx, cbio,
crypto/openssl/crypto/encode_decode/encoder_local.h
40
OSSL_FUNC_encoder_encode_fn *encode;
crypto/openssl/crypto/encode_decode/encoder_meth.c
262
if (encoder->encode == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
263
encoder->encode = OSSL_FUNC_encoder_encode(fns);
crypto/openssl/crypto/encode_decode/encoder_meth.c
284
|| encoder->encode == NULL) {
crypto/openssl/crypto/evp/bio_b64.c
131
if (ctx->encode != B64_DECODE) {
crypto/openssl/crypto/evp/bio_b64.c
132
ctx->encode = B64_DECODE;
crypto/openssl/crypto/evp/bio_b64.c
332
if (ctx->encode != B64_ENCODE) {
crypto/openssl/crypto/evp/bio_b64.c
333
ctx->encode = B64_ENCODE;
crypto/openssl/crypto/evp/bio_b64.c
38
int encode;
crypto/openssl/crypto/evp/bio_b64.c
448
ctx->encode = B64_NONE;
crypto/openssl/crypto/evp/bio_b64.c
460
if (ret == 0 && ctx->encode != B64_NONE
crypto/openssl/crypto/evp/bio_b64.c
488
} else if (ctx->encode != B64_NONE
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
327
const uint8_t *ctx, size_t ctx_len, int encode,
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
333
if (encode == 0) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
366
const uint8_t *rand, size_t rand_len, int encode,
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
382
m = msg_encode(msg, msg_len, context, context_len, encode,
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
403
const uint8_t *context, size_t context_len, int encode,
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
418
m = msg_encode(msg, msg_len, context, context_len, encode,
crypto/openssl/crypto/slh_dsa/slh_dsa.c
232
const uint8_t *ctx, size_t ctx_len, int encode,
crypto/openssl/crypto/slh_dsa/slh_dsa.c
239
if (encode == 0) {
crypto/openssl/crypto/slh_dsa/slh_dsa.c
281
const uint8_t *add_rand, int encode,
crypto/openssl/crypto/slh_dsa/slh_dsa.c
289
m = msg_encode(msg, msg_len, ctx, ctx_len, encode, m_tmp, sizeof(m_tmp),
crypto/openssl/crypto/slh_dsa/slh_dsa.c
306
const uint8_t *ctx, size_t ctx_len, int encode,
crypto/openssl/crypto/slh_dsa/slh_dsa.c
314
m = msg_encode(msg, msg_len, ctx, ctx_len, encode, m_tmp, sizeof(m_tmp),
crypto/openssl/include/crypto/ml_dsa.h
112
const uint8_t *rand, size_t rand_len, int encode,
crypto/openssl/include/crypto/ml_dsa.h
117
int encode, const uint8_t *sig, size_t sig_len);
crypto/openssl/include/crypto/slh_dsa.h
62
const uint8_t *add_rand, int encode,
crypto/openssl/include/crypto/slh_dsa.h
66
const uint8_t *ctx, size_t ctx_len, int encode,
crypto/openssl/test/bio_base64_test.c
165
|| encode(buf, buflen, encoded, trunc, llen, wscnt, mem) <= 0
crypto/openssl/test/ml_dsa_test.c
133
int encode = 0, deterministic = 1;
crypto/openssl/test/ml_dsa_test.c
136
*p++ = OSSL_PARAM_construct_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &encode);
crypto/openssl/test/ml_dsa_test.c
184
int encode = 0;
crypto/openssl/test/ml_dsa_test.c
186
*p++ = OSSL_PARAM_construct_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &encode);
crypto/openssl/test/slh_dsa_test.c
219
int encode = 0;
crypto/openssl/test/slh_dsa_test.c
221
*p++ = OSSL_PARAM_construct_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &encode);
crypto/openssl/test/slh_dsa_test.c
255
int encode = 0, deterministic = 1;
crypto/openssl/test/slh_dsa_test.c
258
*p++ = OSSL_PARAM_construct_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &encode);
sys/dev/ice/ice_sched.c
4015
s32 encode = 0;
sys/dev/ice/ice_sched.c
4046
encode = i;
sys/dev/ice/ice_sched.c
4057
profile->rl_encode = CPU_TO_LE16(encode);
usr.bin/bintrans/qp.c
147
qp(FILE *fp, FILE *fpo, bool encode, bool rfc2047)
usr.bin/bintrans/qp.c
153
codec = encode ? encode_quoted_printable : decode_quoted_printable ;
usr.bin/bintrans/qp.c
171
bool encode = true;
usr.bin/bintrans/qp.c
196
encode = false;
usr.bin/bintrans/qp.c
215
qp(fp, fpo, encode, rfc2047);
usr.bin/bintrans/uuencode.c
146
encode();
usr.bin/bintrans/uuencode.c
56
static void encode(void);