/external/openssl/crypto/rc2/ |
D | rc2_cbc.c | 140 register RC2_INT x0,x1,x2,x3,t; in RC2_encrypt() local 144 x0=(RC2_INT)l&0xffff; in RC2_encrypt() 156 t=(x0+(x1& ~x3)+(x2&x3)+ *(p0++))&0xffff; in RC2_encrypt() 157 x0=(t<<1)|(t>>15); in RC2_encrypt() 158 t=(x1+(x2& ~x0)+(x3&x0)+ *(p0++))&0xffff; in RC2_encrypt() 160 t=(x2+(x3& ~x1)+(x0&x1)+ *(p0++))&0xffff; in RC2_encrypt() 162 t=(x3+(x0& ~x2)+(x1&x2)+ *(p0++))&0xffff; in RC2_encrypt() 170 x0+=p1[x3&0x3f]; in RC2_encrypt() 171 x1+=p1[x0&0x3f]; in RC2_encrypt() 177 d[0]=(unsigned long)(x0&0xffff)|((unsigned long)(x1&0xffff)<<16L); in RC2_encrypt() [all …]
|
D | rc2_locl.h | 148 t=(x0+(x1& ~x3)+(x2&x3)+ *(p0++))&0xffff; \ 149 x0=(t<<1)|(t>>15); \ 150 t=(x1+(x2& ~x0)+(x3&x0)+ *(p0++))&0xffff; \ 152 t=(x2+(x3& ~x1)+(x0&x1)+ *(p0++))&0xffff; \ 154 t=(x3+(x0& ~x2)+(x1&x2)+ *(p0++))&0xffff; \
|
/external/skia/src/core/ |
D | SkEdge.cpp | 37 SkFDot6 x0, y0, x1, y1; in setLine() local 42 x0 = int(p0.fX * scale); in setLine() 48 x0 = p0.fX >> shift; in setLine() 58 SkTSwap(x0, x1); in setLine() 75 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 77 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2 in setLine() 92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 112 x0 >>= 10; in updateLine() 115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in updateLine() 117 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2 in updateLine() [all …]
|
D | SkBitmapProcState_sample.h | 92 SRCTYPE x0 = srcAddr[UNPACK_PRIMARY_SHORT(xx0)]; in MAKENAME() local 97 *colors++ = RETURNDST(x0); in MAKENAME() 143 unsigned x0 = XX >> 14; in MAKENAME() local 145 unsigned subX = x0 & 0xF; in MAKENAME() 146 x0 >>= 4; in MAKENAME() 149 SRC_TO_FILTER(row0[x0]), in MAKENAME() 151 SRC_TO_FILTER(row1[x0]), in MAKENAME() 183 unsigned x0 = data >> 14; in MAKENAME() local 185 unsigned subX = x0 & 0xF; in MAKENAME() 186 x0 >>= 4; in MAKENAME() [all …]
|
D | SkScan_Antihair.cpp | 223 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, in do_anti_hairline() argument 229 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) in do_anti_hairline() 237 int hx = (x0 >> 1) + (x1 >> 1); in do_anti_hairline() 239 do_anti_hairline(x0, y0, hx, hy, clip, blitter); in do_anti_hairline() 249 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) // mostly horizontal in do_anti_hairline() 251 if (x0 > x1) { // we want to go left-to-right in do_anti_hairline() 252 SkTSwap<SkFDot6>(x0, x1); in do_anti_hairline() 256 istart = SkFDot6Floor(x0); in do_anti_hairline() 263 slope = fastfixdiv(y1 - y0, x1 - x0); in do_anti_hairline() 265 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6; in do_anti_hairline() [all …]
|
D | SkCordic.cpp | 31 static void SkCircularRotation(int32_t* x0, int32_t* y0, int32_t* z0) in SkCircularRotation() argument 34 int32_t x = *x0; in SkCircularRotation() 52 *x0 = x; in SkCircularRotation() 85 static int32_t SkCircularVector(int32_t* y0, int32_t* x0, int32_t vecMode) in SkCircularVector() argument 87 int32_t x = *x0; in SkCircularVector() 155 static void SkHyperbolic(int32_t* x0, int32_t* y0, int32_t* z0, int mode) in SkHyperbolic() argument 158 int32_t x = *x0; in SkHyperbolic() 182 *x0 = x; in SkHyperbolic()
|
D | SkScan_Hairline.cpp | 60 SkFDot6 x0 = SkScalarToFDot6(pts[0].fX); in HairLine() local 73 ptsR.set(x0, y0, x1, y1); in HairLine() 92 SkFDot6 dx = x1 - x0; in HairLine() 97 if (x0 > x1) // we want to go left-to-right in HairLine() 99 SkTSwap<SkFDot6>(x0, x1); in HairLine() 102 int ix0 = SkFDot6Round(x0); in HairLine() 108 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLine() 116 SkTSwap<SkFDot6>(x0, x1); in HairLine() 125 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLine()
|
D | SkBlitter.cpp | 318 int x0 = left; in blitAntiH() local 324 SkASSERT(x0 < x1); in blitAntiH() 325 if (x0 < fClipRect.fLeft) in blitAntiH() 327 int dx = fClipRect.fLeft - x0; in blitAntiH() 331 x0 = fClipRect.fLeft; in blitAntiH() 334 SkASSERT(x0 < x1 && runs[x1 - x0] == 0); in blitAntiH() 338 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, x1 - x0); in blitAntiH() 339 ((int16_t*)runs)[x1 - x0] = 0; in blitAntiH() 342 SkASSERT(x0 < x1 && runs[x1 - x0] == 0); in blitAntiH() 343 SkASSERT(compute_anti_width(runs) == x1 - x0); in blitAntiH() [all …]
|
D | SkBitmapProcState_shaderproc.h | 45 unsigned x0 = TILEX_PROCF(fx, maxX); in SCALE_FILTER_NAME() local 49 SRC_TO_FILTER(row0[x0]), in SCALE_FILTER_NAME() 51 SRC_TO_FILTER(row1[x0]), in SCALE_FILTER_NAME()
|
/external/dropbear/libtommath/ |
D | bn_mp_karatsuba_mul.c | 49 mp_int x0, x1, y0, y1, t1, x0y0, x1y1; in mp_karatsuba_mul() local 62 if (mp_init_size (&x0, B) != MP_OKAY) in mp_karatsuba_mul() 80 x0.used = y0.used = B; in mp_karatsuba_mul() 94 tmpx = x0.dp; in mp_karatsuba_mul() 115 mp_clamp (&x0); in mp_karatsuba_mul() 120 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY) in mp_karatsuba_mul() 126 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY) in mp_karatsuba_mul() 128 if (s_mp_add (&y1, &y0, &x0) != MP_OKAY) in mp_karatsuba_mul() 130 if (mp_mul (&t1, &x0, &t1) != MP_OKAY) in mp_karatsuba_mul() 134 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY) in mp_karatsuba_mul() [all …]
|
D | bn_mp_karatsuba_sqr.c | 27 mp_int x0, x1, t1, t2, x0x0, x1x1; in mp_karatsuba_sqr() local 39 if (mp_init_size (&x0, B) != MP_OKAY) in mp_karatsuba_sqr() 61 dst = x0.dp; in mp_karatsuba_sqr() 72 x0.used = B; in mp_karatsuba_sqr() 75 mp_clamp (&x0); in mp_karatsuba_sqr() 78 if (mp_sqr (&x0, &x0x0) != MP_OKAY) in mp_karatsuba_sqr() 84 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY) in mp_karatsuba_sqr() 113 X0:mp_clear (&x0); in mp_karatsuba_sqr()
|
/external/libvpx/vp8/common/ |
D | textblit.c | 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) in vp8_blit_line() argument 63 int steep = abs(y1 - y0) > abs(x1 - x0); in vp8_blit_line() 70 t = x0; in vp8_blit_line() 71 x0 = y0; in vp8_blit_line() 79 if (x0 > x1) in vp8_blit_line() 82 t = x0; in vp8_blit_line() 83 x0 = x1; in vp8_blit_line() 91 deltax = x1 - x0; in vp8_blit_line() 104 for (x = x0; x <= x1; x++) in vp8_blit_line() 118 for (x = x0; x <= x1; x++) in vp8_blit_line()
|
D | postproc.c | 125 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch); 630 static void constrain_line (int x0, int *x1, int y0, int *y1, int width, int height) in constrain_line() argument 637 dx = *x1 - x0; in constrain_line() 642 *y1 = ((width-x0)*dy)/dx + y0; in constrain_line() 646 dx = *x1 - x0; in constrain_line() 651 *y1 = ((0-x0)*dy)/dx + y0; in constrain_line() 655 dx = *x1 - x0; in constrain_line() 660 *x1 = ((height-y0)*dx)/dy + x0; in constrain_line() 664 dx = *x1 - x0; in constrain_line() 669 *x1 = ((0-y0)*dx)/dy + x0; in constrain_line() [all …]
|
/external/skia/src/utils/ |
D | SkCullPoints.cpp | 35 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const in sect_test() argument 39 if (x0 < r.fLeft && x1 < r.fLeft || in sect_test() 40 x0 > r.fRight && x1 > r.fRight || in sect_test() 46 if (r.contains(x0, y0) || r.contains(x1, y1)) in sect_test() 53 vec.set(x1 - x0, y1 - y0); in sect_test() 54 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() 56 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) in sect_test() 105 int x0 = fPrevPt.fX; in lineTo() local 111 if (this->sect_test(x0, y0, x, y)) in lineTo() 113 line[0].set(x0, y0); in lineTo() [all …]
|
/external/iproute2/examples/diffserv/ |
D | regression-testing | 17 generate TOS values 0x0,0x10,0xbb each with IP addresses 41 AF41(TOS=0x88) AF42(0x90) AF43(0x98) and BE (0x0) 55 Marking: Should vary between 0x88,0x90,0x98 and 0x0 60 Marking: Should vary between 0x90,0x98 and 0x0 65 Marking: Should vary between 0x98 and 0x0 70 Marking: Should be consistent at 0x0 90 AF41(TOS=0x88) AF42(0x90) AF43(0x98) and BE (0x0) 107 Marking: Should vary between 0x88,0x90,0x98 and 0x0 112 Marking: Should vary between 0x90,0x98 and 0x0 117 Marking: Should vary between 0x98 and 0x0 [all …]
|
/external/tcpdump/tests/ |
D | lmp.new | 1 IP (tos 0x0, ttl 1, id 44530, offset 0, flags [none], proto: UDP (17), length: 84) 10.0.12.1.4999… 17 IP (tos 0x0, ttl 1, id 44531, offset 0, flags [none], proto: UDP (17), length: 56) 10.0.12.1.4999… 24 IP (tos 0x0, ttl 1, id 44532, offset 0, flags [none], proto: UDP (17), length: 84) 10.0.12.1.4999… 39 IP (tos 0x0, ttl 1, id 44533, offset 0, flags [none], proto: UDP (17), length: 76) 10.0.12.1.4999… 51 IP (tos 0x0, ttl 1, id 44534, offset 0, flags [none], proto: UDP (17), length: 68) 10.0.12.1.4999… 62 IP (tos 0x0, ttl 1, id 44535, offset 0, flags [none], proto: UDP (17), length: 44) 10.0.12.1.4999… 66 IP (tos 0x0, ttl 1, id 44536, offset 0, flags [none], proto: UDP (17), length: 124) 10.0.12.1.499… 99 IP (tos 0x0, ttl 1, id 44537, offset 0, flags [none], proto: UDP (17), length: 68) 10.0.12.1.4999… 110 IP (tos 0x0, ttl 1, id 44538, offset 0, flags [none], proto: UDP (17), length: 60) 10.0.12.1.4999… 121 IP (tos 0x0, ttl 1, id 44539, offset 0, flags [none], proto: UDP (17), length: 52) 10.0.12.1.4999… [all …]
|
D | lmp.out | 1 IP (tos 0x0, ttl 1, id 44530, offset 0, flags [none], proto: UDP (17), length: 84) 10.0.12.1.4999… 17 IP (tos 0x0, ttl 1, id 44531, offset 0, flags [none], proto: UDP (17), length: 56) 10.0.12.1.4999… 24 IP (tos 0x0, ttl 1, id 44532, offset 0, flags [none], proto: UDP (17), length: 84) 10.0.12.1.4999… 39 IP (tos 0x0, ttl 1, id 44533, offset 0, flags [none], proto: UDP (17), length: 76) 10.0.12.1.4999… 51 IP (tos 0x0, ttl 1, id 44534, offset 0, flags [none], proto: UDP (17), length: 68) 10.0.12.1.4999… 62 IP (tos 0x0, ttl 1, id 44535, offset 0, flags [none], proto: UDP (17), length: 44) 10.0.12.1.4999… 66 IP (tos 0x0, ttl 1, id 44536, offset 0, flags [none], proto: UDP (17), length: 124) 10.0.12.1.499… 99 IP (tos 0x0, ttl 1, id 44537, offset 0, flags [none], proto: UDP (17), length: 68) 10.0.12.1.4999… 110 IP (tos 0x0, ttl 1, id 44538, offset 0, flags [none], proto: UDP (17), length: 60) 10.0.12.1.4999… 121 IP (tos 0x0, ttl 1, id 44539, offset 0, flags [none], proto: UDP (17), length: 52) 10.0.12.1.4999… [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
D | TwofishEngine.java | 448 int x0 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[INPUT_WHITEN]; in encryptBlock() local 457 t0 = Fe32_0(x0); in encryptBlock() 465 x0 ^= t0 + t1 + gSubKeys[k++]; in encryptBlock() 466 x0 = x0 >>>1 | x0 << 31; in encryptBlock() 472 Bits32ToBytes(x0 ^ gSubKeys[OUTPUT_WHITEN + 2], dst, dstIndex + 8); in encryptBlock() 489 int x0 = BytesTo32Bits(src, srcIndex+8) ^ gSubKeys[OUTPUT_WHITEN + 2]; in decryptBlock() local 499 x0 = (x0 << 1 | x0 >>> 31) ^ (t0 + t1 + gSubKeys[k--]); in decryptBlock() 502 t0 = Fe32_0(x0); in decryptBlock() 509 Bits32ToBytes(x0 ^ gSubKeys[INPUT_WHITEN], dst, dstIndex); in decryptBlock()
|
/external/webkit/WebCore/platform/graphics/cairo/ |
D | PathCairo.cpp | 160 double x0, y0; in addArcTo() local 161 cairo_get_current_point(cr, &x0, &y0); in addArcTo() 162 FloatPoint p0(x0, y0); in addArcTo() 250 double x0, x1, y0, y1; in boundingRect() local 251 cairo_path_extents(cr, &x0, &y0, &x1, &y1); in boundingRect() 252 return FloatRect(x0, y0, x1 - x0, y1 - y0); in boundingRect() 263 double x0, x1, y0, y1; in strokeBoundingRect() local 264 cairo_stroke_extents(cr, &x0, &y0, &x1, &y1); in strokeBoundingRect() 265 return FloatRect(x0, y0, x1 - x0, y1 - y0); in strokeBoundingRect()
|
/external/webkit/WebKit/android/plugins/ |
D | ANPPathInterface.cpp | 66 static void anp_quadTo(ANPPath* path, float x0, float y0, float x1, float y1) { in anp_quadTo() argument 67 path->quadTo(SkFloatToScalar(x0), SkFloatToScalar(y0), in anp_quadTo() 71 static void anp_cubicTo(ANPPath* path, float x0, float y0, in anp_cubicTo() argument 73 path->cubicTo(SkFloatToScalar(x0), SkFloatToScalar(y0), in anp_cubicTo()
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | ARM-E_interpolate_loop_gnu.s | 85 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0 88 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0 94 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 111 @ = x0 + f * (x1 - x0) == interpolated result
|
D | ARM-E_interpolate_noloop_gnu.s | 77 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0 80 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0 86 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 103 @ = x0 + f * (x1 - x0) == interpolated result
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | ARM-E_interpolate_noloop_gnu.s | 77 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0 80 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0 86 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 103 @ = x0 + f * (x1 - x0) == interpolated result
|
D | ARM-E_interpolate_loop_gnu.s | 85 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0 88 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0 94 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 111 @ = x0 + f * (x1 - x0) == interpolated result
|
/external/tremolo/Tremolo/ |
D | floor1.c | 205 int render_point(int x0,int x1,int y0,int y1,int x){ in render_point() argument 211 int adx=x1-x0; in render_point() 213 int err=ady*(x-x0); in render_point() 225 static void render_line(int n,int x0,int x1,int y0,int y1,ogg_int32_t *d){ in render_line() argument 234 n -= x0; in render_line() 238 adx=x1-x0; in render_line() 243 d += x0; in render_line()
|