Home
last modified time | relevance | path

Searched refs:underlying_type (Results 1 - 25 of 69) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/include/dawn/
H A DEnumClassBitmasks.h55 using Integral = typename std::underlying_type<T>::type;
84 using Integral = typename std::underlying_type<T>::type; in operator |()
95 using Integral = typename std::underlying_type<T>::type; in operator &()
106 using Integral = typename std::underlying_type<T>::type; in operator ^()
114 using Integral = typename std::underlying_type<T>::type; in operator ~()
150 using Integral = typename std::underlying_type<T>::type; in HasZeroOrOneBits()
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_builtins.cpp63 uint32_t* underlying_type) { in GetUnderlyingType()
71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType()
83 *underlying_type = inst.type_id(); in GetUnderlyingType()
88 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType()
579 uint32_t underlying_type);
589 uint32_t underlying_type);
602 uint32_t underlying_type);
616 uint32_t underlying_type);
742 uint32_t underlying_type = 0; in ValidateBool() local
744 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool()
60 GetUnderlyingType(ValidationState_t& _, const Decoration& decoration, const Instruction& inst, uint32_t* underlying_type) GetUnderlyingType() argument
758 uint32_t underlying_type = 0; ValidateI() local
774 uint32_t underlying_type = 0; ValidateI32() local
786 uint32_t underlying_type = 0; ValidateOptionalArrayedI32() local
800 ValidateI32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateI32Helper() argument
822 uint32_t underlying_type = 0; ValidateOptionalArrayedF32() local
839 uint32_t underlying_type = 0; ValidateF32() local
848 ValidateF32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32Helper() argument
872 uint32_t underlying_type = 0; ValidateI32Vec() local
905 uint32_t underlying_type = 0; ValidateOptionalArrayedF32Vec() local
924 uint32_t underlying_type = 0; ValidateF32Vec() local
934 ValidateF32VecHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32VecHelper() argument
966 uint32_t underlying_type = 0; ValidateI32Arr() local
998 uint32_t underlying_type = 0; ValidateF32Arr() local
1012 uint32_t underlying_type = 0; ValidateOptionalArrayedF32Arr() local
1030 ValidateF32ArrHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32ArrHelper() argument
1074 uint32_t underlying_type = 0; ValidateF32Mat() local
[all...]
H A Dvalidate_memory.cpp737 auto underlying_type = value_type; in ValidateVariable() local
738 while (underlying_type->opcode() == SpvOpTypePointer) { in ValidateVariable()
739 storage_class = underlying_type->GetOperandAs<SpvStorageClass>(1u); in ValidateVariable()
740 underlying_type = in ValidateVariable()
741 _.FindDef(underlying_type->GetOperandAs<uint32_t>(2u)); in ValidateVariable()
756 if (underlying_type->opcode() == SpvOpTypeArray || in ValidateVariable()
757 underlying_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateVariable()
758 underlying_type = in ValidateVariable()
759 _.FindDef(underlying_type->GetOperandAs<uint32_t>(1u)); in ValidateVariable()
762 !_.HasDecoration(underlying_type in ValidateVariable()
799 auto underlying_type = value_type; ValidateVariable() local
[all...]
H A Dfunction.h40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()()
41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_builtins.cpp63 uint32_t* underlying_type) { in GetUnderlyingType()
71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType()
83 *underlying_type = inst.type_id(); in GetUnderlyingType()
88 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType()
579 uint32_t underlying_type);
589 uint32_t underlying_type);
602 uint32_t underlying_type);
616 uint32_t underlying_type);
742 uint32_t underlying_type = 0; in ValidateBool() local
744 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool()
60 GetUnderlyingType(ValidationState_t& _, const Decoration& decoration, const Instruction& inst, uint32_t* underlying_type) GetUnderlyingType() argument
758 uint32_t underlying_type = 0; ValidateI() local
774 uint32_t underlying_type = 0; ValidateI32() local
786 uint32_t underlying_type = 0; ValidateOptionalArrayedI32() local
800 ValidateI32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateI32Helper() argument
822 uint32_t underlying_type = 0; ValidateOptionalArrayedF32() local
839 uint32_t underlying_type = 0; ValidateF32() local
848 ValidateF32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32Helper() argument
872 uint32_t underlying_type = 0; ValidateI32Vec() local
905 uint32_t underlying_type = 0; ValidateOptionalArrayedF32Vec() local
924 uint32_t underlying_type = 0; ValidateF32Vec() local
934 ValidateF32VecHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32VecHelper() argument
966 uint32_t underlying_type = 0; ValidateI32Arr() local
998 uint32_t underlying_type = 0; ValidateF32Arr() local
1012 uint32_t underlying_type = 0; ValidateOptionalArrayedF32Arr() local
1030 ValidateF32ArrHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32ArrHelper() argument
1074 uint32_t underlying_type = 0; ValidateF32Mat() local
[all...]
H A Dvalidate_memory.cpp737 auto underlying_type = value_type; in ValidateVariable() local
738 while (underlying_type->opcode() == SpvOpTypePointer) { in ValidateVariable()
739 storage_class = underlying_type->GetOperandAs<SpvStorageClass>(1u); in ValidateVariable()
740 underlying_type = in ValidateVariable()
741 _.FindDef(underlying_type->GetOperandAs<uint32_t>(2u)); in ValidateVariable()
756 if (underlying_type->opcode() == SpvOpTypeArray || in ValidateVariable()
757 underlying_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateVariable()
758 underlying_type = in ValidateVariable()
759 _.FindDef(underlying_type->GetOperandAs<uint32_t>(1u)); in ValidateVariable()
762 !_.HasDecoration(underlying_type in ValidateVariable()
799 auto underlying_type = value_type; ValidateVariable() local
[all...]
H A Dfunction.h40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()()
41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator ()()
/third_party/spirv-tools/source/val/
H A Dvalidate_builtins.cpp61 uint32_t* underlying_type) { in GetUnderlyingType()
69 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType()
81 *underlying_type = inst.type_id(); in GetUnderlyingType()
86 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType()
590 uint32_t underlying_type);
600 uint32_t underlying_type);
613 uint32_t underlying_type);
627 uint32_t underlying_type);
753 uint32_t underlying_type = 0; in ValidateBool() local
755 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool()
58 GetUnderlyingType(ValidationState_t& _, const Decoration& decoration, const Instruction& inst, uint32_t* underlying_type) GetUnderlyingType() argument
769 uint32_t underlying_type = 0; ValidateI() local
785 uint32_t underlying_type = 0; ValidateI32() local
797 uint32_t underlying_type = 0; ValidateOptionalArrayedI32() local
811 ValidateI32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateI32Helper() argument
833 uint32_t underlying_type = 0; ValidateOptionalArrayedF32() local
850 uint32_t underlying_type = 0; ValidateF32() local
859 ValidateF32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32Helper() argument
883 uint32_t underlying_type = 0; ValidateI32Vec() local
916 uint32_t underlying_type = 0; ValidateOptionalArrayedF32Vec() local
935 uint32_t underlying_type = 0; ValidateF32Vec() local
945 ValidateF32VecHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32VecHelper() argument
977 uint32_t underlying_type = 0; ValidateI32Arr() local
1009 uint32_t underlying_type = 0; ValidateF32Arr() local
1023 uint32_t underlying_type = 0; ValidateOptionalArrayedF32Arr() local
1041 ValidateF32ArrHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32ArrHelper() argument
1085 uint32_t underlying_type = 0; ValidateF32Mat() local
[all...]
H A Dvalidate_memory.cpp786 auto underlying_type = value_type; in ValidateVariable() local
787 while (underlying_type->opcode() == spv::Op::OpTypePointer) { in ValidateVariable()
788 storage_class = underlying_type->GetOperandAs<spv::StorageClass>(1u); in ValidateVariable()
789 underlying_type = in ValidateVariable()
790 _.FindDef(underlying_type->GetOperandAs<uint32_t>(2u)); in ValidateVariable()
805 if (underlying_type->opcode() == spv::Op::OpTypeArray || in ValidateVariable()
806 underlying_type->opcode() == spv::Op::OpTypeRuntimeArray) { in ValidateVariable()
807 underlying_type = in ValidateVariable()
808 _.FindDef(underlying_type->GetOperandAs<uint32_t>(1u)); in ValidateVariable()
811 !_.HasDecoration(underlying_type in ValidateVariable()
850 auto underlying_type = value_type; ValidateVariable() local
[all...]
H A Dfunction.h40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()()
41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DBitmaskEnum.h80 template <typename E> typename std::underlying_type<E>::type Mask() { in Mask()
83 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>( in Mask()
90 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) { in Underlying()
91 auto U = static_cast<typename std::underlying_type<E>::type>(Val); in Underlying()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OrcError/
H A DOrcError.cpp79 typedef std::underlying_type<OrcErrorCode>::type UT; in orcError()
103 typedef std::underlying_type<OrcErrorCode>::type UT; in convertToErrorCode()
/third_party/gn/src/base/containers/
H A Dflat_tree.h84 using underlying_type = std::vector<Value>;
109 using pointer = typename underlying_type::pointer;
110 using const_pointer = typename underlying_type::const_pointer;
111 using reference = typename underlying_type::reference;
112 using const_reference = typename underlying_type::const_reference;
113 using size_type = typename underlying_type::size_type;
114 using difference_type = typename underlying_type::difference_type;
115 using iterator = typename underlying_type::iterator;
116 using const_iterator = typename underlying_type::const_iterator;
117 using reverse_iterator = typename underlying_type
[all...]
/third_party/glslang/SPIRV/
H A Dhex_float.h171 typedef void underlying_type; typedef
193 typedef FloatProxy<float> underlying_type; typedef
207 typedef FloatProxy<double> underlying_type; typedef
221 typedef uint16_t underlying_type; typedef
244 typedef typename Traits::underlying_type underlying_type; typedef in spvutils::HexFloat
592 other.set_value(BitwiseCast<typename other_T::underlying_type>( in castTo()
607 other.set_value(BitwiseCast<typename other_T::underlying_type>( in castTo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h55 static_cast<std::underlying_type<Class>::type>(a) | \
56 static_cast<std::underlying_type<Class>::type>(b)); \
60 static_cast<std::underlying_type<Class>::type>(a) & \
61 static_cast<std::underlying_type<Class>::type>(b)); \
65 ~static_cast<std::underlying_type<Class>::type>(a)); \
/third_party/node/deps/v8/src/roots/
H A Droots-inl.h31 using type = typename std::underlying_type<RootIndex>::type; in operator <()
36 using type = typename std::underlying_type<RootIndex>::type; in operator ++()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dhash_generator_testing.h81 std::uniform_int_distribution<typename std::underlying_type<Enum>::type> in operator ()()
95 typename std::underlying_type<EnumClass>::type> in operator ()()
/third_party/skia/third_party/externals/spirv-tools/source/util/
H A Dhex_float.h217 using underlying_type = void;
239 using underlying_type = FloatProxy<float>;
253 using underlying_type = FloatProxy<double>;
267 using underlying_type = uint16_t;
291 using underlying_type = typename Traits::underlying_type;
675 other.set_value(typename other_T::underlying_type( in castTo()
690 other.set_value(typename other_T::underlying_type( in castTo()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dhex_float.h217 using underlying_type = void;
239 using underlying_type = FloatProxy<float>;
253 using underlying_type = FloatProxy<double>;
267 using underlying_type = uint16_t;
291 using underlying_type = typename Traits::underlying_type;
675 other.set_value(typename other_T::underlying_type( in castTo()
690 other.set_value(typename other_T::underlying_type( in castTo()
/third_party/spirv-tools/source/util/
H A Dhex_float.h218 using underlying_type = void;
240 using underlying_type = FloatProxy<float>;
254 using underlying_type = FloatProxy<double>;
268 using underlying_type = uint16_t;
292 using underlying_type = typename Traits::underlying_type;
676 other.set_value(typename other_T::underlying_type( in castTo()
691 other.set_value(typename other_T::underlying_type( in castTo()
/third_party/node/deps/v8/src/wasm/
H A Dmemory-tracing.h29 std::underlying_type<MachineRepresentation>::type>::value,
/third_party/node/deps/v8/src/torque/
H A Druntime-support.h16 struct UnderlyingTypeHelper : Identity<typename std::underlying_type<T>::type> {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
H A DEnumTables.cpp16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
H A Dwebgpu_absl_format.cpp181 s->Append(absl::StrFormat("%x", static_cast<typename std::underlying_type<{{as_cppType(type.name)}}>::type>(value)));
228 s->Append(absl::StrFormat("{{as_cppType(type.name)}}::%x", static_cast<typename std::underlying_type<{{as_cppType(type.name)}}>::type>(value)));
/third_party/skia/include/private/
H A DSkTFitsIn.h16 * std::underlying_type is only defined for enums. For integral types, we just want the type.
25 typedef typename std::underlying_type<T>::type type;

Completed in 28 milliseconds

123