/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
D | pointer_string.pass.cpp | 37 test1(const typename S::value_type* lhs, S&& rhs, const S& x) in test1() function 67 test1("", S(""), S("")); in main() 68 test1("", S("12345"), S("12345")); in main() 69 test1("", S("1234567890"), S("1234567890")); in main() 70 test1("", S("12345678901234567890"), S("12345678901234567890")); in main() 71 test1("abcde", S(""), S("abcde")); in main() 72 test1("abcde", S("12345"), S("abcde12345")); in main() 73 test1("abcde", S("1234567890"), S("abcde1234567890")); in main() 74 test1("abcde", S("12345678901234567890"), S("abcde12345678901234567890")); in main() 75 test1("abcdefghij", S(""), S("abcdefghij")); in main() [all …]
|
D | string_pointer.pass.cpp | 37 test1(S&& lhs, const typename S::value_type* rhs, const S& x) in test1() function 67 test1(S(""), "", S("")); in main() 68 test1(S(""), "12345", S("12345")); in main() 69 test1(S(""), "1234567890", S("1234567890")); in main() 70 test1(S(""), "12345678901234567890", S("12345678901234567890")); in main() 71 test1(S("abcde"), "", S("abcde")); in main() 72 test1(S("abcde"), "12345", S("abcde12345")); in main() 73 test1(S("abcde"), "1234567890", S("abcde1234567890")); in main() 74 test1(S("abcde"), "12345678901234567890", S("abcde12345678901234567890")); in main() 75 test1(S("abcdefghij"), "", S("abcdefghij")); in main() [all …]
|
D | string_string.pass.cpp | 49 test1(S&& lhs, const S& rhs, const S& x) in test1() function 93 test1(S(""), S(""), S("")); in main() 94 test1(S(""), S("12345"), S("12345")); in main() 95 test1(S(""), S("1234567890"), S("1234567890")); in main() 96 test1(S(""), S("12345678901234567890"), S("12345678901234567890")); in main() 97 test1(S("abcde"), S(""), S("abcde")); in main() 98 test1(S("abcde"), S("12345"), S("abcde12345")); in main() 99 test1(S("abcde"), S("1234567890"), S("abcde1234567890")); in main() 100 test1(S("abcde"), S("12345678901234567890"), S("abcde12345678901234567890")); in main() 101 test1(S("abcdefghij"), S(""), S("abcdefghij")); in main() [all …]
|
D | string_char.pass.cpp | 37 test1(S&& lhs, typename S::value_type rhs, const S& x) in test1() function 55 test1(S(""), '1', S("1")); in main() 56 test1(S("abcde"), '1', S("abcde1")); in main() 57 test1(S("abcdefghij"), '1', S("abcdefghij1")); in main() 58 test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); in main() 72 test1(S(""), '1', S("1")); in main() 73 test1(S("abcde"), '1', S("abcde1")); in main() 74 test1(S("abcdefghij"), '1', S("abcdefghij1")); in main() 75 test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); in main()
|
D | char_string.pass.cpp | 37 test1(typename S::value_type lhs, S&& rhs, const S& x) in test1() function 55 test1('a', S(""), S("a")); in main() 56 test1('a', S("12345"), S("a12345")); in main() 57 test1('a', S("1234567890"), S("a1234567890")); in main() 58 test1('a', S("12345678901234567890"), S("a12345678901234567890")); in main() 72 test1('a', S(""), S("a")); in main() 73 test1('a', S("12345"), S("a12345")); in main() 74 test1('a', S("1234567890"), S("a1234567890")); in main() 75 test1('a', S("12345678901234567890"), S("a12345678901234567890")); in main()
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 65 UnicodeString test1("Now is the time for all men to come swiftly to the aid of the party.\n"); in TestBasicManipulation() local 69 c=(UnicodeString *)test1.clone(); in TestBasicManipulation() 70 test1.insert(24, "good "); in TestBasicManipulation() 72 if (test1 != expectedValue) in TestBasicManipulation() 73 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 81 test1.remove(41, 8); in TestBasicManipulation() 83 if (test1 != expectedValue) in TestBasicManipulation() 84 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 86 test1.replace(58, 6, "ir country"); in TestBasicManipulation() 88 if (test1 != expectedValue) in TestBasicManipulation() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/ |
D | move.pass.cpp | 45 test1() in test1() function 99 test1<input_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); in main() 100 test1<input_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); in main() 101 test1<input_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 102 test1<input_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 103 test1<input_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main() 104 test1<input_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 106 test1<forward_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); in main() 107 test1<forward_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); in main() 108 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() [all …]
|
D | move_backward.pass.cpp | 45 test1() in test1() function 76 …test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main() 77 …test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main() 78 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 80 …test1<random_access_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main() 81 …test1<random_access_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main() 82 test1<random_access_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 84 test1<std::unique_ptr<int>*, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 85 test1<std::unique_ptr<int>*, random_access_iterator<std::unique_ptr<int>*> >(); in main() 86 test1<std::unique_ptr<int>*, std::unique_ptr<int>*>(); in main()
|
/external/llvm/test/DebugInfo/Generic/ |
D | inheritance.ll | 6 %struct.test1 = type { i32 (...)** } 8 …), i32 (...)* bitcast (void (%struct.test1*)* @_ZN5test1D1Ev to i32 (...)*), i32 (...)* bitcast (v… 11 @_ZTS5test1 = weak_odr constant [7 x i8] c"5test1\00" ; <[7 x i8]*> [#uses=2] 17 %tst = alloca %struct.test1 ; <%struct.test1*> [#uses=1] 19 …call void @llvm.dbg.declare(metadata %struct.test1* %tst, metadata !0, metadata !DIExpression()), … 20 call void @_ZN5test1C1Ev(%struct.test1* %tst) nounwind, !dbg !22 31 define linkonce_odr void @_ZN5test1C1Ev(%struct.test1* %this) nounwind ssp align 2 { 33 %this_addr = alloca %struct.test1* ; <%struct.test1**> [#uses=2] 35 …call void @llvm.dbg.declare(metadata %struct.test1** %this_addr, metadata !24, metadata !DIExpress… 36 store %struct.test1* %this, %struct.test1** %this_addr [all …]
|
/external/testng/src/test/java/test/mannotation/ |
D | MAnnotationSampleTest.java | 34 …ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(MTest1.class, ITestAnnotation.cl… in verifyTestClassLevel() local 35 Assert.assertTrue(test1.getEnabled()); in verifyTestClassLevel() 36 Assert.assertEquals(test1.getGroups(), new String[] { "group1", "group2" }); in verifyTestClassLevel() 37 Assert.assertTrue(test1.getAlwaysRun()); in verifyTestClassLevel() 38 Assert.assertEquals(test1.getParameters(), new String[] { "param1", "param2" }); in verifyTestClassLevel() 39 …Assert.assertEqualsNoOrder(test1.getDependsOnGroups(), new String[] { "dg1", "dg2" }, "depends on… in verifyTestClassLevel() 40 Assert.assertEqualsNoOrder( test1.getDependsOnMethods(), new String[] { "dm1", "dm2" }); in verifyTestClassLevel() 41 Assert.assertEquals(test1.getTimeOut(), 42); in verifyTestClassLevel() 42 Assert.assertEquals(test1.getInvocationCount(), 43); in verifyTestClassLevel() 43 Assert.assertEquals(test1.getSuccessPercentage(), 44); in verifyTestClassLevel() [all …]
|
D | MAnnotation2SampleTest.java | 28 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestGroupsInheritance() local 30 test1.getGroups()); in verifyTestGroupsInheritance() 35 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestGroupsInheritance() local 37 test1.getGroups()); in verifyTestGroupsInheritance() 47 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnGroupsInheritance() local 49 test1.getDependsOnGroups()); in verifyTestDependsOnGroupsInheritance() 54 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnGroupsInheritance() local 56 test1.getDependsOnGroups()); in verifyTestDependsOnGroupsInheritance() 67 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnMethodsInheritance() local 69 test1.getDependsOnMethods()); in verifyTestDependsOnMethodsInheritance() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
D | default.pass.cpp | 22 test1() in test1() function 36 test1<T, 0, 0, 0>(); in test() 37 test1<T, 0, 1, 2>(); in test() 38 test1<T, 1, 1, 2>(); in test() 40 test1<T, 0, 0, M>(); in test() 41 test1<T, 0, M-2, M>(); in test() 42 test1<T, 0, M-1, M>(); in test() 43 test1<T, M-2, 0, M>(); in test() 44 test1<T, M-2, M-2, M>(); in test() 45 test1<T, M-2, M-1, M>(); in test() [all …]
|
D | copy.pass.cpp | 22 test1() in test1() function 37 test1<T, 0, 0, 0>(); in test() 38 test1<T, 0, 1, 2>(); in test() 39 test1<T, 1, 1, 2>(); in test() 41 test1<T, 0, 0, M>(); in test() 42 test1<T, 0, M-2, M>(); in test() 43 test1<T, 0, M-1, M>(); in test() 44 test1<T, M-2, 0, M>(); in test() 45 test1<T, M-2, M-2, M>(); in test() 46 test1<T, M-2, M-1, M>(); in test() [all …]
|
D | assign.pass.cpp | 22 test1() in test1() function 37 test1<T, 0, 0, 0>(); in test() 38 test1<T, 0, 1, 2>(); in test() 39 test1<T, 1, 1, 2>(); in test() 41 test1<T, 0, 0, M>(); in test() 42 test1<T, 0, M-2, M>(); in test() 43 test1<T, 0, M-1, M>(); in test() 44 test1<T, M-2, 0, M>(); in test() 45 test1<T, M-2, M-2, M>(); in test() 46 test1<T, M-2, M-1, M>(); in test() [all …]
|
D | values.pass.cpp | 33 test1() in test1() function 53 test1<T, 0, 0, 0>(); in test() 54 test1<T, 0, 1, 2>(); in test() 55 test1<T, 1, 1, 2>(); in test() 57 test1<T, 0, 0, M>(); in test() 58 test1<T, 0, M-2, M>(); in test() 59 test1<T, 0, M-1, M>(); in test() 60 test1<T, M-2, 0, M>(); in test() 61 test1<T, M-2, M-2, M>(); in test() 62 test1<T, M-2, M-1, M>(); in test() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | tst_byteswap.c | 28 __u16 test1[] = { variable 55 printf("swab16(0x%04x) = 0x%04x\n", test1[i], in main() 56 ext2fs_swab16(test1[i])); in main() 57 if (ext2fs_swab16(test1[i]) != test1[i+1]) { in main() 59 ext2fs_swab16(test1[i]), test1[i+1]); in main() 62 if (ext2fs_swab16(test1[i+1]) != test1[i]) { in main() 64 ext2fs_swab16(test1[i+1]), test1[i]); in main() 68 } while (test1[i] != 0); in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
D | copy.pass.cpp | 26 void test1 ( std::experimental::basic_string_view<CharT> sv, size_t n, size_t pos ) { in test1() function 51 test1(sv1, 0, 0); in test() 52 test1(sv1, 1, 0); in test() 53 test1(sv1, 20, 0); in test() 54 test1(sv1, sv1.size(), 0); in test() 55 test1(sv1, 20, string_view_t::npos); in test() 57 test1(sv1, 0, 3); in test() 58 test1(sv1, 2, 3); in test() 59 test1(sv1, 100, 3); in test() 60 test1(sv1, 100, string_view_t::npos); in test() [all …]
|
D | substr.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv, size_t n, size_t pos ) { in test1() function 41 test1(sv1, 0, 0); in test() 42 test1(sv1, 1, 0); in test() 43 test1(sv1, 20, 0); in test() 44 test1(sv1, sv1.size(), 0); in test() 46 test1(sv1, 0, 3); in test() 47 test1(sv1, 2, 3); in test() 48 test1(sv1, 100, 3); in test() 50 test1(sv1, 0, string_view_t::npos); in test() 51 test1(sv1, 2, string_view_t::npos); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ |
D | swap_ranges.pass.cpp | 45 test1() in test1() function 136 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 137 … test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 138 … test1<forward_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main() 139 test1<forward_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 141 … test1<bidirectional_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 142 …test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main() 143 …test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main() 144 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 146 … test1<random_access_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() [all …]
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | notify_one.pass.cpp | 31 int test1 = 0; variable 37 assert(test1 == 0); in f1() 38 while (test1 == 0) in f1() 40 assert(test1 == 1); in f1() 41 test1 = 2; in f1() 61 test1 = 1; in main() 69 if (test1 == 2) in main() 72 test1 = 0; in main() 86 if (test1 == 2) in main() 89 test1 = 0; in main()
|
D | wait_for.pass.cpp | 33 int test1 = 0; variable 44 test1 = 1; in f() 69 assert(test1 == 0); in main() 70 while (test1 == 0) in main() 72 assert(test1 != 0); in main() 78 test1 = 0; in main() 83 assert(test1 == 0); in main() 84 while (test1 == 0) in main() 86 assert(test1 != 0); in main()
|
D | wait_for_pred.pass.cpp | 43 int test1 = 0; variable 54 test1 = 1; in f() 77 assert(test1 == 0); in main() 78 while (test1 == 0) in main() 80 assert(test1 != 0); in main() 86 test1 = 0; in main() 91 assert(test1 == 0); in main() 92 while (test1 == 0) in main() 94 assert(test1 != 0); in main()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 27 int test1 = 0; variable 33 assert(test1 == 0); in f1() 34 while (test1 == 0) in f1() 36 assert(test1 == 1); in f1() 37 test1 = 2; in f1() 57 test1 = 1; in main() 65 if (test1 == 2) in main() 68 test1 = 0; in main() 82 if (test1 == 2) in main() 85 test1 = 0; in main()
|
D | wait_for_pred.pass.cpp | 40 int test1 = 0; variable 51 test1 = 1; in f() 74 assert(test1 == 0); in main() 75 while (test1 == 0) in main() 77 assert(test1 != 0); in main() 83 test1 = 0; in main() 88 assert(test1 == 0); in main() 89 while (test1 == 0) in main() 91 assert(test1 != 0); in main()
|
D | wait_for.pass.cpp | 30 int test1 = 0; variable 41 test1 = 1; in f() 66 assert(test1 == 0); in main() 67 while (test1 == 0) in main() 69 assert(test1 != 0); in main() 75 test1 = 0; in main() 80 assert(test1 == 0); in main() 81 while (test1 == 0) in main() 83 assert(test1 != 0); in main()
|