| /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_data, 9)); in test_uint64_decoding() [all …]
|
| /freebsd/crypto/openssl/crypto/comp/ |
| H A D | c_brotli.c | 388 } 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 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/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/usr.bin/truss/ |
| H A D | setup.c | 479 t->cs.nargs = sc->decode.nargs; in enter_syscall() 480 assert(sc->decode.nargs <= nitems(t->cs.s_args)); in enter_syscall() 497 t->cs.args[sc->decode.args[i].offset], in enter_syscall() 500 if (!(sc->decode.args[i].type & OUT)) { in enter_syscall() 501 t->cs.s_args[i] = print_arg(&sc->decode.args[i], in enter_syscall() 502 t->cs.args, NULL, info, &sc->decode); in enter_syscall() 559 for (i = 0; i < sc->decode.nargs; i++) { in exit_syscall() 562 if (sc->decode.args[i].type & OUT) { in exit_syscall() 569 (long)t->cs.args[sc->decode.args[i].offset]); in exit_syscall() 571 temp = print_arg(&sc->decode.args[i], in exit_syscall() [all …]
|
| /freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
| H A D | generate-ci-type.py | 92 for line in last_commit_message_raw.stdout.decode().splitlines(): 102 all_commit_message = all_commit_message_raw.stdout.decode().splitlines() 122 changed_files = changed_files_raw.stdout.decode().splitlines()
|
| /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/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | FunctionInfo.cpp | 41 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 D | InlineInfo.cpp | 179 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/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 *));
|
| /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/crypto/krb5/src/lib/krb5/krb/ |
| H A D | t_get_etype_info.py | 16 exp_salt = bytes.fromhex(salt_dict['exp@KRBTEST.COM']).decode('ascii') 17 pexp_salt = bytes.fromhex(salt_dict['pexp@KRBTEST.COM']).decode('ascii')
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | SourceLocationEncoding.h | 60 static std::pair<SourceLocation, unsigned> decode(RawLocEncoding); 86 SourceLocationEncoding::decode(RawLocEncoding Encoded) { in decode() function
|
| /freebsd/contrib/smart/ |
| H A D | README.md | 23 -d, --decode: decode the attribute IDs 24 -D, --no-decode: don't decode the attribute IDs
|
| /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/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/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 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/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/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | CallSiteInfo.h | 67 LLVM_ABI static llvm::Expected<CallSiteInfo> decode(DataExtractor &Data, 85 decode(DataExtractor &Data);
|
| /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 …]
|