/freebsd/contrib/libcbor/test/ |
H A D | cbor_stream_decode_test.c | 13 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_dat in test_uint64_decoding() [all...] |
/freebsd/contrib/tcpdump/ |
H A D | print-esp.c | 411 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 D | libdwarf_loc.c | 194 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 D | skey_decoder.t0 | 141 : 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/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | SourceLocationEncoding.h | 66 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/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | generate-ci-type.py | 70 for line in last_commit_message_raw.stdout.decode().splitlines(): 79 all_commit_message = all_commit_message_raw.stdout.decode().splitlines() 92 changed_files = changed_files_raw.stdout.decode().splitlines()
|
/freebsd/usr.bin/bintrans/ |
H A D | bintrans.c | 129 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 D | uudecode.c | 65 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/tools/test/ptrace/ |
H A D | scescx.c | 90 } 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/usr.bin/morse/ |
H A D | morse.c | 266 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/crypto/heimdal/lib/asn1/ |
H A D | check-common.h | 55 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *), 64 int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *));
|
H A D | check-common.c | 201 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/contrib/processor-trace/libipt/src/ |
H A D | pt_packet.c | 55 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/usr.bin/truss/ |
H A D | setup.c | 472 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/llvm/lib/DebugInfo/GSYM/ |
H A D | InlineInfo.cpp | 172 /// A local helper function to decode InlineInfo objects. This function is 175 /// \param Data The data extractor to decode from. 176 /// \param Offset The offset within \a Data to decode from. 180 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/contrib/ntp/ntpd/ |
H A D | refclock_chu.c | 330 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/crypto/openssl/doc/man7/ |
H A D | provider-decoder.pod | 30 /* 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 120 can decode. 225 OSSL_FUNC_decoder_decode() should decode the data as read from 243 this function couldn't decode the input into anything, because there may be 244 another decoder implementation that can decode it into something. 247 decode the input into anything.
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | security.h | 56 int (*decode)(void *, void*, int, int); member 67 int (*decode)(void *, void*, int, int); member
|
/freebsd/tools/tools/vt/keymaps/ |
H A D | convert-keymap.pl | 51 my $ucs_char = ord(Encode::decode("UTF-8", local_to_UCS_string($char))); 69 return prettyprint_token(ord(Encode::decode("UTF-8", $char)));
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | wps-nfc.py | 84 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 D | bzip2.c | 1782 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/contrib/llvm-project/openmp/runtime/src/ |
H A D | extractExternal.cpp | 214 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/usr.bin/logger/ |
H A D | logger.c | 61 static int decode(char *, const CODE *); 402 fac = decode(save, facilitynames); in pencode() 411 lev = decode(s, prioritynames); in pencode() 418 decode(char *name, const CODE *codetab) in decode() function
|
/freebsd/contrib/sendmail/src/ |
H A D | aliases | 64 # Trap decode to catch security attacks 65 decode: root
|
/freebsd/tests/atf_python/sys/netlink/ |
H A D | attrs.py | 287 data[4:].decode("utf-8") 297 text = data[4:-1].decode("utf-8") 317 data[4:].decode("utf-8") 327 text = data[4:].decode("utf-8")
|