Searched refs:PB_STATIC_ASSERT (Results 1 – 8 of 8) sorted by relevance
/nanopb-3.4.0/tests/regression/issue_172/ |
D | msg_size.c | 3 PB_STATIC_ASSERT(testmessage_size >= 1+1+1+1+16, TESTMESSAGE_SIZE_IS_WRONG)
|
/nanopb-3.4.0/tests/regression/issue_363/ |
D | SConscript | 2 # Incorrect PB_STATIC_ASSERT for bytes inside oneof
|
/nanopb-3.4.0/tests/backwards_compatibility/ |
D | alltypes_legacy.c | 37 PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
|
/nanopb-3.4.0/ |
D | pb.h | 169 # ifndef PB_STATIC_ASSERT 172 # define PB_STATIC_ASSERT(COND,MSG) static_assert(COND,#MSG); macro 175 # define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER… 180 # define PB_STATIC_ASSERT(COND,MSG) static_assert(COND,#MSG); 183 # define PB_STATIC_ASSERT(COND,MSG) _Static_assert(COND,#MSG); 188 # define PB_STATIC_ASSERT(COND,MSG) 197 PB_STATIC_ASSERT(1, STATIC_ASSERT_IS_NOT_WORKING) 360 PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) 361 PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) 780 …PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat… [all …]
|
D | CHANGELOG.txt | 260 Fix incorrect PB_STATIC_ASSERT for bytes inside oneof (#363)
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb.h | 169 # ifndef PB_STATIC_ASSERT 172 # define PB_STATIC_ASSERT(COND,MSG) static_assert(COND,#MSG); macro 175 # define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER… 180 # define PB_STATIC_ASSERT(COND,MSG) static_assert(COND,#MSG); 183 # define PB_STATIC_ASSERT(COND,MSG) _Static_assert(COND,#MSG); 188 # define PB_STATIC_ASSERT(COND,MSG) 197 PB_STATIC_ASSERT(1, STATIC_ASSERT_IS_NOT_WORKING) 360 PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) 361 PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) 780 …PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat… [all …]
|
/nanopb-3.4.0/docs/ |
D | concepts.md | 585 time. The `PB_STATIC_ASSERT` macro is defined in `pb.h`. If ISO C11 standard
|
D | migration.md | 484 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x)
|