Home
last modified time | relevance | path

Searched refs:subdesc (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c189 VALUE subdesc = in appendsubmsg_handler() local
191 VALUE subklass = Descriptor_msgclass(subdesc); in appendsubmsg_handler()
205 VALUE subdesc = in submsg_handler() local
207 VALUE subklass = Descriptor_msgclass(subdesc); in submsg_handler()
370 VALUE subdesc = in oneofsubmsg_handler() local
372 VALUE subklass = Descriptor_msgclass(subdesc); in oneofsubmsg_handler()
881 Descriptor* subdesc; in putsubmsg() local
886 subdesc = ruby_to_Descriptor(descriptor); in putsubmsg()
889 putmsg(submsg, subdesc, &subsink, depth + 1); in putsubmsg()
/external/nanopb-c/generator/
Dnanopb_generator.py1045 for subname, subdesc in iterate_messages(desc, names):
1046 for extension in subdesc.extension:
1443 def get_nanopb_suboptions(subdesc, options, name): argument
1448 if hasattr(subdesc, 'syntax') and subdesc.syntax == "proto3":
1459 if isinstance(subdesc.options, descriptor.FieldOptions):
1461 elif isinstance(subdesc.options, descriptor.FileOptions):
1463 elif isinstance(subdesc.options, descriptor.MessageOptions):
1465 elif isinstance(subdesc.options, descriptor.EnumOptions):
1470 if subdesc.options.HasExtension(ext_type):
1471 ext = subdesc.options.Extensions[ext_type]
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py949 for subname, subdesc in iterate_messages(desc, names):
950 for extension in subdesc.extension:
1342 def get_nanopb_suboptions(subdesc, options, name): argument
1355 if isinstance(subdesc.options, descriptor.FieldOptions):
1357 elif isinstance(subdesc.options, descriptor.FileOptions):
1359 elif isinstance(subdesc.options, descriptor.MessageOptions):
1361 elif isinstance(subdesc.options, descriptor.EnumOptions):
1366 if subdesc.options.HasExtension(ext_type):
1367 ext = subdesc.options.Extensions[ext_type]