Searched refs:num (Results 1 – 2 of 2) sorted by relevance
/zcbor-latest/tests/include/ |
D | common_test.h | 13 #define LIST(num) 0x9F /* Use short count 31 (indefinite-length). Note that the 'num' argument is i… argument 14 #define LIST2(num) 0x9F /* Use short count 31 (indefinite-length). Note that the 'num' argument is … argument 15 #define LIST3(num) 0x9F /* Use short count 31 (indefinite-length). Note that the 'num' argument is … argument 16 #define MAP(num) 0xBF /* Use short count 31 (indefinite-length). Note that the 'num' argument is i… argument 24 #define LIST(num) CONCAT_BYTE(0x8, num) argument 25 #define LIST2(num) CONCAT_BYTE(0x9, num) argument 26 #define LIST3(num) 0x98, num argument 27 #define MAP(num) CONCAT_BYTE(0xA, num) argument
|
/zcbor-latest/zcbor/ |
D | zcbor.py | 68 def sizeof(num): argument 70 if num <= 23: 72 elif num <= UINT8_MAX: 74 elif num <= UINT16_MAX: 76 elif num <= UINT32_MAX: 78 elif num <= UINT64_MAX: 837 lambda m_self, num: m_self.type_and_value("FLOAT", lambda: float(num))), 840 "UINT", *map(lambda num: int(num, 0), _range.split("..")))), 843 "INT", *map(lambda num: int(num, 0), _range.split("..")))), 846 "NINT", *map(lambda num: int(num, 0), _range.split("..")))), [all …]
|