Searched defs:underlying_type (Results 1 - 8 of 8) sorted by relevance

/external/clang/test/Modules/Inputs/PR26014/
H A DA.h6 struct underlying_type struct
H A DB.h5 struct underlying_type struct
/external/clang/test/SemaCXX/
H A Dunderlying_type.cpp30 struct underlying_type { struct in class:f
34 static_assert(is_same_type<underlying_type<f>::type, char>::value,
37 underlying_type<int>::type e; // expected-note {{requested here}}
42 static_assert(is_same_type<underlying_type<foo>::type, unsigned>::value,
/external/skia/include/private/
H A DSkTLogic.h46 // Unfortunately, libstdc++ STL before libstdc++4.7 do not define std::underlying_type.
57 template <typename T> struct underlying_type { struct in namespace:skstd
62 template <typename T> using underlying_type = std::underlying_type<T>;
65 template <typename T> using underlying_type_t = typename skstd::underlying_type<T>::type;
H A DSkTFitsIn.h206 template <typename T, bool = std::is_enum<T>::value> struct underlying_type { struct in namespace:sktfitsin::Private
209 template <typename T> struct underlying_type<T, false> { struct in namespace:sktfitsin::Private
221 using RealS = typename sktfitsin::Private::underlying_type<S>::type;
222 using RealD = typename sktfitsin::Private::underlying_type<D>::type;
/external/flatbuffers/include/flatbuffers/
H A Dreflection_generated.h315 const Type *underlying_type() const { function in struct:reflection::FLATBUFFERS_FINAL_CLASS
333 verifier.VerifyTable(underlying_type()) &&
356 void add_underlying_type(flatbuffers::Offset<Type> underlying_type) { argument
357 fbb_.AddOffset(Enum::VT_UNDERLYING_TYPE, underlying_type);
385 flatbuffers::Offset<Type> underlying_type = 0,
391 builder_.add_underlying_type(underlying_type);
403 flatbuffers::Offset<Type> underlying_type = 0,
411 underlying_type,
H A Didl.h315 Type underlying_type; member in struct:flatbuffers::EnumDef
/external/flatbuffers/src/
H A Didl_gen_general.cpp508 GenTypeBasic(enum_def.underlying_type, false);
522 code += GenTypeBasic(enum_def.underlying_type, false);
1059 auto underlying_type = field.value.type.base_type == BASE_TYPE_VECTOR local
1064 auto setter_parameter = underlying_type.base_type == BASE_TYPE_BOOL
1072 : "(") + GenTypeNameDest(underlying_type) + " " + field.name + ") { ";
1075 NumToString(InlineSize(underlying_type))
1088 code += GenSetter(underlying_type) + "(" + setter_index + ", ";
1093 code += " if (o != 0) { " + GenSetter(underlying_type);

Completed in 505 milliseconds