Home
last modified time | relevance | path

Searched refs:string (Results 1 – 8 of 8) sorted by relevance

/zcbor-latest/samples/hello_world/
DREADME.md4 This sample encodes and then decodes the string "Hello World", and prints the decoded string.
24 > Decoded string: 'Hello World'
/zcbor-latest/tests/unit/test1_unit_tests/
DCMakeLists.txt25 string(REPLACE "." ";" ZCBOR_VERSION_SPLIT ${ZCBOR_VERSION_STR})
/zcbor-latest/src/
Dzcbor_decode.c686 bool zcbor_bstr_expect_term(zcbor_state_t *state, char const *string, size_t maxlen) in zcbor_bstr_expect_term() argument
689 return zcbor_bstr_expect_ptr(state, string, strnlen(string, maxlen)); in zcbor_bstr_expect_term()
693 bool zcbor_tstr_expect_term(zcbor_state_t *state, char const *string, size_t maxlen) in zcbor_tstr_expect_term() argument
696 return zcbor_tstr_expect_ptr(state, string, strnlen(string, maxlen)); in zcbor_tstr_expect_term()
/zcbor-latest/
DARCHITECTURE.md26 Since CDDL types can contain other types, CddlParser recursively parses a CDDL string, and spawns n…
28 `self.type` is a string representing the base CDDL type, the options are (corresponding CBOR types …
59 For `"OTHER"`, `self.value` is a string with the name of the type it refers to.
84 The expressions consume a number of characters from the input string, and also capture a substring …
85 …regex will match the whole type, and then recursively parse the children within the matched string.
DREADME.md144 …This is a format where the serialization types (map, list, string, number etc.) are mapped directl…
159 …2. map keys other than text string: In YAML, such key value pairs are represented as `{"zcbor_keyv…
191 Restrictions can be on type (int/string/list/bool etc.), on content (e.g. values/sizes of ints or s…
286 - `bstr`: Byte string
287 - `tstr`: Text string
304 - Text string: `Foo = "hello"`, where Foo is a tstr with the requirement that it must be "hello".
455 type, the xcoder will not xcode the string, only provide a pointer into the
543 generated files, e.g. copyright. Can be a string or a
577 as hex string, everything else => CBOR
630 as hex string, everything else => CBOR
[all …]
DRELEASE_NOTES.md123 * zcbor_debug.h: Add function for getting error string and printing it
313 …* Allow --default-max-qty to accept a string label when generating code so that the value can be c…
392 …* This means that list/map/string sizes can be 64 bits on 64-bit architectures. Note that having 6…
421 * Payload chunks and string fragments.
488 * Provide the raw string along with the decoded object.
/zcbor-latest/tests/scripts/
Dtest_zcbor.py202 def loads(string): argument
203 return cbor2.loads(string)
/zcbor-latest/zcbor/
Dzcbor.py795 lambda m_self, string: m_self.type_and_value("BSTR", lambda: string)),
797 lambda m_self, string: m_self.type_and_value("TSTR", lambda: string)),