/external/chromium_org/content/browser/renderer_host/ |
H A D | compositing_iosurface_mac.h | 153 void set_rect(float x1, float y1, float x2, float y2) { argument 156 verts_[2].set_position(x2, y2); 157 verts_[3].set_position(x2, y1);
|
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_graphics_2d_host_unittest.cc | 107 int x2; member in struct:content::__anon7796 152 gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2);
|
/external/chromium_org/native_client_sdk/src/examples/api/mouse_cursor/ |
H A D | mouse_cursor.cc | 101 void DrawHorizontalLine(int x1, int x2, int y, argument 105 for (int x = x1; x <= x2; ++x) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasPathMethods.cpp | 110 void CanvasPathMethods::arcTo(float x1, float y1, float x2, float y2, float r, ExceptionState& exceptionState) argument 112 if (!std::isfinite(x1) || !std::isfinite(y1) || !std::isfinite(x2) || !std::isfinite(y2) || !std::isfinite(r)) 124 FloatPoint p2 = FloatPoint(x2, y2);
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | ObjectPainter.cpp | 96 void ObjectPainter::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, argument 104 length = x2 - x1; 106 thickness = x2 - x1; 124 drawDashedOrDottedBoxSide(graphicsContext, x1, y1, x2, y2, side, 128 drawDoubleBoxSide(graphicsContext, x1, y1, x2, y2, length, side, color, 133 drawRidgeOrGrooveBoxSide(graphicsContext, x1, y1, x2, y2, side, color, 147 drawSolidBoxSide(graphicsContext, x1, y1, x2, y2, side, color, adjacentWidth1, adjacentWidth2, antialias); 152 void ObjectPainter::drawDashedOrDottedBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, argument 168 graphicsContext->drawLine(IntPoint(x1, (y1 + y2) / 2), IntPoint(x2, (y1 + y2) / 2)); 172 graphicsContext->drawLine(IntPoint((x1 + x2) / 179 drawDoubleBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, int length, BoxSide side, Color color, int thickness, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 255 drawRidgeOrGrooveBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, EBorderStyle style, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 299 drawSolidBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, int adjacentWidth1, int adjacentWidth2, bool antialias) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPathElement.cpp | 109 PassRefPtr<SVGPathSegCurvetoCubicAbs> SVGPathElement::createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2) argument 111 return SVGPathSegCurvetoCubicAbs::create(0, x, y, x1, y1, x2, y2); 114 PassRefPtr<SVGPathSegCurvetoCubicRel> SVGPathElement::createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2) argument 116 return SVGPathSegCurvetoCubicRel::create(0, x, y, x1, y1, x2, y2); 159 PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2) argument 161 return SVGPathSegCurvetoCubicSmoothAbs::create(0, x, y, x2, y2); 164 PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2) argument 166 return SVGPathSegCurvetoCubicSmoothRel::create(0, x, y, x2, y2);
|
/external/chromium_org/third_party/WebKit/Source/platform/animation/ |
H A D | TimingFunction.h | 104 static PassRefPtr<CubicBezierTimingFunction> create(double x1, double y1, double x2, double y2) argument 106 return adoptRef(new CubicBezierTimingFunction(Custom, x1, y1, x2, y2)); 147 double x2() const { return m_x2; } function in class:blink::FINAL 153 explicit CubicBezierTimingFunction(SubType subType, double x1, double y1, double x2, double y2) argument 157 , m_x2(x2)
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
H A D | AffineTransform.cpp | 226 void AffineTransform::map(double x, double y, double& x2, double& y2) const argument 228 x2 = (m_transform[0] * x + m_transform[2] * y + m_transform[4]); 234 double x2, y2; local 235 map(point.x(), point.y(), x2, y2); 238 return IntPoint(lround(x2), lround(y2)); 243 double x2, y2; local 244 map(point.x(), point.y(), x2, y2); 246 return FloatPoint(narrowPrecisionToFloat(x2), narrowPrecisionToFloat(y2));
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
H A D | SwapChain9.cpp | 287 float x2 = (x + width) - 0.5f; local 296 {x2, y1, 0.0f, 1.0f, u2, v2}, 297 {x2, y2, 0.0f, 1.0f, u2, v1},
|
/external/chromium_org/third_party/boringssl/src/crypto/cipher/ |
H A D | e_rc2.c | 126 uint16_t x0, x1, x2, x3, t; local 133 x2 = (uint16_t)l & 0xffff; 141 t = (x0 + (x1 & ~x3) + (x2 & x3) + *(p0++)) & 0xffff; 143 t = (x1 + (x2 & ~x0) + (x3 & x0) + *(p0++)) & 0xffff; 145 t = (x2 + (x3 & ~x1) + (x0 & x1) + *(p0++)) & 0xffff; 146 x2 = (t << 3) | (t >> 13); 147 t = (x3 + (x0 & ~x2) + (x1 & x2) + *(p0++)) & 0xffff; 158 x2 += p1[x1 & 0x3f]; 159 x3 += p1[x2 170 uint16_t x0, x1, x2, x3, t; local [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/poly1305/ |
H A D | poly1305_arm.c | 40 uint32_t x2 = r->v[4]; local 53 x2 += x1 >> 26; 55 x3 += x2 >> 26; 56 x2 &= 0x3ffffff; 66 y2 = x2 + (y1 >> 26); 77 y2 ^= x2; 89 y2 ^= x2; 103 uint32_t x2 = x->v[4]; local 109 x2 += x1 >> 26; 111 x3 += x2 >> 2 [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/mips/dspr2/ |
H A D | vp9_itrans4_dspr2.c | 324 int x0, x1, x2, x3; local 328 x2 = input[2]; 331 if (!(x0 | x1 | x2 | x3)) { 339 s3 = sinpi_4_9 * x2; 340 s4 = sinpi_1_9 * x2; 343 s7 = x0 - x2 + x3; 347 x2 = sinpi_3_9 * s7; 352 s2 = x2;
|
H A D | vp9_itrans8_dspr2.c | 473 int x0, x1, x2, x3, x4, x5, x6, x7; local 477 x2 = input[5]; 484 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { 493 s2 = cospi_10_64 * x2 + cospi_22_64 * x3; 494 s3 = cospi_22_64 * x2 - cospi_10_64 * x3; 502 x2 = ROUND_POWER_OF_TWO((s2 + s6), DCT_CONST_BITS); 512 s2 = x2; 521 x2 = s0 - s2; 529 s2 = cospi_16_64 * (x2 + x3); 530 s3 = cospi_16_64 * (x2 [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | webpenc.c | 334 const float x2 = x * x; local 337 dithering = 1.0f + (0.5f - 1.0f) * x2 * x2;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_tracker.h | 142 uint16_t x1, y1, x2, y2; member in struct:xa_box
|
/external/chromium_org/third_party/opus/src/celt/ |
H A D | celt.c | 92 opus_val32 x0, x1, x2, x3, x4; local 96 x2 = x[-T]; 102 + MULT16_32_Q15(g10,x2) 106 x3=x2; 107 x2=x1; 121 opus_val32 x0, x1, x2, x3, x4; local 141 x2 = x[-T1 ]; 153 + MULT16_32_Q15(MULT16_16_Q15(f,g10),x2) 157 x3=x2; 158 x2 [all...] |
H A D | vq.c | 48 celt_norm x1, x2; local 50 x2 = Xptr[stride]; 51 Xptr[stride] = EXTRACT16(SHR32(MULT16_16(c,x2) + MULT16_16(s,x1), 15)); 52 *Xptr++ = EXTRACT16(SHR32(MULT16_16(c,x1) - MULT16_16(s,x2), 15)); 57 celt_norm x1, x2; local 59 x2 = Xptr[stride]; 60 Xptr[stride] = EXTRACT16(SHR32(MULT16_16(c,x2) + MULT16_16(s,x1), 15)); 61 *Xptr-- = EXTRACT16(SHR32(MULT16_16(c,x1) - MULT16_16(s,x2), 15));
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
H A D | burg_modified_FIX.c | 58 opus_int32 C0, num, nrg, rc_Q31, invGain_Q30, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2; local 129 x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], 16 - rshifts ); /* Q(16-rshifts) */ 134 C_last_row[ k ] = silk_SMLAWB( C_last_row[ k ], x2, x_ptr[ subfr_length - n + k ] ); /* Q( -rshifts ) */ 150 x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], -rshifts ); /* Q( -rshifts ) */ 155 C_last_row[ k ] = silk_MLA( C_last_row[ k ], x2, x_ptr[ subfr_length - n + k ] ); /* Q( -rshifts ) */
|
/external/chromium_org/third_party/skia/experimental/SkV8Example/ |
H A D | Path2D.cpp | 232 double x2 = args[2]->NumberValue(); local 240 SkDoubleToScalar(x2),
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleSkLayer.cpp | 53 SkScalar x0, SkScalar x1, SkScalar x2, 56 if (dst[0] != x0 || dst[1] != x1 || dst[2] != x2 || 61 x0, x1, x2, y0, y1, y2, str.c_str()); 52 test_33(const SkMatrix44& mat, SkScalar x0, SkScalar x1, SkScalar x2, SkScalar y0, SkScalar y1, SkScalar y2) argument
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapProcState_sample.h | 116 SRCTYPE x2 = srcAddr[UNPACK_PRIMARY_SHORT(xx1)]; local 121 *colors++ = RETURNDST(x2);
|
H A D | SkEdge.cpp | 178 SkFDot6 x0, y0, x1, y1, x2, y2; local 186 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 194 x2 = int(pts[2].fX * scale); 202 SkTSwap(x0, x2); 217 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2; 253 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value 267 fQLastX = SkFDot6ToFixed(x2); 337 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local 345 x2 = SkScalarRoundToFDot6(pts[2].fX, shift); 355 x2 [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsLine.cpp | 113 // Returns true if a ray from (0,0) to (x1,y1) is coincident with a ray (0,0) to (x2,y2) 115 bool SkDLine::NearRay(double x1, double y1, double x2, double y2) { argument 117 double denom2 = x2 * x2 + y2 * y2; 119 SkDPoint pt = {x2, y2};
|
/external/chromium_org/third_party/speex/libspeex/ |
H A D | math_approx.h | 190 spx_word16_t x2; local 194 x2 = MULT16_16_P13(x,x); 195 return ADD32(K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); 198 x2 = MULT16_16_P13(x,x); 199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); 210 spx_word16_t x2; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/ |
H A D | aec_resampler.c | 159 float x2 = 0; local 198 x2 += n * n; 209 denom = x2 - xAvg * x;
|