Home
last modified time | relevance | path

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

/external/nanopb-c/tests/alltypes_pointer/
Dencode_alltypes_pointer.c76 float opt_float = 3050.0f; in main() local
158 alltypes.opt_float = &opt_float; in main()
Ddecode_alltypes_pointer.c92 TEST(alltypes.opt_float == NULL); in check_alltypes()
115 TEST(alltypes.opt_float && *alltypes.opt_float == 3050.0f); in check_alltypes()
/external/nanopb-c/tests/alltypes_callback/
Ddecode_alltypes_callback.c212 float opt_float = 3050.0f; in check_alltypes() local
369 alltypes.opt_float.funcs.decode = &read_fixed32; in check_alltypes()
370 alltypes.opt_float.arg = &opt_float; in check_alltypes()
Dencode_alltypes_callback.c199 float opt_float = 3050.0f; in main() local
350 alltypes.opt_float.funcs.encode = &write_fixed32; in main()
351 alltypes.opt_float.arg = &opt_float; in main()
/external/nanopb-c/tests/backwards_compatibility/
Dalltypes_legacy.c82 …PB_FIELD( 50, FLOAT , OPTIONAL, STATIC, AllTypes, opt_float, opt_sfixed32, &AllTypes_opt_float_d…
83 …PB_FIELD( 51, FIXED64 , OPTIONAL, STATIC, AllTypes, opt_fixed64, opt_float, &AllTypes_opt_fixed64_…
Ddecode_legacy.c107 TEST(alltypes.opt_float == 4050.0f); in check_alltypes()
151 TEST(alltypes.opt_float == 3050.0f); in check_alltypes()
Dalltypes_legacy.h117 float opt_float; member
Dencode_legacy.c95 alltypes.opt_float = 3050.0f; in main()
/external/nanopb-c/tests/alltypes/
Ddecode_alltypes.c105 TEST(alltypes.opt_float == 4050.0f); in check_alltypes()
150 TEST(alltypes.opt_float == 3050.0f); in check_alltypes()
Dencode_alltypes.c104 alltypes.opt_float = 3050.0f; in main()
Dalltypes.proto92 optional float opt_float = 50 [default = 4050]; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto92 optional float opt_float = 10050 [default = 4050]; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto92 optional float opt_float = 10050 [default = 4050]; field