Home
last modified time | relevance | path

Searched refs:ParamT (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dbitset_utils.h24 template <typename BitsT, typename ParamT>
25 constexpr static BitsT Bit(ParamT x) in Bit()
30 template <size_t N, typename BitsT, typename ParamT = std::size_t>
48 Reference(BitSetT *parent, ParamT bit) : mParent(parent), mBit(bit) {} in Reference()
51 ParamT mBit;
62 ParamT operator*() const;
94 constexpr bool operator[](ParamT pos) const;
95 Reference operator[](ParamT pos) { return Reference(this, pos); }
97 bool test(ParamT pos) const;
121 BitSetT &set(ParamT pos, bool value = true);
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
Dbitset_utils.h25 template <typename BitsT, typename ParamT>
26 constexpr BitsT Bit(ParamT x) in Bit()
35 template <typename BitsT, typename ParamT>
36 constexpr BitsT BitMask(ParamT x) in BitMask()
42 return ((Bit<BitsT>(static_cast<ParamT>(static_cast<size_t>(x) - 1)) - 1) << 1) | 1; in BitMask()
45 template <size_t N, typename BitsT, typename ParamT = std::size_t>
63 Reference(BitSetT *parent, ParamT bit) : mParent(parent), mBit(bit) {} in Reference()
66 ParamT mBit;
77 ParamT operator*() const;
107 using param_type = ParamT;
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dangle_test_instantiate.h301 template <typename ParamT, typename RangeT, typename ModifierT>
302 std::vector<ParamT> CombineWithValues(const std::vector<ParamT> &in, in CombineWithValues()
305 ParamT combine(const ParamT &, ModifierT)) in CombineWithValues() argument
307 std::vector<ParamT> out; in CombineWithValues()
308 for (const ParamT &paramsIn : in) in CombineWithValues()
318 template <typename ParamT, typename ModifierT>
319 std::vector<ParamT> CombineWithValues(const std::vector<ParamT> &in, in CombineWithValues()
321 ParamT combine(const ParamT &, ModifierT)) in CombineWithValues() argument
326 template <typename ParamT, typename ModifiersT, typename ModifierT>
327 std::vector<ParamT> CombineWithValues(const std::vector<ParamT> &in, in CombineWithValues()
[all …]
/third_party/boost/libs/type_index/examples/
Dexact_types_match.cpp42 template <class ParamT>
43 type_erased_unary_function(void(*ptr)(ParamT)) in type_erased_unary_function() argument
45 , exact_param_t_(boost::typeindex::type_id_with_cvr<ParamT>()) in type_erased_unary_function()
48 template <class ParamT>
49 void call(ParamT v) { in call()
50 if (exact_param_t_ != boost::typeindex::type_id_with_cvr<ParamT>()) { in call()
54 return (reinterpret_cast<void(*)(ParamT)>(function_ptr_))(v); in call()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DFrameCapture.h171 template <ParamType ParamT, typename T>
197 template <ParamType ParamT, typename T>
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.h764 template <ParamType ParamT, typename T>
928 template <ParamType ParamT, typename T>
DFrameCapture.cpp509 template <typename ParamT>
528 const ParamT *returnedIDs = reinterpret_cast<const ParamT *>(param.data[0].data()); in WriteResourceIDPointerParamReplay()
531 ParamT id = returnedIDs[resIndex]; in WriteResourceIDPointerParamReplay()