/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | is_union.pass.cpp | 21 static_assert( std::is_union<T>::value, ""); in test_is_union() 22 static_assert( std::is_union<const T>::value, ""); in test_is_union() 23 static_assert( std::is_union<volatile T>::value, ""); in test_is_union() 24 static_assert( std::is_union<const volatile T>::value, ""); in test_is_union() 36 static_assert(!std::is_union<T>::value, ""); in test_is_not_union() 37 static_assert(!std::is_union<const T>::value, ""); in test_is_not_union() 38 static_assert(!std::is_union<volatile T>::value, ""); in test_is_not_union() 39 static_assert(!std::is_union<const volatile T>::value, ""); in test_is_not_union()
|
D | union.pass.cpp | 33 static_assert( std::is_union<T>::value, ""); in test_union_imp() 60 static_assert(!std::is_union<incomplete_type>::value, ""); in main()
|
D | lvalue_ref.pass.cpp | 34 static_assert(!std::is_union<T>::value, ""); in test_lvalue_ref()
|
D | rvalue_ref.pass.cpp | 35 static_assert(!std::is_union<T>::value, ""); in test_rvalue_ref()
|
D | floating_point.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_floating_point_imp()
|
D | class.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_class_imp()
|
D | enum.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_enum_imp()
|
D | pointer.pass.cpp | 34 static_assert(!std::is_union<T>::value, ""); in test_pointer_imp()
|
D | member_object_pointer.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_member_object_pointer_imp()
|
D | void.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_void_imp()
|
D | nullptr.pass.cpp | 34 static_assert(!std::is_union<T>::value, ""); in test_nullptr_imp()
|
D | array.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_array_imp()
|
D | integral.pass.cpp | 33 static_assert(!std::is_union<T>::value, ""); in test_integral_imp()
|
D | member_function_pointer_no_variadics.pass.cpp | 35 static_assert(!std::is_union<T>::value, ""); in test_member_function_pointer_imp()
|
D | function.pass.cpp | 44 static_assert(!std::is_union<T>::value, ""); in test()
|
/external/clang/test/Lexer/ |
D | has_feature_type_traits.cpp | 93 #if __has_feature(is_union) 94 int is_union();
|
/external/flatbuffers/src/ |
D | idl_gen_fbs.cpp | 94 if (enum_def.is_union) in GenerateFBS() 102 if (enum_def.is_union) in GenerateFBS()
|
D | idl_parser.cpp | 539 if (enum_def->is_union) type.base_type = BASE_TYPE_UNION; in ParseTypeIdent() 680 !type.enum_def->is_union && in ParseField() 1621 CheckedError Parser::ParseEnum(bool is_union, EnumDef **dest) { in ParseEnum() argument 1627 ECHECK(StartEnum(enum_name, is_union, &enum_def)); in ParseEnum() 1629 if (!is_union && !opts.proto_mode) { in ParseEnum() 1649 if (is_union) enum_def->vals.Add("NONE", new EnumVal("NONE", 0)); in ParseEnum() 1659 if (is_union) { in ParseEnum() 1674 if (is_union) { in ParseEnum() 2072 CheckedError Parser::StartEnum(const std::string &enum_name, bool is_union, in StartEnum() argument 2078 enum_def.is_union = is_union; in StartEnum() [all …]
|
D | idl_gen_js_ts.cpp | 851 bool is_union = false; in GenStruct() local 865 is_union = true; in GenStruct() 874 if (is_union) { prefix += "<T extends flatbuffers.Table>"; } in GenStruct() 876 if (is_union) { in GenStruct() 900 if (vectortype.base_type == BASE_TYPE_STRUCT || is_union) { in GenStruct() 916 if (is_union) { in GenStruct()
|
D | idl_gen_cpp.cpp | 313 if (enum_def.is_union && !enum_def.generated) { in generate() 786 : (enum_def->is_union ? "ST_UNION" : "ST_ENUM")); in GenMiniReflect() 805 types.push_back(enum_def->is_union ? ev.union_type in GenMiniReflect() 1048 if (enum_def.is_union && !enum_def.uses_multiple_type_instances) { in GenEnum() 1067 if (parser_.opts.generate_object_based_api && enum_def.is_union) { in GenEnum() 1188 if (enum_def.is_union) { in GenEnum() 2549 const bool is_union = field.value.type.base_type == BASE_TYPE_UTYPE; in GenTablePost() local 2551 GenUnpackFieldStatement(field, is_union ? *(it + 1) : nullptr); in GenTablePost()
|
D | idl_gen_json_schema.cpp | 68 if (type.enum_def != nullptr && !type.enum_def->is_union) { in GenType()
|
D | idl_gen_dart.cpp | 222 auto name = enum_def.is_union ? enum_def.name + "TypeId" : enum_def.name; in GenEnum() 350 if (type.enum_def->is_union && type.base_type != BASE_TYPE_UNION) { in GenDartTypeName() 352 } else if (type.enum_def->is_union) { in GenDartTypeName()
|
/external/flatbuffers/include/flatbuffers/ |
D | idl.h | 347 EnumDef() : is_union(false), uses_multiple_type_instances(false) {} in EnumDef() 351 static_cast<int>(is_union && skip_union_default); 369 bool is_union; member 758 FLATBUFFERS_CHECKED_ERROR ParseEnum(bool is_union, EnumDef **dest); 763 bool is_union,
|
D | reflection_generated.h | 364 bool is_union() const { in is_union() function 405 void add_is_union(bool is_union) { in add_is_union() 406 fbb_.AddElement<uint8_t>(Enum::VT_IS_UNION, static_cast<uint8_t>(is_union), 0); in add_is_union() 436 bool is_union = false, 446 builder_.add_is_union(is_union); 454 bool is_union = false, 466 is_union,
|
/external/flatbuffers/reflection/ |
D | reflection.fbs | 53 is_union:bool = false;
|