Home
last modified time | relevance | path

Searched refs:randomInt (Results 1 – 16 of 16) sorted by relevance

/external/opencv3/modules/core/test/
Dtest_umat.cpp78 int roi_shift_x = randomInt(0, size.width-1); in PARAM_TEST_CASE()
79 int roi_shift_y = randomInt(0, size.height-1); in PARAM_TEST_CASE()
91 int dims = randomInt(2,6); in TEST_P()
95 _sz[i] = randomInt(1,50); in TEST_P()
98 int new_depth = randomInt(CV_8S, CV_64F); in TEST_P()
99 int new_cn = randomInt(1,4); in TEST_P()
163 int dims = randomInt(2,6); in TEST_P()
168 sz[i] = randomInt(1,45); in TEST_P()
171 int new_type = CV_MAKE_TYPE(randomInt(CV_8S,CV_64F),randomInt(1,4)); in TEST_P()
201 i = randomInt(0, ua.cols-1); in TEST_P()
[all …]
/external/opencv3/modules/core/test/ocl/
Dtest_channels.cpp82 return CV_MAKE_TYPE(depth, randomInt(1, 3)); in PARAM_TEST_CASE()
257 int cn = randomInt(1, 5); in PARAM_TEST_CASE()
311 int nsrc = randomInt(1, 5), ndst = randomInt(1, 5); in PARAM_TEST_CASE()
339 int npairs = randomInt(1, std::min(scntotal, dcntotal) + 1); in PARAM_TEST_CASE()
344 fromTo[i<<1] = randomInt(0, scntotal); in PARAM_TEST_CASE()
345 fromTo[(i<<1)+1] = randomInt(0, dcntotal); in PARAM_TEST_CASE()
387 coi = randomInt(0, cn); in PARAM_TEST_CASE()
433 coi = randomInt(0, cn); in PARAM_TEST_CASE()
Dtest_dft.cpp111 int nonzero_rows = hint ? src.rows - randomInt(1, src.rows-1) : 0; in OCL_TEST_P()
Dtest_arithm.cpp904 nx = randomInt(1, 4); in generateTestData()
905 ny = randomInt(1, 4); in generateTestData()
1664 ptr[x] = randomInt(-1, 1) == 0 ? std::numeric_limits<float>::quiet_NaN() : ptr[x]; in PARAM_TEST_CASE()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_histogram.cpp109 int cn = randomInt(1, 5); in PARAM_TEST_CASE()
115 channels.push_back(randomInt(0, cn) + totalChannels); in PARAM_TEST_CASE()
123 hist_size[i] = randomInt(10, 50); in PARAM_TEST_CASE()
159 int histSize = randomInt(3, 29); in PARAM_TEST_CASE()
Dtest_match_template.cpp80 … Size templ_roiSize = Size(randomInt(1, image_roiSize.width), randomInt(1, image_roiSize.height)); in CV_ENUM()
Dtest_filter2d.cpp95 anchor.x = randomInt(-1, kernel.size[0]); in PARAM_TEST_CASE()
96 anchor.y = randomInt(-1, kernel.size[1]); in PARAM_TEST_CASE()
Dtest_pyramids.cpp98 Size dst_roiSize = Size(randomInt((src_roiSize.width - 1) / 2, (src_roiSize.width + 3) / 2), in OCL_TEST_P()
99randomInt((src_roiSize.height - 1) / 2, (src_roiSize.height + 3) / 2)); in OCL_TEST_P()
Dtest_boxfilter.cpp88 anchor.x = randomInt(-1, ksize.width); in PARAM_TEST_CASE()
89 anchor.y = randomInt(-1, ksize.height); in PARAM_TEST_CASE()
/external/eigen/unsupported/test/
Dmatrix_function.cpp59 Index randomInt = internal::random<Index>(-1, 1); in run() local
60 if (randomInt == 0 || i == size-1) { in run()
64 Scalar alpha = Scalar(randomInt) + internal::random<Scalar>() * Scalar(0.01); in run()
/external/opencv3/modules/ts/include/opencv2/ts/
Docl_test.hpp204 int randomInt(int minVal, int maxVal) in randomInt() function
229 return cv::Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); in randomSize()
238 return cv::Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); in randomSize()
Dcuda_test.hpp60 CV_EXPORTS int randomInt(int minVal, int maxVal);
/external/opencv3/modules/ts/src/
Dcuda_test.cpp62 int randomInt(int minVal, int maxVal) in randomInt() function
76 return Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); in randomSize()
98 size0.width += randomInt(5, 15); in createMat()
99 size0.height += randomInt(5, 15); in createMat()
/external/clang/test/Analysis/
Darray-struct-region.c95 int randomInt();
103 vals[index] = randomInt(); in testSymbolicInvalidation()
114 vals[0] = randomInt(); in testConcreteInvalidation()
/external/opencv3/modules/cudaarithm/test/
Dtest_arithm.cpp228 int cols = randomInt(2, 100); in CUDA_TEST_P()
229 int rows = randomInt(2, 100); in CUDA_TEST_P()
292 int cols = randomInt(2, 100); in CUDA_TEST_P()
293 int rows = randomInt(2, 100); in CUDA_TEST_P()
/external/guava/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java197 int randomInt = random.nextInt(); in testHeapIntact() local
198 mmHeap.offer(randomInt); in testHeapIntact()
199 insertIntoReplica(replica, randomInt); in testHeapIntact()
208 int randomInt = random.nextInt(); in testHeapIntact() local
209 mmHeap.offer(randomInt); in testHeapIntact()
210 insertIntoReplica(replica, randomInt); in testHeapIntact()