Searched refs:descriptor (Results 1 – 18 of 18) sorted by relevance
/nanopb-2.7.6/ |
D | pb_common.c | 14 if (iter->index >= iter->descriptor->field_count) in load_descriptor_values() 17 word0 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index]); in load_descriptor_values() 34 … uint32_t word1 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 1]); in load_descriptor_values() 46 … uint32_t word1 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 1]); in load_descriptor_values() 47 … uint32_t word2 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 2]); in load_descriptor_values() 48 … uint32_t word3 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 3]); in load_descriptor_values() 60 … uint32_t word1 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 1]); in load_descriptor_values() 61 … uint32_t word2 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 2]); in load_descriptor_values() 62 … uint32_t word3 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 3]); in load_descriptor_values() 63 … uint32_t word4 = PB_PROGMEM_READU32(iter->descriptor->field_info[iter->field_info_index + 4]); in load_descriptor_values() [all …]
|
D | pb_encode.c | 268 else if (field->descriptor->default_value) in pb_check_proto3_default_value() 343 else if (field->descriptor->field_callback == pb_default_field_callback) in pb_check_proto3_default_value() 350 return field->descriptor->field_callback == NULL; in pb_check_proto3_default_value() 406 if (field->descriptor->field_callback != NULL) in encode_callback_field() 408 if (!field->descriptor->field_callback(NULL, stream, field)) in encode_callback_field()
|
D | pb_decode.c | 745 if (!field->descriptor->field_callback) in decode_callback_field() 759 if (!field->descriptor->field_callback(&substream, NULL, field)) in decode_callback_field() 782 return field->descriptor->field_callback(&substream, NULL, field); in decode_callback_field() 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() 1111 pb_size_t req_field_count = iter.descriptor->required_field_count; in pb_decode_inner()
|
D | CHANGELOG.txt | 6 Fix descriptor width calculation for 64-bit types (#644) 65 Fix field descriptor sizing with submsg_callback option (#545) 114 New field descriptor format. 144 Store field descriptor constants in flash on AVR (#464) 209 Updated included descriptor.proto version (#314) 392 Move descriptor.proto to google/protobuf subdirectory (issue 104) 509 Add descriptor.proto into the #include exclusion list
|
D | pb.h | 294 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */ member
|
/nanopb-2.7.6/tests/cxx_descriptor/ |
D | message.proto | 1 /* Test CPP descriptor generation */
|
D | SConscript | 1 # Test cxx descriptor functionality 6 base_env.Replace(NANOPBFLAGS = '--cpp-descriptor')
|
/nanopb-2.7.6/tests/regression/issue_545/ |
D | SConscript | 2 # Field descriptor width automatic sizing is inaccurate with oneofs
|
/nanopb-2.7.6/tests/cxx_callback_datatype/ |
D | SConscript | 6 base_env.Replace(NANOPBFLAGS = '--cpp-descriptor')
|
/nanopb-2.7.6/docs/ |
D | whats_new.md | 14 ### New field descriptor format 17 messages is stored in a compact descriptor format, which is iterated in 25 Now in 0.4, the descriptor format was completely decoupled from the 43 descriptor data into FLASH on Harvard architectures, such as AVR. 124 got it wrong. But since nanopb 0.2, the field descriptor generation has 135 One feature that this can be used for is binding the message descriptor
|
D | reference.md | 262 const pb_msgdesc_t *descriptor; 284 | descriptor | Pointer to `pb_msgdesc_t` for the message that contains this field. 297 | submsg_desc | For submessage fields, points to the descriptor for the submessage. 444 | width | Number of words per field descriptor, or `AUTO` to use minimum size possib… 499 | fields | Message descriptor, usually autogenerated. 500 | src_struct | Pointer to the message structure. Must match `fields` descriptor. 518 | fields | Message descriptor, usually autogenerated. 519 | src_struct | Pointer to the message structure. Must match `fields` descriptor. 537 | fields | Message descriptor, usually autogenerated. 696 | fields | Pointer to the autogenerated message descriptor for the submessage type, e… [all …]
|
D | concepts.md | 58 2) Use state to store your own data, such as a file descriptor. 353 ## Message descriptor
|
D | migration.md | 70 ### New field descriptor format 283 `PB_LTYPE_BOOL`. The `LTYPE` descriptor
|
/nanopb-2.7.6/tests/options/ |
D | options.proto | 106 // Wide descriptor option in a single field
|
/nanopb-2.7.6/generator/ |
D | nanopb_generator.py | 37 import google.protobuf.descriptor_pb2 as descriptor namespace 40 import google.protobuf.descriptor 103 FieldD = descriptor.FieldDescriptorProto 1465 desc = google.protobuf.descriptor.MakeDescriptor(optional_only) 1992 if isinstance(subdesc.options, descriptor.FieldOptions): 1994 elif isinstance(subdesc.options, descriptor.FileOptions): 1996 elif isinstance(subdesc.options, descriptor.MessageOptions): 1998 elif isinstance(subdesc.options, descriptor.EnumOptions): 2081 fdesc = descriptor.FileDescriptorSet.FromString(data).file[0] 2216 fdesc = descriptor.FileDescriptorSet.FromString(data).file[-1]
|
/nanopb-2.7.6/generator/proto/google/protobuf/ |
D | descriptor.proto | 43 option go_package = "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor"; 50 // descriptor.proto must be optimized for speed because reflection-based 297 // extensions when we build a descriptor, at which point all protos have been 452 // Disables the generation of the standard "descriptor()" accessor, which can 454 // from proto1 easier; new code should avoid fields named "descriptor". 468 // The parsed descriptor looks like: 687 // options protos in descriptor objects (e.g. returned by Descriptor::options(),
|
/nanopb-2.7.6/generator/proto/ |
D | nanopb.proto | 9 import "google/protobuf/descriptor.proto";
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb.h | 294 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */ member
|