Home
last modified time | relevance | path

Searched refs:FromT (Results 1 – 11 of 11) sorted by relevance

/external/angle/src/libANGLE/
DvalidationEGL.h109 template <typename PackedT, typename FromT>
110 typename std::enable_if<std::is_enum<PackedT>::value, PackedT>::type PackParam(FromT from) in PackParam()
117 typename FromT,
119 PackedT PackParam(FromT from) in PackParam()
130 typename FromT,
132 typename std::enable_if<std::is_same<FromT, const EGLint *>::value>::type * = nullptr>
133 typename std::remove_reference<PackedT>::type PackParam(FromT attribs) in PackParam()
139 typename FromT,
141 typename std::enable_if<!std::is_same<FromT, const EGLint *>::value>::type * = nullptr,
142 typename std::enable_if<std::is_same<FromT, const EGLAttrib *>::value>::type * = nullptr>
[all …]
/external/rust/crates/itertools/src/
Dunziptuple.rs38 ($($T:ident => $FromT:ident),*) => (
40 …impl<IT: Iterator<Item = ($($T,)*)>, $($T, $FromT: Default + Extend<$T>),* > MultiUnzip<($($FromT,…
41 fn multiunzip(self) -> ($($FromT,)*) {
48 let mut res = ($($FromT::default(),)*);
49 let ($($FromT,)*) = &mut res;
60 $( $FromT.extend(std::iter::once($T)); )*
/external/angle/src/libGLESv2/
Dentry_points_cl_utils.h31 template <typename PackedT, typename FromT>
32 typename std::enable_if_t<std::is_enum<PackedT>::value, PackedT> PackParam(FromT from) in PackParam()
38 template <typename PackedT, typename FromT>
39 typename std::enable_if_t<std::is_same<PackedT, BitField>::value, PackedT> PackParam(FromT from) in PackParam()
/external/tensorflow/tensorflow/lite/kernels/
Dcast.cc53 template <typename FromT, typename ToT>
54 void copyCast(const FromT* in, ToT* out, int num_elements) { in copyCast()
56 [](FromT a) { return static_cast<ToT>(a); }); in copyCast()
73 template <typename FromT>
74 TfLiteStatus copyToTensor(TfLiteContext* context, const FromT* in, in copyToTensor()
/external/angle/src/common/
DPackedEnums.h883 template <typename EnumT, typename FromT>
884 typename std::enable_if<std::is_enum<EnumT>::value, EnumT>::type PackParam(FromT from)
890 template <typename EnumT, typename FromT>
891 typename std::enable_if<!std::is_pointer<FromT>::value && !std::is_enum<EnumT>::value, EnumT>::type
892 PackParam(FromT from)
907 template <typename EnumT, typename FromT>
911 PackParam(FromT from)
917 template <typename EnumT, typename FromT>
918 typename std::enable_if<std::is_pointer<FromT>::value && !std::is_enum<EnumT>::value &&
921 PackParam(FromT from)
[all …]
/external/rust/crates/rayon/src/iter/
Dunzip.rs503 struct Collector<FromT> {
504 result: Option<FromT>,
507 impl<FromT> Default for Collector<FromT> {
513 impl<T, FromT> ParallelExtend<T> for Collector<FromT>
516 FromT: Send + FromParallelIterator<T>,
/external/clang/test/SemaTemplate/
Dinstantiate-complete.cpp145 class FromT { class
151 FromT<int> ft;
/external/angle/src/libANGLE/renderer/d3d/d3d9/
Dvertexconversion.h35 template <class FromT, class ToT>
42 static ToT convert(FromT x) { return static_cast<ToT>(x); } in convert()
/external/clang/include/clang/AST/
DASTImporter.h109 QualType Import(QualType FromT);
/external/webrtc/rtc_base/third_party/sigslot/
Dsigslot.h285 template <typename FromT, typename ToT>
287 FromT from;
/external/clang/lib/AST/
DASTImporter.cpp6048 QualType ASTImporter::Import(QualType FromT) { in Import() argument
6049 if (FromT.isNull()) in Import()
6052 const Type *fromTy = FromT.getTypePtr(); in Import()
6058 return ToContext.getQualifiedType(Pos->second, FromT.getLocalQualifiers()); in Import()
6069 return ToContext.getQualifiedType(ToT, FromT.getLocalQualifiers()); in Import()