Home
last modified time | relevance | path

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

12345678910>>...59

/external/libcxx/test/strings/basic.string/string.nonmembers/string_op+/
Dstring_string.pass.cpp55 test2(const S& lhs, S&& rhs, const S& x) in test2() function
109 test2(S(""), S(""), S("")); in main()
110 test2(S(""), S("12345"), S("12345")); in main()
111 test2(S(""), S("1234567890"), S("1234567890")); in main()
112 test2(S(""), S("12345678901234567890"), S("12345678901234567890")); in main()
113 test2(S("abcde"), S(""), S("abcde")); in main()
114 test2(S("abcde"), S("12345"), S("abcde12345")); in main()
115 test2(S("abcde"), S("1234567890"), S("abcde1234567890")); in main()
116 test2(S("abcde"), S("12345678901234567890"), S("abcde12345678901234567890")); in main()
117 test2(S("abcdefghij"), S(""), S("abcdefghij")); in main()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_byteswap.c37 __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/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.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()
72 else if (test2 == 2) in main()
75 test2 = 0; in main()
89 else if (test2 == 2) in main()
92 test2 = 0; in main()
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_for.pass.cpp32 int test2 = 0; variable
41 assert(test2 == 0); in f()
45 while (test2 == 0 && in f()
52 assert(test2 != 0); in f()
57 assert(test2 == 0); in f()
71 test2 = 1; in main()
77 test2 = 0; in main()
Dwait_for_pred.pass.cpp42 int test2 = 0; variable
51 assert(test2 == 0); in f()
55 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_until.pass.cpp49 int test2 = 0; variable
56 assert(test2 == 0); in f()
61 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f()
67 assert(test2 != 0); in f()
72 assert(test2 == 0); in f()
86 test2 = 1; in main()
92 test2 = 0; in main()
Dwait_until_pred.pass.cpp60 int test2 = 0; variable
67 assert(test2 == 0); in f()
72 bool r = cv.wait_until(lk, t, Pred(test2)); in f()
77 assert(test2 != 0); in f()
83 assert(test2 == 0); in f()
98 test2 = 1; in main()
104 test2 = 0; in main()
/external/libcxx/test/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp26 int test2 = 0; variable
41 assert(test2 == 0); in f2()
42 while (test2 == 0) in f2()
44 assert(test2 == 1); in f2()
45 test2 = 2; in f2()
56 test2 = 1; in main()
68 else if (test2 == 2) in main()
71 test2 = 0; in main()
85 else if (test2 == 2) in main()
88 test2 = 0; in main()
Dnotify_all.pass.cpp26 int test2 = 0; variable
41 assert(test2 == 0); in f2()
42 while (test2 == 0) in f2()
44 assert(test2 == 1); in f2()
45 test2 = 2; in f2()
56 test2 = 1; in main()
66 assert(test2 == 2); in main()
Dwait_for.pass.cpp29 int test2 = 0; variable
38 assert(test2 == 0); in f()
42 while (test2 == 0 && in f()
49 assert(test2 != 0); in f()
54 assert(test2 == 0); in f()
68 test2 = 1; in main()
74 test2 = 0; in main()
Dwait_for_pred.pass.cpp39 int test2 = 0; variable
48 assert(test2 == 0); in f()
52 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
57 assert(test2 != 0); in f()
62 assert(test2 == 0); in f()
76 test2 = 1; in main()
82 test2 = 0; in main()
Dwait_until.pass.cpp46 int test2 = 0; variable
53 assert(test2 == 0); in f()
58 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f()
64 assert(test2 != 0); in f()
69 assert(test2 == 0); in f()
83 test2 = 1; in main()
89 test2 = 0; in main()
Dwait_until_pred.pass.cpp56 int test2 = 0; variable
63 assert(test2 == 0); in f()
68 bool r = cv.wait_until(lk, t, Pred(test2)); in f()
73 assert(test2 != 0); in f()
79 assert(test2 == 0); in f()
94 test2 = 1; in main()
100 test2 = 0; in main()
/external/chromium_org/third_party/sqlite/src/test/
Dlock4.test29 file delete -force test2.db test2.db-journal
30 sqlite3 db2 test2.db
36 list [file size test.db] [file size test2.db]
41 # 1. Create a second database test2.db
42 # 2. Get an exclusive lock on test2.db
44 # 4. Commit the change to test2.db.
49 # B. Attempt to read from test2.db but get an SQLITE_BUSY error.
57 set out [open test2-script.tcl w]
60 sqlite3 db2 test2.db
83 exec [info nameofexec] ./test2-script.tcl &
[all …]
Dtrigger4.test25 create table test2(id integer,b);
28 from test1 join test2 on test2.id = test1.id;
32 insert into test2 (id,b) values (NEW.id,NEW.b);
40 select * from test2;
53 select * from test2;
62 update test2 set b=NEW.b where id=NEW.id;
70 select * from test2;
83 select * from test2;
89 drop table test2;
92 } {1 {no such table: main.test2}}
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/accessibility/
DFontSizePrefsTest.java73 TestingObserver test2 = new TestingObserver(); in testObserversForceEnableZoom() local
75 mFontSizePrefs.addObserver(test2); in testObserversForceEnableZoom()
81 assertTrue(test2.getForceEnableZoom()); in testObserversForceEnableZoom()
88 assertFalse(test2.getForceEnableZoom()); in testObserversForceEnableZoom()
89 mFontSizePrefs.removeObserver(test2); in testObserversForceEnableZoom()
96 TestingObserver test2 = new TestingObserver(); in testObserversFontScale() local
98 mFontSizePrefs.addObserver(test2); in testObserversFontScale()
105 assertEquals(newTextScale, test2.getFontScaleFactor()); in testObserversFontScale()
113 assertEquals(newerTextScale, test2.getFontScaleFactor()); in testObserversFontScale()
114 mFontSizePrefs.removeObserver(test2); in testObserversFontScale()
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp104 UnicodeString test2(temp, 15); in TestBasicManipulation() local
107 if (test2 != expectedValue) in TestBasicManipulation()
108 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
110 test2 += " for me to go!\n"; in TestBasicManipulation()
112 if (test2 != expectedValue) in TestBasicManipulation()
113 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
117 if (test2.length() != 30) in TestBasicManipulation()
118 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
267 UnicodeString test2("this is a test"); in TestCompare() local
279 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dustrtest.cpp104 UnicodeString test2(temp, 15); in TestBasicManipulation() local
107 if (test2 != expectedValue) in TestBasicManipulation()
108 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
110 test2 += " for me to go!\n"; in TestBasicManipulation()
112 if (test2 != expectedValue) in TestBasicManipulation()
113 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
117 if (test2.length() != 30) in TestBasicManipulation()
118 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
267 UnicodeString test2("this is a test"); in TestCompare() local
279 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
[all …]
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-1167.js67 function test2(x) { function
73 for (var i = 0; i < 5; ++i) test2(0);
74 %OptimizeFunctionOnNextCall(test2);
75 test2(0);
76 test2(test2);
Dregress-2980.js46 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);
Dregress-2110.js45 function test2() { function
50 test2();
51 test2();
52 %OptimizeFunctionOnNextCall(test2);
53 test2();
/external/chromium_org/v8/test/mjsunit/
Dmath-floor-negative.js36 function test2() { function
50 test2();
51 test2();
52 %OptimizeFunctionOnNextCall(test2);
58 assertEquals(-101, test2());
/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/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>>...59