Home
last modified time | relevance | path

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

1234567891011

/src/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 …]
/src/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 …]
/src/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 …]
/src/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()
/src/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 …]
/src/contrib/llvm-project/clang/include/clang/Serialization/
H A DSourceLocationEncoding.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()
/src/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
/src/sys/contrib/openzfs/.github/workflows/scripts/
H A Dgenerate-ci-type.py71 for line in last_commit_message_raw.stdout.decode().splitlines():
80 all_commit_message = all_commit_message_raw.stdout.decode().splitlines()
97 changed_files = changed_files_raw.stdout.decode().splitlines()
/src/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()
/src/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
/src/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 *));
H A Dcheck-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()
/src/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()
/src/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')
/src/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()
/src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.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()
/src/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()
/src/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.h56 int (*decode)(void *, void*, int, int); member
67 int (*decode)(void *, void*, int, int); member
/src/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.
/src/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)));
/src/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")
/src/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 …]
/src/contrib/llvm-project/openmp/runtime/src/
H A DextractExternal.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()
/src/usr.bin/logger/
H A Dlogger.c61 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

1234567891011