Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 268) sorted by relevance

1234567891011

/freebsd/contrib/libcbor/test/
H A Dcbor_stream_decode_test.c13 assert_decoder_result_nedata(1, decode(NULL, 0)); in test_no_data()
20 decode(embedded_uint8_data, 1)); in test_uint8_embedded_decoding()
24 decode(embedded_uint8_data + 1, 1)); in test_uint8_embedded_decoding()
28 decode(embedded_uint8_data + 2, 1)); in test_uint8_embedded_decoding()
32 decode(embedded_uint8_data + 3, 1)); in test_uint8_embedded_decoding()
38 assert_decoder_result(2, CBOR_DECODER_FINISHED, decode(uint8_data, 2)); in test_uint8_decoding()
41 assert_decoder_result(2, CBOR_DECODER_FINISHED, decode(uint8_data + 2, 2)); in test_uint8_decoding()
49 assert_decoder_result(3, CBOR_DECODER_FINISHED, decode(uint16_data, 3)); in test_uint16_decoding()
57 assert_decoder_result(5, CBOR_DECODER_FINISHED, decode(uint32_data, 5)); in test_uint32_decoding()
66 assert_decoder_result(9, CBOR_DECODER_FINISHED, decode(uint64_data, 9)); in test_uint64_decoding()
[all …]
/freebsd/crypto/openssl/crypto/comp/
H A Dc_brotli.c388 } decode; member
457 ctx->decode.bufsize = BROTLI_DEFAULT_BUFSIZE; in bio_brotli_new()
458 ctx->decode.state = BrotliDecoderCreateInstance(brotli_alloc, brotli_free, NULL); in bio_brotli_new()
459 if (ctx->decode.state == NULL) in bio_brotli_new()
473 BrotliDecoderDestroyInstance(ctx->decode.state); in bio_brotli_new()
488 BrotliDecoderDestroyInstance(ctx->decode.state); in bio_brotli_free()
489 OPENSSL_free(ctx->decode.buf); in bio_brotli_free()
520 if (ctx->decode.buf == NULL) { in bio_brotli_read()
521 ctx->decode.buf = OPENSSL_malloc(ctx->decode.bufsize); in bio_brotli_read()
522 if (ctx->decode.buf == NULL) { in bio_brotli_read()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-esp.c411 char *decode, struct sa_list *sa) in espprint_decode_encalgo() argument
419 colon = strchr(decode, ':'); in espprint_decode_encalgo()
421 (*ndo->ndo_warning)(ndo, "failed to decode espsecret: %s\n", decode); in espprint_decode_encalgo()
426 if (strlen(decode) > strlen("-hmac96") && in espprint_decode_encalgo()
427 !strcmp(decode + strlen(decode) - strlen("-hmac96"), in espprint_decode_encalgo()
429 p = strstr(decode, "-hmac96"); in espprint_decode_encalgo()
433 if (strlen(decode) > strlen("-cbc") && in espprint_decode_encalgo()
434 !strcmp(decode + strlen(decode) - strlen("-cbc"), "-cbc")) { in espprint_decode_encalgo()
435 p = strstr(decode, "-cbc"); in espprint_decode_encalgo()
445 real_decode = decode; in espprint_decode_encalgo()
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_loc.c194 operand1 = dbg->decode(&p, 2); in _dwarf_loc_fill_loc()
198 operand1 = (int16_t) dbg->decode(&p, 2); in _dwarf_loc_fill_loc()
205 operand1 = dbg->decode(&p, 4); in _dwarf_loc_fill_loc()
209 operand1 = (int32_t) dbg->decode(&p, 4); in _dwarf_loc_fill_loc()
215 operand1 = dbg->decode(&p, 8); in _dwarf_loc_fill_loc()
304 operand1 = dbg->decode(&p, pointer_size); in _dwarf_loc_fill_loc()
309 operand1 = dbg->decode(&p, offset_size); in _dwarf_loc_fill_loc()
321 operand1 = dbg->decode(&p, s); in _dwarf_loc_fill_loc()
333 operand1 = dbg->decode(&p, pointer_size); in _dwarf_loc_fill_loc()
335 operand1 = dbg->decode(&p, offset_size); in _dwarf_loc_fill_loc()
/freebsd/contrib/bearssl/src/x509/
H A Dskey_decoder.t0141 : decode-RSA ( lim -- lim )
150 \ decode-RSA-next function for the remainder of the key.
152 decode-RSA-next
159 : decode-RSA-next ( lim -- lim )
195 : decode-EC ( lim curve -- lim )
205 \ decode-EC-next function for the remainder of the key.
207 curve decode-EC-next
214 : decode-EC-next ( lim curve -- lim )
259 : decode-PKCS8-next ( lim -- lim keytype )
280 \ Open private key value and decode it.
[all …]
/freebsd/usr.bin/bintrans/
H A Dbintrans.c129 bool decode = false; in base64_encode_or_decode() local
145 decode = true; in base64_encode_or_decode()
161 if (decode) in base64_encode_or_decode()
H A Duudecode.c65 static int decode(void);
84 exit(decode()); in main_base64_decode()
146 rval |= decode(); in main_decode()
152 rval = decode(); in main_decode()
158 decode(void) in decode() function
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dgenerate-ci-type.py75 for line in last_commit_message_raw.stdout.decode().splitlines():
85 all_commit_message = all_commit_message_raw.stdout.decode().splitlines()
105 changed_files = changed_files_raw.stdout.decode().splitlines()
/freebsd/tools/test/ptrace/
H A Dscescx.c90 } decode[] = { in decode_pl_flags() local
110 for (i = 0; i < sizeof(decode) / sizeof(decode[0]); i++) { in decode_pl_flags()
111 if ((flags & decode[i].flag) != 0) { in decode_pl_flags()
116 strlcat(c, decode[i].desc, sizeof(c)); in decode_pl_flags()
117 flags &= ~decode[i].flag; in decode_pl_flags()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp41 llvm::Expected<FunctionInfo> FunctionInfo::decode(DataExtractor &Data, in decode() function in FunctionInfo
80 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
87 if (Expected<InlineInfo> II = InlineInfo::decode(InfoData, BaseAddr)) in decode()
95 MergedFunctionsInfo::decode(InfoData, BaseAddr)) in decode()
103 llvm::gsym::CallSiteInfoCollection::decode(InfoData)) in decode()
305 if (auto CSIC = CallSiteInfoCollection::decode(InfoData)) { in lookup()
H A DInlineInfo.cpp179 static llvm::Expected<InlineInfo> decode(DataExtractor &Data, uint64_t &Offset, in decode() function
210 llvm::Expected<InlineInfo> Child = decode(Data, Offset, ChildBaseAddr); in decode()
222 llvm::Expected<InlineInfo> InlineInfo::decode(DataExtractor &Data, in decode() function in InlineInfo
225 return ::decode(Data, Offset, BaseAddr); in decode()
/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-common.h55 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *),
64 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *));
/freebsd/usr.bin/morse/
H A Dmorse.c266 static void decode (char *), fdecode(FILE *);
423 decode(*argv); in main()
427 decode(p); in main()
620 decode(p); in fdecode()
629 decode(char *p) in decode() function
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_packet.c55 int (*decode)(struct pt_packet_unknown *, const struct pt_config *, in pt_pkt_read_unknown() local
62 decode = config->decode.callback; in pt_pkt_read_unknown()
63 if (!decode) in pt_pkt_read_unknown()
73 size = (*decode)(&packet->payload.unknown, config, pos, in pt_pkt_read_unknown()
74 config->decode.context); in pt_pkt_read_unknown()
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dt_get_etype_info.py16 exp_salt = bytes.fromhex(salt_dict['exp@KRBTEST.COM']).decode('ascii')
17 pexp_salt = bytes.fromhex(salt_dict['pexp@KRBTEST.COM']).decode('ascii')
/freebsd/usr.bin/truss/
H A Dsetup.c472 t->cs.nargs = sc->decode.nargs; in enter_syscall()
473 assert(sc->decode.nargs <= nitems(t->cs.s_args)); in enter_syscall()
490 t->cs.args[sc->decode.args[i].offset], in enter_syscall()
493 if (!(sc->decode.args[i].type & OUT)) { in enter_syscall()
494 t->cs.s_args[i] = print_arg(&sc->decode.args[i], in enter_syscall()
552 for (i = 0; i < sc->decode.nargs; i++) { in exit_syscall()
555 if (sc->decode.args[i].type & OUT) { in exit_syscall()
562 (long)t->cs.args[sc->decode.args[i].offset]); in exit_syscall()
564 temp = print_arg(&sc->decode.args[i], in exit_syscall()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h60 static std::pair<SourceLocation, unsigned> decode(RawLocEncoding);
86 SourceLocationEncoding::decode(RawLocEncoding Encoded) { in decode() function
/freebsd/contrib/smart/
H A DREADME.md23 -d, --decode: decode the attribute IDs
24 -D, --no-decode: don't decode the attribute IDs
/freebsd/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.h56 int (*decode)(void *, void*, int, int); member
67 int (*decode)(void *, void*, int, int); member
/freebsd/contrib/ntp/ntpd/
H A Drefclock_chu.c330 u_char decode[20][16]; /* maximum-likelihood decoding matrix */ member
1276 up->decode[9][j] = up->decode[9][j - 1]; in chu_a()
1277 up->decode[19][j] = in chu_a()
1278 up->decode[19][j - 1]; in chu_a()
1280 up->decode[9][j] = up->decode[19][j] = 0; in chu_a()
1294 up->decode[i][up->cbuf[j] & 0xf]++; in chu_a()
1296 up->decode[i][(up->cbuf[j] >> 4) & 0xf]++; in chu_a()
1463 temp = up->decode[i][j] + up->decode[i + 10][j]; in chu_major()
1514 up->decode[i][j] = 0; in chu_clear()
/freebsd/tools/tools/vt/keymaps/
H A Dconvert-keymap.pl51 my $ucs_char = ord(Encode::decode("UTF-8", local_to_UCS_string($char)));
69 return prettyprint_token(ord(Encode::decode("UTF-8", $char)));
/freebsd/crypto/openssl/doc/man7/
H A Dprovider-decoder.pod30 /* Functions to decode object data */
44 I<The term "decode" is used throughout this manual. This includes but is
50 read from the given B<OSSL_CORE_BIO>. If the caller wants to decode
61 implementation to decode an object from PEM to DER, and another one
122 can decode.
227 OSSL_FUNC_decoder_decode() should decode the data as read from
245 this function couldn't decode the input into anything, because there may be
246 another decoder implementation that can decode it into something.
249 decode the input into anything.
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DCallSiteInfo.h67 LLVM_ABI static llvm::Expected<CallSiteInfo> decode(DataExtractor &Data,
85 decode(DataExtractor &Data);
/freebsd/contrib/wpa/wpa_supplicant/examples/
H A Dwps-nfc.py84 return ret.rstrip().decode("hex")
94 return ret.rstrip().decode("hex")
104 return ret.rstrip().decode("hex")
113 return ret.rstrip().decode("hex")
126 return res.decode("hex")
/freebsd/contrib/bzip2/
H A Dbzip2.c1782 Bool decode; in main() local
1837 decode = True; in main()
1839 if (ISFLAG("--")) { decode = False; continue; } in main()
1840 if (aa->name[0] == '-' && decode) continue; in main()
1965 decode = True; in main()
1967 if (ISFLAG("--")) { decode = False; continue; } in main()
1968 if (aa->name[0] == '-' && decode) continue; in main()
1981 decode = True; in main()
1983 if (ISFLAG("--")) { decode = False; continue; } in main()
1984 if (aa->name[0] == '-' && decode) continue; in main()
[all …]

1234567891011