/third_party/skia/src/core/ |
D | SkZip.h | 23 template<typename... Ts> 25 using ReturnTuple = std::tuple<Ts&...>; 54 constexpr SkZip() : fPointers{nullify<Ts>...}, fSize{0} {} in SkZip() 56 constexpr SkZip(size_t size, Ts*... ts) in SkZip() 69 typename = std::enable_if<skstd::conjunction<CanConvertToConst<Us, Ts>...>::value>> 84 constexpr std::tuple<Ts*...> data() const { return fPointers; } in data() 103 constexpr SkZip(size_t n, const std::tuple<Ts*...>& pointers) in SkZip() 110 return indexDetail(i, std::make_index_sequence<sizeof...(Ts)>{}); in index() 118 std::tuple<Ts*...> pointersAt(size_t i) const { in pointersAt() 121 return pointersAtDetail(i, std::make_index_sequence<sizeof...(Ts)>{}); in pointersAt() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | compressed_tuple.h | 54 template <typename... Ts> 132 template <typename... Ts, size_t... I, bool ShouldAnyUseBase> 134 CompressedTuple<Ts...>, absl::index_sequence<I...>, ShouldAnyUseBase> 140 Storage<Ts, std::integral_constant<size_t, I>::value>... { 144 : Storage<Ts, I>(absl::in_place, absl::forward<Vs>(args))... {} 145 friend CompressedTuple<Ts...>; 148 template <typename... Ts, size_t... I> 150 CompressedTuple<Ts...>, absl::index_sequence<I...>, false> 152 : Storage<Ts, std::integral_constant<size_t, I>::value, false>... { 156 : Storage<Ts, I, false>(absl::in_place, absl::forward<Vs>(args))... {} [all …]
|
D | layout.h | 252 template <class T, class... Ts> 253 using Contains = absl::disjunction<std::is_same<T, Ts>...>; 268 template <class Needle, class... Ts> 269 constexpr size_t Find(Needle, Needle, Ts...) { 270 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 274 template <class Needle, class T, class... Ts> 275 constexpr size_t Find(Needle, T, Ts...) { 276 return adl_barrier::Find(Needle(), Ts()...) + 1; 289 template <class... Ts> 290 constexpr size_t Max(size_t a, size_t b, Ts... rest) { [all …]
|
D | layout_benchmark.cc | 32 template <size_t Offset, class... Ts> 39 template <size_t Offset, class... Ts> 41 using L = Layout<Ts...>; in BM_OffsetConstant() 49 template <class... Ts> 67 template <size_t Offset, class... Ts> 72 ABSL_RAW_CHECK(VariableOffset<Ts...>(n, m, k) == Offset, "Invalid offset"); in BM_OffsetVariableHeadroom() 77 DoNotOptimize(VariableOffset<Ts...>(n, m, k)); in BM_OffsetVariableHeadroom() 81 template <size_t Offset, class... Ts> 83 using L = Layout<Ts...>; in BM_OffsetVariable()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-subset.hh | 46 template <typename T, typename ...Ts> auto 47 _dispatch (const T &obj, hb_priority<1>, Ts&&... ds) HB_AUTO_RETURN 48 ( obj.subset (this, std::forward<Ts> (ds)...) ) 49 template <typename T, typename ...Ts> auto 50 _dispatch (const T &obj, hb_priority<0>, Ts&&... ds) HB_AUTO_RETURN 51 ( obj.dispatch (this, std::forward<Ts> (ds)...) ) 53 template <typename T, typename ...Ts> auto 54 dispatch (const T &obj, Ts&&... ds) HB_AUTO_RETURN 55 ( _dispatch (obj, hb_prioritize, std::forward<Ts> (ds)...) )
|
D | hb-open-type.hh | 332 template <typename ...Ts> 334 const void *src_base, Ts&&... ds) in serialize_subset() 344 bool ret = c->dispatch (src_base+src, std::forward<Ts> (ds)...); in serialize_subset() 355 template <typename ...Ts> 356 bool serialize_serialize (hb_serialize_context_t *c, Ts&&... ds) in serialize_serialize() 361 bool ret = obj->serialize (c, std::forward<Ts> (ds)...); in serialize_serialize() 375 template <typename ...Ts> 379 Ts&&... ds) in serialize_copy() 387 bool ret = c->copy (src_base+src, std::forward<Ts> (ds)...); in serialize_copy() 407 template <typename ...Ts> [all …]
|
D | hb-serialize.hh | 191 template <typename T1, typename... Ts> bool propagate_error (T1 &&o1, Ts&&... os) in propagate_error() 193 propagate_error (std::forward<Ts> (os)...); } in propagate_error() 537 template <typename Type, typename ...Ts> auto 538 _copy (const Type &src, hb_priority<1>, Ts&&... ds) HB_RETURN in _copy() 539 (Type *, src.copy (this, std::forward<Ts> (ds)...)) in _copy() 552 template <typename Type, typename ...Ts> 553 Type *copy (const Type &src, Ts&&... ds) in copy() 554 { return _copy (src, hb_prioritize, std::forward<Ts> (ds)...); } in copy() 555 template <typename Type, typename ...Ts> 556 Type *copy (const Type *src, Ts&&... ds) in copy() [all …]
|
D | hb-ot-color-colr-table.hh | 922 template <typename context_t, typename ...Ts> 923 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch() 928 case 1: return_trace (c->dispatch (u.format1, std::forward<Ts> (ds)...)); in dispatch() 929 case 2: return_trace (c->dispatch (u.format2, std::forward<Ts> (ds)...)); in dispatch() 1066 template <typename ...Ts> 1067 bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const in sanitize() 1074 return_trace (c->end_recursion (this->dispatch (c, std::forward<Ts> (ds)...))); in sanitize() 1077 template <typename context_t, typename ...Ts> 1078 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch() 1083 case 1: return_trace (c->dispatch (u.paintformat1, std::forward<Ts> (ds)...)); in dispatch() [all …]
|
D | hb-algs.hh | 241 template <typename Appl, typename T, typename ...Ts> auto 242 impl (Appl&& a, hb_priority<2>, T &&v, Ts&&... ds) const HB_AUTO_RETURN 243 ((hb_deref (std::forward<T> (v)).*std::forward<Appl> (a)) (std::forward<Ts> (ds)...)) 251 template <typename Appl, typename ...Ts> auto 252 impl (Appl&& a, hb_priority<0>, Ts&&... ds) const HB_AUTO_RETURN 253 (hb_deref (std::forward<Appl> (a)) (std::forward<Ts> (ds)...)) 257 template <typename Appl, typename ...Ts> auto 258 operator () (Appl&& a, Ts&&... ds) const HB_AUTO_RETURN 262 std::forward<Ts> (ds)...) 274 template <typename ...Ts, [all …]
|
D | hb-sanitize.hh | 147 template <typename T, typename ...Ts> auto 148 _dispatch (const T &obj, hb_priority<1>, Ts&&... ds) HB_AUTO_RETURN 149 ( obj.sanitize (this, std::forward<Ts> (ds)...) ) 150 template <typename T, typename ...Ts> auto 151 _dispatch (const T &obj, hb_priority<0>, Ts&&... ds) HB_AUTO_RETURN 152 ( obj.dispatch (this, std::forward<Ts> (ds)...) ) 154 template <typename T, typename ...Ts> auto 155 dispatch (const T &obj, Ts&&... ds) HB_AUTO_RETURN in dispatch() 156 ( _dispatch (obj, hb_prioritize, std::forward<Ts> (ds)...) ) in dispatch()
|
D | hb-ot-kern-table.hh | 129 template <typename context_t, typename ...Ts> 130 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch() 137 …case 1: return_trace (u.header.apple ? c->dispatch (u.format1, std::forward<Ts> (ds)...) : c->defa… in dispatch() 141 …case 3: return_trace (u.header.apple ? c->dispatch (u.format3, std::forward<Ts> (ds)...) : c->defa… in dispatch() 322 template <typename context_t, typename ...Ts> 323 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch() 328 case 0: return_trace (c->dispatch (u.ot, std::forward<Ts> (ds)...)); in dispatch() 330 case 1: return_trace (c->dispatch (u.aat, std::forward<Ts> (ds)...)); in dispatch()
|
/third_party/node/deps/v8/src/diagnostics/ |
D | system-jit-metadata-win.h | 115 template <typename T1, typename T2, typename... Ts> 116 constexpr auto JoinFields(T1 field1, T2 field2, Ts... args) { 130 template <std::size_t count, typename... Ts> 131 constexpr auto EventFields(char const (&name)[count], Ts... field_args) { 170 template <typename... Ts> 172 const std::wstring& value, const Ts&... rest); 173 template <typename... Ts> 175 const std::string& value, const Ts&... rest); 176 template <typename... Ts> 178 const char* value, const Ts&... rest); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | AlignOf.h | 23 template <typename T, typename... Ts> class AlignerImpl { 25 AlignerImpl<Ts...> rest; 34 template <typename T, typename... Ts> union SizerImpl { 36 SizerImpl<Ts...> rest; 48 template <typename T, typename... Ts> struct AlignedCharArrayUnion { 49 alignas(::llvm::detail::AlignerImpl<T, Ts...>) char buffer[sizeof( 50 llvm::detail::SizerImpl<T, Ts...>)];
|
D | Format.h | 89 template <typename... Ts> 91 std::tuple<Ts...> Vals; 104 format_object(const char *fmt, const Ts &... vals) 106 validate_format_parameters<Ts...>(); 110 return snprint_tuple(Buffer, BufferSize, std::index_sequence_for<Ts...>()); 123 template <typename... Ts> 124 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) { 125 return format_object<Ts...>(Fmt, Vals...);
|
D | FormatVariadic.h | 74 template <typename... Ts> 75 std::vector<detail::format_adapter *> operator()(Ts &... Items) { in operator() 252 template <typename... Ts> 253 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype( 254 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> { 256 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...)); 259 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | ValueProfileCollector.cpp | 33 template <class... Ts> class PluginChain; 45 template <class PluginT, class... Ts> 46 class PluginChain<PluginT, Ts...> : public PluginChain<Ts...> { 48 using Base = PluginChain<Ts...>; 51 PluginChain(Function &F) : PluginChain<Ts...>(F), Plugin(F) {} in PluginChain()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Format.h | 89 template <typename... Ts> 91 std::tuple<Ts...> Vals; 104 format_object(const char *fmt, const Ts &... vals) 106 validate_format_parameters<Ts...>(); 110 return snprint_tuple(Buffer, BufferSize, index_sequence_for<Ts...>()); 123 template <typename... Ts> 124 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) { 125 return format_object<Ts...>(Fmt, Vals...);
|
D | FormatVariadic.h | 75 template <typename... Ts> 76 std::vector<detail::format_adapter *> operator()(Ts &... Items) { in operator() 235 template <typename... Ts> 236 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype( 237 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> { 239 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...)); 242 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | AllocatorList.h | 43 template <class... Ts> Node(Ts &&... Vs) : V(std::forward<Ts>(Vs)...) {} in Node() 187 template <class... Ts> iterator emplace(iterator I, Ts &&... Vs) { in emplace() 188 return iterator(List.insert(I.wrapped(), *create(std::forward<Ts>(Vs)...))); in emplace() 220 template <class... Ts> void emplace_back(Ts &&... Vs) { in emplace_back() 221 emplace(end(), std::forward<Ts>(Vs)...); in emplace_back() 223 template <class... Ts> void emplace_front(Ts &&... Vs) { in emplace_front() 224 emplace(begin(), std::forward<Ts>(Vs)...); in emplace_front()
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 159 template <typename... Ts> 161 using type = Types<Ts...>; 167 template <typename... Ts> 168 struct is_proxy_type_list<ProxyTypeList<Ts...>> : std::true_type {}; 185 template <typename... Ts> 186 using Types = internal::ProxyTypeList<Ts...>;
|
/third_party/mesa3d/src/gallium/frontends/clover/util/ |
D | functional.hpp | 92 template<typename T, typename... Ts> 94 operator()(T x, Ts... xs) const { in operator ()() 107 template<typename T, typename... Ts> 109 operator()(T x, Ts... xs) const { in operator ()() 283 template<typename... Ts> 284 std::tuple<Ts...> 285 operator()(Ts &&... xs) const { in operator ()() 286 return std::tuple<Ts...>(std::forward<Ts>(xs)...); in operator ()()
|
/third_party/node/deps/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 189 template <typename... Ts> 191 using type = Types<Ts...>; 197 template <typename... Ts> 198 struct is_proxy_type_list<ProxyTypeList<Ts...>> : std::true_type {}; 215 template <typename... Ts> 216 using Types = internal::ProxyTypeList<Ts...>;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/frag/ |
D | texture-access.swizzle.frag | 76 …typename T, template<typename, access = access::sample, typename = void> class Tex, typename... Ts> 77 inline vec<T, 4> spvGatherSwizzle(const thread Tex<T>& t, sampler s, uint sw, component c, Ts... pa… 90 return t.gather(s, spvForward<Ts>(params)..., component::x); 92 return t.gather(s, spvForward<Ts>(params)..., component::y); 94 return t.gather(s, spvForward<Ts>(params)..., component::z); 96 return t.gather(s, spvForward<Ts>(params)..., component::w); 102 return t.gather(s, spvForward<Ts>(params)..., component::x); 104 return t.gather(s, spvForward<Ts>(params)..., component::y); 106 return t.gather(s, spvForward<Ts>(params)..., component::z); 108 return t.gather(s, spvForward<Ts>(params)..., component::w); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/asm/frag/ |
D | texture-access.swizzle.asm.frag | 76 …typename T, template<typename, access = access::sample, typename = void> class Tex, typename... Ts> 77 inline vec<T, 4> spvGatherSwizzle(const thread Tex<T>& t, sampler s, uint sw, component c, Ts... pa… 90 return t.gather(s, spvForward<Ts>(params)..., component::x); 92 return t.gather(s, spvForward<Ts>(params)..., component::y); 94 return t.gather(s, spvForward<Ts>(params)..., component::z); 96 return t.gather(s, spvForward<Ts>(params)..., component::w); 102 return t.gather(s, spvForward<Ts>(params)..., component::x); 104 return t.gather(s, spvForward<Ts>(params)..., component::y); 106 return t.gather(s, spvForward<Ts>(params)..., component::z); 108 return t.gather(s, spvForward<Ts>(params)..., component::w); [all …]
|
/third_party/json/include/nlohmann/detail/meta/ |
D | void_t.hpp | 17 template<typename ...Ts> struct make_void 21 template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
|