OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pb_encode_varint
(Results
1 - 5
of
5
) sorted by null
/external/nanopb-c/tests/encode_unittests/
encode_unittests.c
25
return
pb_encode_varint
(stream, value);
35
return
pb_encode_varint
(stream, *state);
78
COMMENT("Test
pb_encode_varint
")
79
TEST(WRITES(
pb_encode_varint
(&s, 0), "\0"));
80
TEST(WRITES(
pb_encode_varint
(&s, 1), "\1"));
81
TEST(WRITES(
pb_encode_varint
(&s, 0x7F), "\x7F"));
82
TEST(WRITES(
pb_encode_varint
(&s, 0x80), "\x80\x01"));
83
TEST(WRITES(
pb_encode_varint
(&s, UINT32_MAX), "\xFF\xFF\xFF\xFF\x0F"));
84
TEST(WRITES(
pb_encode_varint
(&s, UINT64_MAX), "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"));
/external/nanopb-c/
pb_encode.h
126
bool
pb_encode_varint
(pb_ostream_t *stream, uint64_t value);
pb_encode.c
152
if (!
pb_encode_varint
(stream, (uint64_t)size))
395
bool checkreturn
pb_encode_varint
(pb_ostream_t *stream, uint64_t value)
function
422
return
pb_encode_varint
(stream, zigzagged);
462
return
pb_encode_varint
(stream, tag);
499
if (!
pb_encode_varint
(stream, (uint64_t)size))
522
if (!
pb_encode_varint
(stream, (uint64_t)size))
572
return
pb_encode_varint
(stream, (uint64_t)value);
586
return
pb_encode_varint
(stream, value);
/external/nanopb-c/tests/alltypes_callback/
encode_alltypes_callback.c
16
pb_encode_varint
(stream, (long)*arg);
60
pb_encode_varint
(stream, 0) &&
62
pb_encode_varint
(stream, 0) &&
64
pb_encode_varint
(stream, 0) &&
66
pb_encode_varint
(stream, 0) &&
68
pb_encode_varint
(stream, (long)*arg);
91
pb_encode_varint
(stream, 5 * 4) && /* Number of bytes */
105
pb_encode_varint
(stream, 5 * 8) && /* Number of bytes */
/external/nanopb-c/tests/callbacks/
encode_callbacks.c
24
return
pb_encode_varint
(stream, 42);
Completed in 642 milliseconds