MCPcopy Create free account

hub / github.com/dcSpark/cddl-codegen / functions

Functions1,061 in github.com/dcSpark/cddl-codegen

Functionencoding_var_macros
the codegen crate doesn't support proc macros for fields so we need to do this with newlines. codegen takes care of indentation somehow.
src/generation.rs:3855
Methodend
(&self, serializer: &'a mut Serializer<W>)
static/serialization_preserve_non_force_canonical.rs:26
Methodend
(&self, serializer: &'a mut Serializer<W>, force_canonical: bool)
static/serialization_preserve_force_canonical.rs:30
Functionenum_opt_embed_fields
()
tests/core/tests.rs:905
Functionenum_opt_embed_fields
()
tests/preserve-encodings/tests.rs:1234
Functionenums
()
tests/core/tests.rs:389
Functionenums
()
tests/preserve-encodings/tests.rs:722
Functionerror_display_formatting
()
tests/core/tests.rs:218
Functioneverything
(b: &[u8])
static/emit_tests_encoding_fidelity.rs:317
Functioneverything_roundtrips_through_extern_dep_types
()
tests/extern-deps/tests.rs:43
Functioneverything_roundtrips_through_extern_dep_types
()
tests/extern-deps-non-preserve/tests.rs:46
Methodexport
(&self)
src/intermediate.rs:37
Functionextern_dep_encodings_thread_across_the_crate_boundary
()
tests/extern-deps/tests.rs:67
Functionextern_dep_encodings_thread_across_the_crate_boundary
()
tests/extern-deps-non-preserve/tests.rs:70
Functionextern_deps
()
src/tests/integration_tests.rs:4047
Functionextern_deps_non_preserve
()
src/tests/integration_tests.rs:4070
Functionexterns
()
tests/core/tests.rs:472
Functionexterns_generic
()
tests/core/tests.rs:481
Methodfailure
The underlying failure reason. Lets callers (e.g. generated reject tests) assert the exact `DeserializeFailure` variant rather than just that deserial
static/error.rs:73
Functionfeature_corpus
()
src/tests/snapshot_tests.rs:118
Functionfeature_corpus_compiles
()
src/tests/integration_tests.rs:911
Functionfeature_corpus_roundtrips_nondefault_profiles
()
src/tests/integration_tests.rs:4365
Methodfinish
(&self)
static/serialization_non_preserve.rs:34
Functionfit_sz
(len: u64, sz: Option<cbor_event::Sz>)
static/serialization_preserve_non_force_canonical.rs:2
Functionfit_sz
(len: u64, sz: Option<cbor_event::Sz>, force_canonical: bool)
static/serialization_preserve_force_canonical.rs:2
Functionfixed_key_arrow_single_entry_routes_to_record_path
()
src/tests/robustness_tests.rs:575
Functionflag_flip_removes_stale_dep
()
src/cargo_manifest.rs:720
Functionflag_rejects_conformance_without_emit_tests
()
src/tests/integration_tests.rs:2315
Functionflag_value_rejects_canonical_without_preserve
()
src/tests/integration_tests.rs:1531
Functionflag_value_smoke
()
src/tests/integration_tests.rs:1476
Functionfloat_holder
()
tests/json-float/tests.rs:8
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/cargo_manifest.rs:74
Functionfold_entry_with_no_action_is_an_error
()
src/cargo_manifest.rs:1100
Functionfold_entry_with_set_and_remove_is_an_error
()
src/cargo_manifest.rs:1084
Functionfold_gapped_ids_error_names_the_file
()
src/cargo_manifest.rs:1062
Functionfold_remove_then_set_emits_set
()
src/cargo_manifest.rs:1049
Functionfold_seed_and_set_become_their_ops_in_first_mention_order
()
src/cargo_manifest.rs:995
Functionfold_set_then_remove_emits_remove
()
src/cargo_manifest.rs:1036
Functionfold_set_then_set_keeps_last_value_at_first_position
()
src/cargo_manifest.rs:1018
Functionfold_unparseable_snippet_is_an_error
()
src/cargo_manifest.rs:1114
Functionfoo
()
tests/raw-bytes-preserve/tests.rs:8
Functionfoo
()
tests/rust-wasm-split/tests.rs:18
Functionfoo
()
tests/core/tests.rs:33
Functionfoo
()
tests/raw-bytes/tests.rs:19
Functionfoo2_none
()
tests/rust-wasm-split/tests.rs:28
Functionfoo2_none
()
tests/core/tests.rs:43
Functionfoo2_some
()
tests/rust-wasm-split/tests.rs:23
Functionfoo2_some
()
tests/core/tests.rs:38
Functionfoo_too_big
()
tests/raw-bytes-preserve/tests.rs:26
Functionfoo_too_small
()
tests/raw-bytes-preserve/tests.rs:36
Functionforeign_scratch_ident
A catalog row id (`occur.optional`, `contain.array-element.type.choice`) -> a filesystem-safe scratch dir fragment (the ids carry `.` and `-`, fine fo
src/tests/integration_tests.rs:4985
Methodformat
(operations: impl Iterator<Item = Self>)
src/intermediate.rs:2374
Functionfresh_produces_full_manifest
()
src/cargo_manifest.rs:634
Methodfrom
(len: cbor_event::Len)
static/serialization_preserve.rs:52
Methodfrom
(len: cbor_event::Len)
static/serialization_non_preserve.rs:51
Methodfrom
(rust_type: &'a RustType)
src/generation.rs:346
Methodfrom
(comments: Option<&'a cddl::ast::Comments<'a>>)
src/comment_ast.rs:224
Methodfrom
(mut scope: Vec<String>)
src/intermediate.rs:47
Methodfrom
(len: cbor_event::Len)
tests/extern-dep-crate/src/serialization.rs:72
Methodfrom
(failure: DeserializeFailure)
tests/extern-dep-crate/src/error.rs:131
Methodfrom_cbor_bytes
(data: &[u8])
static/serialization.rs:3
Methodfrom_cbor_bytes
(cbor_bytes: &[u8])
tests/extern-dep-crate/src/lib.rs:35
Methodfrom_cbor_bytes
(data: &[u8])
tests/extern-dep-crate/src/serialization.rs:3
Methodfrom_iter
(iter: T)
static/ordered_hash_map.rs:41
Methodfrom_parse_results
(results: &[ParseResult])
src/comment_ast.rs:88
Methodfrom_raw_hex
(hex_str: &str)
static/raw_bytes_encoding.rs:12
Methodfrom_wasm_boundary_ref
(&self, types: &IntermediateTypes, expr: &str)
src/intermediate.rs:2107
Functiongen_out
(spec: &str, tag: &str)
src/tests/robustness_tests.rs:594
Functiongenerate
(spec: &str, tag: &str)
src/tests/robustness_tests.rs:252
Functiongeneration_is_deterministic
()
src/tests/snapshot_tests.rs:150
Functiongeneric_names_are_collision_proofed_against_rw_idents
()
src/tests/identifier_hazard_tests.rs:181
Functionget_rule_name
( parent_visitor: &'a ParentVisitor, cddl_type: &CDDLType<'a, '_>, )
src/parsing.rs:2674
Functiongetting_started_example
()
src/tests/integration_tests.rs:1057
Functiongolden_hex
()
src/tests/integration_tests.rs:2651
Functiongolden_hex_canonical
()
src/tests/integration_tests.rs:2675
Functiongolden_hex_preserve
()
src/tests/integration_tests.rs:2658
Functiongroup_choice
()
tests/canonical/tests.rs:395
Functiongroup_choice
()
tests/preserve-encodings/tests.rs:741
Functiongroup_choice
()
tests/comment-dsl/tests.rs:55
Functiongroup_choice_0
()
tests/rust-wasm-split/tests.rs:83
Functiongroup_choice_0
()
tests/core/tests.rs:400
Functiongroup_choice_foo
()
tests/rust-wasm-split/tests.rs:78
Functiongroup_choice_foo
()
tests/core/tests.rs:395
Functiongroup_choice_plain
()
tests/rust-wasm-split/tests.rs:88
Functiongroup_choice_plain
()
tests/core/tests.rs:405
Functiongroup_type
()
tests/comment-dsl/tests.rs:23
Functionhand_written_cbor_accepted
()
tests/multifile/tests.rs:105
Functionhash
()
tests/core/tests.rs:26
Functioni16_wrapper
()
tests/json/tests.rs:52
Functioni64_wrapper
()
tests/json/tests.rs:58
Functionidentifier_hazard_crates_compile
()
src/tests/identifier_hazard_tests.rs:368
Functionidentifier_hazard_robustness_catalog
()
src/tests/identifier_hazard_tests.rs:233
Functionindef_containers
(b: &[u8])
static/emit_tests_encoding_fidelity.rs:302
Methodindex_0
(&self)
tests/extern-dep-crate/src/lib.rs:40
Methodindex_1
(&self)
tests/extern-dep-crate/src/lib.rs:44
Methodindex_2
(&self)
tests/extern-dep-crate/src/lib.rs:48
Methodinline_schema
()
static/ordered_hash_map_schemars.rs:8
Functioninput_robustness_catalog
()
src/tests/robustness_tests.rs:743
Functionint_json
()
tests/json/tests.rs:98
Functionir_conformance_corpus
()
src/tests/integration_tests.rs:3001
← previousnext →701–800 of 1,061, ranked by callers