/hardware/ril/libril/ |
RilSapSocket.cpp | 309 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); 386 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1, 387 sizeof(pb_bytes_array_t) + datalen); 459 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1, 460 sizeof(pb_bytes_array_t) + written_size);
|
/external/nanopb-c/tests/alltypes_pointer/ |
encode_alltypes_pointer.c | 30 PB_BYTES_ARRAY_T(4) req_bytes = {4, {'1', '0', '1', '5'}}; 53 static PB_BYTES_ARRAY_T(4) rep_bytes_4 = {4, {'2', '0', '1', '5'}}; 54 pb_bytes_array_t *rep_bytes[5]= {NULL, NULL, NULL, NULL, (pb_bytes_array_t*)&rep_bytes_4}; 81 PB_BYTES_ARRAY_T(4) opt_bytes = {4, {'3', '0', '5', '5'}}; 121 alltypes.req_bytes = (pb_bytes_array_t*)&req_bytes; 163 alltypes.opt_bytes = (pb_bytes_array_t*)&opt_bytes;
|
/external/nanopb-c/ |
pb.h | 244 #define PB_BYTES_ARRAY_T(n) struct { size_t size; uint8_t bytes[n]; } 245 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) 251 typedef struct _pb_bytes_array_t pb_bytes_array_t; typedef in typeref:struct:_pb_bytes_array_t
|
pb_encode.c | 617 const pb_bytes_array_t *bytes = (const pb_bytes_array_t*)src;
|
pb_decode.c | [all...] |
/external/nanopb-c/tests/decode_unittests/ |
decode_unittests.c | 26 pb_bytes_array_t *ref = (pb_bytes_array_t*) *arg;
|