/external/nanopb-c/tests/missing_fields/ |
missing_fields.c | 5 #include <pb_decode.h> 32 if (!pb_decode(&stream, MissingField_fields, &msg)) 44 if (pb_decode(&stream, AllFields_fields, &msg))
|
/external/nanopb-c/examples/using_double_on_avr/ |
decode_double.c | 6 #include <pb_decode.h> 17 pb_decode(&stream, AVRDoubleMessage_fields, &message);
|
/external/nanopb-c/examples/simple/ |
simple.c | 3 #include <pb_decode.h> 53 status = pb_decode(&stream, SimpleMessage_fields, &message);
|
Makefile | 12 CSRC += $(NANOPB_DIR)/pb_decode.c # The nanopb decoder
|
/external/nanopb-c/tests/decode_unittests/ |
decode_unittests.c | 2 #include "pb_decode.c" 205 COMMENT("Testing pb_decode with repeated int32 field") 206 TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 0)) 207 TEST((s = S("\x08\x01\x08\x02"), pb_decode(&s, IntegerArray_fields, &dest) 210 TEST(pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 10 && dest.data[9] == 10) 212 TEST(!pb_decode(&s, IntegerArray_fields, &dest)) 219 COMMENT("Testing pb_decode with packed int32 field") 220 TEST((s = S("\x0A\x00"), pb_decode(&s, IntegerArray_fields, &dest) 222 TEST((s = S("\x0A\x01\x01"), pb_decode(&s, IntegerArray_fields, &dest) 224 TEST((s = S("\x0A\x0A\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A"), pb_decode(&s, IntegerArray_fields, &dest [all...] |
/external/nanopb-c/tests/basic_buffer/ |
decode_buffer.c | 10 #include <pb_decode.h> 21 if (!pb_decode(stream, Person_fields, &person))
|
/external/nanopb-c/examples/network_server/ |
client.c | 21 #include <pb_decode.h> 30 if (!pb_decode(stream, FileInfo_fields, &fileinfo)) 73 if (!pb_decode(&input, ListFilesResponse_fields, &response))
|
common.c | 7 #include <pb_decode.h>
|
server.c | 21 #include <pb_decode.h> 56 if (!pb_decode(&input, ListFilesRequest_fields, &request))
|
/external/nanopb-c/examples/using_union_messages/ |
decode.c | 8 #include <pb_decode.h> 52 status = pb_decode(&substream, fields, dest_struct);
|
/external/nanopb-c/tests/basic_stream/ |
decode_stream.c | 5 #include <pb_decode.h> 17 if (!pb_decode(stream, Person_fields, &person))
|
/external/nanopb-c/tests/extensions/ |
decode_extensions.c | 6 #include <pb_decode.h> 45 if (!pb_decode(&stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/tests/callbacks/ |
decode_callbacks.c | 6 #include <pb_decode.h> 93 if (!pb_decode(&stream, TestMessage_fields, &testmessage))
|
/external/nanopb-c/ |
pb_decode.h | 0 /* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c. 2 * The main function is pb_decode. You also need an input stream, and the 66 * pb_decode(&stream, MyMessage_fields, &msg); 68 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); 70 /* Same as pb_decode, except does not initialize the destination structure 82 /* Same as pb_decode, except expects the stream to start with the message size 91 * pb_decode() returns with an error, the message is already released.
|
Android.mk | 24 pb_decode.c \
|
pb_decode.c | 0 /* pb_decode.c -- decode a protobuf using minimal resources 17 #include "pb_decode.h" 893 bool checkreturn pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) function 915 status = pb_decode(&substream, fields, dest_struct); [all...] |
/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 9 #include <pb_decode.h> 74 if (!pb_decode(stream, SubMessage_fields, &submsg)) 84 return pb_decode(stream, EmptyMessage_fields, &emptymsg); 148 if (!pb_decode(stream, SubMessage_fields, &decoded)) 158 if (!pb_decode(stream, Limits_fields, &decoded)) 396 return pb_decode(stream, AllTypes_fields, &alltypes);
|
/external/nanopb-c/extra/ |
nanopb.mk | 8 NANOPB_CORE = $(NANOPB_DIR)/pb_encode.c $(NANOPB_DIR)/pb_decode.c
|
/external/nanopb-c/tests/alltypes/ |
decode_alltypes.c | 9 #include <pb_decode.h> 27 if (!pb_decode(stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/tests/alltypes_pointer/ |
decode_alltypes_pointer.c | 4 #include <pb_decode.h> 23 if (!pb_decode(stream, AllTypes_fields, &alltypes))
|
/external/nanopb-c/tests/backwards_compatibility/ |
decode_legacy.c | 12 #include <pb_decode.h> 30 if (!pb_decode(stream, AllTypes_fields, &alltypes))
|
/hardware/ril/libril/ |
RilSapSocket.cpp | 22 #include "pb_decode.h" 416 if (!pb_decode(&stream, MsgHeader_fields, reqHeader) ) {
|