Home
last modified time | relevance | path

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

12345678910>>...87

/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/libcxx/test/std/strings/string.view/string.view.capacity/
Dcapacity.pass.cpp50 void test2 ( const CharT *s, size_t len ) { in test2() function
77test2 ( "ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCD… in main()
78 test2 ( "ABCDE", 5 ); in main()
79 test2 ( "a", 1 ); in main()
80 test2 ( "", 0 ); in main()
82test2 ( L"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABC… in main()
83 test2 ( L"ABCDE", 5 ); in main()
84 test2 ( L"a", 1 ); in main()
85 test2 ( L"", 0 ); in main()
88test2 ( u"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABC… 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/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.cpp31 int test2 = 0; variable
40 assert(test2 == 0); in f()
44 while (test2 == 0 && in f()
51 assert(test2 != 0); in f()
56 assert(test2 == 0); in f()
70 test2 = 1; in main()
76 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.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()
74 else if (test2 == 2) in main()
77 test2 = 0; in main()
91 else if (test2 == 2) in main()
94 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/icu/icu4c/source/test/intltest/
Dustrtest.cpp102 UnicodeString test2(temp, 15); in TestBasicManipulation() local
105 if (test2 != expectedValue) in TestBasicManipulation()
106 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
108 test2 += " for me to go!\n"; in TestBasicManipulation()
110 if (test2 != expectedValue) in TestBasicManipulation()
111 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
115 if (test2.length() != 30) in TestBasicManipulation()
116 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
265 UnicodeString test2("this is a test"); in TestCompare() local
277 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
[all …]
/external/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/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/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
Dquadradic-exit-value.ll25 ; PR15470: LSR miscompile. The test2 function should return '1'.
30 ; CHECK-LABEL: IV Users for loop %test2.loop
31 ; CHECK: %sext.us = {0,+,(16777216 + (-16777216 * %sub.us))<nuw><nsw>,+,33554432}<%test2.loop> in %…
32 define i32 @test2() {
34 br label %test2.loop
36 test2.loop:
37 %inc1115.us = phi i32 [ 0, %entry ], [ %inc11.us, %test2.loop ]
40 br i1 %cmp.us, label %test2.loop, label %for.end
/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 …]
/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
Dmethod-conflict-2.m9 - (void) test2:(B*) object;
14 - (void) test2:(A*) object {}
19 - (void) test2:(A*) object;
24 - (void) test2:(id) object {}
29 - (B*) test2; // expected-note {{previous definition is here}} method
34 - (A*) test2 { return 0; } // expected-warning {{conflicting return type in implementation of 'test… method
40 - (A*) test2; method
44 - (id) test2 { return 0; } method
/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/icu/icu4c/source/samples/citer/
Dciter.cpp57 UCharCharacterIterator* test2 = (UCharCharacterIterator*)iter.clone(); in TestUChariter() local
61 if (iter != *test2 ) { in TestUChariter()
68 test2->getText(result2); in TestUChariter()
111 delete test2; in TestUChariter()
124 StringCharacterIterator* test2 = (StringCharacterIterator*)iter.clone(); in TestStringiter() local
126 if (iter != *test2 ) { in TestStringiter()
133 test2->getText(result2); in TestStringiter()
174 delete test2; in TestStringiter()

12345678910>>...87