Home
last modified time | relevance | path

Searched refs:_mask (Results 1 – 25 of 72) sorted by relevance

123

/external/jetty/src/java/org/eclipse/jetty/websocket/
DFixedMaskGen.java25 private final byte[] _mask; field in FixedMaskGen
34 _mask=new byte[4]; in FixedMaskGen()
37 System.arraycopy(mask, 0, _mask, 0, 4); in FixedMaskGen()
42 System.arraycopy(_mask, 0, mask, 0, 4); in genMask()
DWebSocketParserD06.java68 private final byte[] _mask = new byte[4]; field in WebSocketParserD06
162 _buffer.get(_mask,0,4); in parseNext()
173 b^=_mask[_m++%4]; in parseNext()
193 b^=_mask[_m++%4]; in parseNext()
217 b^=_mask[_m++%4]; in parseNext()
239 b^=_mask[_m++%4]; in parseNext()
278 array[i]^=_mask[_m++%4]; in parseNext()
DWebSocketGeneratorD06.java40 private final byte[] _mask=new byte[4]; field in WebSocketGeneratorD06
95 _maskGen.genMask(_mask); in addFrame()
97 _buffer.put(_mask); in addFrame()
172 data[i]^=_mask[+_m++%4]; in bufferPut()
178 _buffer.put((byte)(data^_mask[+_m++%4])); in bufferPut()
DWebSocketGeneratorRFC6455.java42 private final byte[] _mask = new byte[4]; field in WebSocketGeneratorRFC6455
150 _maskGen.genMask(_mask); in addFrame()
152 _buffer.put(_mask); in addFrame()
165 … _buffer.put((byte)(content[offset + (payload - remaining) + i] ^ _mask[+_m++ % 4])); in addFrame()
DWebSocketGeneratorD08.java38 private final byte[] _mask = new byte[4]; field in WebSocketGeneratorD08
146 _maskGen.genMask(_mask); in addFrame()
148 _buffer.put(_mask); in addFrame()
161 … _buffer.put((byte)(content[offset + (payload - remaining) + i] ^ _mask[+_m++ % 4])); in addFrame()
DWebSocketParserRFC6455.java68 private final byte[] _mask = new byte[4]; field in WebSocketParserRFC6455
163 array[i]^=_mask[_m++%4]; in parseNext()
291 _buffer.get(_mask,0,4); in parseNext()
343 array[i]^=_mask[_m++%4]; in parseNext()
DWebSocketParserD08.java68 private final byte[] _mask = new byte[4]; field in WebSocketParserD08
163 array[i]^=_mask[_m++%4]; in parseNext()
291 _buffer.get(_mask,0,4); in parseNext()
343 array[i]^=_mask[_m++%4]; in parseNext()
/external/opencv3/modules/cudaarithm/src/cuda/
Dsum.cu107 void cv::cuda::calcSum(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream) in calcSum() argument
122 const GpuMat mask = getInputMat(_mask, stream); in calcSum()
137 cv::Scalar cv::cuda::sum(InputArray _src, InputArray _mask) in sum() argument
142 calcSum(_src, dst, _mask, stream); in sum()
152 void cv::cuda::calcAbsSum(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream) in calcAbsSum() argument
167 const GpuMat mask = getInputMat(_mask, stream); in calcAbsSum()
182 cv::Scalar cv::cuda::absSum(InputArray _src, InputArray _mask) in absSum() argument
187 calcAbsSum(_src, dst, _mask, stream); in absSum()
197 void cv::cuda::calcSqrSum(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream) in calcSqrSum() argument
212 const GpuMat mask = getInputMat(_mask, stream); in calcSqrSum()
[all …]
Dminmax.cu87 void cv::cuda::findMinMax(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream) in findMinMax() argument
102 const GpuMat mask = getInputMat(_mask, stream); in findMinMax()
118 void cv::cuda::minMax(InputArray _src, double* minVal, double* maxVal, InputArray _mask) in minMax() argument
123 findMinMax(_src, dst, _mask, stream); in minMax()
139 void findMaxAbs(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream);
158 void cv::cuda::device::findMaxAbs(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stre… in findMaxAbs() argument
173 const GpuMat mask = getInputMat(_mask, stream); in findMaxAbs()
Dminmaxloc.cu75 …axLoc(InputArray _src, OutputArray _minMaxVals, OutputArray _loc, InputArray _mask, Stream& stream) in findMinMaxLoc() argument
90 const GpuMat mask = getInputMat(_mask, stream); in findMinMaxLoc()
126 …oc(InputArray _src, double* minVal, double* maxVal, Point* minLoc, Point* maxLoc, InputArray _mask) in minMaxLoc() argument
131 findMinMaxLoc(_src, minMaxVals, locVals, _mask, stream); in minMaxLoc()
/external/opencv3/modules/photo/src/
Dseamless_cloning.cpp50 void cv::seamlessClone(InputArray _src, InputArray _dst, InputArray _mask, Point p, OutputArray _bl… in seamlessClone() argument
54 const Mat mask = _mask.getMat(); in seamlessClone()
117 void cv::colorChange(InputArray _src, InputArray _mask, OutputArray _dst, float r, float g, float b) in colorChange() argument
120 Mat mask = _mask.getMat(); in colorChange()
143 void cv::illuminationChange(InputArray _src, InputArray _mask, OutputArray _dst, float a, float b) in illuminationChange() argument
147 Mat mask = _mask.getMat(); in illuminationChange()
169 void cv::textureFlattening(InputArray _src, InputArray _mask, OutputArray _dst, in textureFlattening() argument
174 Mat mask = _mask.getMat(); in textureFlattening()
/external/opencv3/modules/imgproc/src/
Dfeatureselect.cpp74 InputArray _mask, int blockSize, in ocl_goodFeaturesToTrack() argument
86 bool haveMask = !_mask.empty(); in ocl_goodFeaturesToTrack()
108 UMat mask = _mask.getUMat(); in ocl_goodFeaturesToTrack()
153 UMat mask = _mask.getUMat(); in ocl_goodFeaturesToTrack()
267 InputArray _mask, int blockSize, in goodFeaturesToTrack() argument
271 CV_Assert( _mask.empty() || (_mask.type() == CV_8UC1 && _mask.sameSize(_image)) ); in goodFeaturesToTrack()
275 _mask, blockSize, useHarrisDetector, harrisK)) in goodFeaturesToTrack()
290 minMaxLoc( eig, 0, &maxVal, 0, 0, _mask ); in goodFeaturesToTrack()
298 Mat mask = _mask.getMat(); in goodFeaturesToTrack()
Daccum.cpp791 InputArray _mask, int op_type ) in ocl_accumulate() argument
797 bool haveMask = !_mask.empty(), doubleSupport = dev.doubleFPConfig() > 0; in ocl_accumulate()
817 UMat src = _src.getUMat(), src2 = _src2.getUMat(), dst = _dst.getUMat(), mask = _mask.getUMat(); in ocl_accumulate()
846 void cv::accumulate( InputArray _src, InputOutputArray _dst, InputArray _mask ) in accumulate() argument
852 CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); in accumulate()
855 ocl_accumulate(_src, noArray(), _dst, 0.0, _mask, ACCUMULATE)) in accumulate()
857 Mat src = _src.getMat(), dst = _dst.getMat(), mask = _mask.getMat(); in accumulate()
931 void cv::accumulateSquare( InputArray _src, InputOutputArray _dst, InputArray _mask ) in accumulateSquare() argument
937 CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); in accumulateSquare()
940 ocl_accumulate(_src, noArray(), _dst, 0.0, _mask, ACCUMULATE_SQUARE)) in accumulateSquare()
[all …]
/external/opencv3/modules/cudafeatures2d/src/
Dfast.cpp70 virtual void detect(InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask);
71 …virtual void detectAsync(InputArray _image, OutputArray _keypoints, InputArray _mask, Stream& stre…
98 void FAST_Impl::detect(InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask) in detect() argument
109 detectAsync(_image, d_keypoints, _mask, Stream::Null()); in detect()
113 …void FAST_Impl::detectAsync(InputArray _image, OutputArray _keypoints, InputArray _mask, Stream& s… in detectAsync() argument
118 const GpuMat mask = _mask.getGpuMat(); in detectAsync()
Dorb.cpp352 …virtual void detectAndCompute(InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoint…
353 …virtual void detectAndComputeAsync(InputArray _image, InputArray _mask, OutputArray _keypoints, Ou…
404 void buildScalePyramids(InputArray _image, InputArray _mask);
573 …void ORB_Impl::detectAndCompute(InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoi… in detectAndCompute() argument
577 detectAndComputeAsync(_image, _mask, d_keypoints_, _descriptors, false, Stream::Null()); in detectAndCompute()
581 …void ORB_Impl::detectAndComputeAsync(InputArray _image, InputArray _mask, OutputArray _keypoints, … in detectAndComputeAsync() argument
585 buildScalePyramids(_image, _mask); in detectAndComputeAsync()
599 void ORB_Impl::buildScalePyramids(InputArray _image, InputArray _mask) in buildScalePyramids() argument
602 const GpuMat mask = _mask.getGpuMat(); in buildScalePyramids()
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/
Dplatform_DMVerityBitCorruption.py15 _mask = 0x80 variable in platform_DMVerityBitCorruption
26 dev.write(struct.pack('B', byte ^ self._mask))
41 dev.write(struct.pack('B', byte ^ self._mask))
49 self._mask = 0x01
/external/xmlrpcpp/src/
DXmlRpcDispatch.h66 MonitoredSource(XmlRpcSource* src, unsigned mask) : _src(src), _mask(mask) {} in MonitoredSource()
68 unsigned& getMask() { return _mask; } in getMask()
70 unsigned _mask; member
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DReasonsMask.java76 ReasonsMask _mask = new ReasonsMask(); in intersect() local
77 _mask.addReasons(new ReasonsMask(_reasons & mask.getReasons())); in intersect()
78 return _mask; in intersect()
/external/jetty/src/java/org/eclipse/jetty/util/
DIPAddressMap.java251 private final BitSet _mask = new BitSet(256); field in IPAddressMap.OctetPattern
270 _mask.set(0,255); in OctetPattern()
283 _mask.set(value); in OctetPattern()
309 _mask.set(low, high+1); in OctetPattern()
361 return _mask.get(number); in match()
/external/opencv3/modules/ts/include/opencv2/ts/
Docl_test.hpp136 Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \
137 _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \
140 EXPECT_LE(TestUtils::checkNorm2(name, u ## name, _mask), eps) \
154 Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \
155 _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \
158 EXPECT_LE(TestUtils::checkNormRelative(name, u ## name, _mask), eps) \
173 Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \
174 _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \
177 EXPECT_LE(TestUtils::checkNormRelativeSparse(name, u ## name, _mask), eps) \
/external/opencv3/modules/features2d/src/
Dgftt.cpp76 void detect( InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask ) in detect() argument
88 goodFeaturesToTrack( ugrayImage, corners, nfeatures, qualityLevel, minDistance, _mask, in detect()
97 goodFeaturesToTrack( grayImage, corners, nfeatures, qualityLevel, minDistance, _mask, in detect()
/external/opencv3/modules/imgproc/test/
Dtest_floodfill.cpp238 CvScalar l_diff, CvScalar u_diff, CvMat* _mask, in cvTsFloodFill() argument
267 if( _mask ) in cvTsFloodFill()
268 cvtest::convert(cvarrToMat(_mask), cvarrToMat(mask), -1); in cvTsFloodFill()
431 uchar* dmptr = _mask ? _mask->data.ptr + (i+1)*_mask->step + 1 : 0; in cvTsFloodFill()
518 CvMat _mask = test_mat[REF_INPUT_OUTPUT][1]; in prepare_to_validation() local
520 _mask.data.ptr ? &_mask : 0, in prepare_to_validation()
/external/opencv3/modules/calib3d/src/
Dptsetreg.cpp164 bool run(InputArray _m1, InputArray _m2, OutputArray _model, OutputArray _mask) const in run()
186 if( _mask.needed() ) in run()
188 _mask.create(count, 1, CV_8U, -1, true); in run()
189 bestMask0 = bestMask = _mask.getMat(); in run()
277 bool run(InputArray _m1, InputArray _m2, OutputArray _model, OutputArray _mask) const in run()
298 if( _mask.needed() ) in run()
300 _mask.create(count, 1, CV_8U, -1, true); in run()
301 mask0 = mask = _mask.getMat(); in run()
366 if( _mask.needed() && mask0.data != mask.data ) in run()
Dcompat_ptsetreg.cpp302 double ransacReprojThreshold, CvMat* _mask, int maxIters, in cvFindHomography() argument
322 const cv::Mat H = cv::cvarrToMat(__H), mask = cv::cvarrToMat(_mask); in cvFindHomography()
324 _mask ? cv::_OutputArray(mask) : cv::_OutputArray(), maxIters, in cvFindHomography()
340 double param1, double param2, CvMat* _mask ) in cvFindFundamentalMat() argument
349 const cv::Mat FM = cv::cvarrToMat(fmatrix), mask = cv::cvarrToMat(_mask); in cvFindFundamentalMat()
351 _mask ? cv::_OutputArray(mask) : cv::_OutputArray()); in cvFindFundamentalMat()
/external/opencv/cvaux/src/
Dcvbgfg_codebook.cpp87 CvRect roi, const CvArr* _mask ) in cvBGCodeBookUpdate() argument
94 CvMat mstub, *mask = _mask ? cvGetMat( _mask, &mstub ) : 0; in cvBGCodeBookUpdate()
295 CvRect roi, const CvArr* _mask ) in cvBGCodeBookClearStale() argument
301 CvMat mstub, *mask = _mask ? cvGetMat( _mask, &mstub ) : 0; in cvBGCodeBookClearStale()

123