Home
last modified time | relevance | path

Searched refs:is_union (Results 1 – 25 of 27) 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()
Drvalue_ref.pass.cpp35 static_assert(!std::is_union<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp34 static_assert(!std::is_union<T>::value, ""); in test_lvalue_ref()
Dclass.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_class_imp()
Dnullptr.pass.cpp34 static_assert(!std::is_union<T>::value, ""); in test_nullptr_imp()
Denum.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_enum_imp()
Dmember_object_pointer.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_member_object_pointer_imp()
Dfloating_point.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_floating_point_imp()
Dvoid.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_void_imp()
Dpointer.pass.cpp34 static_assert(!std::is_union<T>::value, ""); in test_pointer_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()
Dmember_function_pointer.pass.cpp33 static_assert(!std::is_union<T>::value, ""); in test_member_function_pointer_imp()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp93 #if __has_feature(is_union)
94 int is_union();
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h312 bool is_union() const { in is_union() function
353 void add_is_union(bool is_union) { in add_is_union()
354 fbb_.AddElement<uint8_t>(Enum::VT_IS_UNION, static_cast<uint8_t>(is_union), 0); in add_is_union()
384 bool is_union = false,
394 builder_.add_is_union(is_union);
402 bool is_union = false,
410 is_union,
Didl.h297 EnumDef() : is_union(false) {} in EnumDef()
300 for (auto it = vals.vec.begin() + static_cast<int>(is_union &&
314 bool is_union; member
560 FLATBUFFERS_CHECKED_ERROR ParseEnum(bool is_union, EnumDef **dest);
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.cat.pass.cpp148 static_assert(ex::is_union_v<T> == std::is_union<T>::value, ""); in main()
153 static_assert(ex::is_union_v<T> == std::is_union<T>::value, ""); in main()
/external/flatbuffers/src/
Didl_parser.cpp539 if (enum_def->is_union) type.base_type = BASE_TYPE_UNION; in ParseTypeIdent()
1227 CheckedError Parser::ParseEnum(bool is_union, EnumDef **dest) { in ParseEnum() argument
1236 enum_def.is_union = is_union; in ParseEnum()
1241 if (is_union) { in ParseEnum()
1266 if (is_union) enum_def.vals.Add("NONE", new EnumVal("NONE", 0)); in ParseEnum()
1275 if (is_union) { in ParseEnum()
1292 if (is_union) { in ParseEnum()
1995 if (enum_def.is_union) { in DoParse()
2131 is_union, in Serialize()
Didl_gen_cpp.cpp158 if (enum_def.is_union && !enum_def.generated) { in generate()
623 if (enum_def.is_union) { in GenEnum()
643 if (parser_.opts.generate_object_based_api && enum_def.is_union) { in GenEnum()
696 if (enum_def.is_union) { in GenEnum()
1635 const bool is_union = field.value.type.base_type == BASE_TYPE_UTYPE; in GenTablePost() local
1637 GenUnpackFieldStatement(field, is_union ? *(it + 1) : nullptr); in GenTablePost()
/external/flatbuffers/reflection/
Dreflection.fbs51 is_union:bool = false;
/external/libmojo/mojo/public/cpp/bindings/lib/
Darray_internal.h115 template <typename T, bool is_union, bool is_handle_or_interface>
/external/libcxx/include/experimental/
Dtype_traits48 = is_union<T>::value;
270 = is_union<_Tp>::value;

12