/external/nanopb-c/tests/alltypes_pointer/ |
encode_alltypes_pointer.c | 48 float rep_float[5] = {0, 0, 0, 0, 2010.0f}; local 136 alltypes.rep_float_count = 5; alltypes.rep_float = rep_float;
|
decode_alltypes_pointer.c | 61 TEST(alltypes.rep_float_count == 5 && alltypes.rep_float[4] == 2010.0f && alltypes.rep_float[0] == 0.0f);
|
/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 197 float rep_float[5] = {0, 0, 0, 0, 2010.0f}; local 308 alltypes.rep_float.funcs.decode = &read_repeated_fixed32; 309 alltypes.rep_float.arg = rep_float;
|
encode_alltypes_callback.c | 191 float rep_float = 2010.0f; local 292 alltypes.rep_float.funcs.encode = &write_repeated_fixed32; 293 alltypes.rep_float.arg = &rep_float;
|
/external/nanopb-c/tests/backwards_compatibility/ |
alltypes_legacy.c | 65 PB_FIELD( 30, FLOAT , REPEATED, STATIC, AllTypes, rep_float, rep_sfixed32, 0), 66 PB_FIELD( 31, FIXED64 , REPEATED, STATIC, AllTypes, rep_fixed64, rep_float, 0),
|
alltypes_legacy.h | 83 float rep_float[5]; member in struct:_AllTypes
|
encode_legacy.c | 54 alltypes.rep_float_count = 5; alltypes.rep_float[4] = 2010.0f;
|
decode_legacy.c | 67 TEST(alltypes.rep_float_count == 5 && alltypes.rep_float[4] == 2010.0f && alltypes.rep_float[0] == 0.0f);
|
/external/nanopb-c/tests/alltypes/ |
encode_alltypes.c | 51 alltypes.rep_float_count = 5; alltypes.rep_float[4] = 2010.0f;
|
decode_alltypes.c | 64 TEST(alltypes.rep_float_count == 5 && alltypes.rep_float[4] == 2010.0f && alltypes.rep_float[0] == 0.0f);
|