Home
last modified time | relevance | path

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

12345678910

/freebsd-13-stable/contrib/libcbor/test/
HDcbor_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-13-stable/contrib/tcpdump/
HDprint-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-13-stable/contrib/elftoolchain/libdwarf/
HDlibdwarf_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-13-stable/contrib/bearssl/src/x509/
HDskey_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-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
HDSourceLocationEncoding.h66 decode(RawLocEncoding, SourceLocationSequence * = nullptr);
136 SourceLocation decode(EncodedTy Encoded) { in decode() function
186 SourceLocationEncoding::decode(RawLocEncoding Encoded, in decode() function
191 return {Seq ? Seq->decode(Encoded) in decode()
/freebsd-13-stable/contrib/apr/include/private/
HDapr_encode_private.h72 #define decode ENCODE_TO_ASCII(ch) convert_e2a[(unsigned char)ch] macro
73 #define decode ENCODE_TO_NATIVE(ch) convert_a2e[(unsigned char)ch] macro
/freebsd-13-stable/tools/test/ptrace/
HDscescx.c91 } decode[] = { in decode_pl_flags() local
111 for (i = 0; i < sizeof(decode) / sizeof(decode[0]); i++) { in decode_pl_flags()
112 if ((flags & decode[i].flag) != 0) { in decode_pl_flags()
117 strlcat(c, decode[i].desc, sizeof(c)); in decode_pl_flags()
118 flags &= ~decode[i].flag; in decode_pl_flags()
/freebsd-13-stable/crypto/heimdal/lib/asn1/
HDcheck-common.h55 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *),
64 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *));
HDcheck-common.c201 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *), in generic_test()
285 ret = (*decode) (buf2, sz, data, &consumed_sz); in generic_test()
357 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *)) in generic_decode_fail()
404 ret = (*decode) (buf, tests[i].byte_len, data, &sz); in generic_decode_fail()
/freebsd-13-stable/usr.bin/morse/
HDmorse.c274 static void decode (char *), fdecode(FILE *);
431 decode(*argv); in main()
435 decode(p); in main()
628 decode(p); in fdecode()
637 decode(char *p) in decode() function
/freebsd-13-stable/contrib/processor-trace/libipt/src/
HDpt_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-13-stable/usr.bin/truss/
HDsetup.c490 t->cs.nargs = sc->decode.nargs; in enter_syscall()
491 assert(sc->decode.nargs <= nitems(t->cs.s_args)); in enter_syscall()
508 t->cs.args[sc->decode.args[i].offset], in enter_syscall()
511 if (!(sc->decode.args[i].type & OUT)) { in enter_syscall()
512 t->cs.s_args[i] = print_arg(&sc->decode.args[i], in enter_syscall()
570 for (i = 0; i < sc->decode.nargs; i++) { in exit_syscall()
573 if (sc->decode.args[i].type & OUT) { in exit_syscall()
580 t->cs.args[sc->decode.args[i].offset]); in exit_syscall()
582 temp = print_arg(&sc->decode.args[i], in exit_syscall()
/freebsd-13-stable/sys/contrib/ngatm/netnatm/msg/
HDpriv.h73 uni_decode_f decode; member
82 uni_msg_decode_f decode; member
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftp/
HDsecurity.h56 int (*decode)(void *, void*, int, int); member
67 int (*decode)(void *, void*, int, int); member
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
HDInlineInfo.cpp180 static llvm::Expected<InlineInfo> decode(DataExtractor &Data, uint64_t &Offset, in decode() function
211 llvm::Expected<InlineInfo> Child = decode(Data, Offset, ChildBaseAddr); in decode()
223 llvm::Expected<InlineInfo> InlineInfo::decode(DataExtractor &Data, in decode() function in InlineInfo
226 return ::decode(Data, Offset, BaseAddr); in decode()
/freebsd-13-stable/contrib/ntp/ntpd/
HDrefclock_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-13-stable/tools/tools/vt/keymaps/
HDconvert-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-13-stable/usr.bin/uudecode/
HDuudecode.c74 static int decode(void);
138 rval |= decode(); in main()
144 rval = decode(); in main()
150 decode(void) in decode() function
/freebsd-13-stable/contrib/wpa/wpa_supplicant/examples/
HDwps-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-13-stable/contrib/bzip2/
HDbzip2.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 …]
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
HDextractExternal.cpp214 string decode(__int64 x) const { in decode() function in StringTable
282 defined->insert(stringTable.decode(e.name)); in computeExternalSymbols()
284 undefined->insert(stringTable.decode(e.name)); in computeExternalSymbols()
325 const string &s = stringTableOld.decode(e.name); in hideSymbols()
356 const string &s = stringTableOld.decode(e.name); in hideSymbols()
/freebsd-13-stable/usr.bin/logger/
HDlogger.c74 static int decode(char *, const CODE *);
415 fac = decode(save, facilitynames); in pencode()
424 lev = decode(s, prioritynames); in pencode()
431 decode(char *name, const CODE *codetab) in decode() function
/freebsd-13-stable/contrib/sendmail/src/
HDaliases64 # Trap decode to catch security attacks
65 decode: root
/freebsd-13-stable/tests/sys/common/
HDnet_receiver.py76 args.match_str, data.decode('utf-8')))
104 args.match_str, data.decode('utf-8')))
/freebsd-13-stable/crypto/libecc/scripts/
HDsha3.py80 output[(8*i):(8*i)+1] = packed.decode('latin-1')
101 message = message.decode('latin-1')

12345678910