Searched refs:default_value (Results 1 – 8 of 8) sorted by relevance
/nanopb-2.7.6/tests/regression/issue_487/ |
D | SConscript | 2 # Problem in default_value() with nested messages
|
/nanopb-2.7.6/generator/ |
D | nanopb_generator.py | 507 self.default = desc.default_value 1331 defval = self.default_value(dependencies) 1410 def default_value(self, dependencies): member in Message 1445 defvals = [v for n,v in enumtype.values if n.parts[-1] == field.default_value] 1451 field.default_value = str(defvals[0]) 1470 setattr(msg, field.name, field.default_value) 1472 setattr(msg, field.name, codecs.escape_decode(field.default_value)[0]) 1474 setattr(msg, field.name, float(field.default_value)) 1476 setattr(msg, field.name, field.default_value == 'true') 1478 setattr(msg, field.name, int(field.default_value))
|
/nanopb-2.7.6/ |
D | pb_decode.c | 533 if (field->submsg_desc->default_value != NULL || in decode_static_field() 898 (field->submsg_desc->default_value != NULL || in pb_field_set_to_default() 946 if (iter->descriptor->default_value) in pb_message_set_to_defaults() 948 defstream = pb_istream_from_buffer(iter->descriptor->default_value, (size_t)-1); in pb_message_set_to_defaults()
|
D | pb_encode.c | 268 else if (field->descriptor->default_value) in pb_check_proto3_default_value()
|
D | pb.h | 283 const pb_byte_t *default_value; member
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb.h | 283 const pb_byte_t *default_value; member
|
/nanopb-2.7.6/docs/ |
D | reference.md | 241 const pb_byte_t *default_value; 251 |`default_value` | Default values for this message as an encoded protobuf message.
|
/nanopb-2.7.6/generator/proto/google/protobuf/ |
D | descriptor.proto | 201 optional string default_value = 7; field
|