Home | History | Annotate | Download | only in decode_unittests

Lines Matching refs:pb_read

30         if (!pb_read(stream, &byte, 1))
49 COMMENT("Test pb_read and pb_istream_t");
50 TEST(pb_read(&stream, buffer2, 6))
53 TEST(pb_read(&stream, buffer2 + 6, stream.bytes_left))
56 TEST(!pb_read(&stream, buffer2, 1))
63 COMMENT("Test pb_read with custom callback");
64 TEST(pb_read(&stream, buffer, 5))
66 TEST(!pb_read(&stream, buffer, 50))
68 TEST(!pb_read(&stream, buffer, 5))
70 TEST(pb_read(&stream, buffer, 15))