Home
last modified time | relevance | path

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

/external/nanopb-c/tests/alltypes_pointer/
Dencode_alltypes_pointer.c73 bool opt_bool = true; in main() local
155 alltypes.opt_bool = &opt_bool; in main()
Ddecode_alltypes_pointer.c88 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/
Dalltypes_legacy.c79 …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…
Ddecode_legacy.c100 TEST(alltypes.opt_bool == false); in check_alltypes()
144 TEST(alltypes.opt_bool == true); in check_alltypes()
Dalltypes_legacy.h111 bool opt_bool; member
Dencode_legacy.c88 alltypes.opt_bool = true; in main()
/external/nanopb-c/tests/alltypes/
Ddecode_alltypes.c98 TEST(alltypes.opt_bool == false); in check_alltypes()
143 TEST(alltypes.opt_bool == true); in check_alltypes()
Dencode_alltypes.c97 alltypes.opt_bool = true; in main()
Dalltypes.proto88 optional bool opt_bool = 47 [default = false]; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto88 optional bool opt_bool = 10047 [default = false]; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto88 optional bool opt_bool = 10047 [default = false]; field
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c341 alltypes.opt_bool.funcs.encode = &write_varint; in main()
342 alltypes.opt_bool.arg = (void*)true; in main()
Ddecode_alltypes_callback.c360 alltypes.opt_bool.funcs.decode = &read_varint; in check_alltypes()
361 alltypes.opt_bool.arg = (void*)true; in check_alltypes()