/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.modifying.operations/alg.random.shuffle/ |
random_shuffle_urng.pass.cpp | 13 // void shuffle(RandomAccessIterator first, RandomAccessIterator last, 27 std::shuffle(ia, ia+sa, g); 29 std::shuffle(ia, ia+sa, g);
|
/libcore/benchmarks/src/benchmarks/regression/ |
PriorityQueueBenchmark.java | 47 // shuffle these elements so that we get a reasonable distribution of missed elements 48 Collections.shuffle(allElements, random); 63 // shuffle again so that elements are accessed in a different pattern than they were 65 Collections.shuffle(seekElements, random);
|
/external/smack/src/org/xbill/DNS/ |
ExtendedResolver.java | 46 Resolver [] shuffle = new Resolver[nresolvers]; local 49 shuffle[i] = resolvers[pos]; 51 resolvers = shuffle;
|
/external/apache-http/src/org/apache/http/conn/ |
MultihomePlainSocketFactory.java | 131 Collections.shuffle(addresses);
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingTest.java | 150 Collections.shuffle(hashCodes, random); 199 Collections.shuffle(hashCodes);
|
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackActivity.java | 144 mShuffleButton = ((ImageButton) findViewById(R.id.shuffle)); 545 int shuffle = MusicUtils.getCurrentShuffleMode(); local 546 if (shuffle == MediaPlaybackService.SHUFFLE_AUTO) { 974 int shuffle = mService.getShuffleMode(); local [all...] |
MusicUtils.java | 267 int shuffle = getCurrentShuffleMode(); local 269 if (shuffle == MediaPlaybackService.SHUFFLE_AUTO) { 282 int shuffle = MusicUtils.getCurrentShuffleMode(); local 283 if (shuffle == MediaPlaybackService.SHUFFLE_AUTO) { [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CollectionsTest.java | 572 * @tests java.util.Collections#shuffle(java.util.List) 575 // Test for method void java.util.Collections.shuffle(java.util.List) 581 Collections.shuffle(null); 598 Collections.shuffle(list, new Random(0)); 605 Collections.shuffle(list, new Random(0)); 616 Collections.shuffle(list); 618 Collections.shuffle(list, new Random(200)); 637 * @tests java.util.Collections#shuffle(java.util.List, java.util.Random) 640 // Test for method void java.util.Collections.shuffle(java.util.List, 647 Collections.shuffle(null, new Random(200)) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CollectionsTest.java | 698 * java.util.Collections#shuffle(java.util.List) 701 // Test for method void java.util.Collections.shuffle(java.util.List) 707 Collections.shuffle(null); 723 Collections.shuffle(list, new Random(0)); 730 Collections.shuffle(list, new Random(0)); 741 Collections.shuffle(list); 743 Collections.shuffle(list, new Random(200)); 762 * java.util.Collections#shuffle(java.util.List, java.util.Random) 765 // Test for method void java.util.Collections.shuffle(java.util.List, 772 Collections.shuffle(null, new Random(200)) [all...] |
/external/llvm/utils/lit/lit/ |
main.py | 219 group.add_option("", "--shuffle", dest="shuffle", 311 if opts.shuffle: 312 random.shuffle(tests)
|
/external/chromium/testing/gtest/src/ |
gtest-internal-inl.h | 94 const char kShuffleFlag[] = "shuffle"; 167 shuffle_ = GTEST_FLAG(shuffle); 188 GTEST_FLAG(shuffle) = shuffle_; 290 // Performs an in-place shuffle of a range of the vector's elements. 293 // shuffle to the end of the vector. 299 << "Invalid shuffle range start " << begin << ": must be in range [0, " 302 << "Invalid shuffle range finish " << end << ": must be in range [" 305 // Fisher-Yates shuffle, from 314 // Performs an in-place shuffle of the vector's elements. 316 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
gtest.cc | 144 using internal::Shuffle; 254 shuffle, 255 internal::BoolFromGTestEnv("shuffle", false), [all...] |
/external/gtest/src/ |
gtest-internal-inl.h | 94 const char kShuffleFlag[] = "shuffle"; 167 shuffle_ = GTEST_FLAG(shuffle); 188 GTEST_FLAG(shuffle) = shuffle_; 297 // Performs an in-place shuffle of a range of the vector's elements. 300 // shuffle to the end of the vector. 306 << "Invalid shuffle range start " << begin << ": must be in range [0, " 309 << "Invalid shuffle range finish " << end << ": must be in range [" 312 // Fisher-Yates shuffle, from 321 // Performs an in-place shuffle of the vector's elements. 323 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
gtest.cc | 144 using internal::Shuffle; 254 shuffle, 255 internal::BoolFromGTestEnv("shuffle", false), [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-internal-inl.h | 94 const char kShuffleFlag[] = "shuffle"; 167 shuffle_ = GTEST_FLAG(shuffle); 188 GTEST_FLAG(shuffle) = shuffle_; 297 // Performs an in-place shuffle of a range of the vector's elements. 300 // shuffle to the end of the vector. 306 << "Invalid shuffle range start " << begin << ": must be in range [0, " 309 << "Invalid shuffle range finish " << end << ": must be in range [" 312 // Fisher-Yates shuffle, from 321 // Performs an in-place shuffle of the vector's elements. 323 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
/external/libvpx/libvpx/vp8/encoder/x86/ |
fwalsh_sse2.asm | 69 ; after shuffle:
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-internal-inl.h | 94 const char kShuffleFlag[] = "shuffle"; 167 shuffle_ = GTEST_FLAG(shuffle); 188 GTEST_FLAG(shuffle) = shuffle_; 296 // Performs an in-place shuffle of a range of the vector's elements. 299 // shuffle to the end of the vector. 305 << "Invalid shuffle range start " << begin << ": must be in range [0, " 308 << "Invalid shuffle range finish " << end << ": must be in range [" 311 // Fisher-Yates shuffle, from 320 // Performs an in-place shuffle of the vector's elements. 322 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
/external/open-vcdiff/gtest/src/ |
gtest-internal-inl.h | 92 const char kShuffleFlag[] = "shuffle"; 147 shuffle_ = GTEST_FLAG(shuffle); 167 GTEST_FLAG(shuffle) = shuffle_; 417 // Performs an in-place shuffle of a range of this Vector's nodes. 420 // shuffle to the end of the Vector. 423 << "Invalid shuffle range start " << begin << ": must be in range [0, " 426 << "Invalid shuffle range finish " << end << ": must be in range [" 429 // Fisher-Yates shuffle, from 438 // Performs an in-place shuffle of this Vector's nodes. 439 void Shuffle(internal::Random* random) [all...] |
/external/protobuf/gtest/src/ |
gtest-internal-inl.h | 92 const char kShuffleFlag[] = "shuffle"; 146 shuffle_ = GTEST_FLAG(shuffle); 165 GTEST_FLAG(shuffle) = shuffle_; 413 // Performs an in-place shuffle of a range of this Vector's nodes. 416 // shuffle to the end of the Vector. 419 << "Invalid shuffle range start " << begin << ": must be in range [0, " 422 << "Invalid shuffle range finish " << end << ": must be in range [" 425 // Fisher-Yates shuffle, from 434 // Performs an in-place shuffle of this Vector's nodes. 435 void Shuffle(internal::Random* random) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoSource.java | 123 Collections.shuffle(mImageQueue);
|
/external/chromium/testing/gtest/test/ |
gtest_unittest.cc | 54 || testing::GTEST_FLAG(shuffle) 128 using testing::GTEST_FLAG(shuffle); 182 using testing::internal::Shuffle; 651 "Invalid shuffle range start -1: must be in range \\[0, 3\\]"); 654 "Invalid shuffle range start 4: must be in range \\[0, 3\\]"); 657 "Invalid shuffle range finish 2: must be in range \\[3, 3\\]"); 660 "Invalid shuffle range finish 4: must be in range \\[3, 3\\]"); 767 Shuffle(&random_, &vector_); 772 // there are no off-by-one problems in our shuffle algorithm. 813 Shuffle(&random_, &vector_) 5347 bool shuffle; member in struct:testing::Flags [all...] |
/external/gtest/test/ |
gtest_unittest.cc | 54 || testing::GTEST_FLAG(shuffle) 128 using testing::GTEST_FLAG(shuffle); 182 using testing::internal::Shuffle; 651 "Invalid shuffle range start -1: must be in range \\[0, 3\\]"); 654 "Invalid shuffle range start 4: must be in range \\[0, 3\\]"); 657 "Invalid shuffle range finish 2: must be in range \\[3, 3\\]"); 660 "Invalid shuffle range finish 4: must be in range \\[3, 3\\]"); 767 Shuffle(&random_, &vector_); 772 // there are no off-by-one problems in our shuffle algorithm. 813 Shuffle(&random_, &vector_) 5347 bool shuffle; member in struct:testing::Flags [all...] |
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest_unittest.cc | 54 || testing::GTEST_FLAG(shuffle) 128 using testing::GTEST_FLAG(shuffle); 182 using testing::internal::Shuffle; 651 "Invalid shuffle range start -1: must be in range \\[0, 3\\]"); 654 "Invalid shuffle range start 4: must be in range \\[0, 3\\]"); 657 "Invalid shuffle range finish 2: must be in range \\[3, 3\\]"); 660 "Invalid shuffle range finish 4: must be in range \\[3, 3\\]"); 767 Shuffle(&random_, &vector_); 772 // there are no off-by-one problems in our shuffle algorithm. 813 Shuffle(&random_, &vector_) 5347 bool shuffle; member in struct:testing::Flags [all...] |
/external/protobuf/gtest/test/ |
gtest_unittest.cc | 52 || testing::GTEST_FLAG(shuffle) 135 using testing::GTEST_FLAG(shuffle); 874 "Invalid shuffle range start -1: must be in range \\[0, 3\\]"); 877 "Invalid shuffle range start 4: must be in range \\[0, 3\\]"); 880 "Invalid shuffle range finish 2: must be in range \\[3, 3\\]"); 883 "Invalid shuffle range finish 4: must be in range \\[3, 3\\]"); 990 vector_.Shuffle(&random_); 995 // there are no off-by-one problems in our shuffle algorithm. 5329 bool shuffle; member in struct:testing::Flags [all...] |
/external/libvpx/libvpx/vp8/common/x86/ |
idctllm_sse2.asm | 126 ; note the transpose of xmm1 and xmm2, necessary for shuffle 458 ; note the transpose of xmm1 and xmm2, necessary for shuffle
|