Searched refs:PB_STATIC_ASSERT (Results 1 – 7 of 7) sorted by relevance
/nanopb-2.7.6/tests/regression/issue_172/ |
D | msg_size.c | 3 PB_STATIC_ASSERT(testmessage_size >= 1+1+1+1+16, TESTMESSAGE_SIZE_IS_WRONG)
|
/nanopb-2.7.6/tests/regression/issue_363/ |
D | SConscript | 2 # Incorrect PB_STATIC_ASSERT for bytes inside oneof
|
/nanopb-2.7.6/tests/backwards_compatibility/ |
D | alltypes_legacy.c | 37 PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb.h | 147 # ifndef PB_STATIC_ASSERT 150 # define PB_STATIC_ASSERT(COND,MSG) _Static_assert(COND,#MSG); macro 153 # define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER… 160 # define PB_STATIC_ASSERT(COND,MSG) 324 PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) 325 PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) 743 …PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat… 746 …PB_STATIC_ASSERT(PB_FITS(tag,10) && PB_FITS(data_offset,16) && PB_FITS(size_offset,4) && PB_FITS(d… 751 …PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8… 754 …PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8… [all …]
|
/nanopb-2.7.6/ |
D | pb.h | 147 # ifndef PB_STATIC_ASSERT 150 # define PB_STATIC_ASSERT(COND,MSG) _Static_assert(COND,#MSG); macro 153 # define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER… 160 # define PB_STATIC_ASSERT(COND,MSG) 324 PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE) 325 PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE) 743 …PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat… 746 …PB_STATIC_ASSERT(PB_FITS(tag,10) && PB_FITS(data_offset,16) && PB_FITS(size_offset,4) && PB_FITS(d… 751 …PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8… 754 …PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8… [all …]
|
D | CHANGELOG.txt | 185 Fix incorrect PB_STATIC_ASSERT for bytes inside oneof (#363)
|
/nanopb-2.7.6/docs/ |
D | migration.md | 427 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x)
|