/external/libcxx/test/std/containers/associative/multiset/ |
D | find.pass.cpp | 42 R r = m.find(5); in main() 44 r = m.find(6); in main() 46 r = m.find(7); in main() 48 r = m.find(8); in main() 50 r = m.find(9); in main() 52 r = m.find(10); in main() 54 r = m.find(11); in main() 56 r = m.find(12); in main() 58 r = m.find(4); in main() 75 R r = m.find(5); in main() [all …]
|
/external/libcxx/test/std/containers/associative/set/ |
D | find.pass.cpp | 42 R r = m.find(5); in main() 44 r = m.find(6); in main() 46 r = m.find(7); in main() 48 r = m.find(8); in main() 50 r = m.find(9); in main() 52 r = m.find(10); in main() 54 r = m.find(11); in main() 56 r = m.find(12); in main() 58 r = m.find(4); in main() 75 R r = m.find(5); in main() [all …]
|
/external/libcxx/test/std/containers/associative/map/map.ops/ |
D | find.pass.cpp | 43 R r = m.find(5); in main() 45 r = m.find(6); in main() 47 r = m.find(7); in main() 49 r = m.find(8); in main() 51 r = m.find(9); in main() 53 r = m.find(10); in main() 55 r = m.find(11); in main() 57 r = m.find(12); in main() 59 r = m.find(4); in main() 76 R r = m.find(5); in main() [all …]
|
/external/libcxx/test/std/containers/associative/multimap/multimap.ops/ |
D | find.pass.cpp | 44 R r = m.find(5); in main() 46 r = m.find(6); in main() 48 r = m.find(7); in main() 50 r = m.find(8); in main() 52 r = m.find(9); in main() 54 r = m.find(10); in main() 72 R r = m.find(5); in main() 74 r = m.find(6); in main() 76 r = m.find(7); in main() 78 r = m.find(8); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
D | swap_member.pass.cpp | 83 assert(c1.find(10)->second == "ten"); in main() 84 assert(c1.find(20)->second == "twenty"); in main() 85 assert(c1.find(30)->second == "thirty"); in main() 86 assert(c1.find(40)->second == "forty"); in main() 87 assert(c1.find(50)->second == "fifty"); in main() 88 assert(c1.find(60)->second == "sixty"); in main() 89 assert(c1.find(70)->second == "seventy"); in main() 90 assert(c1.find(80)->second == "eighty"); in main() 138 assert(c2.find(1)->second == "one"); in main() 139 assert(next(c2.find(1))->second == "four"); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/ |
D | swap_non_member.pass.cpp | 82 assert(c1.find(10)->second == "ten"); in main() 83 assert(c1.find(20)->second == "twenty"); in main() 84 assert(c1.find(30)->second == "thirty"); in main() 85 assert(c1.find(40)->second == "forty"); in main() 86 assert(c1.find(50)->second == "fifty"); in main() 87 assert(c1.find(60)->second == "sixty"); in main() 88 assert(c1.find(70)->second == "seventy"); in main() 89 assert(c1.find(80)->second == "eighty"); in main() 137 assert(c2.find(1)->second == "one"); in main() 138 assert(next(c2.find(1))->second == "four"); in main() [all …]
|
/external/v8/test/mjsunit/es6/ |
D | array-find.js | 28 assertEquals(1, Array.prototype.find.length); 31 assertEquals(undefined, a.find(function() { return false; })); 32 assertEquals(21, a.find(function() { return true; })); 33 assertEquals(undefined, a.find(function(val) { return 121 === val; })); 34 assertEquals(24, a.find(function(val) { return 24 === val; })); 35 assertEquals(23, a.find(function(val) { return 23 === val; }), null); 36 assertEquals(22, a.find(function(val) { return 22 === val; }), undefined); 49 a.find(function(val, key, obj) { 75 var found = a.find(function(val, key, obj) { 98 var found = a.find(function() { [all …]
|
D | typedarray-find.js | 18 assertEquals(1, constructor.prototype.find.length); 21 assertEquals(undefined, a.find(function() { return false; })); 22 assertEquals(21, a.find(function() { return true; })); 23 assertEquals(undefined, a.find(function(val) { return 121 === val; })); 24 assertEquals(24, a.find(function(val) { return 24 === val; })); 25 assertEquals(23, a.find(function(val) { return 23 === val; }), null); 26 assertEquals(22, a.find(function(val) { return 22 === val; }), undefined); 39 a.find(function(val, key, obj) { 65 var found = a.find(function(val, key, obj) { 88 var found = a.find(function() { [all …]
|
/external/skia/tests/ |
D | RefDictTest.cpp | 22 REPORTER_ASSERT(reporter, nullptr == dict.find(nullptr)); in DEF_TEST() 23 REPORTER_ASSERT(reporter, nullptr == dict.find("foo")); in DEF_TEST() 24 REPORTER_ASSERT(reporter, nullptr == dict.find("bar")); in DEF_TEST() 27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST() 31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST() 35 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in DEF_TEST() 40 REPORTER_ASSERT(reporter, nullptr == dict.find("foo")); in DEF_TEST() 46 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST() 47 REPORTER_ASSERT(reporter, &data1 == dict.find("bar")); in DEF_TEST() 52 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in DEF_TEST() [all …]
|
D | DynamicHashTest.cpp | 103 ASSERT(hash.find(1) != nullptr); in DEF_TEST() 104 ASSERT(hash.find(1)->value == 2.0); in DEF_TEST() 105 ASSERT(hash.find(5) != nullptr); in DEF_TEST() 106 ASSERT(hash.find(5)->value == 3.0); in DEF_TEST() 109 ASSERT(hash.find(2) == nullptr); in DEF_TEST() 110 ASSERT(hash.find(9) == nullptr); in DEF_TEST() 126 ASSERT(hash.find(1) == nullptr); in DEF_TEST() 127 ASSERT(hash.find(5) != nullptr); in DEF_TEST() 128 ASSERT(hash.find(5)->value == 3.0); in DEF_TEST() 133 ASSERT(hash.find(9) != nullptr); in DEF_TEST() [all …]
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/ |
D | AternativeApproach.java | 65 assertTrue(m.find()); in test2() 71 assertTrue(m.find()); in test2() 77 assertTrue(m.find()); in test2() 81 assertTrue(m.find()); in test2() 93 assertTrue(m.find()); in test3() 99 assertFalse(m.find()); in test3() 110 assertTrue(m.find()); in test4() 116 assertFalse(m.find()); in test4() 120 assertFalse(m.find()); in test4() 124 assertFalse(m.find()); in test4() [all …]
|
/external/llvm/unittests/ADT/ |
D | SparseMultiSetTest.cpp | 28 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST() 29 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST() 35 EXPECT_TRUE(CSet.find(0) == CSet.end()); in TEST() 36 USet::const_iterator I = CSet.find(5); in TEST() 51 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST() 52 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST() 60 EXPECT_TRUE(I == ++Set.find(5)); in TEST() 62 EXPECT_TRUE(I == Set.find(5)); in TEST() 65 I = Set.find(1); in TEST() 68 EXPECT_EQ(5u, *Set.find(5)); in TEST() [all …]
|
/external/ceres-solver/internal/ceres/ |
D | parameter_block_ordering_test.cc | 92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end()); in TEST_F() 98 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F() 99 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end()); in TEST_F() 105 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F() 111 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end()); in TEST_F() 112 EXPECT_TRUE(neighbors.find(parameter_blocks[1]) != neighbors.end()); in TEST_F() 113 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end()); in TEST_F() 119 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end()); in TEST_F() 120 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F() 145 EXPECT_TRUE(vertices.find(parameter_blocks[0]) == vertices.end()); in TEST_F() [all …]
|
/external/elfutils/tests/ |
D | run-find-prologues.sh | 23 testrun_compare ${abs_builddir}/find-prologues -e testfile <<\EOF 29 testrun_compare ${abs_builddir}/find-prologues -e testfile11 <<\EOF 40 testrun_compare ${abs_builddir}/find-prologues -e testfile22 <<\EOF 45 testrun_compare ${abs_builddir}/find-prologues -e testfile24 <<\EOF 50 testrun_compare ${abs_builddir}/find-prologues -e testfile25 <<\EOF 54 testrun_compare ${abs_builddir}/find-prologues -e testfile3 <<\EOF 60 testrun_compare ${abs_builddir}/find-prologues -e testfile4 <<\EOF 68 testrun_compare ${abs_builddir}/find-prologues -e testfile5 <<\EOF 74 testrun_compare ${abs_builddir}/find-prologues -e testfile6 <<\EOF
|
/external/dbus/ |
D | cleanup-man-pages.sh | 28 (find . -maxdepth 1 -name "_*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move all unde… 29 (find . -maxdepth 1 -name "DBus*Internal*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not m… 30 (find . -maxdepth 1 -name "dbus_*_internal_*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could no… 65 (find . -maxdepth 1 -name "dbus_*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all … 66 (find . -maxdepth 1 -name "DBUS_*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all … 67 (find . -maxdepth 1 -name "DBus*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all D… 71 (find . -maxdepth 1 -type f | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move remaining i… 73 NUKE_COUNT=`find nuke -type f -name "*" | wc -l` 74 KEEP_COUNT=`find keep -type f -name "*" | wc -l` 75 MISSING_COUNT=`find . -maxdepth 1 -type f -name "*" | wc -l` [all …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/ |
D | swap_non_member.pass.cpp | 81 assert(*c1.find(10) == 10); in main() 82 assert(*c1.find(20) == 20); in main() 83 assert(*c1.find(30) == 30); in main() 84 assert(*c1.find(40) == 40); in main() 85 assert(*c1.find(50) == 50); in main() 86 assert(*c1.find(60) == 60); in main() 87 assert(*c1.find(70) == 70); in main() 88 assert(*c1.find(80) == 80); in main() 180 assert(*c1.find(10) == 10); in main() 181 assert(*c1.find(20) == 20); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | swap_member.pass.cpp | 81 assert(*c1.find(10) == 10); in main() 82 assert(*c1.find(20) == 20); in main() 83 assert(*c1.find(30) == 30); in main() 84 assert(*c1.find(40) == 40); in main() 85 assert(*c1.find(50) == 50); in main() 86 assert(*c1.find(60) == 60); in main() 87 assert(*c1.find(70) == 70); in main() 88 assert(*c1.find(80) == 80); in main() 180 assert(*c1.find(10) == 10); in main() 181 assert(*c1.find(20) == 20); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.set/ |
D | swap_member.pass.cpp | 81 assert(*c1.find(10) == 10); in main() 82 assert(*c1.find(20) == 20); in main() 83 assert(*c1.find(30) == 30); in main() 84 assert(*c1.find(40) == 40); in main() 85 assert(*c1.find(50) == 50); in main() 86 assert(*c1.find(60) == 60); in main() 87 assert(*c1.find(70) == 70); in main() 88 assert(*c1.find(80) == 80); in main() 180 assert(*c1.find(10) == 10); in main() 181 assert(*c1.find(20) == 20); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.swap/ |
D | swap_non_member.pass.cpp | 81 assert(*c1.find(10) == 10); in main() 82 assert(*c1.find(20) == 20); in main() 83 assert(*c1.find(30) == 30); in main() 84 assert(*c1.find(40) == 40); in main() 85 assert(*c1.find(50) == 50); in main() 86 assert(*c1.find(60) == 60); in main() 87 assert(*c1.find(70) == 70); in main() 88 assert(*c1.find(80) == 80); in main() 180 assert(*c1.find(10) == 10); in main() 181 assert(*c1.find(20) == 20); in main() [all …]
|
/external/autotest/client/cros/input_playback/ |
D | input_playback.py | 195 if props.find('REL_X') >= 0 and props.find('REL_Y') >= 0: 196 if (props.find('ABS_MT_POSITION_X') >= 0 and 197 props.find('ABS_MT_POSITION_Y') >= 0): 201 if props.find('ABS_X') >= 0 and props.find('ABS_Y') >= 0: 202 if (props.find('BTN_STYLUS') >= 0 or 203 props.find('BTN_STYLUS2') >= 0 or 204 props.find('BTN_TOOL_PEN') >= 0): 206 if (props.find('ABS_PRESSURE') >= 0 or 207 props.find('BTN_TOUCH') >= 0): 208 if (props.find('BTN_LEFT') >= 0 or [all …]
|
/external/llvm/utils/buildit/ |
D | build_llvm | 134 T=`xcrun -sdk $SDKROOT -find ${prog}` 143 T=`xcrun -sdk $SDKROOT -find ${prog}` 177 export CC=`xcrun -sdk iphonesimulator -find clang` 178 export CXX=`xcrun -sdk iphonesimulator -find clang++` 188 export CC=`xcrun -sdk macosx -find clang` 189 export CXX=`xcrun -sdk macosx -find clang++` 246 for file in `find $DEST_DIR$DEST_ROOT/include -type f -print`; do 257 STRIP=`xcrun -sdk $SDKROOT -find strip` 310 DSYMUTIL=`xcrun -find dsymutil` 311 find $DEST_DIR -perm -0111 -type f \ [all …]
|
/external/libcxx/test/std/experimental/string.view/string.view.find/ |
D | find_char_size.pass.cpp | 24 assert(s.find(c, pos) == x); in test() 33 assert(s.find(c) == x); in test() 75 static_assert (sv1.find( 'c', 0 ) == SV::npos, "" ); in main() 76 static_assert (sv1.find( 'c', 1 ) == SV::npos, "" ); in main() 77 static_assert (sv2.find( 'c', 0 ) == 2, "" ); in main() 78 static_assert (sv2.find( 'c', 1 ) == 2, "" ); in main() 79 static_assert (sv2.find( 'c', 2 ) == 2, "" ); in main() 80 static_assert (sv2.find( 'c', 3 ) == SV::npos, "" ); in main() 81 static_assert (sv2.find( 'c', 4 ) == SV::npos, "" ); in main()
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
D | find.pass.cpp | 22 assert(std::char_traits<char>::find(s1, 3, char(1)) == s1); in main() 23 assert(std::char_traits<char>::find(s1, 3, char(2)) == s1+1); in main() 24 assert(std::char_traits<char>::find(s1, 3, char(3)) == s1+2); in main() 25 assert(std::char_traits<char>::find(s1, 3, char(4)) == 0); in main() 26 assert(std::char_traits<char>::find(s1, 3, char(0)) == 0); in main() 27 assert(std::char_traits<char>::find(NULL, 0, char(0)) == 0); in main()
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
D | find.pass.cpp | 22 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(1)) == s1); in main() 23 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(2)) == s1+1); in main() 24 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(3)) == s1+2); in main() 25 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(4)) == 0); in main() 26 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(0)) == 0); in main() 27 assert(std::char_traits<wchar_t>::find(NULL, 0, wchar_t(0)) == 0); in main()
|
/external/libweave/third_party/chromium/base/strings/ |
D | string_piece_unittest.cc | 225 ASSERT_EQ(a.find(b), 0U); in TYPED_TEST() 226 ASSERT_EQ(a.find(b, 1), Piece::npos); in TYPED_TEST() 227 ASSERT_EQ(a.find(c), 23U); in TYPED_TEST() 228 ASSERT_EQ(a.find(c, 9), 23U); in TYPED_TEST() 229 ASSERT_EQ(a.find(c, Piece::npos), Piece::npos); in TYPED_TEST() 230 ASSERT_EQ(b.find(c), Piece::npos); in TYPED_TEST() 231 ASSERT_EQ(b.find(c, Piece::npos), Piece::npos); in TYPED_TEST() 232 ASSERT_EQ(a.find(d), 0U); in TYPED_TEST() 233 ASSERT_EQ(a.find(e), 0U); in TYPED_TEST() 234 ASSERT_EQ(a.find(d, 12), 12U); in TYPED_TEST() [all …]
|