/external/flatbuffers/src/ |
D | idl_gen_json_schema.cpp | 91 auto &union_type = *ut; in GenType() local 92 if (union_type->union_type.base_type == BASE_TYPE_NONE) { continue; } in GenType() 93 if (union_type->union_type.base_type == BASE_TYPE_STRUCT) { in GenType() 95 "{ " + GenTypeRef(union_type->union_type.struct_def) + " }"); in GenType() 97 if (union_type != *type.enum_def->vals.vec.rbegin()) { in GenType()
|
D | idl_gen_text.cpp | 105 Type *union_type, const IDLOptions &opts, in Print() argument 111 FLATBUFFERS_ASSERT(union_type); in Print() 112 return Print<const void *>(val, *union_type, indent, nullptr, opts, in Print() 176 int indent, Type *union_type, const IDLOptions &opts, in GenFieldOffset() argument 198 return Print(val, fd.value.type, indent, union_type, opts, _text); in GenFieldOffset() 208 Type *union_type = nullptr; in GenStruct() local 246 union_type, opts, _text)) { in GenStruct() 255 union_type = enum_val ? &enum_val->union_type : nullptr; in GenStruct()
|
D | idl_gen_cpp.cpp | 682 if (ev.union_type.base_type == BASE_TYPE_STRUCT) { in GetUnionElement() 683 auto name = actual_type ? ev.union_type.struct_def->name : Name(ev); in GetUnionElement() 684 return wrap ? WrapInNameSpace(ev.union_type.struct_def->defined_namespace, in GetUnionElement() 687 } else if (ev.union_type.base_type == BASE_TYPE_STRING) { in GetUnionElement() 788 types.push_back(enum_def->is_union ? ev.union_type in GenMiniReflect() 1105 ev.union_type.struct_def, parser_.opts); in GenEnum() 1137 ev.union_type.struct_def, parser_.opts); in GenEnum() 1184 if (ev.union_type.base_type == BASE_TYPE_STRUCT) { in GenUnionPost() 1185 if (ev.union_type.struct_def->fixed) { in GenUnionPost() 1191 } else if (ev.union_type.base_type == BASE_TYPE_STRING) { in GenUnionPost() [all …]
|
D | idl_parser.cpp | 893 if (enum_val->union_type.base_type == BASE_TYPE_STRUCT) { in ParseAnyValue() 894 ECHECK(ParseTable(*enum_val->union_type.struct_def, &val.constant, in ParseAnyValue() 896 if (enum_val->union_type.struct_def->fixed) { in ParseAnyValue() 898 SerializeStruct(*enum_val->union_type.struct_def, val); in ParseAnyValue() 902 } else if (enum_val->union_type.base_type == BASE_TYPE_STRING) { in ParseAnyValue() 1645 ECHECK(ParseType(ev.union_type)); in ParseEnum() 1646 if (ev.union_type.base_type != BASE_TYPE_STRUCT && in ParseEnum() 1647 ev.union_type.base_type != BASE_TYPE_STRING) in ParseEnum() 1650 ev.union_type = Type(BASE_TYPE_STRUCT, LookupCreateStruct(full_name)); in ParseEnum() 1653 auto union_type_key = std::make_pair(ev.union_type.base_type, ev.union_type.struct_def); in ParseEnum() [all …]
|
D | idl_gen_fbs.cpp | 104 schema += " " + GenType(ev.union_type) + ",\n"; in GenerateFBS()
|
D | idl_gen_rust.cpp | 1321 if (ev.union_type.base_type == BASE_TYPE_NONE) { continue; } in GenTable() 1324 ev.union_type.struct_def->defined_namespace, in GenTable() 1325 ev.union_type.struct_def->name); in GenTable()
|
D | idl_gen_js_ts.cpp | 373 if (ev.union_type.struct_def) { in GenEnum() 375 GetNameSpace(*ev.union_type.struct_def), in GenEnum() 378 std::make_pair(ev.union_type.struct_def->file, std::move(desc))); in GenEnum()
|
D | idl_gen_lobster.cpp | 157 NamespacedName(*ev.union_type.struct_def) + in GenStructAccessor()
|
/external/v8/src/torque/ |
D | types.h | 268 if (const UnionType* union_type = UnionType::DynamicCast(t)) { in Extend() local 269 for (const Type* member : union_type->types_) { in Extend() 287 const UnionType* union_type = UnionType::DynamicCast(t); in FromType() local 288 return union_type ? UnionType(*union_type) : UnionType(t); in FromType()
|
D | declarations.cc | 85 } else if (auto* union_type = UnionTypeExpression::cast(type_expression)) { in GetType() local 86 return TypeOracle::GetUnionType(GetType(union_type->a), in GetType() 87 GetType(union_type->b)); in GetType()
|
D | types.cc | 36 if (const UnionType* union_type = UnionType::DynamicCast(supertype)) { in IsSubtypeOf() local 37 return union_type->IsSupertypeOf(this); in IsSubtypeOf()
|
/external/flatbuffers/reflection/ |
D | reflection.fbs | 45 object:Object; // Will be deprecated in favor of union_type in the future. 46 union_type:Type;
|
/external/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 194 auto union_type = *prev_val; // Always a uint8_t. in IterateValue() local 197 union_type = type_vec->Get(static_cast<uoffset_t>(vector_index)); in IterateValue() 200 LookupEnum(union_type, type_table->values, type_table->num_elems); in IterateValue()
|
D | reflection_generated.h | 256 const Type *union_type() const { in union_type() function 270 verifier.VerifyTable(union_type()) && in Verify() 290 void add_union_type(flatbuffers::Offset<Type> union_type) { in add_union_type() 291 fbb_.AddOffset(EnumVal::VT_UNION_TYPE, union_type); in add_union_type() 314 flatbuffers::Offset<Type> union_type = 0, 319 builder_.add_union_type(union_type); 330 flatbuffers::Offset<Type> union_type = 0, 339 union_type,
|
D | reflection.h | 389 auto union_type = GetFieldI<uint8_t>(table, *type_field); in GetUnionType() local 390 auto enumval = enumdef->values()->LookupByKey(union_type); in GetUnionType()
|
D | idl.h | 341 Type union_type; member
|
/external/strace/ |
D | mpers.awk | 205 if (match($0, /typedef|union_type|structure_type|pointer_type\
|
D | ChangeLog | 18191 * mpers.awk (what_is) <case "structure_type", case "union_type">: 25993 * mpers.awk (what_is): Print names of union_type members as is.
|
/external/libchrome/mojo/public/tools/bindings/generators/ |
D | mojom_js_generator.py | 525 union_type = self._JavaScriptType(field.kind) 526 return "%s, %s" % (union_type, nullable)
|
/external/llvm/include/llvm/Support/ |
D | Dwarf.def | 62 HANDLE_DW_TAG(0x0017, union_type)
|
/external/flatbuffers/docs/source/ |
D | Tutorial.md | 2615 auto union_type = monster.equipped_type(); 2617 if (union_type == Equipment_Weapon) { 2675 union_type = monster.EquippedType() 2677 if union_type == MyGame.Sample.Equipment.Equipment().Weapon: 2709 $union_type = $monster->getEquippedType(); 2711 if ($union_type == \MyGame\Sample\Equipment::Weapon) { 2756 union_type = monster.equipped_type 2758 if union_type == MyGame_Sample_Equipment_Weapon:
|
/external/flatbuffers/tests/ |
D | py_test.py | 122 union_type = MyGame.Example.Any.Any 123 asserter(monster.TestType() == union_type.Monster)
|
/external/elfutils/libdw/ |
D | known-dwarf.h | 613 DWARF_ONE_KNOWN_DW_TAG (union_type, DW_TAG_union_type) \
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | Dwarf.def | 120 HANDLE_DW_TAG(0x0017, union_type, 2, DWARF)
|