Home
last modified time | relevance | path

Searched refs:point (Results 1 – 25 of 1269) sorted by relevance

12345678910>>...51

/external/v8/test/cctest/
Dtest-fixed-dtoa.cc46 int point; in TEST() local
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point)); in TEST()
50 CHECK_EQ(1, point); in TEST()
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point)); in TEST()
54 CHECK_EQ(1, point); in TEST()
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point)); in TEST()
58 CHECK_EQ(1, point); in TEST()
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point)); in TEST()
62 CHECK_EQ(10, point); in TEST()
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point)); in TEST()
[all …]
Dtest-bignum-dtoa.cc63 int point; in TEST() local
65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
67 CHECK_EQ(1, point); in TEST()
69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); in TEST()
70 CHECK_GE(3, length - point); in TEST()
73 CHECK_EQ(1, point); in TEST()
75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); in TEST()
79 CHECK_EQ(1, point); in TEST()
81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
83 CHECK_EQ(1, point); in TEST()
[all …]
Dtest-dtoa.cc63 int point; in TEST() local
66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
68 CHECK_EQ(1, point); in TEST()
70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); in TEST()
73 CHECK_EQ(1, point); in TEST()
75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST()
78 CHECK_EQ(1, point); in TEST()
80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
82 CHECK_EQ(1, point); in TEST()
84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point); in TEST()
[all …]
Dtest-fast-dtoa.cc35 int point; in TEST() local
40 buffer, &length, &point); in TEST()
43 CHECK_EQ(-323, point); in TEST()
47 buffer, &length, &point); in TEST()
50 CHECK_EQ(309, point); in TEST()
53 buffer, &length, &point); in TEST()
56 CHECK_EQ(10, point); in TEST()
59 buffer, &length, &point); in TEST()
62 CHECK_EQ(299, point); in TEST()
65 buffer, &length, &point); in TEST()
[all …]
/external/freetype/src/autofit/
Dafhints.c175 AF_Point point; in af_glyph_hints_dump_points() local
182 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points()
186 point - points, in af_glyph_hints_dump_points()
187 point->fx, in af_glyph_hints_dump_points()
188 point->fy, in af_glyph_hints_dump_points()
189 point->ox / 64.0, in af_glyph_hints_dump_points()
190 point->oy / 64.0, in af_glyph_hints_dump_points()
191 point->x / 64.0, in af_glyph_hints_dump_points()
192 point->y / 64.0, in af_glyph_hints_dump_points()
193 ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) ? 'w' : ' ', in af_glyph_hints_dump_points()
[all …]
/external/freetype/src/pshinter/
Dpshalgo.c1189 PSH_Point point = glyph->points; in psh_glyph_load_points() local
1193 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points()
1195 point->flags2 = 0; in psh_glyph_load_points()
1196 point->hint = NULL; in psh_glyph_load_points()
1199 point->org_u = vec->x; in psh_glyph_load_points()
1200 point->org_v = vec->y; in psh_glyph_load_points()
1204 point->org_u = vec->y; in psh_glyph_load_points()
1205 point->org_v = vec->x; in psh_glyph_load_points()
1209 point->org_x = vec->x; in psh_glyph_load_points()
1210 point->org_y = vec->y; in psh_glyph_load_points()
[all …]
/external/llvm/test/Transforms/DeadArgElim/
D2008-01-16-VarargsParamAttrs.ll3 %struct.point = type { double, double }
4point] [ %struct.point { double 1.000000e+00, double 2.000000e+00 }, %struct.point { double 3.0000…
8 %pi = alloca %struct.point ; <%struct.point*> [#uses=0]
10 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
24 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
25 %tmp = getelementptr [4 x %struct.point]* @pts, i32 0, i32 0 ; <%struct.point*> [#uses=1]
26 %tmp1 = call i32 (i32, ...)* @va1( i32 1, %struct.point* byval %tmp ) nounwind ; <i32> [#uses=0]
/external/openssl/crypto/ec/
Dec2_smpl.c295 int ec_GF2m_simple_point_init(EC_POINT *point) in ec_GF2m_simple_point_init() argument
297 BN_init(&point->X); in ec_GF2m_simple_point_init()
298 BN_init(&point->Y); in ec_GF2m_simple_point_init()
299 BN_init(&point->Z); in ec_GF2m_simple_point_init()
305 void ec_GF2m_simple_point_finish(EC_POINT *point) in ec_GF2m_simple_point_finish() argument
307 BN_free(&point->X); in ec_GF2m_simple_point_finish()
308 BN_free(&point->Y); in ec_GF2m_simple_point_finish()
309 BN_free(&point->Z); in ec_GF2m_simple_point_finish()
314 void ec_GF2m_simple_point_clear_finish(EC_POINT *point) in ec_GF2m_simple_point_clear_finish() argument
316 BN_clear_free(&point->X); in ec_GF2m_simple_point_clear_finish()
[all …]
Dec_lib.c727 void EC_POINT_free(EC_POINT *point) in EC_POINT_free() argument
729 if (!point) return; in EC_POINT_free()
731 if (point->meth->point_finish != 0) in EC_POINT_free()
732 point->meth->point_finish(point); in EC_POINT_free()
733 OPENSSL_free(point); in EC_POINT_free()
737 void EC_POINT_clear_free(EC_POINT *point) in EC_POINT_clear_free() argument
739 if (!point) return; in EC_POINT_clear_free()
741 if (point->meth->point_clear_finish != 0) in EC_POINT_clear_free()
742 point->meth->point_clear_finish(point); in EC_POINT_clear_free()
743 else if (point->meth->point_finish != 0) in EC_POINT_clear_free()
[all …]
Dec_print.c60 const EC_POINT *point, in EC_POINT_point2bn() argument
68 buf_len = EC_POINT_point2oct(group, point, form, in EC_POINT_point2bn()
76 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx)) in EC_POINT_point2bn()
91 EC_POINT *point, in EC_POINT_bn2point() argument
109 if (point == NULL) in EC_POINT_bn2point()
118 ret = point; in EC_POINT_bn2point()
122 if (point == NULL) in EC_POINT_bn2point()
136 const EC_POINT *point, in EC_POINT_point2hex() argument
144 buf_len = EC_POINT_point2oct(group, point, form, in EC_POINT_point2hex()
152 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx)) in EC_POINT_point2hex()
[all …]
Decp_smpl.c347 int ec_GFp_simple_point_init(EC_POINT *point) in ec_GFp_simple_point_init() argument
349 BN_init(&point->X); in ec_GFp_simple_point_init()
350 BN_init(&point->Y); in ec_GFp_simple_point_init()
351 BN_init(&point->Z); in ec_GFp_simple_point_init()
352 point->Z_is_one = 0; in ec_GFp_simple_point_init()
358 void ec_GFp_simple_point_finish(EC_POINT *point) in ec_GFp_simple_point_finish() argument
360 BN_free(&point->X); in ec_GFp_simple_point_finish()
361 BN_free(&point->Y); in ec_GFp_simple_point_finish()
362 BN_free(&point->Z); in ec_GFp_simple_point_finish()
366 void ec_GFp_simple_point_clear_finish(EC_POINT *point) in ec_GFp_simple_point_clear_finish() argument
[all …]
/external/freetype/src/base/
Dftoutln.c61 FT_Vector* point; in FT_Outline_Decompose() local
104 point = outline->points + first; in FT_Outline_Decompose()
132 point--; in FT_Outline_Decompose()
142 while ( point < limit ) in FT_Outline_Decompose()
144 point++; in FT_Outline_Decompose()
155 vec.x = SCALED( point->x ); in FT_Outline_Decompose()
156 vec.y = SCALED( point->y ); in FT_Outline_Decompose()
167 v_control.x = SCALED( point->x ); in FT_Outline_Decompose()
168 v_control.y = SCALED( point->y ); in FT_Outline_Decompose()
171 if ( point < limit ) in FT_Outline_Decompose()
[all …]
/external/webkit/Source/WebCore/platform/graphics/wx/
DFontWx.cpp71 int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs()
80 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point); in drawGlyphs()
83 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, int… in selectionRectForComplexText() argument
97 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText()
100 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText()
104 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
119 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, i… in drawComplexText() argument
125 float startX = point.x(); in drawComplexText()
150 FloatPoint startPoint(startX, point.y()); in drawComplexText()
157 … context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to)… in drawEmphasisMarksForComplexText() argument
[all …]
DPathWx.cpp78 bool Path::contains(const FloatPoint& point, const WindRule rule) const in contains() argument
83 …return m_path->Contains(point.x(), point.y(), static_cast<wxPolygonFillMode>(getWxWindRuleForWindR… in contains()
85 return m_path->Contains(point.x(), point.y(), getWxWindRuleForWindRule(rule)); in contains()
140 void Path::moveTo(const FloatPoint& point) in moveTo() argument
144 m_path->MoveToPoint(point.x(), point.y()); in moveTo()
148 void Path::addLineTo(const FloatPoint& point) in addLineTo() argument
152 m_path->AddLineToPoint(point.x(), point.y()); in addLineTo()
188 void Path::addArc(const FloatPoint& point, float radius, float startAngle, float endAngle, bool clo… in addArc() argument
192 m_path->AddArc(point.x(), point.y(), radius, startAngle, endAngle, clockwise); in addArc()
/external/skia/src/core/
DSkConcaveToTriangles.cpp173 const SkPoint &point() const { return fPoint; } in point() function in Vertex
174 void setPoint(const SkPoint &point) { fPoint = point; } in setPoint() argument
239 SkPoint vPrev = prev()->point() - point(), in angleIsConvex()
240 vNext = next()->point() - point(); in angleIsConvex()
253 SkPoint ve = next()->point() - point(), in compare()
254 vp = pt - point(); in compare()
258 d = ve.fX + pt.fX - next()->point().fX; in compare()
282 SkScalar d = left()->compare(t1.left()->point()); in compare()
284 d = right()->compare(t1.right()->point()); in compare()
287 SkScalar dl = left()->compare( t1.left()->point()), in compare()
[all …]
/external/webkit/Source/WebCore/platform/graphics/brew/
DIntPointBrew.cpp33 IntPoint::IntPoint(const AEEPoint& point) in IntPoint() argument
34 : m_x(point.x) in IntPoint()
35 , m_y(point.y) in IntPoint()
41 AEEPoint point; in operator AEEPoint() local
42 point.x = static_cast<int16>(m_x); in operator AEEPoint()
43 point.y = static_cast<int16>(m_y); in operator AEEPoint()
44 return point; in operator AEEPoint()
/external/llvm/test/Transforms/InstCombine/
D2006-12-08-Phi-ICmp-Op-Fold.ll6 %struct.point = type { i32, i32 }
10 %p1_addr = alloca %struct.point ; <%struct.point*> [#uses=2]
11 %p2_addr = alloca %struct.point ; <%struct.point*> [#uses=2]
12 %p3_addr = alloca %struct.point ; <%struct.point*> [#uses=2]
13 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
14 %tmp = bitcast %struct.point* %p1_addr to { i64 }* ; <{ i64 }*> [#uses=1]
17 %tmp1 = bitcast %struct.point* %p2_addr to { i64 }* ; <{ i64 }*> [#uses=1]
20 %tmp3 = bitcast %struct.point* %p3_addr to { i64 }* ; <{ i64 }*> [#uses=1]
24 %tmp5 = bitcast %struct.point* %p1_addr to { i64 }* ; <{ i64 }*> [#uses=1]
27 %tmp7 = bitcast %struct.point* %p2_addr to { i64 }* ; <{ i64 }*> [#uses=1]
[all …]
D2006-12-08-Select-ICmp.ll6 %struct.point = type { i32, i32 }
10 %p1_addr = alloca %struct.point ; <%struct.point*> [#uses=2]
11 %p2_addr = alloca %struct.point ; <%struct.point*> [#uses=2]
12 %p3_addr = alloca %struct.point ; <%struct.point*> [#uses=2]
13 %tmp = bitcast %struct.point* %p1_addr to { i64 }* ; <{ i64 }*> [#uses=1]
16 %tmp1 = bitcast %struct.point* %p2_addr to { i64 }* ; <{ i64 }*> [#uses=1]
19 %tmp3 = bitcast %struct.point* %p3_addr to { i64 }* ; <{ i64 }*> [#uses=1]
23 %tmp5 = bitcast %struct.point* %p1_addr to { i64 }* ; <{ i64 }*> [#uses=1]
26 %tmp7 = bitcast %struct.point* %p2_addr to { i64 }* ; <{ i64 }*> [#uses=1]
29 %tmp10 = bitcast %struct.point* %p3_addr to { i64 }* ; <{ i64 }*> [#uses=1]
/external/openssl/crypto/x509v3/
Dv3_crld.c275 DIST_POINT *point = NULL; in crldp_from_section() local
276 point = DIST_POINT_new(); in crldp_from_section()
277 if (!point) in crldp_from_section()
283 ret = set_dist_point_name(&point->distpoint, ctx, cnf); in crldp_from_section()
290 if (!set_reasons(&point->reasons, cnf->value)) in crldp_from_section()
295 point->CRLissuer = in crldp_from_section()
297 if (!point->CRLissuer) in crldp_from_section()
302 return point; in crldp_from_section()
306 if (point) in crldp_from_section()
307 DIST_POINT_free(point); in crldp_from_section()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsContextCGWin.cpp120 void GraphicsContext::drawWindowsBitmap(WindowsBitmap* image, const IntPoint& point) in drawWindowsBitmap() argument
128 …CGContextDrawImage(m_data->m_cgContext.get(), CGRectMake(point.x(), point.y(), image->size().width… in drawWindowsBitmap()
183 void GraphicsContext::drawLineForTextChecking(const FloatPoint& point, float width, TextCheckingLin… in drawLineForTextChecking() argument
214 wkSetPatternPhaseInUserSpace(context, point); in drawLineForTextChecking()
218 …const CGPoint upperPoints [] = {{point.x(), point.y() + patternHeight - 2.5 }, {point.x() + width,… in drawLineForTextChecking()
219 …const CGPoint middlePoints [] = {{point.x(), point.y() + patternHeight - 1.5 }, {point.x() + width… in drawLineForTextChecking()
220 …const CGPoint lowerPoints [] = {{point.x(), point.y() + patternHeight - 0.5 }, {point.x() + width,… in drawLineForTextChecking()
DFontWin.cpp53 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, in selectionRectForComplexText() argument
66 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText()
69 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
97 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, in drawComplexText() argument
103 float startX = point.x() + getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer); in drawComplexText()
110 FloatPoint startPoint(startX, point.y()); in drawComplexText()
114 … context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to)… in drawEmphasisMarksForComplexText() argument
122 … drawEmphasisMarks(context, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, point.y())); in drawEmphasisMarksForComplexText()
/external/webkit/Source/WebKit/chromium/src/
DDragScrollTimer.cpp41 static IntSize distanceToRect(const IntPoint& point, const IntRect& rect) in distanceToRect() argument
44 if (point.x() < rect.x()) in distanceToRect()
45 dx = point.x() - rect.x(); in distanceToRect()
46 else if (rect.maxX() < point.x()) in distanceToRect()
47 dx = point.x() - rect.maxX(); in distanceToRect()
48 if (point.y() < rect.y()) in distanceToRect()
49 dy = point.y() - rect.y(); in distanceToRect()
50 else if (rect.maxY() < point.y()) in distanceToRect()
51 dy = point.y() - rect.maxY(); in distanceToRect()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontComplexTextMac.cpp41 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, in selectionRectForComplexText() argument
53 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText()
56 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
83 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, i… in drawComplexText() argument
88 float startX = point.x() + getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer); in drawComplexText()
95 FloatPoint startPoint(startX, point.y()); in drawComplexText()
99 … context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to)… in drawEmphasisMarksForComplexText() argument
107 … drawEmphasisMarks(context, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, point.y())); in drawEmphasisMarksForComplexText()
/external/webkit/Source/WebCore/platform/win/
DWheelEventWin.cpp41 POINT point = {GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)}; in positionForEvent() local
42 ScreenToClient(hWnd, &point); in positionForEvent()
43 return point; in positionForEvent()
48 POINT point = {GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)}; in globalPositionForEvent() local
49 return point; in globalPositionForEvent()
82 POINT point = {location.x(), location.y()}; in PlatformWheelEvent() local
83 m_globalPosition = point; in PlatformWheelEvent()
86 ScreenToClient(hWnd, &point); in PlatformWheelEvent()
87 m_position = point; in PlatformWheelEvent()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DFontCairo.cpp46 …repareContextForGlyphDrawing(cairo_t* context, const SimpleFontData* font, const FloatPoint& point) in prepareContextForGlyphDrawing() argument
51 cairo_matrix_t mat = {1, 0, syntheticObliqueSkew, 1, point.x(), point.y()}; in prepareContextForGlyphDrawing()
54 cairo_translate(context, point.x(), point.y()); in prepareContextForGlyphDrawing()
68 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, const Simpl… in drawGlyphsShadow() argument
82 prepareContextForGlyphDrawing(context, font, point); in drawGlyphsShadow()
90 FloatRect fontExtentsRect(point.x(), point.y() - extents.height, extents.width, extents.height); in drawGlyphsShadow()
93 prepareContextForGlyphDrawing(shadowContext, font, point); in drawGlyphsShadow()
100 int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs()
112 drawGlyphsShadow(context, point, font, glyphs, numGlyphs); in drawGlyphs()
116 prepareContextForGlyphDrawing(cr, font, point); in drawGlyphs()

12345678910>>...51