Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 2 of 2) sorted by relevance

/zcbor-latest/zcbor/
Dzcbor.py171 def struct_ptr_name(mode): argument
173 return "result" if mode == "decode" else "input"
1866 def __init__(self, mode, entry_type_names, default_bit_size, *args, **kwargs): argument
1868 self.mode = mode
1873 def from_cddl(cddl_class, mode, *args, **kwargs): argument
1893 return (self.mode, self.entry_type_names, self.default_bit_size, self.default_max_qty)
2195 return "float16_32" if self.mode == "decode" else "float32"
2199 return "float32_64" if self.mode == "decode" else "float64"
2203 return "float" if self.mode == "decode" else "float64"
2235 if self.mode == "decode":
[all …]
/zcbor-latest/src/
Dzcbor_decode.c826 static bool manipulate_flags(zcbor_state_t *state, uint32_t mode) in manipulate_flags() argument
829 size_t index = (mode == FLAG_MODE_CLEAR_UNUSED) ? last_index : get_current_index(state, mode); in manipulate_flags()
836 switch(mode) { in manipulate_flags()