randInt           100 modules/calib3d/test/test_cameracalibration.cpp     int depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt           103 modules/calib3d/test/test_cameracalibration.cpp     code = cvtest::randInt(rng) % 3;
randInt           121 modules/calib3d/test/test_cameracalibration.cpp     if( cvtest::randInt(rng) % 2 )
randInt           137 modules/calib3d/test/test_cornerssubpix.cpp         const int pattern_width = min_pattern_size + cvtest::randInt(rng) % (max_pattern_size - min_pattern_size);
randInt           138 modules/calib3d/test/test_cornerssubpix.cpp         const int pattern_height = min_pattern_size + cvtest::randInt(rng) % (max_pattern_size - min_pattern_size);
randInt           569 modules/calib3d/test/test_fundam.cpp     int depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt           572 modules/calib3d/test/test_fundam.cpp     code = cvtest::randInt(rng) % 3;
randInt           590 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 )
randInt           604 modules/calib3d/test/test_fundam.cpp     calc_jacobians = cvtest::randInt(rng) % 3 != 0;
randInt           613 modules/calib3d/test/test_fundam.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt           832 modules/calib3d/test/test_fundam.cpp     int pt_depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt           836 modules/calib3d/test/test_fundam.cpp     dims = cvtest::randInt(rng) % 2 + 2;
randInt           837 modules/calib3d/test/test_fundam.cpp     method = 1 << (cvtest::randInt(rng) % 4);
randInt           844 modules/calib3d/test/test_fundam.cpp         if( pt_count >= 8 && cvtest::randInt(rng) % 2 )
randInt           850 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 )
randInt           855 modules/calib3d/test/test_fundam.cpp         if( cvtest::randInt(rng) % 2 )
randInt           858 modules/calib3d/test/test_fundam.cpp             if( cvtest::randInt(rng) % 2 )
randInt           887 modules/calib3d/test/test_fundam.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt          1131 modules/calib3d/test/test_fundam.cpp     int pt_depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt          1135 modules/calib3d/test/test_fundam.cpp     dims = cvtest::randInt(rng) % 2 + 2;
randInt          1137 modules/calib3d/test/test_fundam.cpp     method = CV_LMEDS << (cvtest::randInt(rng) % 2);
randInt          1141 modules/calib3d/test/test_fundam.cpp     if( 0 && cvtest::randInt(rng) % 2 )
randInt          1146 modules/calib3d/test/test_fundam.cpp         if( cvtest::randInt(rng) % 2 )
randInt          1149 modules/calib3d/test/test_fundam.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1289 modules/calib3d/test/test_fundam.cpp         int row = (cvtest::randInt(rng) % count) * 3;
randInt          1459 modules/calib3d/test/test_fundam.cpp     int pt_depth1 = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt          1460 modules/calib3d/test/test_fundam.cpp     int pt_depth2 = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt          1467 modules/calib3d/test/test_fundam.cpp     dims1 = 2 + (cvtest::randInt(rng) % 3);
randInt          1468 modules/calib3d/test/test_fundam.cpp     dims2 = 2 + (cvtest::randInt(rng) % 3);
randInt          1475 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 )
randInt          1480 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 )
randInt          1485 modules/calib3d/test/test_fundam.cpp         if( cvtest::randInt(rng) % 2 )
randInt          1488 modules/calib3d/test/test_fundam.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1497 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 )
randInt          1502 modules/calib3d/test/test_fundam.cpp         if( cvtest::randInt(rng) % 2 )
randInt          1505 modules/calib3d/test/test_fundam.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1594 modules/calib3d/test/test_fundam.cpp     int fm_depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt          1595 modules/calib3d/test/test_fundam.cpp     int pt_depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt          1596 modules/calib3d/test/test_fundam.cpp     int ln_depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
randInt          1599 modules/calib3d/test/test_fundam.cpp     which_image = 1 + (cvtest::randInt(rng) % 2);
randInt          1605 modules/calib3d/test/test_fundam.cpp     dims = 2 + (cvtest::randInt(rng) % 2);
randInt          1609 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 && !few_points )
randInt          1614 modules/calib3d/test/test_fundam.cpp         if( cvtest::randInt(rng) % 2 || few_points )
randInt          1617 modules/calib3d/test/test_fundam.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1629 modules/calib3d/test/test_fundam.cpp     if( cvtest::randInt(rng) % 2 && !few_points )
randInt          1634 modules/calib3d/test/test_fundam.cpp         if( cvtest::randInt(rng) % 2 || few_points )
randInt          1637 modules/calib3d/test/test_fundam.cpp             if( cvtest::randInt(rng) % 2 )
randInt           117 modules/calib3d/test/test_modelest.cpp     checkPartialSubsets = (cvtest::randInt(rng) % 2 == 0);
randInt           119 modules/calib3d/test/test_modelest.cpp     int pointsCount = cvtest::randInt(rng) % maxPointsCount;
randInt           120 modules/calib3d/test/test_modelest.cpp     usedPointsCount = pointsCount == 0 ? 0 : cvtest::randInt(rng) % pointsCount;
randInt           191 modules/calib3d/test/test_modelest.cpp             startPointIndex = cvtest::randInt(rng) % usedPointsCount;
randInt           192 modules/calib3d/test/test_modelest.cpp             endPointIndex = cvtest::randInt(rng) % usedPointsCount;
randInt           193 modules/calib3d/test/test_modelest.cpp             modifiedPointIndex = checkPartialSubsets ? usedPointsCount - 1 : cvtest::randInt(rng) % usedPointsCount;
randInt           222 modules/calib3d/test/test_modelest.cpp     int modelPoints = cvtest::randInt(rng);
randInt           224 modules/calib3d/test/test_modelest.cpp     int maxBasicSolutions = cvtest::randInt(rng);
randInt            87 modules/calib3d/test/test_undistort.cpp     matrix_type = types[INPUT][0] = types[OUTPUT][0]= types[REF_OUTPUT][0] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           100 modules/calib3d/test/test_undistort.cpp     img_size.width = cvtest::randInt(rng) % MAX_X + 1;
randInt           101 modules/calib3d/test/test_undistort.cpp     img_size.height = cvtest::randInt(rng) % MAX_Y + 1;
randInt           103 modules/calib3d/test/test_undistort.cpp     center_principal_point = ((cvtest::randInt(rng) % 2)!=0);
randInt           215 modules/calib3d/test/test_undistort.cpp     useCPlus = ((cvtest::randInt(rng) % 2)!=0);
randInt           223 modules/calib3d/test/test_undistort.cpp         types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = types[TEMP][0]= cvtest::randInt(rng)%2 ? CV_64FC2 : CV_32FC2;
randInt           225 modules/calib3d/test/test_undistort.cpp     types[INPUT][1] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           226 modules/calib3d/test/test_undistort.cpp     types[INPUT][2] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           227 modules/calib3d/test/test_undistort.cpp     types[INPUT][3] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           228 modules/calib3d/test/test_undistort.cpp     types[INPUT][4] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           230 modules/calib3d/test/test_undistort.cpp     sizes[INPUT][0] = sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = sizes[TEMP][0]= cvtest::randInt(rng)%2 ? cvSize(1,N_POINTS) : cvSize(N_POINTS,1);
randInt           232 modules/calib3d/test/test_undistort.cpp     sizes[INPUT][4] = cvtest::randInt(rng)%2 ? cvSize(3,3) : cvSize(4,3);
randInt           234 modules/calib3d/test/test_undistort.cpp     if (cvtest::randInt(rng)%2)
randInt           236 modules/calib3d/test/test_undistort.cpp         if (cvtest::randInt(rng)%2)
randInt           247 modules/calib3d/test/test_undistort.cpp         if (cvtest::randInt(rng)%2)
randInt           266 modules/calib3d/test/test_undistort.cpp     useDstMat = (cvtest::randInt(rng) % 2) == 0;
randInt           268 modules/calib3d/test/test_undistort.cpp     img_size.width = cvtest::randInt(rng) % MAX_X + 1;
randInt           269 modules/calib3d/test/test_undistort.cpp     img_size.height = cvtest::randInt(rng) % MAX_Y + 1;
randInt           303 modules/calib3d/test/test_undistort.cpp     if( cvtest::randInt(rng)%4 != 0 )
randInt           321 modules/calib3d/test/test_undistort.cpp         if (cvtest::randInt(rng)%2 == 0) // use identity new camera matrix
randInt           363 modules/calib3d/test/test_undistort.cpp     zero_distortion = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           364 modules/calib3d/test/test_undistort.cpp     zero_new_cam = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           365 modules/calib3d/test/test_undistort.cpp     zero_R = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           625 modules/calib3d/test/test_undistort.cpp     useCPlus = ((cvtest::randInt(rng) % 2)!=0);
randInt           629 modules/calib3d/test/test_undistort.cpp     types[INPUT][1] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           630 modules/calib3d/test/test_undistort.cpp     types[INPUT][2] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           631 modules/calib3d/test/test_undistort.cpp     types[INPUT][3] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           632 modules/calib3d/test/test_undistort.cpp     types[INPUT][4] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           638 modules/calib3d/test/test_undistort.cpp     if (cvtest::randInt(rng)%2)
randInt           640 modules/calib3d/test/test_undistort.cpp         if (cvtest::randInt(rng)%2)
randInt           651 modules/calib3d/test/test_undistort.cpp         if (cvtest::randInt(rng)%2)
randInt           671 modules/calib3d/test/test_undistort.cpp     img_size.width = cvtest::randInt(rng) % MAX_X + 1;
randInt           672 modules/calib3d/test/test_undistort.cpp     img_size.height = cvtest::randInt(rng) % MAX_Y + 1;
randInt           676 modules/calib3d/test/test_undistort.cpp         mat_type = (cvtest::randInt(rng) % 2) == 0 ? CV_32FC1 : CV_16SC2;
randInt           677 modules/calib3d/test/test_undistort.cpp         if ((cvtest::randInt(rng) % 4) == 0)
randInt           679 modules/calib3d/test/test_undistort.cpp         if ((cvtest::randInt(rng) % 4) == 0)
randInt           686 modules/calib3d/test/test_undistort.cpp         int typex = (cvtest::randInt(rng) % 2) == 0 ? CV_32FC1 : CV_16SC2;
randInt           727 modules/calib3d/test/test_undistort.cpp     if( cvtest::randInt(rng)%4 != 0 )
randInt           772 modules/calib3d/test/test_undistort.cpp     zero_distortion = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           773 modules/calib3d/test/test_undistort.cpp     zero_new_cam = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           774 modules/calib3d/test/test_undistort.cpp     zero_R = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           542 modules/core/test/test_ds.cpp         sseq->count = cvtest::randInt( rng ) % max_struct_size;
randInt           551 modules/core/test/test_ds.cpp             int k = cvtest::randInt( rng ) % cur_count;
randInt           557 modules/core/test/test_ds.cpp                 int hdr_size = (cvtest::randInt(rng) % 10)*4 + sizeof(CvSeq);
randInt           561 modules/core/test/test_ds.cpp                 if( cvtest::randInt(rng) % 2 )
randInt           572 modules/core/test/test_ds.cpp                 cvSetSeqBlockSize( writer[struct_idx].seq, cvtest::randInt( rng ) % 10000 );
randInt           613 modules/core/test/test_ds.cpp         int idx = cvtest::randInt(rng) % (sseq->count*3) - sseq->count*3/2;
randInt           656 modules/core/test/test_ds.cpp     int pos = cvtest::randInt(rng) % 2;
randInt           672 modules/core/test/test_ds.cpp         int op = cvtest::randInt(rng) % max_val;
randInt           680 modules/core/test/test_ds.cpp             new_pos = cvtest::randInt(rng) % (total*2) - total;
randInt           746 modules/core/test/test_ds.cpp         struct_idx = cvtest::randInt(rng) % struct_count;
randInt           747 modules/core/test/test_ds.cpp         int op = cvtest::randInt(rng) % max_op;
randInt           777 modules/core/test/test_ds.cpp                     pos = cvtest::randInt(rng) % (sseq->count + 1);
randInt           808 modules/core/test/test_ds.cpp                     pos = cvtest::randInt(rng) % sseq->count;
randInt           841 modules/core/test/test_ds.cpp                 count = cvtest::randInt( rng ) % (sseq->max_count - sseq->count + 1);
randInt           846 modules/core/test/test_ds.cpp                 pos = whence < 0 ? 0 : whence > 0 ? sseq->count : (int)(cvtest::randInt(rng) % (sseq->count+1));
randInt           867 modules/core/test/test_ds.cpp                     pos = count > 0 ? (int)(cvtest::randInt(rng) % count + pos) : MAX(pos-1,0);
randInt           887 modules/core/test/test_ds.cpp                 count = cvtest::randInt(rng) % (sseq->count+1);
randInt           890 modules/core/test/test_ds.cpp                     (int)(cvtest::randInt(rng) % (sseq->count - count + 1));
randInt           931 modules/core/test/test_ds.cpp                 int copy_data = cvtest::randInt(rng) % 2;
randInt           932 modules/core/test/test_ds.cpp                 count = cvtest::randInt(rng) % (seq->total + 1);
randInt           933 modules/core/test/test_ds.cpp                 pos = cvtest::randInt(rng) % (seq->total - count + 1);
randInt           941 modules/core/test/test_ds.cpp                     int test_idx = cvtest::randInt(rng) % count;
randInt          1023 modules/core/test/test_ds.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1118 modules/core/test/test_ds.cpp                     if( sseq->count > 0 && cvtest::randInt(rng) % 2 == 0 )
randInt          1120 modules/core/test/test_ds.cpp                         slice.end_index = cvtest::randInt(rng) % sseq->count + 1;
randInt          1121 modules/core/test/test_ds.cpp                         slice.start_index = cvtest::randInt(rng) % (sseq->count - slice.end_index + 1);
randInt          1135 modules/core/test/test_ds.cpp                         int idx0 = cvtest::randInt(rng) % sseq->count, idx = 0;
randInt          1160 modules/core/test/test_ds.cpp                         if( cvtest::randInt(rng) % 2 == 0 )
randInt          1162 modules/core/test/test_ds.cpp                             slice.end_index = cvtest::randInt(rng) % sseq->count + 1;
randInt          1163 modules/core/test/test_ds.cpp                             slice.start_index = cvtest::randInt(rng) % (sseq->count - slice.end_index + 1);
randInt          1176 modules/core/test/test_ds.cpp                         int idx0 = cvtest::randInt(rng) % sseq->count, idx = 0;
randInt          1249 modules/core/test/test_ds.cpp         struct_idx = cvtest::randInt(rng) % struct_count;
randInt          1255 modules/core/test/test_ds.cpp         int op = cvtest::randInt(rng) % (iter <= iters/10 ? 2 : max_op);
randInt          1261 modules/core/test/test_ds.cpp         if( iter > iters/10 && cvtest::randInt(rng)%200 == 0 ) // clear set
randInt          1289 modules/core/test/test_ds.cpp                 pass_data = cvtest::randInt(rng) % 2;
randInt          1316 modules/core/test/test_ds.cpp             idx = cvtest::randInt(rng) % sset->max_count;
randInt          1465 modules/core/test/test_ds.cpp         struct_idx = cvtest::randInt(rng) % struct_count;
randInt          1477 modules/core/test/test_ds.cpp         int op = cvtest::randInt(rng) % max_op;
randInt          1481 modules/core/test/test_ds.cpp         if( cvtest::randInt(rng) % 200 == 0 ) // clear graph
randInt          1515 modules/core/test/test_ds.cpp             pass_data = cvtest::randInt(rng) % 2;
randInt          1536 modules/core/test/test_ds.cpp             idx = cvtest::randInt(rng) % sgraph->vtx->max_count;
randInt          1552 modules/core/test/test_ds.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1591 modules/core/test/test_ds.cpp                 int j = cvtest::randInt(rng) % sgraph->vtx->count;
randInt          1627 modules/core/test/test_ds.cpp             pass_data = cvtest::randInt(rng) % 2;
randInt          1634 modules/core/test/test_ds.cpp             if( cvtest::randInt(rng) % 2 )
randInt          1687 modules/core/test/test_ds.cpp                 int j = cvtest::randInt(rng) % sgraph->vtx->count;
randInt          1709 modules/core/test/test_ds.cpp             by_ptr = cvtest::randInt(rng) % 2;
randInt          1876 modules/core/test/test_ds.cpp     int is_oriented = cvtest::randInt(rng) % 2;
randInt          1877 modules/core/test/test_ds.cpp     int i, vtx_count = cvtest::randInt(rng) % max_struct_size;
randInt          1878 modules/core/test/test_ds.cpp     int edge_count = cvtest::randInt(rng) % MAX(vtx_count*20, 1);
randInt          1894 modules/core/test/test_ds.cpp         int j = cvtest::randInt(rng) % vtx_count;
randInt          1895 modules/core/test/test_ds.cpp         int k = cvtest::randInt(rng) % vtx_count;
randInt          2057 modules/core/test/test_ds.cpp                     CvGraphVtx* start_vtx = cvtest::randInt(rng) % 2 || graph->active_count == 0 ? 0 :
randInt          2058 modules/core/test/test_ds.cpp                     cvGetGraphVtx( graph, cvtest::randInt(rng) % graph->active_count );
randInt           538 modules/core/test/test_dxt.cpp     int bits = cvtest::randInt(rng);
randInt           539 modules/core/test/test_dxt.cpp     int depth = cvtest::randInt(rng)%2 + CV_32F;
randInt            16 modules/core/test/test_io.cpp             idx[j] = cvtest::randInt(rng) % sz[j];
randInt           110 modules/core/test/test_io.cpp             int test_int = (int)cvtest::randInt(rng);
randInt           111 modules/core/test/test_io.cpp             double test_real = (cvtest::randInt(rng)%2?1:-1)*exp(cvtest::randReal(rng)*18-9);
randInt           114 modules/core/test/test_io.cpp             int depth = cvtest::randInt(rng) % (CV_64F+1);
randInt           115 modules/core/test/test_io.cpp             int cn = cvtest::randInt(rng) % 4 + 1;
randInt           116 modules/core/test/test_io.cpp             Mat test_mat(cvtest::randInt(rng)%30+1, cvtest::randInt(rng)%30+1, CV_MAKETYPE(depth, cn));
randInt           145 modules/core/test/test_io.cpp             depth = cvtest::randInt(rng) % (CV_64F+1);
randInt           146 modules/core/test/test_io.cpp             cn = cvtest::randInt(rng) % 4 + 1;
randInt           148 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           149 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           150 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           164 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           165 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           166 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           167 modules/core/test/test_io.cpp                 static_cast<int>(cvtest::randInt(rng)%10+1),
randInt           169 modules/core/test/test_io.cpp             SparseMat test_sparse_mat = cvTsGetRandomSparseMat(4, ssz, cvtest::randInt(rng)%(CV_64F+1),
randInt           170 modules/core/test/test_io.cpp                                                                cvtest::randInt(rng) % 10000, 0, 100, rng);
randInt            56 modules/core/test/test_math.cpp     int depth = cvtest::randInt(rng)%2 + CV_32F;
randInt            57 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) % 4 + 1, type = CV_MAKETYPE(depth, cn);
randInt            67 modules/core/test/test_math.cpp     test_nd = cvtest::randInt(rng)%3 == 0;
randInt           101 modules/core/test/test_math.cpp     int depth = cvtest::randInt(rng) % (CV_64F+1);
randInt           102 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) % 4 + 1;
randInt           107 modules/core/test/test_math.cpp     if( depth < CV_32F || cvtest::randInt(rng)%8 == 0 )
randInt           109 modules/core/test/test_math.cpp         power = (int)(cvtest::randInt(rng)%21 - 10);
randInt           112 modules/core/test/test_math.cpp         i = cvtest::randInt(rng)%17;
randInt           123 modules/core/test/test_math.cpp     test_nd = cvtest::randInt(rng)%3 == 0;
randInt           139 modules/core/test/test_math.cpp     double l, u = cvtest::randInt(ts->get_rng())%1000 + 1;
randInt           396 modules/core/test/test_math.cpp     int depth = cvtest::randInt(rng) % (allow_int ? CV_64F+1 : 2);
randInt           397 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) % max_cn + 1;
randInt           521 modules/core/test/test_math.cpp     int depth = cvtest::randInt(rng) % 2 + CV_32F;
randInt           522 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) & 1 ? 3 : 1, type = CV_MAKETYPE(depth, cn);
randInt           529 modules/core/test/test_math.cpp     else if( cvtest::randInt(rng) & 1 )
randInt           634 modules/core/test/test_math.cpp     tabc_flag = cvtest::randInt(rng) & 7;
randInt           662 modules/core/test/test_math.cpp     if( cvtest::randInt(rng) & 1 )
randInt           734 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt           735 modules/core/test/test_math.cpp     int src_type = cvtest::randInt(rng) % 5;
randInt           736 modules/core/test/test_math.cpp     int dst_type = cvtest::randInt(rng) % 2;
randInt           831 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt           837 modules/core/test/test_math.cpp     dst_cn = cvtest::randInt(rng) % 4 + 1;
randInt           844 modules/core/test/test_math.cpp     scale = 1./((cvtest::randInt(rng)%4)*50+1);
randInt           929 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt          1093 modules/core/test/test_math.cpp     if( cvtest::randInt(rng) & 1 )
randInt          1171 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt          1312 modules/core/test/test_math.cpp     int zero_total = cvtest::randInt(rng) % total;
randInt          1317 modules/core/test/test_math.cpp         int i = cvtest::randInt(rng) % mat.rows;
randInt          1318 modules/core/test/test_math.cpp         int j = cvtest::randInt(rng) % mat.cols;
randInt          1519 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt          1674 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt          1817 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt          2045 modules/core/test/test_math.cpp     int bits = cvtest::randInt(rng);
randInt          2069 modules/core/test/test_math.cpp         sizes[INPUT][1].width = cvtest::randInt(rng) % 100 + 1;
randInt          2235 modules/core/test/test_math.cpp         int n = cvtest::randInt(rng) % 13 + 1;
randInt          2242 modules/core/test/test_math.cpp             if (cvtest::randInt(rng) % rr_odds == 0 || j == n - 1)
randInt           106 modules/core/test/test_rand.cpp         int depth = cvtest::randInt(rng) % (CV_64F+1);
randInt           107 modules/core/test/test_rand.cpp         int c, cn = (cvtest::randInt(rng) % 4) + 1;
randInt           109 modules/core/test/test_rand.cpp         int dist_type = cvtest::randInt(rng) % (CV_RAND_NORMAL+1);
randInt           130 modules/core/test/test_rand.cpp                 a = (int)(cvtest::randInt(rng) % (_ranges[depth][1] -
randInt           134 modules/core/test/test_rand.cpp                     b = (int)(cvtest::randInt(rng) % (_ranges[depth][1] -
randInt           153 modules/core/test/test_rand.cpp                 a = cvtest::randInt(rng) % meanrange - meanrange/2 +
randInt           155 modules/core/test/test_rand.cpp                 b = cvtest::randInt(rng) % (maxdiv - mindiv) + mindiv;
randInt           171 modules/core/test/test_rand.cpp                 dsz = slice+1 < maxSlice ? (int)(cvtest::randInt(rng) % (SZ - sz + 1)) : SZ - sz;
randInt           255 modules/core/test/test_rand.cpp             int SDIM = cvtest::randInt(rng) % (MAX_SDIM-1) + 2;
randInt            79 modules/core/test/test_rotatedrect.cpp     if( cvtest::randInt(rng) % 2 == 0 ) d = -d;
randInt           305 modules/features2d/test/test_nearestneighbors.cpp     switch ( cvtest::randInt(ts->get_rng()) % 2 )
randInt            82 modules/flann/test/test_lshtable_badarg.cpp     caller.key_size += cvtest::randInt(rng) % 100;
randInt           130 modules/imgproc/test/test_approxpoly.cpp     int total = cvtest::randInt(rng) % 1000 + 1;
randInt           136 modules/imgproc/test/test_approxpoly.cpp     center.x = cvtest::randInt( rng ) % 1000;
randInt           137 modules/imgproc/test/test_approxpoly.cpp     center.y = cvtest::randInt( rng ) % 1000;
randInt           138 modules/imgproc/test/test_approxpoly.cpp     radius = cvtest::randInt( rng ) % 1000;
randInt           139 modules/imgproc/test/test_approxpoly.cpp     angle = cvtest::randInt( rng ) % 360;
randInt           145 modules/imgproc/test/test_approxpoly.cpp         int d_radius = cvtest::randInt( rng ) % 10 - 5;
randInt            91 modules/imgproc/test/test_canny.cpp     aperture_size = cvtest::randInt(rng) % 2 ? 5 : 3;
randInt            97 modules/imgproc/test/test_canny.cpp     if( cvtest::randInt(rng) % 2 )
randInt           100 modules/imgproc/test/test_canny.cpp     use_true_gradient = cvtest::randInt(rng) % 2 != 0;
randInt           101 modules/imgproc/test/test_canny.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt           128 modules/imgproc/test/test_color.cpp         depth = cvtest::randInt(rng) % 3;
randInt           133 modules/imgproc/test/test_color.cpp         depth = cvtest::randInt(rng) % 2;
randInt           139 modules/imgproc/test/test_color.cpp     cn = (cvtest::randInt(rng) & 1) + 3;
randInt           140 modules/imgproc/test/test_color.cpp     blue_idx = cvtest::randInt(rng) & 1 ? 2 : 0;
randInt           147 modules/imgproc/test/test_color.cpp     inplace = cn == 3 && cvtest::randInt(rng) % 2 != 0;
randInt           148 modules/imgproc/test/test_color.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt          1294 modules/imgproc/test/test_color.cpp     if( cvtest::randInt(rng) % 3 == 0 )
randInt          1298 modules/imgproc/test/test_color.cpp         if( cvtest::randInt(rng) & 1 )
randInt          1566 modules/imgproc/test/test_color.cpp     fwd_code = cvtest::randInt(rng)%4 + CV_BayerBG2BGR;
randInt           167 modules/imgproc/test/test_contours.cpp         int angle = cvtest::randInt(rng) % 180;
randInt           168 modules/imgproc/test/test_contours.cpp         int brightness = cvtest::randInt(rng) %
randInt           170 modules/imgproc/test/test_contours.cpp         center.x = cvtest::randInt(rng) % size.width;
randInt           171 modules/imgproc/test/test_contours.cpp         center.y = cvtest::randInt(rng) % size.height;
randInt           173 modules/imgproc/test/test_contours.cpp         axes.width = (cvtest::randInt(rng) %
randInt           175 modules/imgproc/test/test_contours.cpp         axes.height = (cvtest::randInt(rng) %
randInt           223 modules/imgproc/test/test_contours.cpp     approx_method = cvtest::randInt( rng ) % 4 + 1;
randInt           224 modules/imgproc/test/test_contours.cpp     retr_mode = cvtest::randInt( rng ) % 4;
randInt           346 modules/imgproc/test/test_convhull.cpp     use_storage = cvtest::randInt(rng) % 2;
randInt           347 modules/imgproc/test/test_convhull.cpp     point_type = CV_MAKETYPE(cvtest::randInt(rng) %
randInt           352 modules/imgproc/test/test_convhull.cpp         storage = cvCreateMemStorage( (cvtest::randInt(rng)%10 + 1)*1024 );
randInt           360 modules/imgproc/test/test_convhull.cpp         if( cvtest::randInt(rng) % 2 )
randInt           382 modules/imgproc/test/test_convhull.cpp     test_cpp = (cvtest::randInt(rng) & 16) == 0;
randInt           473 modules/imgproc/test/test_convhull.cpp     orientation = cvtest::randInt(rng) % 2 ? CV_CLOCKWISE : CV_COUNTER_CLOCKWISE;
randInt           474 modules/imgproc/test/test_convhull.cpp     return_points = cvtest::randInt(rng) % 2;
randInt           476 modules/imgproc/test/test_convhull.cpp     use_storage_for_hull = (cvtest::randInt(rng) % 2) && !test_cpp;
randInt           480 modules/imgproc/test/test_convhull.cpp             storage = cvCreateMemStorage( (cvtest::randInt(rng)%10 + 1)*1024 );
randInt           489 modules/imgproc/test/test_convhull.cpp         if( cvtest::randInt(rng) % 2 )
randInt          1054 modules/imgproc/test/test_convhull.cpp     is_closed = cvtest::randInt(rng) % 2;
randInt          1066 modules/imgproc/test/test_convhull.cpp     if( (cvtest::randInt(rng) % 3) && !test_cpp )
randInt          1068 modules/imgproc/test/test_convhull.cpp         slice.start_index = cvtest::randInt(rng) % total;
randInt          1069 modules/imgproc/test/test_convhull.cpp         slice.end_index = cvtest::randInt(rng) % total;
randInt          1380 modules/imgproc/test/test_convhull.cpp     const int angle = ( (cvtest::randInt(rng) % 5) - 2 ) * 90;
randInt          1460 modules/imgproc/test/test_convhull.cpp         if( cvtest::randInt(rng) % 2 )
randInt          1525 modules/imgproc/test/test_convhull.cpp     dims = cvtest::randInt(rng) % 2 + 2;
randInt          1529 modules/imgproc/test/test_convhull.cpp     dist_type = cvtest::randInt(rng) % 6 + 1;
randInt            90 modules/imgproc/test/test_distancetransform.cpp     if( cvtest::randInt(rng) & 1 )
randInt            99 modules/imgproc/test/test_distancetransform.cpp     dist_type = cvtest::randInt(rng) % 3;
randInt           136 modules/imgproc/test/test_distancetransform.cpp         int i = cvtest::randInt(rng) % mat.rows;
randInt           137 modules/imgproc/test/test_distancetransform.cpp         int j = cvtest::randInt(rng) % mat.cols;
randInt           132 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % CV_32F;
randInt           133 modules/imgproc/test/test_filter.cpp     int cn = cvtest::randInt(rng) % 3 + 1;
randInt           140 modules/imgproc/test/test_filter.cpp     aperture_size.width = cvtest::randInt(rng) % max_aperture_size + 1;
randInt           141 modules/imgproc/test/test_filter.cpp     aperture_size.height = cvtest::randInt(rng) % max_aperture_size + 1;
randInt           142 modules/imgproc/test/test_filter.cpp     anchor.x = cvtest::randInt(rng) % aperture_size.width;
randInt           143 modules/imgproc/test/test_filter.cpp     anchor.y = cvtest::randInt(rng) % aperture_size.height;
randInt           148 modules/imgproc/test/test_filter.cpp     inplace = cvtest::randInt(rng) % 2 != 0;
randInt           198 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % 4;
randInt           203 modules/imgproc/test/test_filter.cpp     shape = cvtest::randInt(rng) % 4;
randInt           208 modules/imgproc/test/test_filter.cpp     optype = cvtest::randInt(rng) % (optype_max - optype_min + 1) + optype_min;
randInt           407 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng)%3;
randInt           461 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % 2;
randInt           465 modules/imgproc/test/test_filter.cpp     _aperture_size = (cvtest::randInt(rng)%5)*2 - 1;
randInt           503 modules/imgproc/test/test_filter.cpp     origin = cvtest::randInt(rng) % 2;
randInt           504 modules/imgproc/test/test_filter.cpp     dx = cvtest::randInt(rng) % (max_d + 1);
randInt           505 modules/imgproc/test/test_filter.cpp     dy = cvtest::randInt(rng) % (max_d + 1 - dx);
randInt           508 modules/imgproc/test/test_filter.cpp     if( cvtest::randInt(rng) % 2 )
randInt           641 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % 2;
randInt           645 modules/imgproc/test/test_filter.cpp     anchor.x = cvtest::randInt(rng)%(max_aperture_size/2+1);
randInt           646 modules/imgproc/test/test_filter.cpp     anchor.y = cvtest::randInt(rng)%(max_aperture_size/2+1);
randInt           686 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % 4;
randInt           687 modules/imgproc/test/test_filter.cpp     int cn = (cvtest::randInt(rng) % 4) + 1;
randInt           690 modules/imgproc/test/test_filter.cpp     normalize = cvtest::randInt(rng) % 2 != 0;
randInt           758 modules/imgproc/test/test_filter.cpp     int kernel_case = cvtest::randInt(rng) % 2;
randInt          1064 modules/imgproc/test/test_filter.cpp     int depth = depthes[cvtest::randInt(rng) % (sizeof(depthes)/sizeof(depthes[0]))];
randInt          1065 modules/imgproc/test/test_filter.cpp     int cn = channels[cvtest::randInt(rng) % (sizeof(channels)/sizeof(channels[0]))];
randInt          1269 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % 2, asz;
randInt          1275 modules/imgproc/test/test_filter.cpp     aperture_size = (cvtest::randInt(rng) % (max_aperture_size+2) - 1) | 1;
randInt          1280 modules/imgproc/test/test_filter.cpp     block_size = (cvtest::randInt(rng) % max_block_size + 1) | 1;
randInt          1607 modules/imgproc/test/test_filter.cpp     int depth = cvtest::randInt(rng) % 2, sum_depth;
randInt          1608 modules/imgproc/test/test_filter.cpp     int cn = cvtest::randInt(rng) % 3 + 1;
randInt          1614 modules/imgproc/test/test_filter.cpp     int b = (cvtest::randInt(rng) & 1) != 0;
randInt          1629 modules/imgproc/test/test_filter.cpp     if( cvtest::randInt(rng) % 3 > 0 )
randInt          1632 modules/imgproc/test/test_filter.cpp         if( cvtest::randInt(rng) % 2 > 0 )
randInt           100 modules/imgproc/test/test_floodfill.cpp     depth = cvtest::randInt(rng) % 3;
randInt           102 modules/imgproc/test/test_floodfill.cpp     cn = cvtest::randInt(rng) & 1 ? 3 : 1;
randInt           104 modules/imgproc/test/test_floodfill.cpp     use_mask = (cvtest::randInt(rng) & 1) != 0;
randInt           105 modules/imgproc/test/test_floodfill.cpp     connectivity = (cvtest::randInt(rng) & 1) ? 4 : 8;
randInt           106 modules/imgproc/test/test_floodfill.cpp     mask_only = use_mask && (cvtest::randInt(rng) & 1) != 0;
randInt           107 modules/imgproc/test/test_floodfill.cpp     new_mask_val = cvtest::randInt(rng) & 255;
randInt           108 modules/imgproc/test/test_floodfill.cpp     range_type = cvtest::randInt(rng) % 3;
randInt           123 modules/imgproc/test/test_floodfill.cpp     seed_pt.x = cvtest::randInt(rng) % sizes[INPUT_OUTPUT][0].width;
randInt           124 modules/imgproc/test/test_floodfill.cpp     seed_pt.y = cvtest::randInt(rng) % sizes[INPUT_OUTPUT][0].height;
randInt           143 modules/imgproc/test/test_floodfill.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt           144 modules/imgproc/test/test_histograms.cpp     cdims = cvtest::randInt(rng) % max_cdims + 1;
randInt           148 modules/imgproc/test/test_histograms.cpp     uniform = cvtest::randInt(rng) % 2;
randInt           149 modules/imgproc/test/test_histograms.cpp     hist_type = cvtest::randInt(rng) % 2 ? CV_HIST_SPARSE : CV_HIST_ARRAY;
randInt           153 modules/imgproc/test/test_histograms.cpp         dims[i] = cvtest::randInt(rng) % (max_dim_size + 2) + 2;
randInt           159 modules/imgproc/test/test_histograms.cpp     img_type = cvtest::randInt(rng) % 2 ? CV_32F : CV_8U;
randInt           174 modules/imgproc/test/test_histograms.cpp     range_delta = (cvtest::randInt(rng) % 2)*(high-low)*0.05;
randInt           263 modules/imgproc/test/test_histograms.cpp             nz_count = cvtest::randInt(rng) % MAX( totalSize/4, 100 );
randInt           270 modules/imgproc/test/test_histograms.cpp                     idx[j] = cvtest::randInt(rng) % dims[j];
randInt           295 modules/imgproc/test/test_histograms.cpp     test_cpp = (cvtest::randInt(ts->get_rng()) % 2) != 0;
randInt           377 modules/imgproc/test/test_histograms.cpp         iters = (cvtest::randInt(rng) % MAX(total_size/10,100)) + 1;
randInt           399 modules/imgproc/test/test_histograms.cpp                 int t = cvtest::randInt(rng) % dims[j];
randInt           404 modules/imgproc/test/test_histograms.cpp             if( cvtest::randInt(rng) % 8 || GET_BIT(lin_idx) )
randInt           610 modules/imgproc/test/test_histograms.cpp             min_idx0[i] = cvtest::randInt(rng) % dims[i];
randInt           611 modules/imgproc/test/test_histograms.cpp             max_idx0[i] = cvtest::randInt(rng) % dims[i];
randInt          1186 modules/imgproc/test/test_histograms.cpp                 channels[i] = cvtest::randInt(rng) % nch;
randInt          1191 modules/imgproc/test/test_histograms.cpp             else if( i == CV_MAX_DIM && cvtest::randInt(rng) % 2 )
randInt          1397 modules/imgproc/test/test_histograms.cpp                 channels[i] = cvtest::randInt(rng) % nch;
randInt          1402 modules/imgproc/test/test_histograms.cpp             else if( i == CV_MAX_DIM && cvtest::randInt(rng) % 2 )
randInt          1419 modules/imgproc/test/test_histograms.cpp         n = cvtest::randInt(rng) % (img_len/20+1);
randInt          1425 modules/imgproc/test/test_histograms.cpp                 int idx = cvtest::randInt(rng) % img_len;
randInt          1614 modules/imgproc/test/test_histograms.cpp         patch_size.width = cvtest::randInt(rng) % img_size.width + 1;
randInt          1615 modules/imgproc/test/test_histograms.cpp         patch_size.height = cvtest::randInt(rng) % img_size.height + 1;
randInt          1620 modules/imgproc/test/test_histograms.cpp         method = cvtest::randInt(rng) % CV_CompareHistTest::MAX_METHOD;
randInt          1629 modules/imgproc/test/test_histograms.cpp                 channels[i] = cvtest::randInt(rng) % nch;
randInt          1647 modules/imgproc/test/test_histograms.cpp         n = cvtest::randInt(rng) % (img_len/10+1);
randInt          1653 modules/imgproc/test/test_histograms.cpp                 int idx = cvtest::randInt(rng) % img_len;
randInt          1785 modules/imgproc/test/test_histograms.cpp     hist_count = (cvtest::randInt(rng) % (MAX_HIST/2-1) + 2)*2;
randInt           102 modules/imgproc/test/test_imgwarp.cpp     int depth = cvtest::randInt(rng) % 3;
randInt           103 modules/imgproc/test/test_imgwarp.cpp     int cn = cvtest::randInt(rng) % 3 + 1;
randInt           110 modules/imgproc/test/test_imgwarp.cpp         types[INPUT][1] = cvtest::randInt(rng) & 1 ? CV_32FC1 : CV_64FC1;
randInt           112 modules/imgproc/test/test_imgwarp.cpp     interpolation = cvtest::randInt(rng) % max_interpolation;
randInt           228 modules/imgproc/test/test_imgwarp.cpp     sz.width = (cvtest::randInt(rng) % sizes[INPUT][0].width) + 1;
randInt           229 modules/imgproc/test/test_imgwarp.cpp     sz.height = (cvtest::randInt(rng) % sizes[INPUT][0].height) + 1;
randInt           231 modules/imgproc/test/test_imgwarp.cpp     if( cvtest::randInt(rng) & 1 )
randInt           233 modules/imgproc/test/test_imgwarp.cpp         int xfactor = cvtest::randInt(rng) % 10 + 1;
randInt           234 modules/imgproc/test/test_imgwarp.cpp         int yfactor = cvtest::randInt(rng) % 10 + 1;
randInt           236 modules/imgproc/test/test_imgwarp.cpp         if( cvtest::randInt(rng) & 1 )
randInt           247 modules/imgproc/test/test_imgwarp.cpp     if( cvtest::randInt(rng) & 1 )
randInt           839 modules/imgproc/test/test_imgwarp.cpp     types[INPUT][1] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           840 modules/imgproc/test/test_imgwarp.cpp     types[INPUT][2] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt           842 modules/imgproc/test/test_imgwarp.cpp     sizes[INPUT][2] = cvtest::randInt(rng)%2 ? cvSize(4,1) : cvSize(1,4);
randInt           913 modules/imgproc/test/test_imgwarp.cpp     if( cvtest::randInt(rng)%4 != 0 )
randInt           928 modules/imgproc/test/test_imgwarp.cpp     zero_distortion = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           931 modules/imgproc/test/test_imgwarp.cpp     zero_new_cam = (cvtest::randInt(rng)%2) == 0 ? false : true;
randInt           935 modules/imgproc/test/test_imgwarp.cpp     useCPlus = ((cvtest::randInt(rng) % 2)!=0);
randInt          1002 modules/imgproc/test/test_imgwarp.cpp     int depth = cvtest::randInt(rng)%2 ? CV_64F : CV_32F;
randInt          1006 modules/imgproc/test/test_imgwarp.cpp     dualChannel = cvtest::randInt(rng)%2 == 0;
randInt          1010 modules/imgproc/test/test_imgwarp.cpp     sizes[INPUT][1] = cvtest::randInt(rng)%2 ? cvSize(4,1) : cvSize(1,4);
randInt          1167 modules/imgproc/test/test_imgwarp.cpp     int src_depth = cvtest::randInt(rng) % 2, dst_depth;
randInt          1168 modules/imgproc/test/test_imgwarp.cpp     int cn = cvtest::randInt(rng) % 2 ? 3 : 1;
randInt          1172 modules/imgproc/test/test_imgwarp.cpp     if( src_depth < CV_32F && cvtest::randInt(rng) % 2 )
randInt          1189 modules/imgproc/test/test_imgwarp.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt          1275 modules/imgproc/test/test_imgwarp.cpp     int msz, src_depth = cvtest::randInt(rng) % 2, dst_depth;
randInt          1276 modules/imgproc/test/test_imgwarp.cpp     int cn = cvtest::randInt(rng) % 2 ? 3 : 1;
randInt          1279 modules/imgproc/test/test_imgwarp.cpp     if( src_depth < CV_32F && cvtest::randInt(rng) % 2 )
randInt           165 modules/imgproc/test/test_imgwarp_strict.cpp     if (cvtest::randInt(rng) % 2)
randInt           113 modules/imgproc/test/test_moments.cpp     int cn = (cvtest::randInt(rng) % 4) + 1;
randInt           114 modules/imgproc/test/test_moments.cpp     int depth = cvtest::randInt(rng) % 4;
randInt           117 modules/imgproc/test/test_moments.cpp     is_binary = cvtest::randInt(rng) % 2 != 0;
randInt           119 modules/imgproc/test/test_moments.cpp         try_umat = cvtest::randInt(rng) % 5 != 0;
randInt           121 modules/imgproc/test/test_moments.cpp         try_umat = cvtest::randInt(rng) % 2 != 0;
randInt           144 modules/imgproc/test/test_moments.cpp         coi = cvtest::randInt(rng) % cn;
randInt           108 modules/imgproc/test/test_templmatch.cpp     int depth = cvtest::randInt(rng) % 2, cn = cvtest::randInt(rng) & 1 ? 3 : 1;
randInt           115 modules/imgproc/test/test_templmatch.cpp     sizes[INPUT][1].width = cvtest::randInt(rng)%MIN(sizes[INPUT][1].width,max_template_size) + 1;
randInt           116 modules/imgproc/test/test_templmatch.cpp     sizes[INPUT][1].height = cvtest::randInt(rng)%MIN(sizes[INPUT][1].height,max_template_size) + 1;
randInt           121 modules/imgproc/test/test_templmatch.cpp     method = cvtest::randInt(rng)%6;
randInt           122 modules/imgproc/test/test_templmatch.cpp     test_cpp = (cvtest::randInt(rng) & 256) == 0;
randInt            78 modules/imgproc/test/test_thresh.cpp     int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) % 4 + 1;
randInt            83 modules/imgproc/test/test_thresh.cpp     thresh_type = cvtest::randInt(rng) % 5;
randInt            89 modules/imgproc/test/test_thresh.cpp         if( cvtest::randInt(rng)%4 == 0 )
randInt            98 modules/imgproc/test/test_thresh.cpp         if( cvtest::randInt(rng)%4 == 0 )
randInt           159 modules/ts/src/ts_arrtest.cpp             unsigned t = randInt(rng);
randInt           169 modules/ts/src/ts_arrtest.cpp                 whole_size.width += randInt(rng) % 10;
randInt           170 modules/ts/src/ts_arrtest.cpp                 whole_size.height += randInt(rng) % 10;
randInt           182 modules/ts/src/ts_arrtest.cpp                         roi.x = randInt(rng) % (whole_size.width - size.width);
randInt           185 modules/ts/src/ts_arrtest.cpp                         roi.y = randInt(rng) % (whole_size.height - size.height);
randInt           516 modules/ts/src/ts_func.cpp             int val = cvFloor( randInt(rng)*scale[k] + delta[k] );
randInt            75 modules/video/test/test_accum.cpp     int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) & 1 ? 3 : 1;
randInt            76 modules/video/test/test_accum.cpp     int accdepth = std::max((int)(cvtest::randInt(rng) % 2 + 1), depth);
randInt           174 modules/video/test/test_camshift.cpp     img_type = cvtest::randInt(rng) % 2 ? CV_32F : CV_8U;