Searched refs:descriptor (Results 1 – 20 of 20) sorted by relevance
/nanopb-3.4.0/ |
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 | BUILD.bazel | 64 name = "descriptor", 66 "generator/proto/google/protobuf/descriptor.proto", 77 deps = [":descriptor"], 82 protos = [":descriptor"],
|
D | pb_encode.c | 270 else if (field->descriptor->default_value) in pb_check_proto3_default_value() 345 else if (field->descriptor->field_callback == pb_default_field_callback) in pb_check_proto3_default_value() 352 return field->descriptor->field_callback == NULL; in pb_check_proto3_default_value() 408 if (field->descriptor->field_callback != NULL) in encode_callback_field() 410 if (!field->descriptor->field_callback(NULL, stream, field)) in encode_callback_field()
|
D | pb_decode.c | 753 if (!field->descriptor->field_callback) in decode_callback_field() 767 if (!field->descriptor->field_callback(&substream, NULL, field)) in decode_callback_field() 793 return field->descriptor->field_callback(&substream, NULL, field); in decode_callback_field() 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() 1122 pb_size_t req_field_count = iter.descriptor->required_field_count; in pb_decode_inner()
|
D | CHANGELOG.txt | 74 Fix descriptor width calculation for 64-bit types (#644) 133 Fix field descriptor sizing with submsg_callback option (#545) 182 New field descriptor format. 212 Store field descriptor constants in flash on AVR (#464) 284 Updated included descriptor.proto version (#314) 467 Move descriptor.proto to google/protobuf subdirectory (issue 104) 584 Add descriptor.proto into the #include exclusion list
|
D | pb.h | 330 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */ member
|
/nanopb-3.4.0/docs/ |
D | bazel_build.md | 41 name = "descriptor", 43 "generator/proto/google/protobuf/descriptor.proto", 50 protos = [":descriptor"],
|
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 | 275 const pb_msgdesc_t *descriptor; 297 | descriptor | Pointer to `pb_msgdesc_t` for the message that contains this field. 310 | submsg_desc | For submessage fields, points to the descriptor for the submessage. 457 | width | Number of words per field descriptor, or `AUTO` to use minimum size possib… 512 | fields | Message descriptor, usually autogenerated. 513 | src_struct | Pointer to the message structure. Must match `fields` descriptor. 531 | fields | Message descriptor, usually autogenerated. 532 | src_struct | Pointer to the message structure. Must match `fields` descriptor. 550 | fields | Message descriptor, usually autogenerated. 709 | 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. 354 ## Message descriptor
|
D | migration.md | 127 ### New field descriptor format 340 `PB_LTYPE_BOOL`. The `LTYPE` descriptor
|
/nanopb-3.4.0/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-3.4.0/tests/regression/issue_545/ |
D | SConscript | 2 # Field descriptor width automatic sizing is inaccurate with oneofs
|
/nanopb-3.4.0/tests/cxx_callback_datatype/ |
D | SConscript | 6 base_env.Replace(NANOPBFLAGS = '--cpp-descriptor')
|
/nanopb-3.4.0/tests/options/ |
D | options.proto | 106 // Wide descriptor option in a single field
|
/nanopb-3.4.0/generator/ |
D | nanopb_generator.py | 35 import google.protobuf.descriptor_pb2 as descriptor namespace 38 import google.protobuf.descriptor 86 FieldD = descriptor.FieldDescriptorProto 1604 desc = google.protobuf.descriptor.MakeDescriptor(optional_only) 2215 if isinstance(subdesc.options, descriptor.FieldOptions): 2217 elif isinstance(subdesc.options, descriptor.FileOptions): 2219 elif isinstance(subdesc.options, descriptor.MessageOptions): 2221 elif isinstance(subdesc.options, descriptor.EnumOptions): 2346 fdesc = descriptor.FileDescriptorSet.FromString(data).file[0] 2469 fdescs = descriptor.FileDescriptorSet.FromString(data).file
|
/nanopb-3.4.0/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-3.4.0/generator/proto/ |
D | nanopb.proto | 9 import "google/protobuf/descriptor.proto";
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb.h | 330 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */ member
|