Searched refs:opt_enum (Results 1 – 13 of 13) sorted by relevance
/external/nanopb-c/tests/alltypes_pointer/ |
D | encode_alltypes_pointer.c | 84 MyEnum opt_enum = MyEnum_Truth; in main() local 165 alltypes.opt_enum = &opt_enum; in main()
|
D | decode_alltypes_pointer.c | 100 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/ |
D | alltypes_legacy.c | 89 …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),
|
D | decode_legacy.c | 126 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes() 170 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
|
D | alltypes_legacy.h | 131 MyEnum opt_enum; member
|
D | encode_legacy.c | 113 alltypes.opt_enum = MyEnum_Truth; in main()
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 124 TEST(alltypes.opt_enum == MyEnum_Second); in check_alltypes() 169 TEST(alltypes.opt_enum == MyEnum_Truth); in check_alltypes()
|
D | encode_alltypes.c | 122 alltypes.opt_enum = MyEnum_Truth; in main()
|
D | alltypes.proto | 101 optional MyEnum opt_enum = 57 [default = Second]; field
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 101 optional MyEnum opt_enum = 10057 [default = Second]; field
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 101 optional MyEnum opt_enum = 10057 [default = Second]; field
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 371 alltypes.opt_enum.funcs.encode = &write_varint; in main() 372 alltypes.opt_enum.arg = (void*)MyEnum_Truth; in main()
|
D | decode_alltypes_callback.c | 390 alltypes.opt_enum.funcs.decode = &read_varint; in check_alltypes() 391 alltypes.opt_enum.arg = (void*)MyEnum_Truth; in check_alltypes()
|