Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 173) sorted by relevance

1234567

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_insn_decoder.c46 static void pt_insn_reset(struct pt_insn_decoder *decoder) in pt_insn_reset() argument
48 if (!decoder) in pt_insn_reset()
51 decoder->mode = ptem_unknown; in pt_insn_reset()
52 decoder->ip = 0ull; in pt_insn_reset()
53 decoder->status = 0; in pt_insn_reset()
54 decoder->enabled = 0; in pt_insn_reset()
55 decoder->process_event = 0; in pt_insn_reset()
56 decoder->speculative = 0; in pt_insn_reset()
57 decoder->process_insn = 0; in pt_insn_reset()
58 decoder->bound_paging = 0; in pt_insn_reset()
[all …]
H A Dpt_query_decoder.c60 struct pt_packet_decoder *decoder) in pt_qry_find_header_fup() argument
62 if (!packet || !decoder) in pt_qry_find_header_fup()
68 errcode = pt_pkt_next(decoder, packet, sizeof(*packet)); in pt_qry_find_header_fup()
88 int pt_qry_decoder_init(struct pt_query_decoder *decoder, in pt_qry_decoder_init() argument
93 if (!decoder) in pt_qry_decoder_init()
96 memset(decoder, 0, sizeof(*decoder)); in pt_qry_decoder_init()
98 errcode = pt_config_from_user(&decoder->config, config); in pt_qry_decoder_init()
102 pt_last_ip_init(&decoder->ip); in pt_qry_decoder_init()
103 pt_tnt_cache_init(&decoder->tnt); in pt_qry_decoder_init()
104 pt_time_init(&decoder->time); in pt_qry_decoder_init()
[all …]
H A Dpt_block_decoder.c48 static int pt_blk_status(const struct pt_block_decoder *decoder, int flags) in pt_blk_status() argument
52 if (!decoder) in pt_blk_status()
55 status = decoder->status; in pt_blk_status()
62 if (!decoder->enabled) in pt_blk_status()
69 if ((status & pts_eos) && !decoder->process_event) in pt_blk_status()
75 static void pt_blk_reset(struct pt_block_decoder *decoder) in pt_blk_reset() argument
77 if (!decoder) in pt_blk_reset()
80 decoder->mode = ptem_unknown; in pt_blk_reset()
81 decoder->ip = 0ull; in pt_blk_reset()
82 decoder->status = 0; in pt_blk_reset()
[all …]
H A Dpt_packet_decoder.c41 int pt_pkt_decoder_init(struct pt_packet_decoder *decoder, in pt_pkt_decoder_init() argument
46 if (!decoder || !config) in pt_pkt_decoder_init()
49 memset(decoder, 0, sizeof(*decoder)); in pt_pkt_decoder_init()
51 errcode = pt_config_from_user(&decoder->config, config); in pt_pkt_decoder_init()
60 struct pt_packet_decoder *decoder; in pt_pkt_alloc_decoder() local
63 decoder = malloc(sizeof(*decoder)); in pt_pkt_alloc_decoder()
64 if (!decoder) in pt_pkt_alloc_decoder()
67 errcode = pt_pkt_decoder_init(decoder, config); in pt_pkt_alloc_decoder()
69 free(decoder); in pt_pkt_alloc_decoder()
73 return decoder; in pt_pkt_alloc_decoder()
[all …]
/freebsd/crypto/openssl/crypto/encode_decode/
H A Ddecoder_meth.c29 OSSL_DECODER *decoder = NULL; in ossl_decoder_new() local
31 if ((decoder = OPENSSL_zalloc(sizeof(*decoder))) == NULL in ossl_decoder_new()
32 || (decoder->base.lock = CRYPTO_THREAD_lock_new()) == NULL) { in ossl_decoder_new()
33 OSSL_DECODER_free(decoder); in ossl_decoder_new()
38 decoder->base.refcnt = 1; in ossl_decoder_new()
40 return decoder; in ossl_decoder_new()
43 int OSSL_DECODER_up_ref(OSSL_DECODER *decoder) in OSSL_DECODER_up_ref() argument
47 CRYPTO_UP_REF(&decoder->base.refcnt, &ref, decoder->base.lock); in OSSL_DECODER_up_ref()
51 void OSSL_DECODER_free(OSSL_DECODER *decoder) in OSSL_DECODER_free() argument
55 if (decoder == NULL) in OSSL_DECODER_free()
[all …]
H A Ddecoder_lib.c212 OSSL_DECODER_INSTANCE *ossl_decoder_instance_new(OSSL_DECODER *decoder, in ossl_decoder_instance_new() argument
221 if (!ossl_assert(decoder != NULL)) { in ossl_decoder_instance_new()
231 prov = OSSL_DECODER_get0_provider(decoder); in ossl_decoder_instance_new()
233 props = ossl_decoder_parsed_properties(decoder); in ossl_decoder_instance_new()
237 OSSL_DECODER_get0_name(decoder)); in ossl_decoder_instance_new()
248 OSSL_DECODER_get0_name(decoder), in ossl_decoder_instance_new()
249 OSSL_DECODER_get0_properties(decoder)); in ossl_decoder_instance_new()
260 if (!OSSL_DECODER_up_ref(decoder)) { in ossl_decoder_instance_new()
264 decoder_inst->decoder = decoder; in ossl_decoder_instance_new()
275 if (decoder_inst->decoder != NULL) in ossl_decoder_instance_free()
[all …]
H A Ddecoder_pkey.c71 OSSL_DECODER *decoder = OSSL_DECODER_INSTANCE_get_decoder(decoder_inst); in decoder_construct_pkey() local
73 const OSSL_PROVIDER *decoder_prov = OSSL_DECODER_get0_provider(decoder); in decoder_construct_pkey()
163 (void)decoder->export_object(decoderctx, in decoder_construct_pkey()
229 static void collect_decoder(OSSL_DECODER *decoder, void *arg) in collect_decoder() argument
233 const OSSL_PROVIDER *prov = OSSL_DECODER_get0_provider(decoder); in collect_decoder()
250 if (decoder->does_selection != NULL in collect_decoder()
251 && !decoder->does_selection(provctx, data->ctx->selection)) in collect_decoder()
258 (void *)data->ctx, (void *)decoder, in collect_decoder()
259 OSSL_DECODER_get0_name(decoder), in collect_decoder()
260 OSSL_DECODER_get0_properties(decoder)); in collect_decoder()
[all …]
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-query.c56 struct pt_query_decoder decoder; member
77 static struct ptunit_result ptu_sync_decoder(struct pt_query_decoder *decoder) in ptu_sync_decoder() argument
79 ptu_ptr(decoder); in ptu_sync_decoder()
80 decoder->enabled = 1; in ptu_sync_decoder()
82 (void) pt_df_fetch(&decoder->next, decoder->pos, &decoder->config); in ptu_sync_decoder()
87 static struct ptunit_result cutoff(struct pt_query_decoder *decoder, in cutoff() argument
92 ptu_ptr(decoder); in cutoff()
99 ptu_ptr_le(decoder->config.begin, pos); in cutoff()
101 decoder->config.end = pos; in cutoff()
107 struct pt_query_decoder *decoder = &dfix->decoder; in indir_not_synced() local
[all …]
H A Dptunit-block_decoder.c39 struct pt_block_decoder decoder; member
67 errcode = pt_blk_decoder_init(&tfix->decoder, config); in tfix_init()
75 struct pt_block_decoder decoder; in decoder_init_null() local
82 errcode = pt_blk_decoder_init(&decoder, NULL); in decoder_init_null()
97 struct pt_block_decoder *decoder; in alloc_decoder_null() local
99 decoder = pt_blk_alloc_decoder(NULL); in alloc_decoder_null()
100 ptu_null(decoder); in alloc_decoder_null()
146 errcode = pt_blk_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
154 struct pt_block_decoder decoder; in get_offset_null() local
161 errcode = pt_blk_get_offset(&decoder, NULL); in get_offset_null()
[all …]
H A Dptunit-insn_decoder.c39 struct pt_insn_decoder decoder; member
67 errcode = pt_insn_decoder_init(&tfix->decoder, config); in tfix_init()
75 struct pt_insn_decoder decoder; in decoder_init_null() local
82 errcode = pt_insn_decoder_init(&decoder, NULL); in decoder_init_null()
97 struct pt_insn_decoder *decoder; in alloc_decoder_null() local
99 decoder = pt_insn_alloc_decoder(NULL); in alloc_decoder_null()
100 ptu_null(decoder); in alloc_decoder_null()
146 errcode = pt_insn_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
154 struct pt_insn_decoder decoder; in get_offset_null() local
161 errcode = pt_insn_get_offset(&decoder, NULL); in get_offset_null()
[all …]
H A Dptunit-packet_decoder.c39 struct pt_packet_decoder decoder; member
67 errcode = pt_pkt_decoder_init(&tfix->decoder, config); in tfix_init()
75 struct pt_packet_decoder decoder; in decoder_init_null() local
82 errcode = pt_pkt_decoder_init(&decoder, NULL); in decoder_init_null()
97 struct pt_packet_decoder *decoder; in alloc_decoder_null() local
99 decoder = pt_pkt_alloc_decoder(NULL); in alloc_decoder_null()
100 ptu_null(decoder); in alloc_decoder_null()
146 errcode = pt_pkt_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
154 struct pt_packet_decoder decoder; in get_offset_null() local
161 errcode = pt_pkt_get_offset(&decoder, NULL); in get_offset_null()
[all …]
H A Dptunit-cpp.cpp38 struct pt_packet_decoder *decoder; in init_packet_decoder() local
44 decoder = pt_pkt_alloc_decoder(&config); in init_packet_decoder()
45 ptu_ptr(decoder); in init_packet_decoder()
46 pt_pkt_free_decoder(decoder); in init_packet_decoder()
/freebsd/sys/dev/fb/
H A Dsplash.c60 splash_find_data(splash_decoder_t *decoder) in splash_find_data() argument
66 if (decoder->data_type == NULL) in splash_find_data()
69 image_module = preload_search_by_type(decoder->data_type); in splash_find_data()
81 decoder->data = ptr; in splash_find_data()
82 decoder->data_size = sz; in splash_find_data()
87 splash_test(splash_decoder_t *decoder) in splash_test() argument
89 if (splash_find_data(decoder)) in splash_test()
91 if (*decoder->init && (*decoder->init)(splash_adp)) { in splash_test()
92 decoder->data = NULL; in splash_test()
93 decoder->data_size = 0; in splash_test()
[all …]
/freebsd/contrib/processor-trace/libipt/include/
H A Dintel-pt.h995 extern pt_export void pt_pkt_free_decoder(struct pt_packet_decoder *decoder);
1010 extern pt_export int pt_pkt_sync_forward(struct pt_packet_decoder *decoder);
1011 extern pt_export int pt_pkt_sync_backward(struct pt_packet_decoder *decoder);
1022 extern pt_export int pt_pkt_sync_set(struct pt_packet_decoder *decoder,
1036 extern pt_export int pt_pkt_get_offset(const struct pt_packet_decoder *decoder,
1051 pt_pkt_get_sync_offset(const struct pt_packet_decoder *decoder,
1059 pt_pkt_get_config(const struct pt_packet_decoder *decoder);
1078 extern pt_export int pt_pkt_next(struct pt_packet_decoder *decoder,
1476 extern pt_export void pt_qry_free_decoder(struct pt_query_decoder *decoder);
1496 extern pt_export int pt_qry_sync_forward(struct pt_query_decoder *decoder,
[all …]
H A Dintel-pt.h.in40 /* Intel(R) Processor Trace (Intel PT) decoder library.
47 * - Packet encoder / decoder
48 * - Query decoder
50 * - Instruction flow decoder
51 * - Block decoder
121 /* Internal decoder error. */
184 /* The current decoder state does not match the state in the trace. */
348 /** A collection of decoder-specific configuration flags. */
350 /** The decoder variant. */
352 /** Flags for the block decoder. */
[all …]
/freebsd/lib/libopencsd/
H A DMakefile8 .PATH: ${OPENCSDSRC}/decoder/source/ete/ \
9 ${OPENCSDSRC}/decoder/source/etmv4/ \
10 ${OPENCSDSRC}/decoder/source/etmv3/ \
11 ${OPENCSDSRC}/decoder/source/pkt_printers/ \
12 ${OPENCSDSRC}/decoder/source/mem_acc/ \
13 ${OPENCSDSRC}/decoder/source/i_dec/ \
14 ${OPENCSDSRC}/decoder/source/c_api/ \
15 ${OPENCSDSRC}/decoder/source/ptm/ \
16 ${OPENCSDSRC}/decoder/source/stm/ \
17 ${OPENCSDSRC}/decoder/source/ \
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_DECODER.pod22 #include <openssl/decoder.h>
28 int OSSL_DECODER_up_ref(OSSL_DECODER *decoder);
29 void OSSL_DECODER_free(OSSL_DECODER *decoder);
30 const OSSL_PROVIDER *OSSL_DECODER_get0_provider(const OSSL_DECODER *decoder);
31 const char *OSSL_DECODER_get0_properties(const OSSL_DECODER *decoder);
32 int OSSL_DECODER_is_a(const OSSL_DECODER *decoder, const char *name);
33 const char *OSSL_DECODER_get0_name(const OSSL_DECODER *decoder);
34 const char *OSSL_DECODER_get0_description(const OSSL_DECODER *decoder);
36 void (*fn)(OSSL_DECODER *decoder, void *arg),
38 int OSSL_DECODER_names_do_all(const OSSL_DECODER *decoder,
[all …]
H A DOSSL_DECODER_CTX.pod34 #include <openssl/decoder.h>
39 const OSSL_PARAM *OSSL_DECODER_settable_ctx_params(OSSL_DECODER *decoder);
49 int OSSL_DECODER_CTX_add_decoder(OSSL_DECODER_CTX *ctx, OSSL_DECODER *decoder);
95 which will stop adding one more decoder implementations when it has already
98 the decoder implementations that take that input type. For example, if the
99 input type is set to C<DER>, a PEM to DER decoder will be ignored.
103 simply try with one decoder implementation after the other, and thereby
112 decoder that was just used, and that may be useful for the constructor.
132 a decoder, to be used to attempt to decode some encoded input.
135 added decoders, and adds them as well. This is used to build decoder
[all …]
H A DOSSL_DECODER_CTX_new_for_pkey.pod14 #include <openssl/decoder.h>
39 B<OSSL_DECODER_CTX>, finds all applicable decoder implementations and sets
50 decoder implementations that may be able to process the encoded input into
54 The search of decoder implementations can be limited with I<input_type> and
56 NULL is valid for both of them and signifies that the decoder implementations
62 The search of decoder implementations can also be limited with I<keytype>
64 NULL and zero are valid and signify that the decoder implementations will
67 If no suitable decoder implementation is found,
69 with no associated decoder (L<OSSL_DECODER_CTX_get_num_decoders(3)> returns
93 Among the known input types that OpenSSL decoder implementations offer
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DLibiptDecoder.cpp32 auto InsnDecoderDeleter = [](pt_insn_decoder *decoder) { in __anonea531ef20102() argument
33 pt_insn_free_decoder(decoder); in __anonea531ef20102()
36 auto QueryDecoderDeleter = [](pt_query_decoder *decoder) { in __anonea531ef20202() argument
37 pt_qry_free_decoder(decoder); in __anonea531ef20202()
85 /// Set up the memory image callback for the given decoder.
86 static Error SetupMemoryImage(pt_insn_decoder *decoder, Process &process) { in SetupMemoryImage() argument
87 pt_image *image = pt_insn_get_image(decoder); in SetupMemoryImage()
95 /// Create an instruction decoder for the given buffer and the given process.
115 /// Create a query decoder for the given buffer. The query decoder i
136 PSBBlockAnomalyDetector(pt_insn_decoder & decoder,TraceIntelPT & trace_intel_pt,DecodedThread & decoded_thread) PSBBlockAnomalyDetector() argument
572 Expected<PSBBlockDecoder> decoder = PSBBlockDecoder::Create( DecodeSingleTraceForThread() local
636 Expected<PSBBlockDecoder> decoder = PSBBlockDecoder::Create( DecodeSystemWideTraceForThread() local
697 pt_query_decoder *decoder = decoder_up.get().get(); SplitTraceIntoPSBBlock() local
768 pt_query_decoder *decoder = decoder_up.get().get(); FindLowestTSCInTrace() local
[all...]
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/
H A DKconfig12 bool "x86 BCJ filter decoder"
17 bool "PowerPC BCJ filter decoder"
22 bool "IA-64 BCJ filter decoder"
27 bool "ARM BCJ filter decoder"
32 bool "ARM-Thumb BCJ filter decoder"
37 bool "SPARC BCJ filter decoder"
42 bool "MicroLZMA decoder"
65 This allows passing .xz files to the in-kernel XZ decoder via
69 Unless you are developing the XZ decoder, you don't need this
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/
H A Dtvp514x.txt1 * Texas Instruments TVP514x video decoder
4 digital video decoder that digitizes and decodes all popular baseband analog
5 video formats into digital video component. The tvp514x decoder supports analog-
12 (a) "ti,tvp5146" for tvp5146 decoder.
13 (b) "ti,tvp5146m2" for tvp5146m2 decoder.
14 (c) "ti,tvp5147" for tvp5147 decoder.
15 (d) "ti,tvp5147m1" for tvp5147m1 decoder.
/freebsd/usr.bin/kdump/
H A Dkdump.h74 void print_integer_arg(const char *(*decoder)(int), int value);
75 void print_integer_arg_valid(const char *(*decoder)(int), int value);
76 void print_mask_arg(bool (*decoder)(FILE *, int, int *), int value);
77 void print_mask_arg0(bool (*decoder)(FILE *, int, int *), int value);
78 void print_mask_arg32(bool (*decoder)(FILE *, uint32_t, uint32_t *),
80 void print_mask_argul(bool (*decoder)(FILE *, u_long, u_long *),
82 bool print_mask_arg_part(bool (*decoder)(FILE *, int, int *),
/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A DREADME.md4 `zstd_decompress.c` is a self-contained implementation in C99 of a decoder,
6 While it does not implement as many features as the reference decoder,
23 `harness.c` provides a simple test harness around the decoder:
27 As an additional resource to be used with this decoder,
30 a Zstandard decoder implementation.
31 Note that to use the tool to verify this decoder implementation,
33 as this decoder does not handle streaming decoding,
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dgpio-decoder.txt4 - compatible: should be "gpio-decoder"
9 - decoder-max-value: Maximum possible value that can be reported by
16 compatible = "gpio-decoder";
22 decoder-max-value = <9>;

1234567