Home
last modified time | relevance | path

Searched refs:test2 (Results 1 – 25 of 3637) sorted by relevance

12345678910>>...146

/external/libcxx/test/std/strings/string.view/string.view.capacity/
Dcapacity.pass.cpp50 void test2 ( const CharT *s, size_t len ) { in test2() function
75test2 ( "ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCD… in main()
76 test2 ( "ABCDE", 5 ); in main()
77 test2 ( "a", 1 ); in main()
78 test2 ( "", 0 ); in main()
80test2 ( L"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABC… in main()
81 test2 ( L"ABCDE", 5 ); in main()
82 test2 ( L"a", 1 ); in main()
83 test2 ( L"", 0 ); in main()
86test2 ( u8"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEAB… in main()
[all …]
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.capacity/
Dcapacity.pass.cpp49 void test2 ( const CharT *s, size_t len ) { in test2() function
74test2 ( "ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCD… in main()
75 test2 ( "ABCDE", 5 ); in main()
76 test2 ( "a", 1 ); in main()
77 test2 ( "", 0 ); in main()
79test2 ( L"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABC… in main()
80 test2 ( L"ABCDE", 5 ); in main()
81 test2 ( L"a", 1 ); in main()
82 test2 ( L"", 0 ); in main()
85test2 ( u8"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEAB… in main()
[all …]
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
Dstring_string.pass.cpp51 void test2(const S& lhs, S&& rhs, const S& x) { in test2() function
112 test2(S(""), S(""), S("")); in main()
113 test2(S(""), S("12345"), S("12345")); in main()
114 test2(S(""), S("1234567890"), S("1234567890")); in main()
115 test2(S(""), S("12345678901234567890"), S("12345678901234567890")); in main()
116 test2(S("abcde"), S(""), S("abcde")); in main()
117 test2(S("abcde"), S("12345"), S("abcde12345")); in main()
118 test2(S("abcde"), S("1234567890"), S("abcde1234567890")); in main()
119 test2(S("abcde"), S("12345678901234567890"), in main()
121 test2(S("abcdefghij"), S(""), S("abcdefghij")); in main()
[all …]
/external/llvm-project/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
Dstring_string.pass.cpp50 void test2(const S& lhs, S&& rhs, const S& x) { in test2() function
111 test2(S(""), S(""), S("")); in main()
112 test2(S(""), S("12345"), S("12345")); in main()
113 test2(S(""), S("1234567890"), S("1234567890")); in main()
114 test2(S(""), S("12345678901234567890"), S("12345678901234567890")); in main()
115 test2(S("abcde"), S(""), S("abcde")); in main()
116 test2(S("abcde"), S("12345"), S("abcde12345")); in main()
117 test2(S("abcde"), S("1234567890"), S("abcde1234567890")); in main()
118 test2(S("abcde"), S("12345678901234567890"), in main()
120 test2(S("abcdefghij"), S(""), S("abcdefghij")); in main()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_byteswap.c38 __u32 test2[] = { variable
74 printf("swab32(0x%08x) = 0x%08x\n", test2[i], in main()
75 ext2fs_swab32(test2[i])); in main()
76 if (ext2fs_swab32(test2[i]) != test2[i+1]) { in main()
78 ext2fs_swab32(test2[i]), test2[i+1]); in main()
81 if (ext2fs_swab32(test2[i+1]) != test2[i]) { in main()
83 ext2fs_swab32(test2[i+1]), test2[i]); in main()
87 } while (test2[i] != 0); in main()
/external/python/mock/mock/tests/
Dtestsealable.py19 self.assertIsInstance(m.test().test2(), mock.Mock)
39 m.test.test2 = 1
42 m.test.test2 = 2
43 self.assertEqual(m.test.test2, 2)
47 m.test.test2 = 1
83 m.test1.test2().test3 = 4
86 self.assertEqual(m.test1.test2().test3, 4)
88 m.test1.test2().test4
95 m.test1.test2["a"].test3 = 4
99 self.assertEqual(m.test1.test2["a"].test3, 4)
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestsealable.py19 self.assertIsInstance(m.test().test2(), mock.Mock)
39 m.test.test2 = 1
42 m.test.test2 = 2
43 self.assertEqual(m.test.test2, 2)
47 m.test.test2 = 1
83 m.test1.test2().test3 = 4
86 self.assertEqual(m.test1.test2().test3, 4)
88 m.test1.test2().test4
95 m.test1.test2["a"].test3 = 4
99 self.assertEqual(m.test1.test2["a"].test3, 4)
[all …]
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp29 std::atomic_int test2(0); variable
44 assert(test2 == 0); in f2()
45 while (test2 == 0) in f2()
47 assert(test2 == 1); in f2()
48 test2 = 2; in f2()
59 test2 = 1; in main()
68 assert(test2 == 1); in main()
72 else if (test2 == 2) in main()
76 test2 = 0; in main()
87 assert(test2 == 0); in main()
[all …]
Dnotify_all.pass.cpp28 int test2 = 0; variable
43 assert(test2 == 0); in f2()
44 while (test2 == 0) in f2()
46 assert(test2 == 1); in f2()
47 test2 = 2; in f2()
58 test2 = 1; in main()
68 assert(test2 == 2); in main()
Dwait_for.pass.cpp33 int test2 = 0; variable
42 assert(test2 == 0); in f()
46 while (test2 == 0 && in f()
53 assert(test2 != 0); in f()
58 assert(test2 == 0); in f()
72 test2 = 1; in main()
78 test2 = 0; in main()
Dwait_for_pred.pass.cpp41 int test2 = 0; variable
50 assert(test2 == 0); in f()
54 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
60 assert(test2 != 0); in f()
65 assert(test2 == 0); in f()
79 test2 = 1; in main()
85 test2 = 0; in main()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp52 std::atomic_int test2(0); variable
71 assert(test2 == 0); in f2()
73 while (test2 == 0) in f2()
76 assert(test2 == 1); in f2()
77 test2 = 2; in f2()
92 test2 = 1; in main()
101 assert(test2 == 1); in main()
106 assert(test2 == 2); in main()
108 test2 = 0; in main()
118 assert(test2 == 0); in main()
[all …]
Dnotify_all.pass.cpp30 int test2 = 0; variable
45 assert(test2 == 0); in f2()
46 while (test2 == 0) in f2()
48 assert(test2 == 1); in f2()
49 test2 = 2; in f2()
60 test2 = 1; in main()
70 assert(test2 == 2); in main()
Dwait_until.pass.cpp50 int test2 = 0; variable
58 assert(test2 == 0); in f()
63 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f()
69 assert(test2 != 0); in f()
74 assert(test2 == 0); in f()
84 test2 = 0; in run_test()
92 test2 = 1; in run_test()
98 test2 = 0; in run_test()
Dwait_for.pass.cpp35 int test2 = 0; variable
44 assert(test2 == 0); in f()
48 while (test2 == 0 && in f()
55 assert(test2 != 0); in f()
60 assert(test2 == 0); in f()
74 test2 = 1; in main()
80 test2 = 0; in main()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp34 int test2 = 0; variable
49 assert(test2 == 0); in f2()
50 while (test2 == 0) in f2()
52 assert(test2 == 1); in f2()
53 test2 = 2; in f2()
64 test2 = 1; in main()
76 else if (test2 == 2) in main()
79 test2 = 0; in main()
93 else if (test2 == 2) in main()
96 test2 = 0; in main()
Dnotify_all.pass.cpp32 int test2 = 0; variable
47 assert(test2 == 0); in f2()
48 while (test2 == 0) in f2()
50 assert(test2 == 1); in f2()
51 test2 = 2; in f2()
62 test2 = 1; in main()
72 assert(test2 == 2); in main()
Dwait_for.pass.cpp34 int test2 = 0; variable
43 assert(test2 == 0); in f()
47 while (test2 == 0 && in f()
54 assert(test2 != 0); in f()
59 assert(test2 == 0); in f()
73 test2 = 1; in main()
79 test2 = 0; in main()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp36 int test2 = 0; variable
51 assert(test2 == 0); in f2()
52 while (test2 == 0) in f2()
54 assert(test2 == 1); in f2()
55 test2 = 2; in f2()
66 test2 = 1; in main()
78 else if (test2 == 2) in main()
81 test2 = 0; in main()
95 else if (test2 == 2) in main()
98 test2 = 0; in main()
Dwait_for.pass.cpp38 int test2 = 0; variable
47 assert(test2 == 0); in f()
51 while (test2 == 0 && in f()
58 assert(test2 != 0); in f()
63 assert(test2 == 0); in f()
77 test2 = 1; in main()
83 test2 = 0; in main()
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/
Dgenerate_n.pass.cpp52 test2() in test2() function
67 test2<Iter, int>(); in test()
68 test2<Iter, unsigned int>(); in test()
69 test2<Iter, long>(); in test()
70 test2<Iter, unsigned long>(); in test()
71 test2<Iter, UserDefinedIntegral<unsigned> >(); in test()
72 test2<Iter, float>(); in test()
73 test2<Iter, double>(); // this is PR#35498 in test()
74 test2<Iter, long double>(); in test()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/
Dgenerate_n.pass.cpp53 test2() in test2() function
68 test2<Iter, int>(); in test()
69 test2<Iter, unsigned int>(); in test()
70 test2<Iter, long>(); in test()
71 test2<Iter, unsigned long>(); in test()
72 test2<Iter, UserDefinedIntegral<unsigned> >(); in test()
73 test2<Iter, float>(); in test()
74 test2<Iter, double>(); // this is PR#35498 in test()
75 test2<Iter, long double>(); in test()
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp106 UnicodeString test2(temp, 15); in TestBasicManipulation() local
109 if (test2 != expectedValue) in TestBasicManipulation()
110 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
112 test2 += " for me to go!\n"; in TestBasicManipulation()
114 if (test2 != expectedValue) in TestBasicManipulation()
115 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
119 if (test2.length() != 30) in TestBasicManipulation()
120 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
269 UnicodeString test2("this is a test"); in TestCompare() local
281 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
[all …]
/external/angle/src/libANGLE/serializer/
DJsonSerializer_unittest.cpp75 "test2": 2 in TEST_F()
90 "test2": "value" in TEST_F()
108 "test2-hash": "SHA1:4315724B1AB1EB2C0128E8E9DAD6D76254BA711D", in TEST_F()
109 "test2-raw[0-4]": [ in TEST_F()
132 "test2": [ in TEST_F()
152 "test2-hash": "SHA1:6216A439C16A113E2F1E53AB63FB88877D3597F5", in TEST_F()
153 "test2-raw[0-11]": [ in TEST_F()
196 "test2-hash": "SHA1:0BA7C0DE700CE0F8018D084B8CF447B150A9465D", in TEST_F()
197 "test2-raw[0-5]": [ in TEST_F()
257 "test2": 2 in TEST_F()
/external/llvm/test/Transforms/LoopStrengthReduce/
Dlsr-expand-quadratic.ll6 ; PR15470: LSR miscompile. The test2 function should return '1'.
11 ; CHECK-LABEL: @test2
12 ; CHECK-LABEL: test2.loop:
13 ; CHECK: %lsr.iv = phi i32 [ %lsr.iv.next, %test2.loop ], [ -16777216, %entry ]
21 define i32 @test2() {
23 br label %test2.loop
25 test2.loop:
26 %inc1115.us = phi i32 [ 0, %entry ], [ %inc11.us, %test2.loop ]
29 br i1 %cmp.us, label %test2.loop, label %for.end

12345678910>>...146