Home
last modified time | relevance | path

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

/external/nanopb-c/tests/alltypes_pointer/
Dencode_alltypes_pointer.c84 MyEnum opt_enum = MyEnum_Truth; in main() local
165 alltypes.opt_enum = &opt_enum; in main()
Ddecode_alltypes_pointer.c100 TEST(alltypes.opt_enum == NULL); in check_alltypes()
125 TEST(alltypes.opt_enum && *alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
/external/nanopb-c/tests/backwards_compatibility/
Dalltypes_legacy.c89 …PB_FIELD( 57, ENUM , OPTIONAL, STATIC, AllTypes, opt_enum, opt_submsg, &AllTypes_opt_enum_defau…
90 PB_FIELD( 99, INT32 , REQUIRED, STATIC, AllTypes, end, opt_enum, 0),
Ddecode_legacy.c126 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes()
170 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
Dalltypes_legacy.h131 MyEnum opt_enum; member
Dencode_legacy.c113 alltypes.opt_enum = MyEnum_Truth; in main()
/external/nanopb-c/tests/alltypes/
Ddecode_alltypes.c124 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes()
169 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
Dencode_alltypes.c122 alltypes.opt_enum = MyEnum_Truth; in main()
Dalltypes.proto101 optional MyEnum opt_enum = 57 [default = Second]; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto101 optional MyEnum opt_enum = 10057 [default = Second]; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto101 optional MyEnum opt_enum = 10057 [default = Second]; field
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c371 alltypes.opt_enum.funcs.encode = &write_varint; in main()
372 alltypes.opt_enum.arg = (void*)MyEnum_Truth; in main()
Ddecode_alltypes_callback.c390 alltypes.opt_enum.funcs.decode = &read_varint; in check_alltypes()
391 alltypes.opt_enum.arg = (void*)MyEnum_Truth; in check_alltypes()