Home
last modified time | relevance | path

Searched refs:pb_arraysize (Results 1 – 3 of 3) sorted by relevance

/nanopb-3.4.0/tests/fixed_count/
Dfixed_count_unittests.c149 SubMessage submsgs[pb_arraysize(Message4, submsgs[0])] = {SubMessage_init_zero}; in main()
157 char *strings[pb_arraysize(Message4, strings[0])] = {a, b, abc}; in main()
/nanopb-3.4.0/
Dpb.h489 #define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) macro
655 #define PB_AS_PB_HTYPE_REPEATED(structname, fieldname) pb_arraysize(structname, fieldname)
656 #define PB_AS_PB_HTYPE_FIXARRAY(structname, fieldname) pb_arraysize(structname, fieldname)
662 #define PB_AS_PTR_PB_HTYPE_FIXARRAY(structname, fieldname) pb_arraysize(structname, fieldname[0])
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h489 #define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0])) macro
655 #define PB_AS_PB_HTYPE_REPEATED(structname, fieldname) pb_arraysize(structname, fieldname)
656 #define PB_AS_PB_HTYPE_FIXARRAY(structname, fieldname) pb_arraysize(structname, fieldname)
662 #define PB_AS_PTR_PB_HTYPE_FIXARRAY(structname, fieldname) pb_arraysize(structname, fieldname[0])