Searched refs:opt_bool (Results 1 – 13 of 13) sorted by relevance
/external/nanopb-c/tests/alltypes_pointer/ |
D | encode_alltypes_pointer.c | 73 bool opt_bool = true; in main() local 155 alltypes.opt_bool = &opt_bool; in main()
|
D | decode_alltypes_pointer.c | 88 TEST(alltypes.opt_bool == NULL); in check_alltypes() 111 TEST(alltypes.opt_bool && *alltypes.opt_bool == true); in check_alltypes()
|
/external/nanopb-c/tests/backwards_compatibility/ |
D | alltypes_legacy.c | 79 …PB_FIELD( 47, BOOL , OPTIONAL, STATIC, AllTypes, opt_bool, opt_sint64, &AllTypes_opt_bool_defau… 80 …PB_FIELD( 48, FIXED32 , OPTIONAL, STATIC, AllTypes, opt_fixed32, opt_bool, &AllTypes_opt_fixed32_d…
|
D | decode_legacy.c | 100 TEST(alltypes.opt_bool == false); in check_alltypes() 144 TEST(alltypes.opt_bool == true); in check_alltypes()
|
D | encode_legacy.c | 88 alltypes.opt_bool = true; in main()
|
D | alltypes_legacy.h | 111 bool opt_bool; member
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 98 TEST(alltypes.opt_bool == false); in check_alltypes() 143 TEST(alltypes.opt_bool == true); in check_alltypes()
|
D | encode_alltypes.c | 97 alltypes.opt_bool = true; in main()
|
D | alltypes.proto | 88 optional bool opt_bool = 47 [default = false]; field
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 88 optional bool opt_bool = 10047 [default = false]; field
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 88 optional bool opt_bool = 10047 [default = false]; field
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 341 alltypes.opt_bool.funcs.encode = &write_varint; in main() 342 alltypes.opt_bool.arg = (void*)true; in main()
|
D | decode_alltypes_callback.c | 360 alltypes.opt_bool.funcs.decode = &read_varint; in check_alltypes() 361 alltypes.opt_bool.arg = (void*)true; in check_alltypes()
|