/external/v8/test/cctest/ |
D | test-fixed-dtoa.cc | 46 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 …]
|
D | test-bignum-dtoa.cc | 63 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 …]
|
D | test-dtoa.cc | 63 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 …]
|
D | test-fast-dtoa.cc | 60 int point; in TEST() local 65 buffer, &length, &point); in TEST() 68 CHECK_EQ(-323, point); in TEST() 72 buffer, &length, &point); in TEST() 75 CHECK_EQ(309, point); in TEST() 78 buffer, &length, &point); in TEST() 81 CHECK_EQ(10, point); in TEST() 84 buffer, &length, &point); in TEST() 87 CHECK_EQ(299, point); in TEST() 90 buffer, &length, &point); in TEST() [all …]
|
/external/freetype/src/autofit/ |
D | afhints.c | 231 AF_Point point; in af_glyph_hints_dump_points() local 242 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points() 245 AF_INDEX_NUM( point, points ), in af_glyph_hints_dump_points() 246 point->fx, in af_glyph_hints_dump_points() 247 point->fy, in af_glyph_hints_dump_points() 248 point->ox / 64.0, in af_glyph_hints_dump_points() 249 point->oy / 64.0, in af_glyph_hints_dump_points() 250 point->x / 64.0, in af_glyph_hints_dump_points() 251 point->y / 64.0, in af_glyph_hints_dump_points() 252 ( point->flags & AF_FLAG_WEAK_INTERPOLATION ) ? 'w' : ' ')); in af_glyph_hints_dump_points() [all …]
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 1188 PSH_Point point = glyph->points; in psh_glyph_load_points() local 1192 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points() 1194 point->flags2 = 0; in psh_glyph_load_points() 1195 point->hint = NULL; in psh_glyph_load_points() 1198 point->org_u = vec->x; in psh_glyph_load_points() 1199 point->org_v = vec->y; in psh_glyph_load_points() 1203 point->org_u = vec->y; in psh_glyph_load_points() 1204 point->org_v = vec->x; in psh_glyph_load_points() 1208 point->org_x = vec->x; in psh_glyph_load_points() 1209 point->org_y = vec->y; in psh_glyph_load_points() [all …]
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 1179 PSH_Point point = glyph->points; in psh_glyph_load_points() local 1183 for ( ; count > 0; count--, point++, vec++ ) in psh_glyph_load_points() 1185 point->flags2 = 0; in psh_glyph_load_points() 1186 point->hint = NULL; in psh_glyph_load_points() 1189 point->org_u = vec->x; in psh_glyph_load_points() 1190 point->org_v = vec->y; in psh_glyph_load_points() 1194 point->org_u = vec->y; in psh_glyph_load_points() 1195 point->org_v = vec->x; in psh_glyph_load_points() 1199 point->org_x = vec->x; in psh_glyph_load_points() 1200 point->org_y = vec->y; in psh_glyph_load_points() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
D | RealPointValuePair.java | 36 private final double[] point; field in RealPointValuePair 46 public RealPointValuePair(final double[] point, final double value) { in RealPointValuePair() argument 47 this.point = (point == null) ? null : point.clone(); in RealPointValuePair() 58 public RealPointValuePair(final double[] point, final double value, in RealPointValuePair() argument 60 this.point = copyArray ? in RealPointValuePair() 61 ((point == null) ? null : point.clone()) : in RealPointValuePair() 62 point; in RealPointValuePair() 70 return (point == null) ? null : point.clone(); in getPoint() 79 return point; in getPointRef()
|
D | VectorialPointValuePair.java | 36 private final double[] point; field in VectorialPointValuePair 46 public VectorialPointValuePair(final double[] point, final double[] value) { in VectorialPointValuePair() argument 47 this.point = (point == null) ? null : point.clone(); in VectorialPointValuePair() 58 public VectorialPointValuePair(final double[] point, final double[] value, in VectorialPointValuePair() argument 60 this.point = copyArray ? in VectorialPointValuePair() 61 ((point == null) ? null : point.clone()) : in VectorialPointValuePair() 62 point; in VectorialPointValuePair() 72 return (point == null) ? null : point.clone(); in getPoint() 81 return point; in getPointRef()
|
/external/libxml2/result/XPath/xptr/ |
D | strpoint | 3 Expression: xpointer(start-point(string-range(//p,'multiple'))) 5 1 : Object is a point : index 1 in node TEXT 10 Expression: xpointer(end-point(string-range(//p,'multiple'))) 12 1 : Object is a point : index 8 in node TEXT 17 Expression: xpointer(start-point(string-range(//p,'test'))) 19 1 : Object is a point : index 10 in node TEXT 22 2 : Object is a point : index 10 in node TEXT 25 3 : Object is a point : index 7 in node TEXT 30 Expression: xpointer(end-point(string-range(//p,'test'))) 32 1 : Object is a point : index 13 in node TEXT [all …]
|
/external/pdfium/core/src/reflow/ |
D | reflowedtextpage.cpp | 143 inline FX_FLOAT _GetDistance(CFX_FloatRect floatRect, CPDF_Point point) in _GetDistance() argument 145 if(floatRect.right < point.x && floatRect.bottom > point.y) { in _GetDistance() 146 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(floatRect.bottom - point.y, … in _GetDistance() 148 if (floatRect.right < point.x && floatRect.top < point.y) { in _GetDistance() 149 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(point.y - floatRect.top, 2)); in _GetDistance() 151 if(floatRect.left > point.x && floatRect.bottom > point.y) { in _GetDistance() 152 …return FXSYS_sqrt(FXSYS_pow(floatRect.bottom - point.y, 2) + FXSYS_pow(floatRect.left - point.x, 2… in _GetDistance() 154 if((floatRect.right > point.x || FXSYS_fabs(floatRect.right - point.x) <= 0.0001f) && in _GetDistance() 155 …(floatRect.left < point.x || FXSYS_fabs(floatRect.left - point.x) <= 0.0001f) && floatRect.bottom … in _GetDistance() 156 return FXSYS_fabs(floatRect.bottom - point.y); in _GetDistance() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterPointShape.java | 42 private Vector3f point; field in EmitterPointShape 47 public EmitterPointShape(Vector3f point) { in EmitterPointShape() argument 48 this.point = point; in EmitterPointShape() 55 clone.point = point.clone(); in deepClone() 64 store.set(point); in getRandomPoint() 75 store.set(point); in getRandomPointAndNormal() 79 return point; in getPoint() 82 public void setPoint(Vector3f point) { in setPoint() argument 83 this.point = point; in setPoint() 89 oc.write(point, "point", null); in write() [all …]
|
/external/llvm/test/Transforms/DeadArgElim/ |
D | 2008-01-16-VarargsParamAttrs.ll | 3 %struct.point = type { double, double } 4 …point] [ %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], [4 x %struct.point]* @pts, i32 0, i32 0 ; <%struct.poin… 26 %tmp1 = call i32 (i32, ...) @va1( i32 1, %struct.point* byval %tmp ) nounwind ; <i32> [#uses=0]
|
/external/v8/benchmarks/spinning-balls/ |
D | v.js | 97 PointsList.prototype.add = function (point) { argument 98 if (this.head !== null) this.head.prev = point; 99 point.next = this.head; 100 this.head = point; 105 PointsList.prototype.remove = function (point) { argument 106 if (point.next !== null) { 107 point.next.prev = point.prev; 109 if (point.prev !== null) { 110 point.prev.next = point.next; 112 this.head = point.next; [all …]
|
/external/pdfium/fpdfsdk/include/fxedit/ |
D | fxet_list.h | 115 const CLST_Rect operator += (const CPDF_Point & point) 117 this->left += point.x; 118 this->right += point.x; 119 this->top += point.y; 120 this->bottom += point.y; 125 const CLST_Rect operator -= (const CPDF_Point & point) 127 this->left -= point.x; 128 this->right -= point.x; 129 this->top -= point.y; 130 this->bottom -= point.y; [all …]
|
/external/boringssl/src/crypto/ec/ |
D | simple.c | 348 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() 357 void ec_GFp_simple_point_finish(EC_POINT *point) { in ec_GFp_simple_point_finish() argument 358 BN_free(&point->X); in ec_GFp_simple_point_finish() 359 BN_free(&point->Y); in ec_GFp_simple_point_finish() 360 BN_free(&point->Z); in ec_GFp_simple_point_finish() 363 void ec_GFp_simple_point_clear_finish(EC_POINT *point) { in ec_GFp_simple_point_clear_finish() argument [all …]
|
D | ec.c | 629 void EC_POINT_free(EC_POINT *point) { in EC_POINT_free() argument 630 if (!point) { in EC_POINT_free() 634 if (point->meth->point_finish != 0) { in EC_POINT_free() 635 point->meth->point_finish(point); in EC_POINT_free() 637 OPENSSL_free(point); in EC_POINT_free() 640 void EC_POINT_clear_free(EC_POINT *point) { in EC_POINT_clear_free() argument 641 if (!point) { in EC_POINT_clear_free() 645 if (point->meth->point_clear_finish != 0) { in EC_POINT_clear_free() 646 point->meth->point_clear_finish(point); in EC_POINT_clear_free() 647 } else if (point->meth->point_finish != 0) { in EC_POINT_clear_free() [all …]
|
/external/libxml2/test/XPath/xptr/ |
D | strpoint | 1 xpointer(start-point(string-range(//p,'multiple'))) 2 xpointer(end-point(string-range(//p,'multiple'))) 3 xpointer(start-point(string-range(//p,'test'))) 4 xpointer(end-point(string-range(//p,'test'))) 5 xpointer(start-point(string-range(//*,'multiple',1,0))) 6 xpointer(end-point(string-range(//*,'multiple',1,0))) 7 xpointer(start-point(string-range(//*,'multiple',1,1))) 8 xpointer(end-point(string-range(//*,'multiple',1,1))) 9 xpointer(start-point(string-range(//p,'test'))[1])
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.hpp | 42 typedef clover::point<size_t, 3> point; typedef in clover::resource 47 void copy(command_queue &q, const point &origin, const point ®ion, 48 resource &src_resource, const point &src_origin); 51 const point &origin, const point ®ion); 73 point offset; 98 sub_resource(clover::resource &r, point offset); 108 bool blocking, const resource::point &origin, 109 const resource::point ®ion);
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Plane.java | 146 public Vector3f getClosestPoint(Vector3f point, Vector3f store){ in getClosestPoint() argument 149 float t = (constant - normal.dot(point)) / normal.dot(normal); in getClosestPoint() 150 return store.set(normal).multLocal(t).addLocal(point); in getClosestPoint() 153 public Vector3f getClosestPoint(Vector3f point){ in getClosestPoint() argument 154 return getClosestPoint(point, new Vector3f()); in getClosestPoint() 157 public Vector3f reflect(Vector3f point, Vector3f store){ in reflect() argument 161 float d = pseudoDistance(point); in reflect() 163 store.addLocal(point); in reflect() 177 public float pseudoDistance(Vector3f point) { in pseudoDistance() argument 178 return normal.dot(point) - constant; in pseudoDistance() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | EuclideanIntegerPoint.java | 36 private final int[] point; field in EuclideanIntegerPoint 43 public EuclideanIntegerPoint(final int[] point) { in EuclideanIntegerPoint() argument 44 this.point = point; in EuclideanIntegerPoint() 52 return point; in getPoint() 57 return MathUtils.distance(point, p.getPoint()); in distanceFrom() 81 if (point.length != otherPoint.length) { in equals() 84 for (int i = 0; i < point.length; i++) { in equals() 85 if (point[i] != otherPoint[i]) { in equals() 96 for (Integer i : point) { in hashCode()
|
/external/pdfium/fpdfsdk/include/pdfwindow/ |
D | PWL_ScrollBar.h | 52 virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag); 53 virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); 54 virtual FX_BOOL OnMouseMove(const CPDF_Point & point, FX_DWORD nFlag); 113 virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag); 114 virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); 135 void OnMinButtonLBDown(const CPDF_Point & point); 136 void OnMinButtonLBUp(const CPDF_Point & point); 137 void OnMinButtonMouseMove(const CPDF_Point & point); 139 void OnMaxButtonLBDown(const CPDF_Point & point); 140 void OnMaxButtonLBUp(const CPDF_Point & point); [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2006-12-08-Phi-ICmp-Op-Fold.ll | 6 %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 …]
|
/external/openssh/ |
D | bufec.c | 33 const EC_POINT *point) in buffer_put_ecpoint_ret() argument 37 if ((ret = sshbuf_put_ec(buffer, point, curve)) != 0) { in buffer_put_ecpoint_ret() 46 const EC_POINT *point) in buffer_put_ecpoint() argument 48 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1) in buffer_put_ecpoint() 54 EC_POINT *point) in buffer_get_ecpoint_ret() argument 58 if ((ret = sshbuf_get_ec(buffer, point, curve)) != 0) { in buffer_get_ecpoint_ret() 67 EC_POINT *point) in buffer_get_ecpoint() argument 69 if (buffer_get_ecpoint_ret(buffer, curve, point) == -1) in buffer_get_ecpoint()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_crld.c | 275 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 …]
|