/external/stlport/test/unit/ |
H A D | fib.h | 6 Fibonacci() : v1(0), v2(1) {} 10 int v2; member in class:Fibonacci 16 int r = v1 + v2; 17 v1 = v2; 18 v2 = r;
|
H A D | includes_test.cpp | 49 vector<int> v2(3); 55 bool r1=includes(v1.begin(), v1.end(), v2.begin(), v2.end()); 58 for (i = 0; (size_t)i < v2.size(); ++i) 59 v2[i] = i + 3; 61 bool r2=includes(v1.begin(), v1.end(), v2.begin(), v2.end()); 73 vector <char const*> v2(2); 75 v2[0] = "foo"; 76 v2[ [all...] |
H A D | rotate_test.cpp | 108 vector <int> v2(v1.size()); 110 rotate_copy(v1.begin(), v1.begin()+1, v1.end(), v2.begin()); 111 CPPUNIT_ASSERT(v2[0]==1); 112 CPPUNIT_ASSERT(v2[1]==2); 113 CPPUNIT_ASSERT(v2[2]==3); 114 CPPUNIT_ASSERT(v2[3]==4); 115 CPPUNIT_ASSERT(v2[4]==5); 116 CPPUNIT_ASSERT(v2[5]==6); 117 CPPUNIT_ASSERT(v2[6]==7); 118 CPPUNIT_ASSERT(v2[ [all...] |
H A D | search_test.cpp | 42 int v2[6] = { 0, 1, 2, 3, 4, 5 }; local 49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2); 50 CPPUNIT_ASSERT(location != v2 + 6); 51 CPPUNIT_ASSERT(location - v2 == 3); 58 IntVec v2(3); 59 __iota(v2.begin(), v2.end(), 50); 62 location = search(v1.begin(), v1.end(), v2.begin(), v2 [all...] |
H A D | swap_test.cpp | 91 queue<Obj> v2; local 98 v2.push( Obj() ); 99 v2.back().v = 10; 100 v2.push( Obj() ); 101 v2.back().v = 11; 102 v2.push( Obj() ); 103 v2.back().v = 12; 106 CPPUNIT_CHECK( v2.size() == 3 ); 108 swap( v1, v2 ); // this shouldn't try make it as v1.swap( v2 ), n 134 vector<Obj> v2; local [all...] |
H A D | setdiff_test.cpp | 46 int v2[4] = { 10, 13, 17, 23 }; local 49 set_symmetric_difference((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); 60 vector<int> v2(10); 61 __iota(v2.begin(), v2.end(), 7); 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 90 int v2[4] = { 10, 13, 17, 23 }; local 95 set_difference((int*)v1, (int*)v1 + 3, (int*)v2, (in [all...] |
H A D | setinter_test.cpp | 40 int v2[4] = { 10, 13, 17, 23 }; local 43 set_intersection((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); 55 vector <int> v2(10); 56 __iota(v2.begin(), v2.end(), 7); 59 set_intersection(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(inter));
|
H A D | setunion_test.cpp | 40 int v2[4] = { 10, 13, 17, 23 }; local 43 set_union((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); 58 vector <int> v2(10); 59 __iota(v2.begin(), v2.end(), 7); 62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
H A D | gtest_pred_impl.h | 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 136 const T2& v2) { 137 if (pred(v1, v2)) return AssertionSuccess(); 144 << "\n" << e2 << " evaluates to " << v2; local 150 #define GTEST_PRED_FORMAT2(pred_format, v1, v2, on_failure)\ 151 GTEST_ASSERT(pred_format(#v1, #v2, v1, v2),\ 156 #define GTEST_PRED2(pred, v1, v2, on_failur 131 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument 182 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument 240 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument 305 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument [all...] |
/external/chromium/testing/gtest/include/gtest/ |
H A D | gtest_pred_impl.h | 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 134 const T2& v2) { 135 if (pred(v1, v2)) return AssertionSuccess(); 141 << "\n" << e2 << " evaluates to " << v2; 146 #define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure)\ 147 GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2),\ 152 #define GTEST_PRED2_(pred, v1, v2, on_failur 129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument 178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument 234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument 297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument [all...] |
/external/gtest/include/gtest/ |
H A D | gtest_pred_impl.h | 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 134 const T2& v2) { 135 if (pred(v1, v2)) return AssertionSuccess(); 141 << "\n" << e2 << " evaluates to " << v2; 146 #define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure)\ 147 GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2),\ 152 #define GTEST_PRED2_(pred, v1, v2, on_failur 129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument 178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument 234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument 297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
H A D | gtest_pred_impl.h | 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 134 const T2& v2) { 135 if (pred(v1, v2)) return AssertionSuccess(); 141 << "\n" << e2 << " evaluates to " << v2; 146 #define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure)\ 147 GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2),\ 152 #define GTEST_PRED2_(pred, v1, v2, on_failur 129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument 178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument 234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument 297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument [all...] |
/external/protobuf/gtest/include/gtest/ |
H A D | gtest_pred_impl.h | 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 136 const T2& v2) { 137 if (pred(v1, v2)) return AssertionSuccess(); 144 << "\n" << e2 << " evaluates to " << v2; local 150 #define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure)\ 151 GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2),\ 156 #define GTEST_PRED2_(pred, v1, v2, on_failur 131 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument 182 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument 240 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument 305 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument [all...] |
/external/clang/test/SemaTemplate/ |
H A D | qualified-names-diag.cpp | 14 vector<Real> v2; local 15 v1 = v2; // expected-error{{no viable overloaded '='}}
|
/external/clang/test/CodeGen/ |
H A D | cxx-value-init.cpp | 5 float v2 = float(); variable
|
H A D | mmx-inline-asm.c | 9 __m64 v1, v2, v3, v4, v5, v6, v7; local 19 : "=&y" (v1), "=&y" (v2), "=&y" (v3),
|
H A D | vld_dup.c | 9 int32_t v2[4]; local 28 v3 = vld4_dup_s32(v2);
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
H A D | TriangleAxisComparator.java | 47 float v1, v2; 51 case 0: v1 = c1.x; v2 = c2.x; break; 52 case 1: v1 = c1.y; v2 = c2.y; break; 53 case 2: v1 = c1.z; v2 = c2.z; break; 56 if (v1 > v2) 58 else if (v1 < v2)
|
H A D | BIHTriangle.java | 77 float v1, v2, v3; 79 case 0: v1 = pointa.x; v2 = pointb.x; v3 = pointc.x; break; 80 case 1: v1 = pointa.y; v2 = pointb.y; v3 = pointc.y; break; 81 case 2: v1 = pointa.z; v2 = pointb.z; v3 = pointc.z; break; 85 if (v1 < v2){ 91 if (v2 < v3) 92 return v2; 97 if (v1 > v2){ 103 if (v2 > v3) 104 return v2; [all...] |
/external/clang/test/Parser/ |
H A D | pragma-visibility2.c | 13 int v2; variable 14 // CHECK: @v2 = common global i32 0, align 4
|
/external/clang/test/Sema/ |
H A D | vector-assign.c | 10 v2u v2; local 15 v1 = v2; // expected-warning {{incompatible vector types assigning to 'v2s' from 'v2u'}} 20 v2 = v1; // expected-warning {{incompatible vector types assigning to 'v2u' from 'v2s'}} 21 v2 = v3; // expected-error {{assigning to 'v2u' from incompatible type 'v1s'}} 22 v2 = v4; // expected-warning {{incompatible vector types assigning to 'v2u' from 'v2f'}} 23 v2 = v5; // expected-warning {{incompatible vector types assigning to 'v2u' from 'v4ss'}} 26 v3 = v2; // expected-error {{assigning to 'v1s' from incompatible type 'v2u'}} 31 v4 = v2; // expected-warning {{incompatible vector types assigning to 'v2f' from 'v2u'}} 36 v5 = v2; // expected-warning {{incompatible vector types assigning to 'v4ss' from 'v2u'}}
|
/external/v8/test/mjsunit/compiler/ |
H A D | regress-gap.js | 30 function small_select(n, v1, v2) { 33 v1 = v2; 34 v2 = tmp; 39 function select(n, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { 42 v1 = v2; 43 v2 = v3; 56 function select_while(n, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { 60 v1 = v2; 61 v2 = v3; 75 function two_cycles(n, v1, v2, v [all...] |
/external/clang/test/PCH/ |
H A D | cxx-implicit-moves.cpp | 19 float test(float v1, float v2) { argument 20 NSSize s = NSMakeSize(v1, v2);
|
/external/oprofile/libutil++/tests/ |
H A D | string_filter_tests.cpp | 52 vector<string> v2; local 54 string_filter f6(v1, v2); 61 string_filter f7(v1, v2); 68 v2.push_back("no"); 69 v2.push_back("no2"); 71 string_filter f8(v1, v2); 79 string_filter f9(v1, v2);
|
/external/clang/test/CXX/special/class.conv/class.conv.ctor/ |
H A D | p1.cpp | 19 void_type2 v2 = atom(); member in namespace:PR13003
|