HomeSort by relevance Sort by last modified time
    Searched refs:pb_dec_fixed32 (Results 1 - 2 of 2) sorted by null

  /external/nanopb-c/tests/decode_unittests/
decode_unittests.c 151 COMMENT("Test pb_dec_fixed32 using float (failures here may be caused by imperfect rounding)")
152 TEST((s = S("\x00\x00\x00\x00"), pb_dec_fixed32(&s, &f, &d) && d == 0.0f))
153 TEST((s = S("\x00\x00\xc6\x42"), pb_dec_fixed32(&s, &f, &d) && d == 99.0f))
154 TEST((s = S("\x4e\x61\x3c\xcb"), pb_dec_fixed32(&s, &f, &d) && d == -12345678.0f))
155 TEST((s = S("\x00"), !pb_dec_fixed32(&s, &f, &d) && d == -12345678.0f))
  /external/nanopb-c/
pb_decode.c 52 static bool checkreturn pb_dec_fixed32(pb_istream_t *stream, const pb_field_t *field, void *dest);
67 &pb_dec_fixed32,
1084 static bool checkreturn pb_dec_fixed32(pb_istream_t *stream, const pb_field_t *field, void *dest) function
    [all...]

Completed in 100 milliseconds