Home
last modified time | relevance | path

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

12345678910>>...94

/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
Dstring_pointer.pass.cpp37 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 …]
Dpointer_string.pass.cpp37 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 …]
Dstring_string.pass.cpp49 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 …]
Dstring_char.pass.cpp37 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()
Dchar_string.pass.cpp37 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/
Dustrtest.cpp67 UnicodeString test1("Now is the time for all men to come swiftly to the aid of the party.\n"); in TestBasicManipulation() local
71 c=(UnicodeString *)test1.clone(); in TestBasicManipulation()
72 test1.insert(24, "good "); in TestBasicManipulation()
74 if (test1 != expectedValue) in TestBasicManipulation()
75 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
83 test1.remove(41, 8); in TestBasicManipulation()
85 if (test1 != expectedValue) in TestBasicManipulation()
86 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
88 test1.replace(58, 6, "ir country"); in TestBasicManipulation()
90 if (test1 != expectedValue) in TestBasicManipulation()
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/
Dmove.pass.cpp45 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 …]
/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/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/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/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/
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 …]
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 …]
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 …]
Dvalues.pass.cpp33 test1() in test1() function
72 test1<T, 0, 0, 0>(); in test()
73 test1<T, 0, 1, 2>(); in test()
74 test1<T, 1, 1, 2>(); in test()
76 test1<T, 0, 0, M>(); in test()
77 test1<T, 0, M-2, M>(); in test()
78 test1<T, 0, M-1, M>(); in test()
79 test1<T, M-2, 0, M>(); in test()
80 test1<T, M-2, M-2, M>(); in test()
81 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/experimental/string.view/string.view.ops/
Dcopy.pass.cpp27 void test1 ( std::experimental::basic_string_view<CharT> sv, size_t n, size_t pos ) { in test1() function
60 test1(sv1, 0, 0); in test()
61 test1(sv1, 1, 0); in test()
62 test1(sv1, 20, 0); in test()
63 test1(sv1, sv1.size(), 0); in test()
64 test1(sv1, 20, string_view_t::npos); in test()
66 test1(sv1, 0, 3); in test()
67 test1(sv1, 2, 3); in test()
68 test1(sv1, 100, 3); in test()
69 test1(sv1, 100, string_view_t::npos); in test()
[all …]
Dsubstr.pass.cpp24 void test1 ( std::experimental::basic_string_view<CharT> sv, size_t n, size_t pos ) { in test1() function
53 test1(sv1, 0, 0); in test()
54 test1(sv1, 1, 0); in test()
55 test1(sv1, 20, 0); in test()
56 test1(sv1, sv1.size(), 0); in test()
58 test1(sv1, 0, 3); in test()
59 test1(sv1, 2, 3); in test()
60 test1(sv1, 100, 3); in test()
62 test1(sv1, 0, string_view_t::npos); in test()
63 test1(sv1, 2, string_view_t::npos); in test()
[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 …]
Dwait_for_pred.pass.cpp40 int test1 = 0; variable
51 test1 = 1; in f()
75 assert(test1 == 0); in main()
76 while (test1 == 0) in main()
78 assert(test1 != 0); in main()
84 test1 = 0; in main()
89 assert(test1 == 0); in main()
90 while (test1 == 0) in main()
92 assert(test1 != 0); in main()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/
Dswap_ranges.pass.cpp45 test1() in test1() function
136 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
137test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main()
138test1<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()
141test1<bidirectional_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
142test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main()
143test1<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()
146test1<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/
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()

12345678910>>...94