Home
last modified time | relevance | path

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

/nanopb-2.7.6/tests/alltypes_pointer/
Dencode_alltypes_pointer.c80 float opt_float = 3050.0f; in main() local
191 alltypes.opt_float = &opt_float; in main()
Ddecode_alltypes_pointer.c94 TEST(alltypes.opt_float == NULL); in check_alltypes()
122 TEST(alltypes.opt_float && *alltypes.opt_float == 3050.0f); in check_alltypes()
/nanopb-2.7.6/tests/alltypes_callback/
Ddecode_alltypes_callback.c269 float opt_float = 3050.0f; in check_alltypes() local
425 alltypes.opt_float.funcs.decode = &read_fixed32; in check_alltypes()
426 alltypes.opt_float.arg = &opt_float; in check_alltypes()
Dencode_alltypes_callback.c266 float opt_float = 3050.0f; in main() local
435 alltypes.opt_float.funcs.encode = &write_fixed32; in main()
436 alltypes.opt_float.arg = &opt_float; in main()
/nanopb-2.7.6/tests/without_64bit/
Ddecode_alltypes.c88 TEST(alltypes.opt_float == 4050.0f); in check_alltypes()
124 TEST(alltypes.opt_float == 3050.0f); in check_alltypes()
Dencode_alltypes.c84 alltypes.opt_float = 3050.0f; in main()
Dalltypes.proto75 optional float opt_float = 50 [default = 4050]; field
/nanopb-2.7.6/tests/backwards_compatibility/
Ddecode_legacy.c101 TEST(alltypes.opt_float == 4050.0f); in check_alltypes()
145 TEST(alltypes.opt_float == 3050.0f); in check_alltypes()
Dencode_legacy.c95 alltypes.opt_float = 3050.0f; in main()
Dalltypes_legacy.proto92 optional float opt_float = 50 [default = 4050]; field
Dalltypes_legacy.h141 float opt_float; member
307 X(a, STATIC, OPTIONAL, FLOAT, opt_float, 50) \
/nanopb-2.7.6/tests/alltypes/
Dencode_alltypes.c128 alltypes.opt_float = 3050.0f; in main()
Ddecode_alltypes.c137 TEST(alltypes.opt_float == 4050.0f); in check_alltypes()
189 TEST(alltypes.opt_float == 3050.0f); in check_alltypes()
Dalltypes.proto118 optional float opt_float = 50 [default = 4050]; field
/nanopb-2.7.6/tests/field_size_32/
Dalltypes.proto117 optional float opt_float = 10050 [default = 4050]; field
/nanopb-2.7.6/tests/field_size_16/
Dalltypes.proto117 optional float opt_float = 10050 [default = 4050]; field
/nanopb-2.7.6/tests/common_unittests/
Dcommon_unittests.c76 …TEST(pb_field_iter_next(&iter) && iter.tag == 50 && iter.pData == &msg.opt_float && iter.pSize … in main()