Home
last modified time | relevance | path

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

12345678910>>...125

/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/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/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/cpython3/Lib/unittest/test/testmock/
Dtestsealable.py24 self.assertIsInstance(m.test().test2(), mock.Mock)
44 m.test.test2 = 1
47 m.test.test2 = 2
48 self.assertEqual(m.test.test2, 2)
52 m.test.test2 = 1
88 m.test1.test2().test3 = 4
91 self.assertEqual(m.test1.test2().test3, 4)
93 m.test1.test2().test4
100 m.test1.test2["a"].test3 = 4
104 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_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()
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_until.pass.cpp48 int test2 = 0; variable
55 assert(test2 == 0); in f()
60 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f()
66 assert(test2 != 0); in f()
71 assert(test2 == 0); in f()
85 test2 = 1; in main()
91 test2 = 0; in main()
Dwait_until_pred.pass.cpp58 int test2 = 0; variable
65 assert(test2 == 0); in f()
70 bool r = cv.wait_until(lk, t, Pred(test2)); in f()
75 assert(test2 != 0); in f()
81 assert(test2 == 0); in f()
96 test2 = 1; in main()
102 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()
Dwait_for_pred.pass.cpp44 int test2 = 0; variable
54 assert(test2 == 0); in f()
58 bool result = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
64 assert(test2 != 0); in f()
69 assert(test2 == 0); in f()
84 test2 = 1; in main()
90 test2 = 0; in main()
Dwait_until.pass.cpp51 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()
88 test2 = 1; in main()
94 test2 = 0; in main()
Dwait_until_pred.pass.cpp62 int test2 = 0; variable
69 assert(test2 == 0); in f()
74 bool r = cv.wait_until(lk, t, Pred(test2)); in f()
79 assert(test2 != 0); in f()
85 assert(test2 == 0); in f()
100 test2 = 1; in main()
106 test2 = 0; in main()
/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.cpp103 UnicodeString test2(temp, 15); in TestBasicManipulation() local
106 if (test2 != expectedValue) in TestBasicManipulation()
107 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
109 test2 += " for me to go!\n"; in TestBasicManipulation()
111 if (test2 != expectedValue) in TestBasicManipulation()
112 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
116 if (test2.length() != 30) in TestBasicManipulation()
117 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
266 UnicodeString test2("this is a test"); in TestCompare() local
278 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
[all …]
/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
/external/libxml2/
Dtestdict.c32 static const xmlChar *test2[NB_STRINGS_MAX]; variable
162 memset(test2, 0, sizeof(test2)); in run_test2()
171 test2[i] = xmlDictLookup(dict, strings2[i], -1); in run_test2()
172 if (test2[i] == NULL) { in run_test2()
181 test2[j] = xmlDictLookup(dict, strings2[j], xmlStrlen(strings2[j])); in run_test2()
182 if (test2[j] == NULL) { in run_test2()
191 test2[j] = xmlDictLookup(dict, strings2[j], xmlStrlen(strings2[j])); in run_test2()
192 if (test2[j] == NULL) { in run_test2()
205 if (test2[i] != NULL) in run_test2()
207 test2[i] = xmlDictLookup(dict, strings2[i], -1); in run_test2()
[all …]
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp13.cpp20 Opaque0 test2(int*);
31 using Base::test2;
32 Opaque1 test2(int*) const;
48 void test2() { in test2() function
49 Opaque0 a = ((Derived*) 0)->test2((int*) 0); in test2()
50 Opaque1 b = ((const Derived*) 0)->test2((int*) 0); in test2()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/X86/
Dlsr-expand-quadratic.ll15 ; PR15470: LSR miscompile. The test2 function should return '1'.
22 ; CHECK-LABEL: @test2
23 ; CHECK-LABEL: test2.loop:
24 ; CHECK: %lsr.iv1 = phi i32 [ %lsr.iv.next2, %test2.loop ], [ -16777216, %entry ]
25 ; CHECK: %lsr.iv = phi i32 [ %lsr.iv.next, %test2.loop ], [ 1, %entry ]
37 define i32 @test2() {
39 br label %test2.loop
41 test2.loop:
42 %inc1115.us = phi i32 [ 0, %entry ], [ %inc11.us, %test2.loop ]
45 br i1 %cmp.us, label %test2.loop, label %for.end
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.structbuffer.frag.out10 …child ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
11 …data' ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
12 …d430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
13 …ent array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
14 …ay of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data})
22 …ent array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
23 …ay of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data})
33 …d430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
34 …ent array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2})
35 …ay of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data})
[all …]
/external/clang/test/SemaObjC/
Dmethod-conflict-1.m48 - (void) test2:(B*) object;
53 - (void) test2:(A*) object {}
59 - (void) test2:(A*) object;
63 - (void) test2:(id) object {}
68 - (B*) test2; // broken-note {{previous definition is here}} method
73 - (A*) test2 { return 0; } // broken-warning {{conflicting return type in implementation of 'test2'… method
79 - (A*) test2; method
83 - (id) test2 { return 0; } method
/external/llvm/test/Object/
Darchive-symtab.test2 RUN: llvm-ar rcsU %t.a %p/Inputs/trivial-object-test.elf-x86-64 %p/Inputs/trivial-object-test2.elf-…
7 CHECK-NEXT: foo in trivial-object-test2.elf-x86-64
8 CHECK-NEXT: main in trivial-object-test2.elf-x86-64
13 …mat=gnu rcT %t.a %p/Inputs/trivial-object-test.elf-x86-64 %p/Inputs/trivial-object-test2.elf-x86-64
18 THIN-NEXT: foo in {{.*}}/Inputs/trivial-object-test2.elf-x86-64
19 THIN-NEXT: main in {{.*}}/Inputs/trivial-object-test2.elf-x86-64
27 CHECK: trivial-object-test2.elf-x86-64:
33 RUN: llvm-ar rcSU %t.a %p/Inputs/trivial-object-test.elf-x86-64 %p/Inputs/trivial-object-test2.elf-…
48 CORRUPT-NEXT: foo in trivial-object-test2.elf-x86-64
49 CORRUPT-NEXT: main in trivial-object-test2.elf-x86-64
[all …]

12345678910>>...125