Home
last modified time | relevance | path

Searched refs:dx1 (Results 1 – 25 of 45) sorted by relevance

12

/external/pdfium/third_party/agg23/
Dagg_math_stroke.h48 float dx1, float dy1, in stroke_calc_arc() argument
54 float a1 = atan2(dy1, dx1); in stroke_calc_arc()
62 out_vertices.add(coord_type(x + dx1, y + dy1)); in stroke_calc_arc()
95 float dx1, float dy1, in stroke_calc_miter() argument
106 if(calc_intersection(v0.x + dx1, v0.y - dy1, in stroke_calc_miter()
107 v1.x + dx1, v1.y - dy1, in stroke_calc_miter()
118 float x2 = v1.x + dx1; in stroke_calc_miter()
120 if ((((x2 - v0.x) * dy1) - ((v0.y - y2) * dx1) < 0) != in stroke_calc_miter()
121 (((x2 - v2.x) * dy1) - ((v2.y - y2) * dx1) < 0)) { in stroke_calc_miter()
122 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
[all …]
D0000-bug-466.patch8 out_vertices.add(coord_type(x + dx1, y + dy1));
/external/eigen/blas/f2c/
Ddrotmg.c16 dx1, doublereal *dy1, doublereal *dparam) in drotmg_()
117 dp1 = *dd1 * *dx1; in drotmg_()
119 dq1 = dp1 * *dx1; in drotmg_()
124 dh21 = -(*dy1) / *dx1; in drotmg_()
138 *dx1 *= du; in drotmg_()
150 dh22 = *dx1 / *dy1; in drotmg_()
155 *dx1 = *dy1 * du; in drotmg_()
168 *dx1 = zero; in drotmg_()
212 *dx1 /= gam; in drotmg_()
229 *dx1 *= gam; in drotmg_()
/external/fonttools/Lib/fontTools/misc/
Dtransform.py191 xx1, xy1, yx1, yy1, dx1, dy1 = other
198 xx2*dx1 + yx2*dy1 + dx2,
199 xy2*dx1 + yy2*dy1 + dy2)
214 xx1, xy1, yx1, yy1, dx1, dy1 = self.__affine
221 xx2*dx1 + yx2*dy1 + dx2,
222 xy2*dx1 + yy2*dy1 + dy2)
292 xx1, xy1, yx1, yy1, dx1, dy1 = self.__affine
294 return (xx1, xy1, yx1, yy1, dx1, dy1) == \
DpsCharStrings.py628 dx1 = args[0]
631 dx1 = 0
634 self.rCurveTo((dx1, dya), (dxb, dyb), (0, dyc))
635 dx1 = 0
674 dx1, dx2, dy2, dx3, dx4, dx5, dx6 = self.popall()
677 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
680 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, dx6, dy6, fd = self.popall()
681 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
684 dx1, dy1, dx2, dy2, dx3, dx4, dx5, dy5, dx6 = self.popall()
688 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dblocks_test.py150 (dx1, dx2), dw = block.backward_grads(
152 dx = tf.concat((dx1, dx2), axis=1)
179 (dx1, dx2), dw = block.backward_grads(
181 dx = tf.concat((dx1, dx2), axis=1)
217 (dx1, dx2), _ = block.backward_grads(
219 dx = tf.concat((dx1, dx2), axis=1)
254 (x1, x2), (dx1, dx2), dw = residual.backward_grads(
257 dx = tf.concat((dx1, dx2), axis=1)
Dblocks.py195 dx1 = dy1 + grads_combined[0]
198 with tf.control_dependencies(dg + [dx1]):
205 fx2, [x2] + self.f.trainable_variables, output_gradients=dx1)
213 dx = dx1, dx2
237 dx1 = x1tape.gradient(z1, x1, output_gradients=dz1)
252 dx = dx1, dx2
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c196 const GLfloat dx1 = v2[0] - v1[0]; in compute_coveragef() local
203 assert(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ in compute_coveragef()
222 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0])); in compute_coveragef()
224 cross = dx1 + dy1; in compute_coveragef()
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java294 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage()
299 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
/external/tensorflow/tensorflow/core/kernels/
Dcrop_and_resize_op_gpu.cu.cc327 float dx1, dx2; in CropAndResizeBackpropBoxesKernel() local
329 dx1 = image_grad_x * (image_width - 1 - x * width_ratio); in CropAndResizeBackpropBoxesKernel()
332 dx1 = image_grad_x * 0.5 * (image_width - 1); in CropAndResizeBackpropBoxesKernel()
337 CudaAtomicAdd(grads_boxes_ptr + b * 4 + 1, dx1); in CropAndResizeBackpropBoxesKernel()
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java356 double dx1 = v1x - u1.getX(); in Rotation() local
363 dz1 * dx2 - dx1 * dz2, in Rotation()
364 dx1 * dy2 - dy1 * dx2); in Rotation()
385 dz1 * dx3 - dx1 * dz3, in Rotation()
386 dx1 * dy3 - dy1 * dx3); in Rotation()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c333 unsigned dx1, dy1, dx2, dy2; in emit_blit() local
370 dx1 = dbox->x; in emit_blit()
444 OUT_RING(ring, CP_BLIT_3_DST_X1(dx1) | CP_BLIT_3_DST_Y1(dy1)); in emit_blit()
/external/skqp/include/core/
DSkPath.h670 SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
746 SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
805 SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/skia/include/core/
DSkPath.h670 SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
746 SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
805 SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/tensorflow/tensorflow/python/ops/
Dmath_grad_test.py439 dx1, dx2 = self._nextafter_gradient(x1, x2)
442 self.assertAllClose(expected_dx1, dx1)
451 dx1, dx2 = self._nextafter_gradient(x1, x2)
454 self.assertAllClose(expected_dx1, dx1)
/external/skia/src/gpu/mtl/
DGrMtlCopyManager.mm161 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f;
187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm161 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f;
187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPath.java357 protected void rQuadTo(float dx1, float dy1, float dx2, float dy2) { in rQuadTo() argument
361 dx1 += mLastX; in rQuadTo()
365 mPath.quadTo(dx1, dy1, mLastX = dx2, mLastY = dy2); in rQuadTo()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SymbolicGradient.pbtxt40 (dL/dx1, dL/dx2, ..., dL/dx_N) = g(x1, x2, ..., x_N,
/external/fonttools/Lib/fontTools/pens/
DpointPen.py308 dx1, dy1 = pt[0] - prevPt[0], pt[1] - prevPt[1]
310 a1 = math.atan2(dx1, dy1)
/external/pdfium/core/fxge/
Dcfx_pathdata.cpp52 float dx1 = hw * diff.y / ll; in UpdateLineEndPoints() local
54 rect->UpdateRect(CFX_PointF(mx - dx1, my + dy1)); in UpdateLineEndPoints()
55 rect->UpdateRect(CFX_PointF(mx + dx1, my - dy1)); in UpdateLineEndPoints()
/external/skqp/src/gpu/vk/
DGrVkCopyManager.cpp202 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; in copySurfaceAsDraw() local
227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
/external/skia/src/gpu/vk/
DGrVkCopyManager.cpp202 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; in copySurfaceAsDraw() local
227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
/external/skia/src/compute/ts/
Dtransform_stack.c650 ts_transform_float_t const dx1 = x1 - x2; in ts_transform_stack_push_unit_to_quad() local
653 ts_transform_float_t const wx_den = dx1 * dy2 - dx2 * dy1; in ts_transform_stack_push_unit_to_quad()
659 ts_transform_float_t const w1_num = dx1 * dy3 - dx3 * dy1; in ts_transform_stack_push_unit_to_quad()
/external/skqp/src/compute/ts/
Dtransform_stack.c650 ts_transform_float_t const dx1 = x1 - x2; in ts_transform_stack_push_unit_to_quad() local
653 ts_transform_float_t const wx_den = dx1 * dy2 - dx2 * dy1; in ts_transform_stack_push_unit_to_quad()
659 ts_transform_float_t const w1_num = dx1 * dy3 - dx3 * dy1; in ts_transform_stack_push_unit_to_quad()

12