OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pb_decode_varint
(Results
1 - 5
of
5
) sorted by null
/external/nanopb-c/
pb_decode.h
127
bool
pb_decode_varint
(pb_istream_t *stream, uint64_t *dest);
pb_decode.c
204
bool checkreturn
pb_decode_varint
(pb_istream_t *stream, uint64_t *dest)
function
981
if (!
pb_decode_varint
(stream, &value))
1037
if (!
pb_decode_varint
(stream, &value))
1055
if (!
pb_decode_varint
(stream, &value))
[
all
...]
/external/nanopb-c/tests/decode_unittests/
decode_unittests.c
78
COMMENT("Test
pb_decode_varint
");
79
TEST((s = S("\x00"),
pb_decode_varint
(&s, &u) && u == 0));
80
TEST((s = S("\x01"),
pb_decode_varint
(&s, &u) && u == 1));
81
TEST((s = S("\xAC\x02"),
pb_decode_varint
(&s, &u) && u == 300));
82
TEST((s = S("\xFF\xFF\xFF\xFF\x0F"),
pb_decode_varint
(&s, &u) && u == UINT32_MAX));
83
TEST((s = S("\xFF\xFF\xFF\xFF\x0F"),
pb_decode_varint
(&s, (uint64_t*)&i) && i == UINT32_MAX));
85
pb_decode_varint
(&s, (uint64_t*)&i) && i == -1));
87
pb_decode_varint
(&s, &u) && u == UINT64_MAX));
/external/nanopb-c/tests/callbacks/
decode_callbacks.c
31
if (!
pb_decode_varint
(stream, &value))
/external/nanopb-c/tests/alltypes_callback/
decode_alltypes_callback.c
21
if (!
pb_decode_varint
(stream, &value))
91
if (!
pb_decode_varint
(stream, &value))
Completed in 59 milliseconds