Home
last modified time | relevance | path

Searched refs:is_union (Results 1 – 25 of 33) sorted by relevance

12

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_union.pass.cpp21 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()
Dunion.pass.cpp33 static_assert( std::is_union<T>::value, ""); in test_union_imp()
60 static_assert(!std::is_union<incomplete_type>::value, ""); in main()
Dlvalue_ref.pass.cpp34 static_assert(!std::is_union<T>::value, ""); in test_lvalue_ref()
Drvalue_ref.pass.cpp35 static_assert(!std::is_union<T>::value, ""); in test_rvalue_ref()
Dfloating_point.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_floating_point_imp()
Dclass.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_class_imp()
Denum.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_enum_imp()
Dpointer.pass.cpp34 static_assert(!std::is_union<T>::value, ""); in test_pointer_imp()
Dmember_object_pointer.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_member_object_pointer_imp()
Dvoid.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_void_imp()
Dnullptr.pass.cpp34 static_assert(!std::is_union<T>::value, ""); in test_nullptr_imp()
Darray.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_integral_imp()
Dmember_function_pointer_no_variadics.pass.cpp35 static_assert(!std::is_union<T>::value, ""); in test_member_function_pointer_imp()
Dfunction.pass.cpp44 static_assert(!std::is_union<T>::value, ""); in test()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp93 #if __has_feature(is_union)
94 int is_union();
/external/flatbuffers/src/
Didl_gen_fbs.cpp94 if (enum_def.is_union) in GenerateFBS()
102 if (enum_def.is_union) in GenerateFBS()
Didl_parser.cpp539 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 …]
Didl_gen_js_ts.cpp851 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()
Didl_gen_cpp.cpp313 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()
Didl_gen_json_schema.cpp68 if (type.enum_def != nullptr && !type.enum_def->is_union) { in GenType()
Didl_gen_dart.cpp222 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/
Didl.h347 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,
Dreflection_generated.h364 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/
Dreflection.fbs53 is_union:bool = false;

12