Home
last modified time | relevance | path

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

/nanopb-3.4.0/tests/regression/issue_172/
Dmsg_size.c3 PB_STATIC_ASSERT(testmessage_size >= 1+1+1+1+16, TESTMESSAGE_SIZE_IS_WRONG)
/nanopb-3.4.0/tests/regression/issue_363/
DSConscript2 # Incorrect PB_STATIC_ASSERT for bytes inside oneof
/nanopb-3.4.0/tests/backwards_compatibility/
Dalltypes_legacy.c37 PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
/nanopb-3.4.0/
Dpb.h169 # 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)
780PB_STATIC_ASSERT(PB_FITS(tag,6) && PB_FITS(data_offset,8) && PB_FITS(size_offset,4) && PB_FITS(dat…
[all …]
DCHANGELOG.txt260 Fix incorrect PB_STATIC_ASSERT for bytes inside oneof (#363)
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h169 # 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)
780PB_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/
Dconcepts.md585 time. The `PB_STATIC_ASSERT` macro is defined in `pb.h`. If ISO C11 standard
Dmigration.md484 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x)