Home
last modified time | relevance | path

Searched refs:pb_write (Results 1 – 13 of 13) sorted by relevance

/external/nanopb-c/
Dpb_encode.c101 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() function
171 return pb_write(stream, NULL, size); /* Just sizing.. */ in encode_array()
530 return pb_write(stream, &zero, 1); in pb_encode_nullterminated()
570 return pb_write(stream, buffer, i); in pb_encode_negative_varint()
582 return pb_write(stream, &v, 1); in pb_encode_varint()
593 return pb_write(stream, buffer, i); in pb_encode_varint()
615 return pb_write(stream, bytes, 4); in pb_encode_fixed32()
631 return pb_write(stream, bytes, 8); in pb_encode_fixed64()
679 return pb_write(stream, buffer, size); in pb_encode_string()
703 return pb_write(stream, NULL, size); /* Just sizing */ in pb_encode_submessage()
Dpb_encode.h115 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
/external/grpc-grpc/third_party/nanopb/
Dpb_encode.c88 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() function
158 return pb_write(stream, NULL, size); /* Just sizing.. */ in encode_array()
423 return pb_write(stream, &v, 1); in pb_encode_varint()
434 return pb_write(stream, buffer, i); in pb_encode_varint()
456 return pb_write(stream, bytes, 4); in pb_encode_fixed32()
471 return pb_write(stream, bytes, 8); in pb_encode_fixed64()
518 return pb_write(stream, buffer, size); in pb_encode_string()
542 return pb_write(stream, NULL, size); /* Just sizing */ in pb_encode_submessage()
Dpb_encode.h109 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
/external/grpc-grpc/third_party/nanopb/tests/encode_unittests/
Dencode_unittests.c59 TEST(pb_write(&stream, buffer1, sizeof(buffer1))); in main()
61 TEST(!pb_write(&stream, buffer1, 1)); in main()
70 TEST(pb_write(&stream, buffer1, 5)); in main()
72 TEST(!pb_write(&stream, buffer1, 5)); in main()
/external/nanopb-c/tests/encode_unittests/
Dencode_unittests.c59 TEST(pb_write(&stream, buffer1, sizeof(buffer1))); in main()
61 TEST(!pb_write(&stream, buffer1, 1)); in main()
70 TEST(pb_write(&stream, buffer1, 5)); in main()
72 TEST(!pb_write(&stream, buffer1, 5)); in main()
/external/grpc-grpc/third_party/nanopb/examples/network_server/
Dclient.c81 pb_write(&output, &zero, 1); in listdir()
/external/nanopb-c/tests/fuzztest/
Dfuzztest.c126 pb_write(&stream, buf, len); in rand_fill_protobuf()
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dfuzztest.c126 pb_write(&stream, buf, len); in rand_fill_protobuf()
/external/grpc-grpc/third_party/nanopb/docs/
Dconcepts.rst58 #) *bytes_written* and *bytes_left* are updated by pb_write and pb_read.
77 Otherwise, if *bytes_written* + bytes_to_be_written is larger than *max_size*, pb_write returns fal…
Dreference.rst416 pb_write section in pb_encode.h
420 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
427 …es_written* is not incremented. Depending on the callback used, calling pb_write again after it ha…
/external/nanopb-c/docs/
Dconcepts.rst58 #) *bytes_written* and *bytes_left* are updated by pb_write and pb_read.
77 Otherwise, if *bytes_written* + bytes_to_be_written is larger than *max_size*, pb_write returns fal…
Dreference.rst426 pb_write section in pb_encode.h
430 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
437 …es_written* is not incremented. Depending on the callback used, calling pb_write again after it ha…