/art/runtime/ |
reflection-inl.h | 32 Primitive::Type srcType, Primitive::Type dstType, 34 DCHECK(srcType != Primitive::kPrimNot && dstType != Primitive::kPrimNot); 35 if (LIKELY(srcType == dstType)) { 46 if (srcType == Primitive::kPrimByte) { 52 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || 53 srcType == Primitive::kPrimShort) { 59 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || 60 srcType == Primitive::kPrimShort || srcType == Primitive::kPrimInt) [all...] |
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 38 SRCTYPE src; 44 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 50 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 57 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 77 const SRCTYPE* SK_RESTRICT srcAddr = (const SRCTYPE*)s.fPixmap.addr(); 82 srcAddr = (const SRCTYPE*)((const char*)srcAddr + 86 SRCTYPE src; 97 SRCTYPE x0 = srcAddr[UNPACK_PRIMARY_SHORT(xx0)]; 98 SRCTYPE x1 = srcAddr[UNPACK_SECONDARY_SHORT(xx0)] [all...] |
SkBitmapProcState_shaderproc.h | 29 const SRCTYPE* SK_RESTRICT row0; 30 const SRCTYPE* SK_RESTRICT row1; 44 row0 = (const SRCTYPE*)(srcAddr + y0 * rb); 45 row1 = (const SRCTYPE*)(srcAddr + y1 * rb); 82 #undef SRCTYPE
|
SkBitmapProcState_procs.h | 90 #define SRCTYPE SkPMColor 101 #define SRCTYPE SkPMColor 119 #define SRCTYPE uint16_t 134 #define SRCTYPE uint16_t 148 #define SRCTYPE uint8_t 161 #define SRCTYPE uint8_t 177 #define SRCTYPE SkPMColor16 192 #define SRCTYPE SkPMColor16 210 #define SRCTYPE uint8_t 228 #define SRCTYPE uint8_ [all...] |
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_accumulate.cpp | 63 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); 67 UMat src(srcSize, srcType), dst(srcSize, dstType); 84 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); 88 UMat src(srcSize, srcType), dst(srcSize, dstType); 105 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); 109 UMat src1(srcSize, srcType), src2(srcSize, srcType), dst(srcSize, dstType) [all...] |
perf_blend.cpp | 63 const int srcType = get<1>(params); 64 const double eps = CV_MAT_DEPTH(srcType) <= CV_32S ? 1.0 : 0.2; 66 checkDeviceMaxMemoryAllocSize(srcSize, srcType); 68 UMat src1(srcSize, srcType), src2(srcSize, srcType), dst(srcSize, srcType);
|
/external/opencv3/modules/cudafilters/src/ |
filtering.cpp | 99 NPPBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal); 116 NPPBoxFilter::NPPBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal) : 117 ksize_(ksize), anchor_(anchor), type_(srcType), borderMode_(borderMode), borderVal_(borderVal) 121 CV_Assert( srcType == CV_8UC1 || srcType == CV_8UC4 ); 122 CV_Assert( dstType == srcType ); 126 func_ = funcs[CV_MAT_CN(srcType)]; 165 Ptr<Filter> cv::cuda::createBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal) 168 dstType = srcType; 170 dstType = CV_MAKE_TYPE(CV_MAT_DEPTH(dstType), CV_MAT_CN(srcType)); [all...] |
/external/opencv/cxcore/src/ |
cxminmaxloc.cpp | 48 #define CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ) \ 87 srctype, temptype, extrtype ) \ 89 icvMinMaxIndx_##flavor##_C1R,( const srctype* src, int step, CvSize size, \ 93 CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, 1 ); \ 105 srctype, temptype, extrtype ) \ 107 icvMinMaxIndx_##flavor##_CnCR( const srctype* src, int step, \ 113 CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ); \ 124 #define ICV_DEF_MINMAXLOC_ALL_INT( flavor, srctype, \ 127 srctype, int, extrtype ) \ 129 flavor, srctype, int, extrtype [all...] |
_cxipp.h | 147 #define IPCV_DEF_MEAN_MASK( flavor, srctype ) \ 150 ( const srctype* img, int imgstep, const uchar* mask, \ 154 ( const srctype* img, int imgstep, const uchar* mask, \ 158 ( const srctype* img, int imgstep, const uchar* mask, \ 162 ( const srctype* img, int imgstep, const uchar* mask, \ 179 #define IPCV_DEF_MEAN_SDV( flavor, srctype ) \ 182 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\ 185 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\ 188 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\ 191 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv )) [all...] |
/external/opencv3/modules/cudaimgproc/src/ |
corners.cpp | 69 CornerBase(int srcType, int blockSize, int ksize, int borderType); 83 CornerBase::CornerBase(int srcType, int blockSize, int ksize, int borderType) : 84 srcType_(srcType), blockSize_(blockSize), ksize_(ksize), borderType_(borderType) 105 filterDx_ = cuda::createSobelFilter(srcType, CV_32F, 1, 0, ksize_, scale, borderType_); 106 filterDy_ = cuda::createSobelFilter(srcType, CV_32F, 0, 1, ksize_, scale, borderType_); 110 filterDx_ = cuda::createScharrFilter(srcType, CV_32F, 1, 0, scale, borderType_); 111 filterDy_ = cuda::createScharrFilter(srcType, CV_32F, 0, 1, scale, borderType_); 125 Harris(int srcType, int blockSize, int ksize, double k, int borderType) : 126 CornerBase(srcType, blockSize, ksize, borderType), k_(static_cast<float>(k)) 153 MinEigenVal(int srcType, int blockSize, int ksize, int borderType) [all...] |
gftt.cpp | 68 GoodFeaturesToTrackDetector(int srcType, int maxCorners, double qualityLevel, double minDistance, 87 GoodFeaturesToTrackDetector::GoodFeaturesToTrackDetector(int srcType, int maxCorners, double qualityLevel, double minDistance, 94 cuda::createHarrisCorner(srcType, blockSize, 3, harrisK) : 95 cuda::createMinEigenValCorner(srcType, blockSize, 3); 211 Ptr<cuda::CornersDetector> cv::cuda::createGoodFeaturesToTrackDetector(int srcType, int maxCorners, double qualityLevel, double minDistance, 215 new GoodFeaturesToTrackDetector(srcType, maxCorners, qualityLevel, minDistance, blockSize, useHarrisDetector, harrisK));
|
/external/mesa3d/src/mesa/main/ |
texstore.c | 313 * \param srcType source image type 323 GLenum srcFormat, GLenum srcType, 331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); 367 srcFormat, srcType, 371 dst, srcFormat, srcType, src, 435 GLenum srcFormat, GLenum srcType, 442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); 476 srcFormat, srcType, 480 dst, srcFormat, srcType, src, 554 * \param srcType source image typ [all...] |
pack.h | 63 GLenum srcFormat, GLenum srcType, 72 GLenum srcFormat, GLenum srcType, 80 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType, 95 GLenum srcType, const GLvoid *source, 110 GLenum srcType, const GLvoid *source, 123 GLenum srcType, const GLvoid *source,
|
texcompress_s3tc.c | 174 srcType != GL_UNSIGNED_BYTE || 183 srcFormat, srcType, srcAddr, 192 srcFormat, srcType, 0, 0); 227 srcType != GL_UNSIGNED_BYTE || 236 srcFormat, srcType, srcAddr, 245 srcFormat, srcType, 0, 0); 280 srcType != GL_UNSIGNED_BYTE || 289 srcFormat, srcType, srcAddr, 297 srcFormat, srcType, 0, 0); 332 srcType != GL_UNSIGNED_BYTE | [all...] |
pack.c | [all...] |
texstore.h | 53 * \param srcType incoming image data type 64 GLenum srcFormat, GLenum srcType, \ 78 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
/external/opencv3/modules/cudafilters/include/opencv2/ |
cudafilters.hpp | 92 @param srcType Input image type. Only CV_8UC1 and CV_8UC4 are supported for now. 102 CV_EXPORTS Ptr<Filter> createBoxFilter(int srcType, int dstType, Size ksize, Point anchor = Point(-1,-1), 110 @param srcType Input image type. Supports CV_8U , CV_16U and CV_32F one and four channel image. 120 CV_EXPORTS Ptr<Filter> createLinearFilter(int srcType, int dstType, InputArray kernel, Point anchor = Point(-1,-1), 128 @param srcType Input image type. Supports CV_8U , CV_16U and CV_32F one and four channel image. 139 CV_EXPORTS Ptr<Filter> createLaplacianFilter(int srcType, int dstType, int ksize = 1, double scale = 1, 147 @param srcType Source array type. 159 CV_EXPORTS Ptr<Filter> createSeparableLinearFilter(int srcType, int dstType, InputArray rowKernel, InputArray columnKernel, 167 @param srcType Source image type. 180 CV_EXPORTS Ptr<Filter> createDerivFilter(int srcType, int dstType, int dx, int dy [all...] |
/external/clang/lib/Sema/ |
SemaCast.cpp | 167 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 173 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType, 181 QualType SrcType, 324 QualType srcType = src->getType(); 325 if (!destType->isRecordType() && !srcType->isRecordType()) 373 << CT << srcType << destType 477 /// CastsAwayConstness - Check if the pointer conversion from SrcType to 486 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, 501 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() | [all...] |
/external/opencv3/modules/cudaarithm/src/cuda/ |
sub_scalar.cu | 59 template <typename SrcType, typename ScalarType, typename DstType> struct SubScalarOp : unary_function<SrcType, DstType> 63 __device__ __forceinline__ DstType operator ()(SrcType a) const 69 template <typename SrcType, typename ScalarType, typename DstType> struct SubScalarOpInv : unary_function<SrcType, DstType> 73 __device__ __forceinline__ DstType operator ()(SrcType a) const 89 template <typename SrcType, typename ScalarDepth, typename DstType> 92 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType; 98 SubScalarOpInv<SrcType, ScalarType, DstType> op; 102 gridTransformUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, globPtr<uchar>(mask), stream) [all...] |
absdiff_scalar.cu | 80 template <typename SrcType, typename ScalarDepth> 83 AbsDiffScalarOp<SrcType, ScalarDepth> op; 85 gridTransformUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<SrcType>(dst), op, stream);
|
div_scalar.cu | 107 template <typename SrcType, typename ScalarType, typename DstType> struct DivScalarOp : unary_function<SrcType, DstType> 111 __device__ __forceinline__ DstType operator ()(SrcType a) const 117 template <typename SrcType, typename ScalarType, typename DstType> struct DivScalarOpInv : unary_function<SrcType, DstType> 121 __device__ __forceinline__ DstType operator ()(SrcType a) const 137 template <typename SrcType, typename ScalarDepth, typename DstType> 140 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType; 146 DivScalarOpInv<SrcType, ScalarType, DstType> op; 149 gridTransformUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, stream) [all...] |
/art/test/064-field-access/src/ |
Main.java | 486 private static boolean compatibleTypes(char srcType, char dstType) { 491 return srcType == dstType; 493 return srcType == 'B' || srcType == 'S'; 495 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I'; 497 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' | [all...] |
/frameworks/av/services/audiopolicy/utilities/convert/ |
convert.h | 46 * @tparam srcType source type, default value is string type 53 template <typename srcType, typename dstType> 54 static inline bool convertTo(const srcType &input, dstType &result); 160 template <typename srcType, typename dstType> 173 template <typename srcType> 174 class Converter<srcType, std::string> 177 static inline bool run(const srcType &str, std::string &result) 179 return toString<srcType>(str, result); 213 template <typename srcType, typename dstType> 214 static inline bool convertTo(const srcType &input, dstType &result [all...] |
/frameworks/base/tools/aapt2/link/ |
TableMerger.cpp | 141 for (auto& srcType : srcPackage->types) { 142 ResourceTableType* dstType = mMasterPackage->findOrCreateType(srcType->type); 143 if (srcType->symbolStatus.state == SymbolState::kPublic) { 144 if (dstType->symbolStatus.state == SymbolState::kPublic && dstType->id && srcType->id 145 && dstType->id.value() == srcType->id.value()) { 149 << srcType->type 155 dstType->symbolStatus = std::move(srcType->symbolStatus); 156 dstType->id = srcType->id; 159 for (auto& srcEntry : srcType->entries) { 181 srcType->type [all...] |
/external/opencv/cv/src/ |
cvaccum.cpp | 44 #define ICV_DEF_ACC_FUNC( name, srctype, dsttype, cvtmacro ) \ 46 name,( const srctype *src, int srcstep, dsttype *dst, \ 81 #define ICV_DEF_ACCPROD_FUNC( flavor, srctype, dsttype, cvtmacro ) \ 83 ( const srctype *src1, int step1, const srctype *src2, int step2, \ 117 #define ICV_DEF_ACCWEIGHT_FUNC( flavor, srctype, dsttype, cvtmacro ) \ 119 ( const srctype *src, int srcstep, dsttype *dst, int dststep, \ 152 #define ICV_DEF_ACCMASK_FUNC_C1( name, srctype, dsttype, cvtmacro ) \ 154 name,( const srctype *src, int srcstep, const uchar* mask, int maskstep,\ 188 #define ICV_DEF_ACCPRODUCTMASK_FUNC_C1( flavor, srctype, dsttype, cvtmacro ) [all...] |