/external/stlport/test/unit/ |
H A D | rndshf_test.cpp | 55 vector <int> v1(10); 56 __iota(v1.begin(), v1.end(), 0); 61 random_shuffle(v1.begin(), v1.end(), r); 62 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 0)==1); 63 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 1)==1); 64 CPPUNIT_ASSERT(count(v1 [all...] |
H A D | rotate_test.cpp | 50 vector <int> v1(10); 51 __iota(v1.begin(), v1.end(), 0); 53 rotate(v1.begin(), v1.begin()+1, v1.end()); 54 CPPUNIT_ASSERT(v1[0]==1); 55 CPPUNIT_ASSERT(v1[1]==2); 56 CPPUNIT_ASSERT(v1[2]==3); 57 CPPUNIT_ASSERT(v1[ [all...] |
H A D | search_test.cpp | 41 int v1[6] = { 1, 1, 2, 3, 5, 8 }; local 46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2); 47 CPPUNIT_ASSERT(location == v1 + 6); 56 IntVec v1(10); 57 __iota(v1.begin(), v1.end(), 0); 62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 64 CPPUNIT_ASSERT(location == v1 [all...] |
H A D | setdiff_test.cpp | 45 int v1[3] = { 13, 18, 23 }; local 49 set_symmetric_difference((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); 58 vector<int> v1(10); 59 __iota(v1.begin(), v1.end(), 0); 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 89 int v1[3] = { 13, 18, 23 }; local 95 set_difference((int*)v1, (in [all...] |
H A D | setinter_test.cpp | 39 int v1[3] = { 13, 18, 23 }; local 43 set_intersection((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); 53 vector <int> v1(10); 54 __iota(v1.begin(), v1.end(), 0); 59 set_intersection(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(inter));
|
H A D | setunion_test.cpp | 39 int v1[3] = { 13, 18, 23 }; local 43 set_union((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); 56 vector <int> v1(10); 57 __iota(v1.begin(), v1.end(), 0); 62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
|
H A D | swap_test.cpp | 90 queue<Obj> v1; local 93 v1.push( Obj() ); 94 v1.back().v = -1; 95 v1.push( Obj() ); 96 v1.back().v = -2; 105 CPPUNIT_CHECK( v1.size() == 2 ); 108 swap( v1, v2 ); // this shouldn't try make it as v1.swap( v2 ), no queue::swap method! 110 CPPUNIT_CHECK( v1.size() == 3 ); 114 CPPUNIT_CHECK( v1 133 vector<Obj> v1; local [all...] |
H A D | valarray_test.cpp | 116 valarray<double> v1(v0[slice(0, 1, 5)]);
|
H A D | vector_test.cpp | 71 vector<int> v1; // Empty vector of integers. local 73 CPPUNIT_ASSERT( v1.empty() == true ); 74 CPPUNIT_ASSERT( v1.size() == 0 ); 76 // CPPUNIT_ASSERT( v1.max_size() == INT_MAX / sizeof(int) ); 77 // cout << "max_size = " << v1.max_size() << endl; 78 v1.push_back(42); // Add an integer to the vector. 80 CPPUNIT_ASSERT( v1.size() == 1 ); 82 CPPUNIT_ASSERT( v1[0] == 42 ); 98 vector<double> v1; // Empty vector of doubles. local 99 v1 134 vec_type v1; // Empty vector of characters. local 337 vector<int *> v1; local [all...] |
/external/svox/pico/lib/ |
H A D | picocep.c | 866 picoos_int32 j, v1, v2, h; local 892 v1 = picocep_fixptmult((cep->diag1[j - 1]) / (1 << rowscpow), 895 v1, bigpow, invDoubleDec); 907 h = picocep_fixptmult(cep->diag2[j - 1], v1, bigpow, invDoubleDec);
|
H A D | picosig2.c | 833 picoos_int32 *fr, *v1, ff, f; local 846 v1 = sig_inObj->sig_vec1; 848 t1 = v1; 850 t1 = &(v1[PICODSP_FFTSIZE - PICODSP_DISPLACE]); 851 t2 = &(v1[PICODSP_FFTSIZE]); 853 t1 = &(v1[2 * PICODSP_FFTSIZE - PICODSP_DISPLACE]);FAST_DEVICE(PICODSP_DISPLACE,*(t1++)=0;); 865 t1 = &(v1[a + sig_inObj->LocV[nI]]); 878 t1 = &(v1[a + sig_inObj->LocU[nI]]); 885 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); 897 t1 = &(v1[ [all...] |
/external/speex/libspeex/ |
H A D | nb_celp.c | 461 int v1; local 463 v1=(int)floor(st->vbr_quality); 464 if (v1==10) 465 thresh = vbr_nb_thresh[mode][v1]; 467 thresh = (st->vbr_quality-v1)*vbr_nb_thresh[mode][v1+1] + (1+v1-st->vbr_quality)*vbr_nb_thresh[mode][v1];
|
H A D | sb_celp.c | 466 int v1; local 468 v1=(int)floor(st->vbr_quality); 469 if (v1==10) 470 thresh = mode->vbr_thresh[modeid][v1]; 472 thresh = (st->vbr_quality-v1) * mode->vbr_thresh[modeid][v1+1] + 473 (1+v1-st->vbr_quality) * mode->vbr_thresh[modeid][v1];
|
/external/sqlite/android/ |
H A D | sqlite3_android.cpp | 37 static int collate16(void *p, int n1, const void *v1, int n2, const void *v2) argument 40 UCollationResult result = ucol_strcoll(coll, (const UChar *) v1, n1, 52 static int collate8(void *p, int n1, const void *v1, int n2, const void *v2) argument 58 uiter_setUTF8(&i1, (const char *) v1, n1);
|
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 63184 int v1 = translateP(c, pOp); local 65468 const void *v1, *v2; local 70135 int v1; /* Left operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 63204 int v1 = translateP(c, pOp); local 65488 const void *v1, *v2; local 70155 int v1; /* Left operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ local [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | float-weight.h | 71 volatile float v1 = w1.Value(); local 73 return v1 == v2;
|
/external/skia/samplecode/ |
H A D | SampleColorFilter.cpp | 68 int v1 = inflate5To8(t1); local 71 int err1 = i - v1; 74 v0, err0, v1, err1, v2, err2);
|
/external/skia/src/animator/ |
H A D | SkOperandIterpolator.cpp | 112 SkOperand v1[3], v2[3], v[3], vv[3]; local 115 inter.setKeyFrame(0, 100, iset(v1, 10, 20, 30), 0); 120 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 124 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 128 SkASSERT(memcmp(v, v1, sizeof(v)) == 0);
|
/external/skia/src/core/ |
H A D | SkBitmapProcState.cpp | 99 SkPoint v1, v2; local 101 v1.fX = mat.getScaleX(); 102 v1.fY = mat.getSkewY(); 107 return SkMaxScalar(v1.lengthSqd(), v2.lengthSqd());
|
/external/skia/src/effects/gradients/ |
H A D | SkClampRange.cpp | 48 void SkClampRange::init(SkFixed fx0, SkFixed dx0, int count, int v0, int v1) { argument 52 fV1 = v1;
|
H A D | SkClampRange.h | 31 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
|
H A D | SkGradientShaderPriv.h | 23 static inline void sk_memset32_dither(uint32_t dst[], uint32_t v0, uint32_t v1, argument 26 if (v0 == v1) { 32 *dst++ = v1;
|
/external/skia/src/gpu/gl/ |
H A D | GrGLNoOpInterface.cpp | 290 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2f(GrGLint location, GrGLfloat v0, GrGLfloat v1) { argument 293 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2i(GrGLint location, GrGLint v0, GrGLint v1) { argument 308 GrGLfloat v1, 314 GrGLint v1, 330 GrGLfloat v1, 337 GrGLint v1, 306 noOpGLUniform3f(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2) argument 312 noOpGLUniform3i(GrGLint location, GrGLint v0, GrGLint v1, GrGLint v2) argument 328 noOpGLUniform4f(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLfloat v3) argument 335 noOpGLUniform4i(GrGLint location, GrGLint v0, GrGLint v1, GrGLint v2, GrGLint v3) argument
|
H A D | GrGLNoOpInterface.h | 204 GrGLfloat v1); 206 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2i(GrGLint location, GrGLint v0, GrGLint v1); 218 GrGLfloat v1, 223 GrGLint v1, 236 GrGLfloat v1, 242 GrGLint v1,
|