/external/libcxx/test/std/experimental/string.view/string.view.capacity/ |
D | capacity.pass.cpp | 44 void test2 ( const CharT *s, size_t len ) { in test2() function 66 …test2 ( "ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCD… in main() 67 test2 ( "ABCDE", 5 ); in main() 68 test2 ( "a", 1 ); in main() 69 test2 ( "", 0 ); in main() 71 …test2 ( L"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABC… in main() 72 test2 ( L"ABCDE", 5 ); in main() 73 test2 ( L"a", 1 ); in main() 74 test2 ( L"", 0 ); in main() 77 …test2 ( u"ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABC… in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
D | string_string.pass.cpp | 56 test2(const S& lhs, S&& rhs, const S& x) in test2() function 110 test2(S(""), S(""), S("")); in main() 111 test2(S(""), S("12345"), S("12345")); in main() 112 test2(S(""), S("1234567890"), S("1234567890")); in main() 113 test2(S(""), S("12345678901234567890"), S("12345678901234567890")); in main() 114 test2(S("abcde"), S(""), S("abcde")); in main() 115 test2(S("abcde"), S("12345"), S("abcde12345")); in main() 116 test2(S("abcde"), S("1234567890"), S("abcde1234567890")); in main() 117 test2(S("abcde"), S("12345678901234567890"), S("abcde12345678901234567890")); in main() 118 test2(S("abcdefghij"), S(""), S("abcdefghij")); in main() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | tst_byteswap.c | 37 __u32 test2[] = { variable 73 printf("swab32(0x%08x) = 0x%08x\n", test2[i], in main() 74 ext2fs_swab32(test2[i])); in main() 75 if (ext2fs_swab32(test2[i]) != test2[i+1]) { in main() 77 ext2fs_swab32(test2[i]), test2[i+1]); in main() 80 if (ext2fs_swab32(test2[i+1]) != test2[i]) { in main() 82 ext2fs_swab32(test2[i+1]), test2[i]); in main() 86 } while (test2[i] != 0); in main()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | notify_one.pass.cpp | 32 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()
|
D | notify_all.pass.cpp | 32 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()
|
D | wait_for.pass.cpp | 34 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()
|
D | wait_for_pred.pass.cpp | 44 int test2 = 0; variable 53 assert(test2 == 0); in f() 57 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 62 assert(test2 != 0); in f() 67 assert(test2 == 0); in f() 81 test2 = 1; in main() 87 test2 = 0; in main()
|
D | wait_until.pass.cpp | 51 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()
|
D | wait_until_pred.pass.cpp | 62 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/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 28 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() 70 else if (test2 == 2) in main() 73 test2 = 0; in main() 87 else if (test2 == 2) in main() 90 test2 = 0; in main()
|
D | notify_all.pass.cpp | 28 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()
|
D | wait_for.pass.cpp | 31 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()
|
D | wait_for_pred.pass.cpp | 41 int test2 = 0; variable 50 assert(test2 == 0); in f() 54 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 59 assert(test2 != 0); in f() 64 assert(test2 == 0); in f() 78 test2 = 1; in main() 84 test2 = 0; in main()
|
D | wait_until.pass.cpp | 48 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()
|
D | wait_until_pred.pass.cpp | 58 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/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 94 UnicodeString test2(temp, 15); in TestBasicManipulation() local 97 if (test2 != expectedValue) in TestBasicManipulation() 98 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation() 100 test2 += " for me to go!\n"; in TestBasicManipulation() 102 if (test2 != expectedValue) in TestBasicManipulation() 103 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation() 107 if (test2.length() != 30) in TestBasicManipulation() 108 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation() 257 UnicodeString test2("this is a test"); in TestCompare() local 269 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare() [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-1167.js | 67 function test2(x) { function 73 for (var i = 0; i < 5; ++i) test2(0); 74 %OptimizeFunctionOnNextCall(test2); 75 test2(0); 76 test2(test2);
|
D | regress-2980.js | 46 function test2(expected, holder) { function 59 test2(undefined, rec2); 60 test2(undefined, rec2); 61 test2(undefined, rec2); 63 test2("bar", rec2); 64 test2("bar", rec2);
|
D | regress-2110.js | 45 function test2() { function 50 test2(); 51 test2(); 52 %OptimizeFunctionOnNextCall(test2); 53 test2();
|
D | regress-convert-hole.js | 30 function f_store(test, test2, a, i) { argument 38 if (test2) { 60 function f_call(f, test, test2, i) { argument 68 if (test2) { 83 function f_external(test, test2, test3, a, i) { argument 91 if (test2) {
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | lsr-expand-quadratic.ll | 6 ; 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/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
D | p13.cpp | 20 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/v8/test/mjsunit/ |
D | math-floor-negative.js | 36 function test2() { function 50 test2(); 51 test2(); 52 %OptimizeFunctionOnNextCall(test2); 58 assertEquals(-101, test2());
|
/external/v8/test/mjsunit/compiler/ |
D | boolean-protototype.js | 16 function test2(s) { function 19 assertSame(test2(false), Boolean.prototype.valueOf); 20 assertSame(test2(true), Boolean.prototype.valueOf); 21 %OptimizeFunctionOnNextCall(test2); 22 assertSame(test2(false), Boolean.prototype.valueOf); 23 assertSame(test2(true), Boolean.prototype.valueOf);
|
/external/llvm/test/Object/ |
D | archive-symtab.test | 2 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 …]
|