Home
last modified time | relevance | path

Searched refs:ResType (Results 1 – 20 of 20) sorted by relevance

/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
Dreduce.hpp63 template <class Policy, class SrcPtr, typename ResType, class MaskPtr>
64 __host__ void gridCalcSum_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& s… in gridCalcSum_()
68 CV_StaticAssert( unsigned(VecTraits<src_type>::cn) == unsigned(VecTraits<ResType>::cn), "" ); in gridCalcSum_()
85 template <class Policy, class SrcPtr, typename ResType>
86 __host__ void gridCalcSum_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null(… in gridCalcSum_()
90 CV_StaticAssert( unsigned(VecTraits<src_type>::cn) == unsigned(VecTraits<ResType>::cn), "" ); in gridCalcSum_()
105 template <class Policy, class SrcPtr, typename ResType, class MaskPtr>
106 __host__ void gridFindMinVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream… in gridFindMinVal_()
109 dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); in gridFindMinVal_()
123 template <class Policy, class SrcPtr, typename ResType>
[all …]
Dreduce_to_vec.hpp145 template <class Reductor, class SrcPtr, typename ResType, class MaskPtr>
146 __host__ void gridReduceToRow(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream… in gridReduceToRow()
162 template <class Reductor, class SrcPtr, typename ResType>
163 __host__ void gridReduceToRow(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Nu… in gridReduceToRow()
177 template <class Reductor, class Policy, class SrcPtr, typename ResType, class MaskPtr>
178 __host__ void gridReduceToColumn_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, St… in gridReduceToColumn_()
194 template <class Reductor, class Policy, class SrcPtr, typename ResType>
195 __host__ void gridReduceToColumn_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream… in gridReduceToColumn_()
219 template <class Reductor, class SrcPtr, typename ResType, class MaskPtr>
220 __host__ void gridReduceToColumn(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Str… in gridReduceToColumn()
[all …]
Dhistogram.hpp60 template <int BIN_COUNT, class Policy, class SrcPtr, typename ResType, class MaskPtr>
61 __host__ void gridHistogram_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream&… in gridHistogram_()
80 template <int BIN_COUNT, class Policy, class SrcPtr, typename ResType>
81 __host__ void gridHistogram_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Nul… in gridHistogram_()
108 template <int BIN_COUNT, class SrcPtr, typename ResType, class MaskPtr>
109 __host__ void gridHistogram(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& … in gridHistogram()
114 template <int BIN_COUNT, class SrcPtr, typename ResType>
115 __host__ void gridHistogram(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null… in gridHistogram()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dminmaxloc.hpp59 template <int BLOCK_SIZE, class SrcPtr, typename ResType, class MaskPtr>
60 …__global__ void minMaxLoc_pass_1(const SrcPtr src, ResType* minVal, ResType* maxVal, int* minLoc, … in minMaxLoc_pass_1()
62 __shared__ ResType sMinVal[BLOCK_SIZE]; in minMaxLoc_pass_1()
63 __shared__ ResType sMaxVal[BLOCK_SIZE]; in minMaxLoc_pass_1()
70 ResType myMin = numeric_limits<ResType>::max(); in minMaxLoc_pass_1()
71 ResType myMax = -numeric_limits<ResType>::max(); in minMaxLoc_pass_1()
81 const ResType srcVal = src(y, x); in minMaxLoc_pass_1()
103 make_tuple(less<ResType>(), greater<ResType>())); in minMaxLoc_pass_1()
155 template <class Policy, class SrcPtr, typename ResType, class MaskPtr>
156 …__host__ void minMaxLoc(const SrcPtr& src, ResType* minVal, ResType* maxVal, int* minLoc, int* max… in minMaxLoc()
Dreduce.hpp391 … Reductor, int BLOCK_SIZE, int PATCH_X, int PATCH_Y, class SrcPtr, typename ResType, class MaskPtr>
392 …__global__ void reduce(const SrcPtr src, ResType* result, const MaskPtr mask, const int rows, cons… in reduce()
415 template <class Reductor, class Policy, class SrcPtr, typename ResType, class MaskPtr>
416 …__host__ void reduce(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, … in reduce()
430 template <class Policy, class SrcPtr, typename ResType, class MaskPtr>
431 …__host__ void sum(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cud… in sum()
434 typedef typename VecTraits<ResType>::elem_type res_elem_type; in sum()
436 …reduce<SumReductor<src_type, ResType>, Policy>(src, (res_elem_type*) result, mask, rows, cols, str… in sum()
439 template <class Policy, class SrcPtr, typename ResType, class MaskPtr>
440 …__host__ void minVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, … in minVal()
[all …]
Dhistogram.hpp56 template <int BIN_COUNT, int BLOCK_SIZE, class SrcPtr, typename ResType, class MaskPtr>
57 …__global__ void histogram(const SrcPtr src, ResType* hist, const MaskPtr mask, const int rows, con… in histogram()
60 __shared__ ResType smem[BIN_COUNT]; in histogram()
86 const ResType histVal = smem[i]; in histogram()
93 template <int BIN_COUNT, class Policy, class SrcPtr, typename ResType, class MaskPtr>
94 …__host__ void histogram(const SrcPtr& src, ResType* hist, const MaskPtr& mask, int rows, int cols,… in histogram()
Dreduce_to_row.hpp57 …template <class Reductor, int BLOCK_SIZE_X, int BLOCK_SIZE_Y, class SrcPtr, typename ResType, clas…
58 …__global__ void reduceToRow(const SrcPtr src, ResType* dst, const MaskPtr mask, const int rows, co… in reduceToRow()
96 … dst[x] = saturate_cast<ResType>(Reductor::result(smem[threadIdx.x * BLOCK_SIZE_X], rows)); in reduceToRow()
99 template <class Reductor, class SrcPtr, typename ResType, class MaskPtr>
100 …__host__ void reduceToRow(const SrcPtr& src, ResType* dst, const MaskPtr& mask, int rows, int cols… in reduceToRow()
Dreduce_to_column.hpp95 template <class Reductor, int BLOCK_SIZE, class SrcPtr, typename ResType, class MaskPtr>
96 … __global__ void reduceToColumn(const SrcPtr src, ResType* dst, const MaskPtr mask, const int cols) in reduceToColumn()
121 dst[y] = saturate_cast<ResType>(Reductor::result(myVal, cols)); in reduceToColumn()
124 template <class Reductor, class Policy, class SrcPtr, typename ResType, class MaskPtr>
125 …__host__ void reduceToColumn(const SrcPtr& src, ResType* dst, const MaskPtr& mask, int rows, int c… in reduceToColumn()
/external/eigen/Eigen/src/SPQRSupport/
DSuiteSparseQRSupport.h271 template<typename ResType>
272 void evalTo(ResType& res) const
280 …res = Matrix<Scalar,ResType::RowsAtCompileTime,ResType::ColsAtCompileTime>::Map(reinterpret_cast<S…
/external/clang/lib/CodeGen/
DTargetInfo.cpp2810 llvm::Type *ResType = nullptr; in classifyReturnType() local
2833 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
2837 if (Hi == NoClass && isa<llvm::IntegerType>(ResType)) { in classifyReturnType()
2851 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
2857 ResType = llvm::Type::getX86_FP80Ty(getVMContext()); in classifyReturnType()
2865 ResType = llvm::StructType::get(llvm::Type::getX86_FP80Ty(getVMContext()), in classifyReturnType()
2901 ResType = GetByteVectorType(RetTy); in classifyReturnType()
2923 ResType = GetX86_64ByValArgumentPair(ResType, HighPart, getDataLayout()); in classifyReturnType()
2925 return ABIArgInfo::getDirect(ResType); in classifyReturnType()
2945 llvm::Type *ResType = nullptr; in classifyArgumentType() local
[all …]
DCGStmtOpenMP.cpp2350 QualType SourceType, QualType ResType, in convertToType() argument
2352 switch (CGF.getEvaluationKind(ResType)) { in convertToType()
2355 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType()
2357 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()
DCGBuiltin.cpp355 getDefaultBuiltinObjectSizeResult(unsigned Type, llvm::IntegerType *ResType) { in getDefaultBuiltinObjectSizeResult() argument
356 return ConstantInt::get(ResType, (Type & 2) ? 0 : -1, /*isSigned=*/true); in getDefaultBuiltinObjectSizeResult()
361 llvm::IntegerType *ResType) { in evaluateOrEmitBuiltinObjectSize() argument
364 return emitBuiltinObjectSize(E, Type, ResType); in evaluateOrEmitBuiltinObjectSize()
365 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize()
375 llvm::IntegerType *ResType) { in emitBuiltinObjectSize() argument
399 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitBuiltinObjectSize()
405 llvm::Type *Tys[] = {ResType, Builder.getInt8PtrTy(0)}; in emitBuiltinObjectSize()
656 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType())); in EmitBuiltinExpr() local
660 return RValue::get(emitBuiltinObjectSize(E->getArg(0), Type, ResType)); in EmitBuiltinExpr()
DCodeGenFunction.h3084 llvm::IntegerType *ResType);
3090 llvm::IntegerType *ResType);
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1848 template <typename ArgType, typename ResType>
1849 struct CallableTraits<ResType(*)(ArgType)> {
1850 typedef ResType ResultType;
1851 typedef ResType(*StorageType)(ArgType);
1853 static void CheckIsValid(ResType(*f)(ArgType)) {
1858 static ResType Invoke(ResType(*f)(ArgType), T arg) {
/external/clang/lib/Sema/
DSemaExpr.cpp7708 QualType ResType = Operand->getType(); in checkArithmeticIncompletePointerType() local
7709 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType()
7710 ResType = ResAtomicType->getValueType(); in checkArithmeticIncompletePointerType()
7712 assert(ResType->isAnyPointerType() && !ResType->isDependentType()); in checkArithmeticIncompletePointerType()
7713 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType()
7729 QualType ResType = Operand->getType(); in checkArithmeticOpPointerOperand() local
7730 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand()
7731 ResType = ResAtomicType->getValueType(); in checkArithmeticOpPointerOperand()
7733 if (!ResType->isAnyPointerType()) return true; in checkArithmeticOpPointerOperand()
7735 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand()
[all …]
/external/gmock/include/gmock/
Dgmock-matchers.h2140 template <typename ArgType, typename ResType>
2141 struct CallableTraits<ResType(*)(ArgType)> {
2142 typedef ResType ResultType;
2143 typedef ResType(*StorageType)(ArgType);
2145 static void CheckIsValid(ResType(*f)(ArgType)) {
2150 static ResType Invoke(ResType(*f)(ArgType), T arg) {
/external/clang/lib/ARCMigrate/
DObjCMT.cpp494 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty() local
495 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ResType)) in rewriteToObjCProperty()
/external/llvm/lib/AsmParser/
DLLParser.cpp4883 Type *ResType = PFS.getFunction().getReturnType(); in ParseRet() local
4886 if (!ResType->isVoidTy()) in ParseRet()
4888 getTypeString(ResType) + "'"); in ParseRet()
4897 if (ResType != RV->getType()) in ParseRet()
4899 getTypeString(ResType) + "'"); in ParseRet()
/external/clang/include/clang/AST/
DExpr.h3162 CompoundAssignOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResType, in CompoundAssignOperator() argument
3166 : BinaryOperator(lhs, rhs, opc, ResType, VK, OK, OpLoc, fpContractable, in CompoundAssignOperator()
/external/clang/lib/AST/
DASTContext.cpp8211 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType() local
8248 return getFunctionNoProtoType(ResType, EI); in GetBuiltinType()
8254 return getFunctionType(ResType, ArgTypes, EPI); in GetBuiltinType()