Home
last modified time | relevance | path

Searched refs:union_name (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/third_party/nanopb/
Dpb.h537 #define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfie… argument
538 PB_ONEOF_ ## allocation(union_name, tag, message, field, \
539 PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \
552 #define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, fiel… argument
553 PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \
/external/nanopb-c/
Dpb.h557 #define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfie… argument
558 PB_ONEOF_ ## allocation(union_name, tag, message, field, \
559 PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \
572 #define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, fiel… argument
573 PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \
/external/flatbuffers/src/
Didl_gen_csharp.cpp1231 auto union_name = enum_def.name + "Union"; in GenEnum_ObjectAPI() local
1232 code += "class " + union_name + " {\n"; in GenEnum_ObjectAPI()
1239 code += " public " + union_name + "() {\n"; in GenEnum_ObjectAPI()
1263 union_name + " _o) {\n"; in GenEnum_ObjectAPI()
1289 code += "class " + union_name + in GenEnum_ObjectAPI()
1292 code += " return objectType == typeof(" + union_name + in GenEnum_ObjectAPI()
1294 union_name + ">);\n"; in GenEnum_ObjectAPI()
1301 union_name + ">;\n"; in GenEnum_ObjectAPI()
1309 code += " this.WriteJson(writer, value as " + union_name + in GenEnum_ObjectAPI()
1314 union_name + in GenEnum_ObjectAPI()
[all …]
Didl_gen_python.cpp791 auto union_name = MakeUpperCamel(*(field.value.type.enum_def)); in GenUnionInit() local
975 auto union_name = MakeUpperCamel(*(field.value.type.enum_def)); in GenUnPackForUnion() local
981 union_name = package_reference + "." + union_name; in GenUnPackForUnion()
983 code += GenIndents(2) + "self." + field_instance_name + " = " + union_name + in GenUnPackForUnion()
1440 auto union_name = NormalizedName(enum_def); in GenUnionCreatorForStruct() local
1444 code += GenIndents(1) + "if unionType == " + union_name + "()." + in GenUnionCreatorForStruct()
1458 auto union_name = NormalizedName(enum_def); in GenUnionCreatorForString() local
1461 code += GenIndents(1) + "if unionType == " + union_name + "()." + in GenUnionCreatorForString()
1471 auto union_name = MakeUpperCamel(enum_def); in GenUnionCreator() local
1474 code += "def " + union_name + "Creator(unionType, table):"; in GenUnionCreator()
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py235 self.union_name = None
496 result = ' PB_ANONYMOUS_ONEOF_FIELD(%s, ' % self.union_name
498 result = ' PB_ONEOF_FIELD(%s, ' % self.union_name
538 … check.append('pb_membersize(%s, %s.%s)' % (self.struct_name, self.union_name, self.name))
703 field.union_name = self.name
/external/nanopb-c/generator/
Dnanopb_generator.py271 self.union_name = None
564 result = ' PB_ANONYMOUS_ONEOF_FIELD(%s, ' % self.union_name
566 result = ' PB_ONEOF_FIELD(%s, ' % self.union_name
616 … check.append('pb_membersize(%s, %s.%s)' % (self.struct_name, self.union_name, self.name))
788 field.union_name = self.name
/external/angle/scripts/
Dgenerate_entry_points.py2119 union_name=get_param_type_union_name(param_type))
2130 union_name=get_param_type_union_name(param_type))
2141 enum_in=param_type, enum_out=param_out, union_name=get_param_type_union_name(param_out))