Home
last modified time | relevance | path

Searched refs:vec1 (Results 1 – 7 of 7) sorted by relevance

/external/astl/tests/
Dtest_vector.cpp43 vector<int> vec1; in testConstructorInt() local
44 EXPECT_TRUE(vec1.empty()); in testConstructorInt()
45 EXPECT_TRUE(vec1.size() == 0); in testConstructorInt()
46 EXPECT_TRUE(vec1.capacity() == 0); in testConstructorInt()
79 const vector<int> vec1(100, 10); in testConstructorRepeat() local
81 EXPECT_TRUE(vec1.end() - vec1.begin() == 100); in testConstructorRepeat()
84 EXPECT_TRUE(vec1[i] == 10); in testConstructorRepeat()
117 vector<int> vec1(100, 10); in testReserve() local
119 EXPECT_TRUE(vec1.capacity() == 100); in testReserve()
120 EXPECT_TRUE(vec1.reserve(200)); in testReserve()
[all …]
/external/freetype/src/base/
Dftoutln.c223 FT_Vector vec1, vec2; in FT_Outline_Decompose() local
233 vec1.x = SCALED( point[-2].x ); in FT_Outline_Decompose()
234 vec1.y = SCALED( point[-2].y ); in FT_Outline_Decompose()
250 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
252 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); in FT_Outline_Decompose()
261 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
263 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user ); in FT_Outline_Decompose()
Dftstroke.c312 FT_Vector* vec1 = border->points + start + 1; in ft_stroke_border_close() local
316 for ( ; vec1 < vec2; vec1++, vec2-- ) in ft_stroke_border_close()
321 tmp = *vec1; in ft_stroke_border_close()
322 *vec1 = *vec2; in ft_stroke_border_close()
1795 FT_Vector vec1, vec2; in FT_Stroker_ParseOutline() local
1805 vec1 = point[-2]; in FT_Stroker_ParseOutline()
1815 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec ); in FT_Stroker_ParseOutline()
1821 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start ); in FT_Stroker_ParseOutline()
/external/freetype/src/smooth/
Dftgrays.c1591 FT_Vector vec1, vec2; in FT_Outline_Decompose() local
1601 vec1.x = SCALED( point[-2].x ); in FT_Outline_Decompose()
1602 vec1.y = SCALED( point[-2].y ); in FT_Outline_Decompose()
1618 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
1620 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); in FT_Outline_Decompose()
1629 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
1631 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user ); in FT_Outline_Decompose()
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dvlc_encode.cpp2544 Int vec1, vec2, vec3; in find_pmvs() local
2568 vec1 = 2 ; in find_pmvs()
2580 vec1 = 2 ; in find_pmvs()
2592 vec1 = 1 ; in find_pmvs()
2604 vec1 = 4 ; in find_pmvs()
2616 vec1 = 3 ; in find_pmvs()
2681 p1x = motdata[yin1*nMBPerRow+xin1][vec1].x; in find_pmvs()
2682 p1y = motdata[yin1*nMBPerRow+xin1][vec1].y; in find_pmvs()
/external/freetype/src/truetype/
Dttinterp.c4832 FT_Vector* vec1 = CUR.zp0.orus + L; in Ins_MD() local
4839 D = CUR_Func_dualproj( vec1, vec2 ); in Ins_MD()
4847 vec.x = TT_MULFIX( vec1->x - vec2->x, CUR.metrics.x_scale ); in Ins_MD()
4848 vec.y = TT_MULFIX( vec1->y - vec2->y, CUR.metrics.y_scale ); in Ins_MD()
5764 FT_Vector* vec1 = &CUR.zp1.org[point]; in Ins_MDRP() local
5768 org_dist = CUR_Func_dualproj( vec1, vec2 ); in Ins_MDRP()
5772 FT_Vector* vec1 = &CUR.zp1.orus[point]; in Ins_MDRP() local
5779 org_dist = CUR_Func_dualproj( vec1, vec2 ); in Ins_MDRP()
5787 vec.x = TT_MULFIX( vec1->x - vec2->x, CUR.metrics.x_scale ); in Ins_MDRP()
5788 vec.y = TT_MULFIX( vec1->y - vec2->y, CUR.metrics.y_scale ); in Ins_MDRP()
/external/webkit/V8Binding/v8/src/
Dobjects.cc4400 Vector<const char> vec1 = this->ToAsciiVector(); in SlowEquals() local
4404 return CompareRawStringContents(vec1, vec2); in SlowEquals()
4406 VectorIterator<char> buf1(vec1); in SlowEquals()
4411 VectorIterator<char> buf1(vec1); in SlowEquals()
4416 Vector<const uc16> vec1 = this->ToUC16Vector(); in SlowEquals() local
4419 VectorIterator<uc16> buf1(vec1); in SlowEquals()
4424 return CompareRawStringContents(vec1, vec2); in SlowEquals()
4427 VectorIterator<uc16> buf1(vec1); in SlowEquals()