Home
last modified time | relevance | path

Searched refs:dx2 (Results 1 – 25 of 35) sorted by relevance

12

/external/pdfium/third_party/agg23/
Dagg_math_stroke.h49 float dx2, float dy2, in stroke_calc_arc() argument
55 float a2 = atan2(dy2, dx2); in stroke_calc_arc()
88 out_vertices.add(coord_type(x + dx2, y + dy2)); in stroke_calc_arc()
96 float dx2, float dy2, in stroke_calc_miter() argument
108 v1.x + dx2, v1.y - dy2, in stroke_calc_miter()
109 v2.x + dx2, v2.y - dy2, in stroke_calc_miter()
130 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_miter()
134 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_miter()
140 out_vertices.add(coord_type(v1.x + dx2 - (dy2 * miter_limit), in stroke_calc_miter()
141 v1.y - dy2 - (dx2 * miter_limit))); in stroke_calc_miter()
[all …]
D0000-bug-466.patch44 out_vertices.add(coord_type(x + dx2, y + dy2));
/external/fonttools/Lib/fontTools/misc/
Dtransform.py192 xx2, xy2, yx2, yy2, dx2, dy2 = self.__affine
198 xx2*dx1 + yx2*dy1 + dx2,
215 xx2, xy2, yx2, yy2, dx2, dy2 = other
221 xx2*dx1 + yx2*dy1 + dx2,
293 xx2, xy2, yx2, yy2, dx2, dy2 = other
295 (xx2, xy2, yx2, yy2, dx2, dy2)
DpsCharStrings.py674 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))
691 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, d6 = self.popall()
692 dx = dx1 + dx2 + dx3 + dx4 + dx5
700 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
/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.py207 dx2 = dy2 + grads_combined[0]
209 with tf.control_dependencies(df + [dx2]):
213 dx = dx1, dx2
244 dx2, df = grads_combined[0], grads_combined[1:]
250 dx2 += x2tape.gradient(z2, x2, output_gradients=dy2)
252 dx = dx1, dx2
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java171 final double[] dx2 = new double[pointSet.size()]; in chooseInitialCenters() local
181 dx2[i] = sum; in chooseInitialCenters()
187 for (int i = 0 ; i < dx2.length; i++) { in chooseInitialCenters()
188 if (dx2[i] >= r) { in chooseInitialCenters()
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c198 const GLfloat dx2 = v0[0] - v2[0]; in compute_coveragef() local
232 cross = (dx2 * (sy - v2[1]) - dy2 * (sx - v2[0])); in compute_coveragef()
234 cross = dx2 + dy2; in compute_coveragef()
/external/tensorflow/tensorflow/core/kernels/
Dcrop_and_resize_op_gpu.cu.cc327 float dx1, dx2; in CropAndResizeBackpropBoxesKernel() local
330 dx2 = image_grad_x * (x * width_ratio); in CropAndResizeBackpropBoxesKernel()
333 dx2 = image_grad_x * 0.5 * (image_width - 1); in CropAndResizeBackpropBoxesKernel()
339 CudaAtomicAdd(grads_boxes_ptr + b * 4 + 3, dx2); in CropAndResizeBackpropBoxesKernel()
/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/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java359 double dx2 = v2x - u2.getX(); in Rotation() local
363 dz1 * dx2 - dx1 * dz2, in Rotation()
364 dx1 * dy2 - dy1 * dx2); in Rotation()
395 dz2 * dx3 - dx2 * dz3, in Rotation()
396 dx2 * dy3 - dy2 * dx3); in Rotation()
/external/skia/src/compute/ts/
Dtransform_stack.c629 ts_transform_float_t const dx2 = x3 - x2; in ts_transform_stack_push_unit_to_quad() local
632 ts_transform_float_t const dx3 = -sx - dx2; in ts_transform_stack_push_unit_to_quad()
653 ts_transform_float_t const wx_den = dx1 * dy2 - dx2 * dy1; in ts_transform_stack_push_unit_to_quad()
658 ts_transform_float_t const w0_num = dx3 * dy2 - dx2 * dy3; in ts_transform_stack_push_unit_to_quad()
/external/skqp/src/compute/ts/
Dtransform_stack.c629 ts_transform_float_t const dx2 = x3 - x2; in ts_transform_stack_push_unit_to_quad() local
632 ts_transform_float_t const dx3 = -sx - dx2; in ts_transform_stack_push_unit_to_quad()
653 ts_transform_float_t const wx_den = dx1 * dy2 - dx2 * dy1; in ts_transform_stack_push_unit_to_quad()
658 ts_transform_float_t const w0_num = dx3 * dy2 - dx2 * dy3; in ts_transform_stack_push_unit_to_quad()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c333 unsigned dx1, dy1, dx2, dy2; in emit_blit() local
372 dx2 = dbox->x + dbox->width - 1; in emit_blit()
445 OUT_RING(ring, CP_BLIT_4_DST_X2(dx2) | CP_BLIT_4_DST_Y2(dy2)); in emit_blit()
/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/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/tensorflow/tensorflow/python/ops/
Dmath_grad_test.py439 dx1, dx2 = self._nextafter_gradient(x1, x2)
443 self.assertAllClose(expected_dx2, dx2)
451 dx1, dx2 = self._nextafter_gradient(x1, x2)
455 self.assertAllClose(expected_dx2, dx2)
/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
363 dx2 += 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.py309 dx2, dy2 = nextPt[0] - pt[0], nextPt[1] - pt[1]
311 a2 = math.atan2(dx2, dy2)
/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp434 SkFractionalInt dx2 = dx+dx; in nofilter_scale_neon() local
435 SkFractionalInt dx4 = dx2+dx2; in nofilter_scale_neon()
/external/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c37 struct brw_reg dx2; member
289 c->dx2 = brw_vec1_grf(1, 4); in alloc_regs()
499 brw_MAC(p, c->tmp, c->a1_sub_a0, negate(c->dx2)); in brw_emit_tri_setup()
/external/skqp/src/core/
DSkBitmapProcState_matrixProcs.cpp434 SkFractionalInt dx2 = dx+dx; in nofilter_scale_neon() local
435 SkFractionalInt dx4 = dx2+dx2; in nofilter_scale_neon()
/external/freetype/src/smooth/
Dftgrays.c1096 TPos dx1, dy1, dx2, dy2; in gray_render_cubic() local
1153 dx2 = arc[2].x - arc[0].x; in gray_render_cubic()
1155 s = FT_ABS( SUB_LONG( MUL_LONG( dy, dx2 ), MUL_LONG( dx, dy2 ) ) ); in gray_render_cubic()
1164 dx2 * ( dx2 - dx ) + dy2 * ( dy2 - dy ) > 0 ) in gray_render_cubic()
/external/dng_sdk/source/
Ddng_resample.cpp410 real64 dx2 = xPos * xPos; in Initialize()
412 real64 r = sqrt (dx2 + dy2); in Initialize()

12