HomeSort by relevance Sort by last modified time
    Searched refs:rng (Results 1 - 25 of 429) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/opencv3/samples/cpp/tutorial_code/core/Matrix/
Drawing_2.cpp 26 static Scalar randomColor( RNG& rng );
27 int Drawing_Random_Lines( Mat image, char* window_name, RNG rng );
28 int Drawing_Random_Rectangles( Mat image, char* window_name, RNG rng );
29 int Drawing_Random_Ellipses( Mat image, char* window_name, RNG rng );
30 int Drawing_Random_Polylines( Mat image, char* window_name, RNG rng );
    [all...]
  /external/opencv3/samples/cpp/
drawing.cpp 13 static Scalar randomColor(RNG& rng)
15 int icolor = (unsigned)rng;
28 RNG rng(0xFFFFFFFF);
37 pt1.x = rng.uniform(x1, x2);
38 pt1.y = rng.uniform(y1, y2);
39 pt2.x = rng.uniform(x1, x2);
40 pt2.y = rng.uniform(y1, y2);
42 line( image, pt1, pt2, randomColor(rng), rng.uniform(1,10), lineType )
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
RandomBenchmark.java 25 Random rng = new Random(); local
26 rng.nextInt();
31 Random rng = new Random(); local
33 rng.nextInt();
38 SecureRandom rng = new SecureRandom(); local
40 rng.nextInt();
46 SecureRandom rng = new SecureRandom(); local
47 rng.nextInt();
  /external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
push_back.pass.cpp 46 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049}; local
47 const int N = sizeof(rng)/sizeof(rng[0]);
50 C c = make<C>(size, rng[j]);
60 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
61 const int N = sizeof(rng)/sizeof(rng[0]);
63 test<std::deque<int> >(rng[j]);
67 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
68 const int N = sizeof(rng)/sizeof(rng[0])
    [all...]
push_back_rvalue.pass.cpp 49 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049}; local
50 const int N = sizeof(rng)/sizeof(rng[0]);
53 C c = make<C>(size, rng[j]);
66 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
67 const int N = sizeof(rng)/sizeof(rng[0]);
69 test<std::deque<MoveOnly> >(rng[j]);
73 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
74 const int N = sizeof(rng)/sizeof(rng[0])
    [all...]
emplace_back.pass.cpp 71 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
72 const int N = sizeof(rng)/sizeof(rng[0]);
75 testN<std::deque<Emplaceable> >(rng[i], rng[j]);
79 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
80 const int N = sizeof(rng)/sizeof(rng[0]);
83 testN<std::deque<Emplaceable, min_allocator<Emplaceable>> >(rng[i], rng[j])
    [all...]
emplace_front.pass.cpp 71 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
72 const int N = sizeof(rng)/sizeof(rng[0]);
75 testN<std::deque<Emplaceable> >(rng[i], rng[j]);
79 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
80 const int N = sizeof(rng)/sizeof(rng[0]);
83 testN<std::deque<Emplaceable, min_allocator<Emplaceable>> >(rng[i], rng[j])
    [all...]
pop_back.pass.cpp 69 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
70 const int N = sizeof(rng)/sizeof(rng[0]);
73 testN<std::deque<int> >(rng[i], rng[j]);
77 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
78 const int N = sizeof(rng)/sizeof(rng[0]);
81 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
pop_front.pass.cpp 69 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
70 const int N = sizeof(rng)/sizeof(rng[0]);
73 testN<std::deque<int> >(rng[i], rng[j]);
77 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
78 const int N = sizeof(rng)/sizeof(rng[0]);
81 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
push_front.pass.cpp 68 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
69 const int N = sizeof(rng)/sizeof(rng[0]);
72 testN<std::deque<int> >(rng[i], rng[j]);
76 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
77 const int N = sizeof(rng)/sizeof(rng[0]);
80 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
push_front_rvalue.pass.cpp 74 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
75 const int N = sizeof(rng)/sizeof(rng[0]);
78 testN<std::deque<MoveOnly> >(rng[i], rng[j]);
82 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
83 const int N = sizeof(rng)/sizeof(rng[0]);
86 testN<std::deque<MoveOnly, min_allocator<MoveOnly>> >(rng[i], rng[j])
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/
push_back.pass.cpp 46 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049}; local
47 const int N = sizeof(rng)/sizeof(rng[0]);
50 C c = make<C>(size, rng[j]);
60 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
61 const int N = sizeof(rng)/sizeof(rng[0]);
63 test<std::deque<int> >(rng[j]);
67 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
68 const int N = sizeof(rng)/sizeof(rng[0])
    [all...]
push_back_rvalue.pass.cpp 49 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049}; local
50 const int N = sizeof(rng)/sizeof(rng[0]);
53 C c = make<C>(size, rng[j]);
66 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
67 const int N = sizeof(rng)/sizeof(rng[0]);
69 test<std::deque<MoveOnly> >(rng[j]);
73 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2046, 2047, 2048, 2049, 4094, 4095, 4096}; local
74 const int N = sizeof(rng)/sizeof(rng[0])
    [all...]
emplace_back.pass.cpp 71 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
72 const int N = sizeof(rng)/sizeof(rng[0]);
75 testN<std::deque<Emplaceable> >(rng[i], rng[j]);
79 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
80 const int N = sizeof(rng)/sizeof(rng[0]);
83 testN<std::deque<Emplaceable, min_allocator<Emplaceable>> >(rng[i], rng[j])
    [all...]
emplace_front.pass.cpp 71 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
72 const int N = sizeof(rng)/sizeof(rng[0]);
75 testN<std::deque<Emplaceable> >(rng[i], rng[j]);
79 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
80 const int N = sizeof(rng)/sizeof(rng[0]);
83 testN<std::deque<Emplaceable, min_allocator<Emplaceable>> >(rng[i], rng[j])
    [all...]
pop_back.pass.cpp 69 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
70 const int N = sizeof(rng)/sizeof(rng[0]);
73 testN<std::deque<int> >(rng[i], rng[j]);
77 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
78 const int N = sizeof(rng)/sizeof(rng[0]);
81 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
pop_front.pass.cpp 69 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
70 const int N = sizeof(rng)/sizeof(rng[0]);
73 testN<std::deque<int> >(rng[i], rng[j]);
77 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
78 const int N = sizeof(rng)/sizeof(rng[0]);
81 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/
size.hpp 30 range_calculate_size(const SinglePassRange& rng)
32 BOOST_ASSERT( (boost::end(rng) - boost::begin(rng)) >= 0 &&
34 return boost::end(rng) - boost::begin(rng);
40 size(const SinglePassRange& rng)
47 return range_calculate_size(rng);
  /external/libcxx/test/std/containers/sequences/deque/deque.capacity/
shrink_to_fit.pass.cpp 62 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
63 const int N = sizeof(rng)/sizeof(rng[0]);
66 testN<std::deque<int> >(rng[i], rng[j]);
70 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
71 const int N = sizeof(rng)/sizeof(rng[0]);
74 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
resize_size.pass.cpp 69 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
70 const int N = sizeof(rng)/sizeof(rng[0]);
74 testN<std::deque<int> >(rng[i], rng[j], rng[k]);
78 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
79 const int N = sizeof(rng)/sizeof(rng[0]);
83 testN<std::deque<int, min_allocator<int>>>(rng[i], rng[j], rng[k])
    [all...]
resize_size_value.pass.cpp 69 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
70 const int N = sizeof(rng)/sizeof(rng[0]);
74 testN<std::deque<int> >(rng[i], rng[j], rng[k]);
78 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
79 const int N = sizeof(rng)/sizeof(rng[0]);
83 testN<std::deque<int, min_allocator<int>>>(rng[i], rng[j], rng[k])
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.capacity/
shrink_to_fit.pass.cpp 62 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
63 const int N = sizeof(rng)/sizeof(rng[0]);
66 testN<std::deque<int> >(rng[i], rng[j]);
70 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
71 const int N = sizeof(rng)/sizeof(rng[0]);
74 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j])
    [all...]
  /external/v8/test/unittests/base/utils/
random-number-generator-unittest.cc 20 RandomNumberGenerator rng(GetParam());
22 int n = rng.NextInt(max);
30 RandomNumberGenerator rng(GetParam());
32 bool b = rng.NextBool();
39 RandomNumberGenerator rng(GetParam());
41 double d = rng.NextDouble();
  /external/libcxx/test/std/containers/sequences/deque/deque.cons/
assign_size_value.pass.cpp 66 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
67 const int N = sizeof(rng)/sizeof(rng[0]);
71 testN<std::deque<int> >(rng[i], rng[j], rng[k]);
75 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
76 const int N = sizeof(rng)/sizeof(rng[0]);
80 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k])
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
assign_size_value.pass.cpp 68 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
69 const int N = sizeof(rng)/sizeof(rng[0]);
73 testN<std::deque<int> >(rng[i], rng[j], rng[k]);
77 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local
78 const int N = sizeof(rng)/sizeof(rng[0]);
82 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k])
    [all...]

Completed in 780 milliseconds

1 2 3 4 5 6 7 8 91011>>