Home
last modified time | relevance | path

Searched refs:test1 (Results 1 – 25 of 2330) sorted by relevance

12345678910>>...94

/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
Dpointer_string.pass.cpp34 void test1(const typename S::value_type* lhs, S&& rhs, const S& x) { in test1() function
66 test1("", S(""), S("")); in main()
67 test1("", S("12345"), S("12345")); in main()
68 test1("", S("1234567890"), S("1234567890")); in main()
69 test1("", S("12345678901234567890"), S("12345678901234567890")); in main()
70 test1("abcde", S(""), S("abcde")); in main()
71 test1("abcde", S("12345"), S("abcde12345")); in main()
72 test1("abcde", S("1234567890"), S("abcde1234567890")); in main()
73 test1("abcde", S("12345678901234567890"), S("abcde12345678901234567890")); in main()
74 test1("abcdefghij", S(""), S("abcdefghij")); in main()
[all …]
Dstring_pointer.pass.cpp34 void test1(S&& lhs, const typename S::value_type* rhs, const S& x) { in test1() function
65 test1(S(""), "", S("")); in main()
66 test1(S(""), "12345", S("12345")); in main()
67 test1(S(""), "1234567890", S("1234567890")); in main()
68 test1(S(""), "12345678901234567890", S("12345678901234567890")); in main()
69 test1(S("abcde"), "", S("abcde")); in main()
70 test1(S("abcde"), "12345", S("abcde12345")); in main()
71 test1(S("abcde"), "1234567890", S("abcde1234567890")); in main()
72 test1(S("abcde"), "12345678901234567890", S("abcde12345678901234567890")); in main()
73 test1(S("abcdefghij"), "", S("abcdefghij")); in main()
[all …]
Dstring_string.pass.cpp46 void test1(S&& lhs, const S& rhs, const S& x) { in test1() function
90 test1(S(""), S(""), S("")); in main()
91 test1(S(""), S("12345"), S("12345")); in main()
92 test1(S(""), S("1234567890"), S("1234567890")); in main()
93 test1(S(""), S("12345678901234567890"), S("12345678901234567890")); in main()
94 test1(S("abcde"), S(""), S("abcde")); in main()
95 test1(S("abcde"), S("12345"), S("abcde12345")); in main()
96 test1(S("abcde"), S("1234567890"), S("abcde1234567890")); in main()
97 test1(S("abcde"), S("12345678901234567890"), in main()
99 test1(S("abcdefghij"), S(""), S("abcdefghij")); in main()
[all …]
Dchar_string.pass.cpp34 void test1(typename S::value_type lhs, S&& rhs, const S& x) { in test1() function
50 test1('a', S(""), S("a")); in main()
51 test1('a', S("12345"), S("a12345")); in main()
52 test1('a', S("1234567890"), S("a1234567890")); in main()
53 test1('a', S("12345678901234567890"), S("a12345678901234567890")); in main()
64 test1('a', S(""), S("a")); in main()
65 test1('a', S("12345"), S("a12345")); in main()
66 test1('a', S("1234567890"), S("a1234567890")); in main()
67 test1('a', S("12345678901234567890"), S("a12345678901234567890")); in main()
Dstring_char.pass.cpp34 void test1(S&& lhs, typename S::value_type rhs, const S& x) { in test1() function
50 test1(S(""), '1', S("1")); in main()
51 test1(S("abcde"), '1', S("abcde1")); in main()
52 test1(S("abcdefghij"), '1', S("abcdefghij1")); in main()
53 test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); in main()
64 test1(S(""), '1', S("1")); in main()
65 test1(S("abcde"), '1', S("abcde1")); in main()
66 test1(S("abcdefghij"), '1', S("abcdefghij1")); in main()
67 test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); in main()
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp73 UnicodeString test1("Now is the time for all men to come swiftly to the aid of the party.\n"); in TestBasicManipulation() local
77 c=(UnicodeString *)test1.clone(); in TestBasicManipulation()
78 test1.insert(24, "good "); in TestBasicManipulation()
80 if (test1 != expectedValue) in TestBasicManipulation()
81 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
89 test1.remove(41, 8); in TestBasicManipulation()
91 if (test1 != expectedValue) in TestBasicManipulation()
92 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
94 test1.replace(58, 6, "ir country"); in TestBasicManipulation()
96 if (test1 != expectedValue) in TestBasicManipulation()
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/
Dmove.pass.cpp43 test1() in test1() function
96 test1<input_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); in main()
97 test1<input_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); in main()
98 test1<input_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
99 test1<input_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main()
100 test1<input_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main()
101 test1<input_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main()
103 test1<forward_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); in main()
104 test1<forward_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); in main()
105 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
[all …]
Dmove_backward.pass.cpp43 test1() in test1() function
73test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main()
74test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main()
75 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main()
77test1<random_access_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main()
78test1<random_access_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main()
79 test1<random_access_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main()
81 test1<std::unique_ptr<int>*, bidirectional_iterator<std::unique_ptr<int>*> >(); in main()
82 test1<std::unique_ptr<int>*, random_access_iterator<std::unique_ptr<int>*> >(); in main()
83 test1<std::unique_ptr<int>*, std::unique_ptr<int>*>(); in main()
/external/llvm/test/DebugInfo/Generic/
Dinheritance.ll6 %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/swiftshader/third_party/LLVM/test/DebugInfo/
Dinheritance.ll6 %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), !dbg !21
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), !dbg !28
36 store %struct.test1* %this, %struct.test1** %this_addr
[all …]
/external/testng/src/test/java/test/mannotation/
DMAnnotationSampleTest.java34 …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 …]
DMAnnotation2SampleTest.java28 … 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/
Dassign.pass.cpp22 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 …]
Dcopy.pass.cpp22 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 …]
Ddefault.pass.cpp22 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 …]
Dvalues.pass.cpp35 test1() in test1() function
74 test1<T, 0, 0, 0>(); in test()
75 test1<T, 0, 1, 2>(); in test()
76 test1<T, 1, 1, 2>(); in test()
78 test1<T, 0, 0, M>(); in test()
79 test1<T, 0, M-2, M>(); in test()
80 test1<T, 0, M-1, M>(); in test()
81 test1<T, M-2, 0, M>(); in test()
82 test1<T, M-2, M-2, M>(); in test()
83 test1<T, M-2, M-1, M>(); in test()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_byteswap.c29 __u16 test1[] = { variable
56 printf("swab16(0x%04x) = 0x%04x\n", test1[i], in main()
57 ext2fs_swab16(test1[i])); in main()
58 if (ext2fs_swab16(test1[i]) != test1[i+1]) { in main()
60 ext2fs_swab16(test1[i]), test1[i+1]); in main()
63 if (ext2fs_swab16(test1[i+1]) != test1[i]) { in main()
65 ext2fs_swab16(test1[i+1]), test1[i]); in main()
69 } while (test1[i] != 0); in main()
/external/libcxx/test/std/strings/string.view/string.view.ops/
Dcopy.pass.cpp28 void test1 ( std::basic_string_view<CharT> sv, size_t n, size_t pos ) { in test1() function
61 test1(sv1, 0, 0); in test()
62 test1(sv1, 1, 0); in test()
63 test1(sv1, 20, 0); in test()
64 test1(sv1, sv1.size(), 0); in test()
65 test1(sv1, 20, string_view_t::npos); in test()
67 test1(sv1, 0, 3); in test()
68 test1(sv1, 2, 3); in test()
69 test1(sv1, 100, 3); in test()
70 test1(sv1, 100, string_view_t::npos); in test()
[all …]
Dsubstr.pass.cpp26 void test1(std::basic_string_view<CharT> sv, size_t n, size_t pos) { in test1() function
55 test1(sv1, 0, 0); in test()
56 test1(sv1, 1, 0); in test()
57 test1(sv1, 20, 0); in test()
58 test1(sv1, sv1.size(), 0); in test()
60 test1(sv1, 0, 3); in test()
61 test1(sv1, 2, 3); in test()
62 test1(sv1, 100, 3); in test()
64 test1(sv1, 0, string_view_t::npos); in test()
65 test1(sv1, 2, string_view_t::npos); in test()
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/
Dswap_ranges.pass.cpp43 test1() in test1() function
132 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
133test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main()
134test1<forward_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main()
135 test1<forward_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main()
137test1<bidirectional_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
138test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main()
139test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main()
140 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main()
142test1<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.condvar/
Dnotify_one.pass.cpp28 std::atomic_int test1(0); variable
34 assert(test1 == 0); in f1()
35 while (test1 == 0) in f1()
37 assert(test1 == 1); in f1()
38 test1 = 2; in f1()
58 test1 = 1; in main()
66 if (test1 == 2) in main()
70 test1 = 0; in main()
74 assert(test1 == 1); in main()
85 if (test1 == 2) in main()
[all …]
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp31 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()
Dwait_for.pass.cpp33 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()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/
Dnone_of.pass.cpp22 struct test1 struct
34 return !std::none_of(std::begin(ia), std::end(ia), test1()) in test_constexpr() argument
35 && std::none_of(std::begin(ib), std::end(ib), test1()) in test_constexpr()
46 input_iterator<const int*>(ia + sa), test1()) == false); in main()
48 input_iterator<const int*>(ia), test1()) == true); in main()
54 input_iterator<const int*>(ia + sa), test1()) == false); in main()
56 input_iterator<const int*>(ia), test1()) == true); in main()
62 input_iterator<const int*>(ia + sa), test1()) == true); in main()
64 input_iterator<const int*>(ia), test1()) == true); in main()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
Dany_of.pass.cpp22 struct test1 struct
34 return std::any_of(std::begin(ia), std::end(ia), test1()) in test_constexpr() argument
35 && !std::any_of(std::begin(ib), std::end(ib), test1()) in test_constexpr()
46 input_iterator<const int*>(ia + sa), test1()) == true); in main()
48 input_iterator<const int*>(ia), test1()) == false); in main()
54 input_iterator<const int*>(ia + sa), test1()) == true); in main()
56 input_iterator<const int*>(ia), test1()) == false); in main()
62 input_iterator<const int*>(ia + sa), test1()) == false); in main()
64 input_iterator<const int*>(ia), test1()) == false); in main()

12345678910>>...94