Searched refs:encode (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-current/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}}");
/freebsd-current/usr.bin/bintrans/
H A Dqp.c137 qp(FILE *fp, FILE *fpo, bool encode) argument
143 codec = encode ? encode_quoted_printable : decode_quoted_printable ;
161 bool encode = true; local
180 encode = false;
194 qp(fp, fpo, encode);
H A Duuencode.c56 static void encode(void);
146 encode();
201 encode(void) function
/freebsd-current/contrib/llvm-project/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h17 // We encode the integer so that likely values encode as small numbers that
55 static uint64_t encode(SourceLocation Loc,
77 /// Record.push_back(SourceLocationEncoding::encode(SomeLoc, Seq));
83 /// Record.push_back(SourceLocationEncoding::encode(SomeLoc, Seq));
130 EncodedTy encode(SourceLocation Loc) { function in class:clang::SourceLocationSequence
152 inline uint64_t SourceLocationEncoding::encode(SourceLocation Loc, function in class:clang::SourceLocationEncoding
154 return Seq ? Seq->encode(Loc) : encodeRaw(Loc.getRawEncoding());
/freebsd-current/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.h55 int (*encode)(void *, void*, int, int, void**); member in struct:sec_client_mech
66 int (*encode)(void *, void*, int, int, void**); member in struct:sec_server_mech
/freebsd-current/tools/tools/locale/tools/
H A Dmkwidths.pl32 use Encode qw(encode decode);
50 my $ux = encode('UTF-32BE', decode('UTF-8', $k));
H A Dutf8-rollup.pl32 use Encode qw(encode decode);
60 my $ux = encode('UTF-32BE', decode('UTF-8', $k));
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dcheck-common.h53 int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *),
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DHeader.h120 llvm::Error encode(FileWriter &O) const;
H A DInlineInfo.h32 /// Any clients that encode information will need to ensure the ranges are
43 /// we encode the offset and size of each range instead of full addresses. This
166 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
H A DLineTable.h112 /// opcodes that allows us to encode line tables in fewer bytes than standard
166 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
/freebsd-current/contrib/libpcap/testprogs/
H A Dvisopts.py232 html = html_template.safe_substitute(expr=expr.encode("string-escape"), gcount=gcount, logs=json.dumps(logs).encode("string-escape"))
/freebsd-current/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"))
/freebsd-current/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("hex")
147 cmd = "NFC_REPORT_HANDOVER " + type + " WPS " + str(req).encode("hex") + " " + str(sel).encode("hex")
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("he
[all...]
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"))
/freebsd-current/contrib/ntp/util/
H A Dtg.c228 void digit(int); /* encode digit */
242 int encode = WWV; /* encoder select */ variable
287 encode = IRIG;
341 printf("port %d gain %d rate %d chan %d prec %d encode %d\n",
368 switch (encode) {
433 if (encode == WWV) {
441 if (encode == IRIG) {
452 switch(encode) {
/freebsd-current/crypto/openssl/crypto/evp/
H A Dbio_b64.c38 int encode; member in struct:b64_struct
125 if (ctx->encode != B64_DECODE) {
126 ctx->encode = B64_DECODE;
341 if (ctx->encode != B64_ENCODE) {
342 ctx->encode = B64_ENCODE;
462 ctx->encode = B64_NONE;
474 if ((ret == 0) && (ctx->encode != B64_NONE)
503 } else if (ctx->encode != B64_NONE
/freebsd-current/tests/sys/common/
H A Dnet_receiver.py74 if args.match_str and args.match_str.encode('utf-8') != data:
102 if args.match_str and args.match_str.encode('utf-8') != data:
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUAsmUtils.h45 unsigned encode(unsigned Val) const { return (Val & Mask) << Shift; } function in struct:llvm::AMDGPU::CustomOperandVal
/freebsd-current/crypto/openssl/crypto/encode_decode/
H A Dencoder_local.h40 OSSL_FUNC_encoder_encode_fn *encode; member in struct:ossl_encoder_st
/freebsd-current/release/scripts/
H A Dlist-new-changesets.py71 print(msg.encode('utf-8'))
/freebsd-current/tests/sys/geom/class/eli/
H A Dgentestvect.py11 s = s.encode(encoding)
/freebsd-current/sys/contrib/libsodium/regen-msvc/
H A Dregen-msvc.py89 tpl = tpl.replace(str.encode(
90 "{{" + s + "}}", "utf8"), str.encode(str.strip(sbox[s]), "utf8"))
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h149 MemAlign = encode(A);
165 OrigAlign = encode(A);
/freebsd-current/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; }
219 /// Dual operation of the encode function above.
230 inline unsigned encode(Align A) { return encode(MaybeAlign(A)); }

Completed in 210 milliseconds

1234