Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/src/crypto/openssl/crypto/comp/
H A Dc_brotli.c401 } encode; member
461 ctx->encode.bufsize = BROTLI_DEFAULT_BUFSIZE; in bio_brotli_new()
462 ctx->encode.state = BrotliEncoderCreateInstance(brotli_alloc, brotli_free, NULL); in bio_brotli_new()
463 if (ctx->encode.state == NULL) in bio_brotli_new()
465 ctx->encode.mode = BROTLI_DEFAULT_MODE; in bio_brotli_new()
474 BrotliEncoderDestroyInstance(ctx->encode.state); in bio_brotli_new()
490 BrotliEncoderDestroyInstance(ctx->encode.state); in bio_brotli_free()
491 OPENSSL_free(ctx->encode.buf); in bio_brotli_free()
590 if (ctx->encode.done) in bio_brotli_write()
594 if (ctx->encode.buf == NULL) { in bio_brotli_write()
[all …]
/src/usr.bin/bintrans/
H A Dqp.c147 qp(FILE *fp, FILE *fpo, bool encode, bool rfc2047) in qp() argument
153 codec = encode ? encode_quoted_printable : decode_quoted_printable ; in qp()
171 bool encode = true; in main_quotedprintable() local
196 encode = false; in main_quotedprintable()
215 qp(fp, fpo, encode, rfc2047); in main_quotedprintable()
H A Duuencode.c56 static void encode(void);
146 encode(); in main_encode()
201 encode(void) in encode() function
/src/contrib/wpa/wpa_supplicant/examples/
H A Dp2p-nfc.py81 cmd = "WPS_NFC_TAG_READ " + str(message).encode("hex")
136 …cmd = "NFC_REPORT_HANDOVER " + type + " P2P " + str(req).encode("hex") + " " + str(sel).encode("he…
147 …cmd = "NFC_REPORT_HANDOVER " + type + " WPS " + str(req).encode("hex") + " " + str(sel).encode("he…
163 print("Handover request carrier record from wpa_supplicant: " + data.encode("hex"))
186 print(str(message).encode("hex"))
225 print(str(message).encode("hex"))
312 print(data.encode("hex"))
342 print(data.encode("hex"))
360 print(str(sel).encode("hex"))
448 print(str(p2p_sel_data).encode("hex"))
H A Dwps-nfc.py70 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")):
134 str(req).encode("hex") + " " +
135 str(sel).encode("hex"))
181 print(data.encode("hex"))
196 print(str(sel).encode("hex"))
210 print("Handover request carrier record from wpa_supplicant: " + data.encode("hex"))
222 print(str(message).encode("hex"))
261 print(str(message).encode("hex"))
/src/contrib/wpa/hostapd/
H A Dwps-ap-nfc.py66 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")):
106 str(req).encode("hex") + " " +
107 str(sel).encode("hex"))
139 print(str(request).encode("hex"))
152 print(data.encode("hex"))
166 print(str(sel).encode("hex"))
/src/contrib/llvm-project/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h62 static RawLocEncoding encode(SourceLocation Loc, UIntTy BaseOffset,
139 EncodedTy encode(SourceLocation Loc) { in encode() function
162 SourceLocationEncoding::encode(SourceLocation Loc, UIntTy BaseOffset, in encode() function
168 return Seq ? Seq->encode(Loc) : encodeRaw(Loc.getRawEncoding()); in encode()
/src/sys/contrib/device-tree/Bindings/rtc/
H A Datmel,at91sam9-rtc.txt7 - reg: should encode the memory region of the RTT controller
10 - atmel,rtt-rtc-time-reg: should encode the GPBR register used to store
13 encode the offset within the GPBR block (or in other words, the
/src/contrib/ntp/util/
H A Dtg.c242 int encode = WWV; /* encoder select */ variable
287 encode = IRIG; in main()
368 switch (encode) { in main()
433 if (encode == WWV) { in main()
441 if (encode == IRIG) { in main()
452 switch(encode) { in main()
H A Dtg2.c517 int encode = IRIG; /* encoder select */ variable
921 encode = IRIG;
928 encode = IRIG;
935 encode = IRIG;
942 encode = IRIG;
952 encode = IRIG;
962 encode = WWV;
1090 switch (encode) {
1155 if ((encode == IRIG) && (((Second % 20) == 0) || (CountOfSecondsSent == 0)))
1372 if (encode == WWV) {
[all …]
/src/crypto/openssl/crypto/slh_dsa/
H A Dslh_dsa.c232 const uint8_t *ctx, size_t ctx_len, int encode, in msg_encode() argument
238 if (encode == 0) { in msg_encode()
270 const uint8_t *add_rand, int encode, in ossl_slh_dsa_sign() argument
278 m = msg_encode(msg, msg_len, ctx, ctx_len, encode, m_tmp, sizeof(m_tmp), in ossl_slh_dsa_sign()
295 const uint8_t *ctx, size_t ctx_len, int encode, in ossl_slh_dsa_verify() argument
303 m = msg_encode(msg, msg_len, ctx, ctx_len, encode, m_tmp, sizeof(m_tmp), in ossl_slh_dsa_verify()
/src/crypto/openssl/crypto/evp/
H A Dbio_b64.c38 int encode; member
131 if (ctx->encode != B64_DECODE) { in b64_read()
132 ctx->encode = B64_DECODE; in b64_read()
332 if (ctx->encode != B64_ENCODE) { in b64_write()
333 ctx->encode = B64_ENCODE; in b64_write()
448 ctx->encode = B64_NONE; in b64_ctrl()
460 if (ret == 0 && ctx->encode != B64_NONE in b64_ctrl()
488 } else if (ctx->encode != B64_NONE in b64_ctrl()
/src/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Dtemplate-encoding.t21 print $tmp_fh encode('UTF-8', "\x{4f60}\x{597d} {{\$name}}");
36 print $tmp_fh encode('iso-8859-1', "Ol\x{e1} {{\$name}}");
/src/crypto/heimdal/lib/roken/
H A Dvis.hin58 * to alter set of characters encoded (default is to encode all
61 #define VIS_SP 0x04 /* also encode space */
62 #define VIS_TAB 0x08 /* also encode tab */
63 #define VIS_NL 0x10 /* also encode newline */
65 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */
/src/sys/contrib/device-tree/Bindings/pci/
H A Dralink,rt3883-pci.txt12 - #address-cells: specifies the number of cells needed to encode an
37 - #address-cells: specifies the number of cells needed to encode an
41 - #interrupt-cells: specifies the number of cells needed to encode an
52 - #address-cells: specifies the number of cells needed to encode an
58 - #interrupt-cells: specifies the number of cells needed to encode an
H A Dxilinx-pcie.txt6 - #interrupt-cells: specifies the number of cells needed to encode an
27 - #address-cells: specifies the number of cells needed to encode an
29 - #interrupt-cells: specifies the number of cells needed to encode an
/src/crypto/openssl/doc/man3/
H A Di2d_re_X509_tbs.pod7 - X509 encode and decode functions
21 The X509 encode and decode routines encode and parse an
37 respectively. The "re" in B<i2d_re_X509_tbs> stands for "re-encode",
/src/contrib/mandoc/
H A Dterm.c38 static void encode(struct termp *, const char *, size_t);
595 encode(p, nbrsp, 1); in term_word()
602 encode(p, word, ssz); in term_word()
623 encode(p, cp, ssz); in term_word()
667 encode(p, "pdf", 3); in term_word()
669 encode(p, "ps", 2); in term_word()
671 encode(p, "ascii", 5); in term_word()
673 encode(p, "utf8", 4); in term_word()
761 encode(p, cp, ssz); in term_word()
810 encode(p, cp, strlen(cp)); in term_word()
[all …]
/src/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.h55 int (*encode)(void *, void*, int, int, void**); member
66 int (*encode)(void *, void*, int, int, void**); member
/src/crypto/openssl/crypto/ml_dsa/
H A Dml_dsa_sign.c327 const uint8_t *ctx, size_t ctx_len, int encode, in msg_encode() argument
333 if (encode == 0) { in msg_encode()
366 const uint8_t *rand, size_t rand_len, int encode, in ossl_ml_dsa_sign() argument
382 m = msg_encode(msg, msg_len, context, context_len, encode, in ossl_ml_dsa_sign()
403 const uint8_t *context, size_t context_len, int encode, in ossl_ml_dsa_verify() argument
418 m = msg_encode(msg, msg_len, context, context_len, encode, in ossl_ml_dsa_verify()
/src/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dimg,meta-intc.txt17 - #interrupt-cells: Specifies the number of cells needed to encode an
20 - #address-cells: Specifies the number of cells needed to encode an
55 // Two cells to encode interrupt sources.
/src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp105 llvm::Expected<uint64_t> Result = encode(FW); in cacheEncoding()
114 llvm::Expected<uint64_t> FunctionInfo::encode(FileWriter &Out) const { in encode() function in FunctionInfo
144 llvm::Error err = OptLineTable->encode(Out, Range.start()); in encode()
162 llvm::Error err = Inline->encode(Out, Range.start()); in encode()
/src/contrib/libpcap/testprogs/
H A Dvisopts.py232 …= html_template.safe_substitute(expr=expr.encode("string-escape"), gcount=gcount, logs=json.dumps(…
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h52 friend unsigned encode(struct MaybeAlign A);
217 inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } in encode() function
230 inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } in encode() function
/src/crypto/krb5/src/lib/krad/
H A Dattr.c47 attribute_transform_fn encode; member
276 if (attributes[type - 1].encode == NULL) { in kr_attr_encode()
285 return attributes[type - 1].encode(ctx, secret, auth, in, outbuf, outlen); in kr_attr_encode()
299 if (attributes[type - 1].encode == NULL) { in kr_attr_decode()

12345678910>>...13