Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 8 of 8) sorted by relevance

/nanopb-3.4.0/tests/regression/issue_487/
DSConscript2 # Problem in default_value() with nested messages
/nanopb-3.4.0/generator/
Dnanopb_generator.py580 self.default = desc.default_value
1430 defval = self.default_value(dependencies)
1544 def default_value(self, dependencies): member in Message
1582 defvals = [v for n,v in enumtype.values if n.parts[-1] == field.default_value]
1588 field.default_value = str(defvals[0])
1609 setattr(msg, field.name, field.default_value)
1611 setattr(msg, field.name, codecs.escape_decode(field.default_value)[0])
1613 setattr(msg, field.name, float(field.default_value))
1615 setattr(msg, field.name, field.default_value == 'true')
1617 setattr(msg, field.name, int(field.default_value))
/nanopb-3.4.0/
Dpb_decode.c535 if (field->submsg_desc->default_value != NULL || in decode_static_field()
909 (field->submsg_desc->default_value != NULL || in pb_field_set_to_default()
957 if (iter->descriptor->default_value) in pb_message_set_to_defaults()
959 defstream = pb_istream_from_buffer(iter->descriptor->default_value, (size_t)-1); in pb_message_set_to_defaults()
Dpb_encode.c270 else if (field->descriptor->default_value) in pb_check_proto3_default_value()
Dpb.h319 const pb_byte_t *default_value; member
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h319 const pb_byte_t *default_value; member
/nanopb-3.4.0/docs/
Dreference.md254 const pb_byte_t *default_value;
264 |`default_value` | Default values for this message as an encoded protobuf message.
/nanopb-3.4.0/generator/proto/google/protobuf/
Ddescriptor.proto201 optional string default_value = 7; field