Home
last modified time | relevance | path

Searched refs:opt_enum (Results 1 – 17 of 17) sorted by relevance

/nanopb-2.7.6/tests/alltypes_pointer/
Dencode_alltypes_pointer.c88 MyEnum opt_enum = MyEnum_Truth; in main() local
198 alltypes.opt_enum = &opt_enum; in main()
Ddecode_alltypes_pointer.c102 TEST(alltypes.opt_enum == NULL); in check_alltypes()
132 TEST(alltypes.opt_enum && *alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
/nanopb-2.7.6/tests/without_64bit/
Ddecode_alltypes.c100 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes()
136 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
Dencode_alltypes.c95 alltypes.opt_enum = MyEnum_Truth; in main()
Dalltypes.proto80 optional MyEnum opt_enum = 57 [default = Second]; field
/nanopb-2.7.6/tests/backwards_compatibility/
Ddecode_legacy.c120 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes()
164 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
Dencode_legacy.c113 alltypes.opt_enum = MyEnum_Truth; in main()
Dalltypes_legacy.proto101 optional MyEnum opt_enum = 57 [default = Second]; field
Dalltypes_legacy.h155 MyEnum opt_enum; member
314 X(a, STATIC, OPTIONAL, UENUM, opt_enum, 57) \
/nanopb-2.7.6/tests/alltypes/
Dencode_alltypes.c146 alltypes.opt_enum = MyEnum_Truth; in main()
Ddecode_alltypes.c156 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes()
208 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
Dalltypes.proto127 optional MyEnum opt_enum = 57 [default = Second]; field
/nanopb-2.7.6/tests/field_size_32/
Dalltypes.proto126 optional MyEnum opt_enum = 10057 [default = Second]; field
/nanopb-2.7.6/tests/field_size_16/
Dalltypes.proto126 optional MyEnum opt_enum = 10057 [default = Second]; field
/nanopb-2.7.6/tests/alltypes_callback/
Ddecode_alltypes_callback.c446 alltypes.opt_enum.funcs.decode = &read_varint; in check_alltypes()
447 alltypes.opt_enum.arg = (void*)MyEnum_Truth; in check_alltypes()
Dencode_alltypes_callback.c456 alltypes.opt_enum.funcs.encode = &write_varint; in main()
457 alltypes.opt_enum.arg = (void*)MyEnum_Truth; in main()
/nanopb-2.7.6/tests/common_unittests/
Dcommon_unittests.c83 …TEST(pb_field_iter_next(&iter) && iter.tag == 57 && iter.pData == &msg.opt_enum && iter.pSize … in main()