Home
last modified time | relevance | path

Searched refs:PB_STATIC_ASSERT (Results 1 – 7 of 7) sorted by relevance

/nanopb-2.7.6/tests/regression/issue_172/
Dmsg_size.c3 PB_STATIC_ASSERT(testmessage_size >= 1+1+1+1+16, TESTMESSAGE_SIZE_IS_WRONG)
/nanopb-2.7.6/tests/regression/issue_363/
DSConscript2 # Incorrect PB_STATIC_ASSERT for bytes inside oneof
/nanopb-2.7.6/tests/backwards_compatibility/
Dalltypes_legacy.c37 PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h147 # 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)
743PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat…
746PB_STATIC_ASSERT(PB_FITS(tag,10) && PB_FITS(data_offset,16) && PB_FITS(size_offset,4) && PB_FITS(d…
751PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8…
754PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8…
[all …]
/nanopb-2.7.6/
Dpb.h147 # 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)
743PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat…
746PB_STATIC_ASSERT(PB_FITS(tag,10) && PB_FITS(data_offset,16) && PB_FITS(size_offset,4) && PB_FITS(d…
751PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8…
754PB_STATIC_ASSERT(PB_FITS(tag,16) && PB_FITS(data_offset,16) && PB_FITS((int_least8_t)size_offset,8…
[all …]
DCHANGELOG.txt185 Fix incorrect PB_STATIC_ASSERT for bytes inside oneof (#363)
/nanopb-2.7.6/docs/
Dmigration.md427 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x)