Home
last modified time | relevance | path

Searched refs:ArgT (Results 1 – 24 of 24) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers.h20 template<typename ArgT> struct MatchAllOf;
21 template<typename ArgT> struct MatchAnyOf;
22 template<typename ArgT> struct MatchNotOf;
60 template<typename ArgT>
61 struct MatchAllOf : MatcherBase<ArgT> {
62 bool match( ArgT const& arg ) const override { in match()
85 MatchAllOf<ArgT>& operator && ( MatcherBase<ArgT> const& other ) {
90 std::vector<MatcherBase<ArgT> const*> m_matchers;
92 template<typename ArgT>
93 struct MatchAnyOf : MatcherBase<ArgT> {
[all …]
Dcatch_capture_matchers.h21 template<typename ArgT, typename MatcherT>
23 ArgT const& m_arg;
27 MatchExpr( ArgT const& arg, MatcherT const& matcher, StringRef const& matcherString ) in MatchExpr()
48 template<typename ArgT, typename MatcherT>
49 …auto makeMatchExpr( ArgT const& arg, MatcherT const& matcher, StringRef const& matcherString ) ->…
50 return MatchExpr<ArgT, MatcherT>( arg, matcher, matcherString );
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DVariadicFunction.h104 template <typename ResultT, typename ArgT,
105 ResultT (*Func)(ArrayRef<const ArgT *>)>
112 ResultT operator()(LLVM_COMMA_JOIN ## N(const ArgT &A)) const { \
113 const ArgT *const Args[] = { LLVM_COMMA_JOIN ## N(&A) }; \
151 template <typename ResultT, typename Param0T, typename ArgT,
152 ResultT (*Func)(Param0T, ArrayRef<const ArgT *>)>
159 ResultT operator()(Param0T P0, LLVM_COMMA_JOIN ## N(const ArgT &A)) const { \
160 const ArgT *const Args[] = { LLVM_COMMA_JOIN ## N(&A) }; \
198 template <typename ResultT, typename Param0T, typename Param1T, typename ArgT,
199 ResultT (*Func)(Param0T, Param1T, ArrayRef<const ArgT *>)>
[all …]
/external/llvm/include/llvm/ADT/
DVariadicFunction.h104 template <typename ResultT, typename ArgT,
105 ResultT (*Func)(ArrayRef<const ArgT *>)>
112 ResultT operator()(LLVM_COMMA_JOIN ## N(const ArgT &A)) const { \
113 const ArgT *const Args[] = { LLVM_COMMA_JOIN ## N(&A) }; \
151 template <typename ResultT, typename Param0T, typename ArgT,
152 ResultT (*Func)(Param0T, ArrayRef<const ArgT *>)>
159 ResultT operator()(Param0T P0, LLVM_COMMA_JOIN ## N(const ArgT &A)) const { \
160 const ArgT *const Args[] = { LLVM_COMMA_JOIN ## N(&A) }; \
198 template <typename ResultT, typename Param0T, typename Param1T, typename ArgT,
199 ResultT (*Func)(Param0T, Param1T, ArrayRef<const ArgT *>)>
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h300 template <typename ResultT, typename ArgT,
301 ResultT (*Func)(ArrayRef<const ArgT *>)>
305 ArgT **InnerArgs = new ArgT *[Args.size()]();
309 typedef ArgTypeTraits<ArgT> ArgTraits;
318 InnerArgs[i] = new ArgT(ArgTraits::get(Value));
348 template <typename ResultT, typename ArgT,
349 ResultT (*F)(ArrayRef<const ArgT *>)>
351 ast_matchers::internal::VariadicFunction<ResultT, ArgT, F> Func,
353 : Func(&variadicMatcherDescriptor<ResultT, ArgT, F>),
355 ArgsKind(ArgTypeTraits<ArgT>::getKind()) {
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dkernel.h627 template <typename ParamT, typename ArgT>
630 ArgT>::value ||
631 IsCompatibleDeviceMemoryRef<ParamT, ArgT>::value;
648 template <typename ParamT, typename ArgT, bool kShouldStaticAssert,
652 kShouldStaticAssert ? CompatibleNoAssert<ParamT, ArgT>() : true,
654 return CompatibleNoAssert<ParamT, ArgT>();
676 typedef typename std::tuple_element<kArgumentNumber, ArgTuple>::type ArgT;
677 return Compatible<ParamT, ArgT, kShouldStaticAssert, kArgumentNumber>() &&
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRPCSerialization.h40 template <typename OStream, typename ArgT>
41 OStream &operator<<(OStream &OS, const RPCTypeNameSequence<ArgT> &V) {
42 OS << RPCTypeName<ArgT>::getName();
310 template <typename ChannelT, typename ArgT>
311 class SequenceSerialization<ChannelT, ArgT> {
316 return SerializationTraits<ChannelT, ArgT, in serialize()
323 return SerializationTraits<ChannelT, ArgT, CArgT>::deserialize(C, CArg); in deserialize()
327 template <typename ChannelT, typename ArgT, typename... ArgTs>
328 class SequenceSerialization<ChannelT, ArgT, ArgTs...> {
335 SerializationTraits<ChannelT, ArgT, typename std::decay<CArgT>::type>:: in serialize()
[all …]
DRPCUtils.h669 template <typename ArgT> class ResponseHandlerArg<Error(Expected<ArgT>)> {
671 using ArgType = Expected<ArgT>;
672 using UnwrappedArgType = ArgT;
675 template <typename ArgT>
676 class ResponseHandlerArg<ErrorSuccess(Expected<ArgT>)> {
678 using ArgType = Expected<ArgT>;
679 using UnwrappedArgType = ArgT;
872 template <typename ArgT, typename... ArgTs>
873 class ReadArgs<ArgT, ArgTs...> : public ReadArgs<ArgTs...> {
875 ReadArgs(ArgT &Arg, ArgTs &... Args) in ReadArgs()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h69 template <typename ResultT, typename ArgT,
70 ResultT (*Func)(ArrayRef<const ArgT *>)>
75 ResultT operator()(const ArgT &Arg1, const ArgsT &... Args) const { in operator()
76 return Execute(Arg1, static_cast<const ArgT &>(Args)...); in operator()
81 ResultT operator()(ArrayRef<ArgT> Args) const { in operator()
82 SmallVector<const ArgT*, 8> InnerArgs; in operator()
83 for (const ArgT &Arg : Args) in operator()
92 const ArgT *const ArgsArray[] = {&Args...}; in Execute()
93 return Func(ArrayRef<const ArgT *>(ArgsArray, sizeof...(ArgsT))); in Execute()
638 template <typename T, typename ArgT>
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h269 template <typename ArgT, typename... ArgTs>
270 class ReadArgs<ArgT, ArgTs...> : public ReadArgs<ArgTs...> {
272 ReadArgs(ArgT &Arg, ArgTs &... Args) in ReadArgs()
275 Error operator()(ArgT &ArgVal, ArgTs &... ArgVals) { in operator()
281 ArgT &Arg;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp254 auto *ArgT = dyn_cast<IntegerType>(Arg.getType()); in splitAndWriteThinLTOBitcode() local
255 if (!ArgT || ArgT->getBitWidth() > 64) in splitAndWriteThinLTOBitcode()
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.h55 template <typename ArgT, typename... ArgsT>
56 void CollectGarbage(std::vector<vk::GarbageObject> *garbageOut, ArgT object, ArgsT... objectsIn) in CollectGarbage()
/external/google-benchmark/src/
Dsysinfo.cc203 template <class ArgT>
204 bool ReadFromFile(std::string const& fname, ArgT* arg) { in ReadFromFile()
205 *arg = ArgT(); in ReadFromFile()
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc200 template <class ArgT>
201 bool ReadFromFile(std::string const& fname, ArgT* arg) { in ReadFromFile()
202 *arg = ArgT(); in ReadFromFile()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp246 template<typename ArgT>
247 static void ParseFunctionArgs(const SmallVectorImpl<ArgT> &Args, in ParseFunctionArgs()
274 template<typename ArgT>
277 const SmallVectorImpl<ArgT> &Args) { in AnalyzeArguments()
350 template<typename ArgT>
353 const SmallVectorImpl<ArgT> &Args) { in AnalyzeReturnValues()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp395 template<typename ArgT>
396 static void ParseFunctionArgs(const SmallVectorImpl<ArgT> &Args, in ParseFunctionArgs()
430 template<typename ArgT>
433 const SmallVectorImpl<ArgT> &Args) { in AnalyzeArguments()
535 template<typename ArgT>
538 const SmallVectorImpl<ArgT> &Args) { in AnalyzeReturnValues()
/external/catch2/single_include/catch2/
Dcatch.hpp2893 template<typename ArgT> struct MatchAllOf;
2894 template<typename ArgT> struct MatchAnyOf;
2895 template<typename ArgT> struct MatchNotOf;
2932 template<typename ArgT>
2933 struct MatchAllOf : MatcherBase<ArgT> {
2934 bool match( ArgT const& arg ) const override { in match()
2957 MatchAllOf<ArgT>& operator && ( MatcherBase<ArgT> const& other ) { in operator &&()
2962 std::vector<MatcherBase<ArgT> const*> m_matchers;
2964 template<typename ArgT>
2965 struct MatchAnyOf : MatcherBase<ArgT> {
[all …]
/external/catch2/third_party/
Dclara.hpp398 template<typename ClassT, typename ReturnT, typename ArgT>
399 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
401 … using ArgType = typename std::remove_const<typename std::remove_reference<ArgT>::type>::type;
/external/catch2/include/external/
Dclara.hpp398 template<typename ClassT, typename ReturnT, typename ArgT>
399 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
401 … using ArgType = typename std::remove_const<typename std::remove_reference<ArgT>::type>::type;
/external/clang/lib/AST/
DDeclObjC.cpp981 QualType ArgT = (*it); in getMethodFamily() local
982 if (!ArgT->isObjCSelType()) { in getMethodFamily()
988 ArgT = (*it); in getMethodFamily()
989 if (!ArgT->isObjCIdType()) { in getMethodFamily()
/external/v8/src/compiler/
Dcode-assembler.cc571 #define CODE_ASSEMBLER_COMPARE(Name, ArgT, VarT, ToConstant, op) \ argument
572 TNode<BoolT> CodeAssembler::Name(TNode<ArgT> left, TNode<ArgT> right) { \
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp13120 template <typename ResT, typename ArgT>
13124 typedef ResT (*functionPointer)(const ArgT&);
13128 typeInfo<ArgT>::variable_type) in unary()
13135 ArgT arg; in call()
13137 unpack<ArgT>::get(argument_src, arg); in call()
13184 template <typename ResT, typename ArgT, typename OutT>
13188 typedef ResT (*functionPointer)(ArgT, OutT&);
13202 ArgT* p_arg = (ArgT*)argument_src; in call()
13215 const ArgT first_arg = p_arg[component * component_step_0]; in call()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationInvarianceTests.cpp1203 template <typename ArgT, bool res>
1206 bool operator() (const ArgT&) const { return res; } in operator ()()
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp289 template <typename ArgT, bool res>
292 bool operator() (const ArgT&) const { return res; } in operator ()()