Searched refs:string (Results 1 – 8 of 8) sorted by relevance
/zcbor-3.5.0-3.4.0/include/ |
D | zcbor_encode.h | 84 #define zcbor_bstr_put_lit(state, string) \ argument 85 zcbor_bstr_encode_ptr(state, string, sizeof(string) - 1) 86 #define zcbor_tstr_put_lit(state, string) \ argument 87 zcbor_tstr_encode_ptr(state, string, sizeof(string) - 1) 95 #define zcbor_bstr_put_term(state, string) \ argument 96 zcbor_bstr_encode_ptr(state, string, strlen(string)) 97 #define zcbor_tstr_put_term(state, string) \ argument 98 zcbor_tstr_encode_ptr(state, string, strlen(string)) 106 #define zcbor_bstr_put_arr(state, string) \ argument 107 zcbor_bstr_encode_ptr(state, string, sizeof(string)) [all …]
|
D | zcbor_decode.h | 103 #define zcbor_bstr_expect_lit(state, string) \ argument 104 zcbor_bstr_expect_ptr(state, string, sizeof(string) - 1) 105 #define zcbor_tstr_expect_lit(state, string) \ argument 106 zcbor_tstr_expect_ptr(state, string, sizeof(string) - 1) 114 #define zcbor_bstr_expect_term(state, string) \ argument 115 zcbor_bstr_expect_ptr(state, string, strlen(string)) 116 #define zcbor_tstr_expect_term(state, string) \ argument 117 zcbor_tstr_expect_ptr(state, string, strlen(string)) 125 #define zcbor_bstr_expect_arr(state, string) \ argument 126 zcbor_bstr_expect_ptr(state, string, (sizeof(string))) [all …]
|
/zcbor-3.5.0-3.4.0/samples/hello_world/ |
D | README.md | 4 This sample encodes and then decodes the string "Hello World", and prints the decoded string. 24 > Decoded string: 'Hello World'
|
/zcbor-3.5.0-3.4.0/ |
D | ARCHITECTURE.md | 26 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.
|
D | README.md | 140 …This is a format where the serialization types (map, list, string, number etc.) are mapped directl… 155 …2. map keys other than text string: In YAML, such key value pairs are represented as `{"zcbor_keyv… 187 Restrictions can be on type (int/string/list/bool etc.), on content (e.g. values/sizes of ints or s… 282 - `bstr`: Byte string 283 - `tstr`: Text string 300 - Text string: `Foo = "hello"`, where Foo is a tstr with the requirement that it must be "hello". 433 type, the xcoder will not xcode the string, only provide a pointer into the 553 as hex string, everything else => CBOR 606 as hex string, everything else => CBOR 630 .cborhex => CBOR as hex string, everything else =>
|
D | RELEASE_NOTES.md | 131 …* Allow --default-max-qty to accept a string label when generating code so that the value can be c… 210 …* This means that list/map/string sizes can be 64 bits on 64-bit architectures. Note that having 6… 239 * Payload chunks and string fragments. 306 * Provide the raw string along with the decoded object.
|
/zcbor-3.5.0-3.4.0/tests/scripts/ |
D | test_zcbor.py | 196 def loads(string): argument 197 return cbor2.loads(string)
|
/zcbor-3.5.0-3.4.0/zcbor/ |
D | zcbor.py | 802 lambda string: self.type_and_value("BSTR", lambda: string)), 806 lambda string: self.type_and_value("TSTR", lambda: string)),
|