Home | History | Annotate | Download | only in test

Lines Matching refs:randInt

144     cdims = cvtest::randInt(rng) % max_cdims + 1;
148 uniform = cvtest::randInt(rng) % 2;
149 hist_type = cvtest::randInt(rng) % 2 ? CV_HIST_SPARSE : CV_HIST_ARRAY;
153 dims[i] = cvtest::randInt(rng) % (max_dim_size + 2) + 2;
159 img_type = cvtest::randInt(rng) % 2 ? CV_32F : CV_8U;
174 range_delta = (cvtest::randInt(rng) % 2)*(high-low)*0.05;
263 nz_count = cvtest::randInt(rng) % MAX( totalSize/4, 100 );
270 idx[j] = cvtest::randInt(rng) % dims[j];
295 test_cpp = (cvtest::randInt(ts->get_rng()) % 2) != 0;
377 iters = (cvtest::randInt(rng) % MAX(total_size/10,100)) + 1;
399 int t = cvtest::randInt(rng) % dims[j];
404 if( cvtest::randInt(rng) % 8 || GET_BIT(lin_idx) )
610 min_idx0[i] = cvtest::randInt(rng) % dims[i];
611 max_idx0[i] = cvtest::randInt(rng) % dims[i];
1183 int nch = 1; //cvtest::randInt(rng) % 3 + 1;
1186 channels[i] = cvtest::randInt(rng) % nch;
1191 else if( i == CV_MAX_DIM && cvtest::randInt(rng) % 2 )
1394 int nch = 1; //cvtest::randInt(rng) % 3 + 1;
1397 channels[i] = cvtest::randInt(rng) % nch;
1402 else if( i == CV_MAX_DIM && cvtest::randInt(rng) % 2 )
1419 n = cvtest::randInt(rng) % (img_len/20+1);
1425 int idx = cvtest::randInt(rng) % img_len;
1614 patch_size.width = cvtest::randInt(rng) % img_size.width + 1;
1615 patch_size.height = cvtest::randInt(rng) % img_size.height + 1;
1620 method = cvtest::randInt(rng) % CV_CompareHistTest::MAX_METHOD;
1626 int nch = 1; //cvtest::randInt(rng) % 3 + 1;
1629 channels[i] = cvtest::randInt(rng) % nch;
1647 n = cvtest::randInt(rng) % (img_len/10+1);
1653 int idx = cvtest::randInt(rng) % img_len;
1785 hist_count = (cvtest::randInt(rng) % (MAX_HIST/2-1) + 2)*2;