/external/stlport/test/eh/ |
D | test_bit_vector.cpp | 79 size_t BitVectorSize = random_number( random_base ); in test_bit_vector() 81 if ( random_number(2) ) in test_bit_vector() 88 testVector.push_back(random_number(2) != 0); in test_bit_vector() 89 testVector2.push_back(random_number(2) != 0); in test_bit_vector() 97 StrongCheck(testVector, test_insert_n<BitVector>(testVector, random_number(random_base) ) ); in test_bit_vector() 98 StrongCheck(testVector, test_insert_n<BitVector>(testVector, random_number(random_base),0 ) ); in test_bit_vector() 99 …StrongCheck(testVector, test_insert_n<BitVector>(testVector, random_number(random_base), (int)test… in test_bit_vector() 102 size_t insCnt = 1 + random_number(random_base); in test_bit_vector() 105 insFirst[n] = random_number(2); in test_bit_vector() 117 StrongCheck(testVector, test_BitVector_reserve( testVector.capacity() + random_number(50))); in test_bit_vector() [all …]
|
D | test_vector.cpp | 46 if ( random_number(2) ) in prepare_insert_n() 66 if ( random_number(2) ) in prepare_insert_range() 77 ConstCheck( 0, test_construct_n<TestVector>( random_number(random_base) ) ); in test_vector() 81 size_t vectorSize = random_number(random_base); in test_vector() 91 size_t insCnt = random_number(random_base); in test_vector() 105 WeakCheck( testVector, test_insert_n<TestVector>(testVector, random_number(random_base) ) ); in test_vector() 106 WeakCheck( testVector, test_insert_n<TestVector>(testVector, random_number(random_base), 0 ) ); in test_vector() 107 …WeakCheck( testVector, test_insert_n<TestVector>(testVector, random_number(random_base), (int)test… in test_vector() 112 StrongCheck( testVector, test_reserve( testVector.capacity() + random_number(random_base) ) ); in test_vector() 117 ConstCheck( 0, test_construct_n_instance<TestVector>( random_number(random_base) ) ); in test_vector()
|
D | test_valarray.cpp | 41 size_t ropeSize = random_number(random_base); in test_rope() 45 TestValarray::value_type x = random_number(random_base) ; // initialize before use in test_rope() 53 … WeakCheck( testValarray, test_insert_n<TestValarray>(testValarray, random_number(random_base) ) ); in test_rope() 54 …WeakCheck( testValarray, test_insert_n<TestValarray>(testValarray, random_number(random_base), 0 )… in test_rope() 55 …WeakCheck( testValarray, test_insert_n<TestValarray>(testValarray, random_number(random_base), tes… in test_rope() 57 size_t insCnt = random_number(random_base); in test_rope() 73 ConstCheck( 0, test_construct_n<TestValarray>( random_number(random_base) ) ); in test_rope() 74 ConstCheck( 0, test_construct_n_instance<TestValarray>( random_number(random_base) ) ); in test_rope()
|
D | test_string.cpp | 40 size_t ropeSize = random_number(random_base); in test_string() 43 …TestString::value_type x = TestString::value_type(random_number(random_base)) ; // initialize bef… in test_string() 51 WeakCheck( testString, test_insert_n<TestString>(testString, random_number(random_base) ) ); in test_string() 52 WeakCheck( testString, test_insert_n<TestString>(testString, random_number(random_base), 0 ) ); in test_string() 53 …WeakCheck( testString, test_insert_n<TestString>(testString, random_number(random_base), (int)test… in test_string() 55 size_t insCnt = random_number(random_base); in test_string() 72 ConstCheck( 0, test_construct_n_instance<TestString>( random_number(random_base) ) ); in test_string()
|
D | test_rope.cpp | 52 size_t ropeSize = random_number(random_base); in test_rope() 56 …TestRope::value_type x = TestRope::value_type(random_number(random_base)); // initialize before u… in test_rope() 64 WeakCheck( testRope, test_insert_n<TestRope>(testRope, random_number(random_base) ) ); in test_rope() 65 WeakCheck( testRope, test_insert_n<TestRope>(testRope, random_number(random_base), 0 ) ); in test_rope() 66 …WeakCheck( testRope, test_insert_n<TestRope>(testRope, random_number(random_base), (int)testRope.s… in test_rope() 68 size_t insCnt = random_number(random_base); in test_rope() 91 ConstCheck( 0, test_construct_n_instance<TestRope>( random_number(random_base) ) ); in test_rope()
|
D | test_slist.cpp | 57 size_t slistSize = random_number(random_base); in test_slist() 69 WeakCheck( testSList, test_insert_n<TestSList>(testSList, random_number(random_base) ) ); in test_slist() 70 WeakCheck( testSList, test_insert_n<TestSList>(testSList, random_number(random_base), 0 ) ); in test_slist() 71 …WeakCheck( testSList, test_insert_n<TestSList>(testSList, random_number(random_base), (int)testSLi… in test_slist() 73 size_t insCnt = random_number(random_base); in test_slist() 84 ConstCheck( 0, test_construct_n<TestSList>( random_number(random_base) ) ); in test_slist() 85 ConstCheck( 0, test_construct_n_instance<TestSList>( random_number(random_base) ) ); in test_slist()
|
D | test_deque.cpp | 49 size_t dequeSize = random_number(random_base); in test_deque() 64 WeakCheck( testDeque, test_insert_n<TestDeque>(testDeque, random_number(random_base) ) ); in test_deque() 65 StrongCheck( testDeque, test_insert_n<TestDeque>(testDeque, random_number(random_base), 0 ) ); in test_deque() 66 …StrongCheck( testDeque, test_insert_n<TestDeque>(testDeque, random_number(random_base), (int)testD… in test_deque() 68 size_t insCnt = random_number(random_base); in test_deque() 87 ConstCheck( 0, test_construct_n<TestDeque>( random_number(random_base) ) ); in test_deque() 88 ConstCheck( 0, test_construct_n_instance<TestDeque>( random_number(random_base) ) ); in test_deque()
|
D | test_list.cpp | 67 size_t listSize = random_number(random_base); in test_list() 80 WeakCheck( testList, test_insert_n<TestList>(testList, random_number(random_base) ) ); in test_list() 81 WeakCheck( testList, test_insert_n<TestList>(testList, random_number(random_base), 0 ) ); in test_list() 82 …WeakCheck( testList, test_insert_n<TestList>(testList, random_number(random_base), (int)testList.s… in test_list() 84 size_t insCnt = random_number(random_base); in test_list() 102 ConstCheck( 0, test_construct_n<TestList>( random_number(random_base) ) ); in test_list() 103 ConstCheck( 0, test_construct_n_instance<TestList>( random_number(random_base) ) ); in test_list()
|
D | test_set.cpp | 44 const size_t setSize = random_number(random_base); in test_multiset() 54 size_t insCnt = random_number(random_base); in test_multiset() 78 const size_t setSize = random_number(random_base); in test_set() 87 size_t insCnt = random_number(random_base); in test_set()
|
D | test_hash_map.cpp | 50 const size_t hash_mapSize = random_number(random_base); in test_hash_multimap() 66 size_t insCnt = random_number(random_base); in test_hash_multimap() 98 const size_t hash_mapSize = random_number(random_base); in test_hash_map() 113 size_t insCnt = random_number(random_base); in test_hash_map()
|
D | test_hash_set.cpp | 46 const size_t hash_setSize = random_number(random_base); in test_hash_multiset() 62 size_t insCnt = random_number(random_base); in test_hash_multiset() 93 const size_t hash_setSize = random_number(random_base); in test_hash_set() 109 size_t insCnt = random_number(random_base); in test_hash_set()
|
D | test_map.cpp | 54 const size_t mapSize = random_number(random_base); in test_multimap() 65 size_t insCnt = 1 + random_number(random_base); in test_multimap() 102 const size_t mapSize = random_number(random_base); in test_map() 113 size_t insCnt = random_number(random_base); in test_map()
|
D | export | 13 random_number.cpp 14 random_number.h
|
D | random_number.h | 22 unsigned random_number( size_t range );
|
D | random_number.cpp | 26 unsigned random_number( size_t range ) in random_number() function
|
D | test_hash_resize.h | 32 t.resize( 1+random_number(random_base) + t.bucket_count() ); in operator()
|
D | test_insert.h | 322 inline void MakeRandomValue(bool& b) { b = bool(random_number(2) != 0); } in MakeRandomValue() 331 : original( orig ), fPos( random_number( orig.size() )) in original() 368 : original( orig ), fPos( random_number( orig.size() )), fInsCnt(insCnt) in original() 503 fPos( random_number( orig.size() )) in fFirst()
|
D | descrip.mms | 14 AUX_LIST=TestClass.obj,main.obj,nc_alloc.obj,random_number.obj
|
D | cray.mak | 9 AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o
|
D | TestClass.h | 156 return random_number( range ); in get_random()
|
D | bcb.mak | 21 random_number.obj \
|
D | sgi_mipspro.mak | 15 AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o
|
D | intel.mak | 27 random_number.obj test_algo.obj test_algobase.obj test_bit_vector.obj test_deque.obj \
|
D | como-linux.mak | 14 AUX_LIST=TestClass.cpp main.cpp nc_alloc.cpp random_number.cpp
|
/external/libyuv/files/unit_test/ |
D | rotate_test.cc | 989 uint8 random_number = random() & 0x7f; in TEST_F() local 990 orig_uv[i * ((2 * uvw) + (2 * b)) + j] = random_number; in TEST_F() 991 orig_uv[i * ((2 * uvw) + (2 * b)) + j + 1] = -random_number; in TEST_F() 1091 uint8 random_number = random() & 0x7f; in TEST_F() local 1092 orig_uv[i * ((2 * uvw) + (2 * b)) + j] = random_number; in TEST_F() 1093 orig_uv[i * ((2 * uvw) + (2 * b)) + j + 1] = -random_number; in TEST_F() 1193 uint8 random_number = random() & 0x7f; in TEST_F() local 1194 orig_uv[i * ((2 * uvw) + (2 * b)) + j] = random_number; in TEST_F() 1195 orig_uv[i * ((2 * uvw) + (2 * b)) + j + 1] = -random_number; in TEST_F() 1295 uint8 random_number = random() & 0x7f; in TEST_F() local [all …]
|