HomeSort by relevance Sort by last modified time
    Searched defs:pb_field_t (Results 1 - 2 of 2) sorted by null

  /external/nanopb-c/generator/
nanopb_generator.py 335 def pb_field_t(self, prev_field_name): member in class:Field
336 '''Return the pb_field_t initializer to use in the constant array.
362 '''Determine if this field needs 16bit or 32bit pb_field_t structure to compile properly.
487 result += ('static const pb_field_t %s_field = \n %s;\n\n' %
488 (self.fullname, self.pb_field_t(None)))
565 result = 'extern const pb_field_t %s_fields[%d];' % (self.name, len(self.fields) + 1)
569 result = 'const pb_field_t %s_fields[%d] = {\n' % (self.name, len(self.fields) + 1)
573 result += field.pb_field_t(prev)
831 yield '\n/* Check that field information fits in pb_field_t */\n'
    [all...]
  /external/nanopb-c/
pb.h 209 typedef struct _pb_field_t pb_field_t; typedef in typeref:struct:_pb_field_t
278 bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg);
279 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg);
284 bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg);
285 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg);
361 /* These macros are used to declare pb_field_t's in the constant array. */

Completed in 82 milliseconds