/external/grpc-grpc/third_party/nanopb/generator/ |
nanopb_generator.py | 489 def pb_field_t(self, prev_field_name): member in class:Field 490 '''Return the pb_field_t initializer to use in the constant array. 528 '''Determine if this field needs 16bit or 32bit pb_field_t structure to compile properly. 671 result += ('static const pb_field_t %s_field = \n %s;\n\n' % 672 (self.fullname, self.pb_field_t(None))) 743 def pb_field_t(self, prev_field_name): member in class:OneOf 744 result = ',\n'.join([f.pb_field_t(prev_field_name) for f in self.fields]) [all...] |
/external/nanopb-c/generator/ |
nanopb_generator.py | 556 def pb_field_t(self, prev_field_name, union_index = None): member in class:Field 557 '''Return the pb_field_t initializer to use in the constant array. 606 '''Determine if this field needs 16bit or 32bit pb_field_t structure to compile properly. 757 result += ('static const pb_field_t %s_field = \n %s;\n\n' % 758 (self.fullname, self.pb_field_t(None))) 828 def pb_field_t(self, prev_field_name): member in class:OneOf 831 parts.append(field.pb_field_t(prev_field_name, union_index)) [all...] |
/external/grpc-grpc/third_party/nanopb/ |
pb.h | 232 typedef struct pb_field_s pb_field_t; typedef in typeref:struct:pb_field_s 295 bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); 296 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); 301 bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); 302 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); 381 /* These macros are used to declare pb_field_t's in the constant array. */
|
/external/nanopb-c/ |
pb.h | 237 typedef struct pb_field_s pb_field_t; typedef in typeref:struct:pb_field_s 302 bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg); 303 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg); 308 bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg); 309 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg); 388 /* These macros are used to declare pb_field_t's in the constant array. */
|