/external/nanopb-c/tests/multiple_files/ |
test_multiple_files.c | 6 #include <pb_encode.h>
|
/external/nanopb-c/examples/using_double_on_avr/ |
encode_double.c | 6 #include <pb_encode.h> 20 pb_encode(&stream, AVRDoubleMessage_fields, &message);
|
/external/nanopb-c/tests/basic_buffer/ |
encode_buffer.c | 7 #include <pb_encode.h> 26 if (pb_encode(&stream, Person_fields, &person))
|
/external/nanopb-c/examples/simple/ |
simple.c | 2 #include <pb_encode.h> 28 status = pb_encode(&stream, SimpleMessage_fields, &message);
|
Makefile | 11 CSRC += $(NANOPB_DIR)/pb_encode.c # The nanopb encoder
|
/external/nanopb-c/tests/basic_stream/ |
encode_stream.c | 5 #include <pb_encode.h> 31 if (pb_encode(&stream, Person_fields, &person))
|
/external/nanopb-c/tests/missing_fields/ |
missing_fields.c | 4 #include <pb_encode.h> 18 if (!pb_encode(&stream, MissingField_fields, &msg))
|
/external/nanopb-c/tests/encode_unittests/ |
encode_unittests.c | 2 #include "pb_encode.c" 198 COMMENT("Test pb_encode with int32 array") 200 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "\x0A\x05\x01\x02\x03\x04\x05")) 203 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "")) 206 TEST(!pb_encode(&s, IntegerArray_fields, &msg)) 214 COMMENT("Test pb_encode with float array") 216 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), 220 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), "")) 223 TEST(!pb_encode(&s, FloatArray_fields, &msg)) 231 COMMENT("Test array size limit in pb_encode") [all...] |
/external/nanopb-c/tests/extensions/ |
encode_extensions.c | 7 #include <pb_encode.h> 38 if (pb_encode(&stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/examples/network_server/ |
common.c | 6 #include <pb_encode.h>
|
client.c | 20 #include <pb_encode.h> 62 if (!pb_encode(&output, ListFilesRequest_fields, &request))
|
server.c | 20 #include <pb_encode.h> 81 if (!pb_encode(&output, ListFilesResponse_fields, &response))
|
/external/nanopb-c/tests/callbacks/ |
encode_callbacks.c | 5 #include <pb_encode.h> 84 if (!pb_encode(&stream, TestMessage_fields, &testmessage))
|
/external/nanopb-c/examples/using_union_messages/ |
encode.c | 9 #include <pb_encode.h>
|
/external/nanopb-c/ |
pb_encode.h | 0 /* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c. 2 * The main function is pb_encode. You also need an output stream, and the 65 * pb_encode(&stream, MyMessage_fields, &msg); 67 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); 69 /* Same as pb_encode, but prepends the length of the message as a varint. 97 * pb_encode(&stream, MyMessage_fields, &msg); 145 * with pb_encode(). This internally encodes the submessage twice, first to
|
Android.mk | 25 pb_encode.c
|
pb_encode.c | 0 /* pb_encode.c -- encode a protobuf using minimal resources 7 #include "pb_encode.h" 336 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) function 385 if (!pb_encode(&stream, fields, src_struct)) 512 if (!pb_encode(&substream, fields, src_struct)) 541 status = pb_encode(&substream, fields, src_struct);
|
/external/nanopb-c/extra/ |
nanopb.mk | 8 NANOPB_CORE = $(NANOPB_DIR)/pb_encode.c $(NANOPB_DIR)/pb_decode.c
|
/external/nanopb-c/tests/alltypes/ |
encode_alltypes.c | 7 #include <pb_encode.h> 133 if (pb_encode(&stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/tests/backwards_compatibility/ |
encode_legacy.c | 10 #include <pb_encode.h> 123 if (pb_encode(&stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/tests/alltypes_pointer/ |
encode_alltypes_pointer.c | 7 #include <pb_encode.h> 176 if (pb_encode(&stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/tests/alltypes_callback/ |
encode_alltypes_callback.c | 9 #include <pb_encode.h> 385 if (pb_encode(&stream, AllTypes_fields, &alltypes))
|