/external/boringssl/src/ssl/test/runner/curve25519/ |
D | curve25519.go | 98 var carry [10]int64 99 carry[9] = (h9 + 1<<24) >> 25 100 h0 += carry[9] * 19 101 h9 -= carry[9] << 25 102 carry[1] = (h1 + 1<<24) >> 25 103 h2 += carry[1] 104 h1 -= carry[1] << 25 105 carry[3] = (h3 + 1<<24) >> 25 106 h4 += carry[3] 107 h3 -= carry[3] << 25 [all …]
|
/external/boringssl/src/crypto/bn/asm/ |
D | x86-mont.pl | 278 $carry="ebp"; 281 &lea ($carry,&DWP(1,$num)); 285 &and ($carry,1); # see if num is even 288 &or ($carry,"edx"); 296 &mov ($carry,"edx"); 298 &add ($carry,"eax"); 303 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]= 306 &mov ($carry,"edx"); 309 &add ("eax",$carry); 329 &mov ($carry,"edx"); [all …]
|
D | armv8-mont.pl | 273 my ($cnt,$carry,$topmost)=("x27","x28","x30"); 274 my ($tp,$ap_end,$na0)=($bp,$np,$carry); 516 //adc $carry,xzr,xzr // moved below 543 adc $carry,xzr,xzr // carry bit, modulo-scheduled 564 adc $carry,$carry,xzr 578 adcs $acc7,$carry,$t3 579 //adc $carry,xzr,xzr // moved above 605 //adc $carry,xzr,xzr // moved above 786 //adc $carry,xzr,xzr // moved below 799 adc $carry,xzr,xzr // carry bit, modulo-scheduled [all …]
|
D | x86_64-mont5.pl | 1383 my ($shift,$carry)=($a0,$a1); 1389 xor $carry,$carry 1395 mov $carry,24($tptr) # t[7] 1410 neg $carry # mov $carry,cf 1419 sbb $carry,$carry # mov cf,$carry 1427 neg $carry # mov $carry,cf 1435 sbb $carry,$carry # mov cf,$carry 1449 neg $carry # mov $carry,cf 1458 sbb $carry,$carry # mov cf,$carry 1466 neg $carry # mov $carry,cf [all …]
|
/external/valgrind/VEX/switchback/ |
D | test_emfloat.c | 529 static void Add16Bits(u16 *carry,u16 *a,u16 b,u16 c); 531 static void ShiftMantLeft1(u16 *carry,u16 *mantissa); 532 static void ShiftMantRight1(u16 *carry,u16 *mantissa); 768 static void Add16Bits(u16 *carry, in Add16Bits() argument 781 accum+=(u32)*carry; in Add16Bits() 782 *carry=(u16)((accum & 0x00010000) ? 1 : 0); /* New carry */ in Add16Bits() 814 static void ShiftMantLeft1(u16 *carry, in ShiftMantLeft1() argument 825 if(*carry) in ShiftMantLeft1() 827 *carry=new_carry; in ShiftMantLeft1() 839 static void ShiftMantRight1(u16 *carry, in ShiftMantRight1() argument [all …]
|
/external/boringssl/src/crypto/bn/ |
D | add.c | 106 BN_ULONG *ap, *bp, *rp, carry, t1, t2; in BN_uadd() local 128 carry = bn_add_words(rp, ap, bp, min); in BN_uadd() 133 if (carry) { in BN_uadd() 140 carry = 0; in BN_uadd() 144 if (carry) { in BN_uadd() 264 int i, carry; in BN_usub() local 284 carry = 0; in BN_usub() 288 if (carry) { in BN_usub() 289 carry = (t1 <= t2); in BN_usub() 292 carry = (t1 < t2); in BN_usub() [all …]
|
D | montgomery.c | 333 BN_ULONG *ap, *np, *rp, n0, v, carry; 360 for (carry = 0, i = 0; i < nl; i++, rp++) { 362 v = (v + carry + rp[nl]) & BN_MASK2; 363 carry |= (v != rp[nl]); 364 carry &= (v <= rp[nl]); 381 v = bn_sub_words(rp, ap, np, nl) - carry; 421 BN_ULONG *ap,*np,*rp,n0,v,carry; in BN_from_montgomery_word() local 446 for (carry=0, i=0; i<nl; i++, rp++) in BN_from_montgomery_word() 449 v = (v+carry+rp[nl])&BN_MASK2; in BN_from_montgomery_word() 450 carry |= (v != rp[nl]); in BN_from_montgomery_word() [all …]
|
/external/v8/src/ |
D | bignum.cc | 171 Chunk carry = 0; in AddBignum() local 175 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; in AddBignum() 177 carry = sum >> kBigitSize; in AddBignum() 181 while (carry != 0) { in AddBignum() 182 Chunk sum = bigits_[bigit_pos] + carry; in AddBignum() 184 carry = sum >> kBigitSize; in AddBignum() 239 DoubleChunk carry = 0; in MultiplyByUInt32() local 241 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry; in MultiplyByUInt32() 243 carry = (product >> kBigitSize); in MultiplyByUInt32() 245 while (carry != 0) { in MultiplyByUInt32() [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | saddo.ll | 12 %carry = extractvalue { i64, i1 } %sadd, 1 13 %ext = zext i1 %carry to i64 23 %carry = extractvalue { i32, i1 } %sadd, 1 25 store i1 %carry, i1 addrspace(1)* %carryout 35 %carry = extractvalue { i32, i1 } %sadd, 1 37 store i1 %carry, i1 addrspace(1)* %carryout 45 %carry = extractvalue { i64, i1 } %sadd, 1 47 store i1 %carry, i1 addrspace(1)* %carryout 59 %carry = extractvalue { i64, i1 } %sadd, 1 61 store i1 %carry, i1 addrspace(1)* %carryout
|
D | ssubo.ll | 12 %carry = extractvalue { i64, i1 } %ssub, 1 13 %ext = zext i1 %carry to i64 23 %carry = extractvalue { i32, i1 } %ssub, 1 25 store i1 %carry, i1 addrspace(1)* %carryout 35 %carry = extractvalue { i32, i1 } %ssub, 1 37 store i1 %carry, i1 addrspace(1)* %carryout 47 %carry = extractvalue { i64, i1 } %ssub, 1 49 store i1 %carry, i1 addrspace(1)* %carryout 61 %carry = extractvalue { i64, i1 } %ssub, 1 63 store i1 %carry, i1 addrspace(1)* %carryout
|
D | usubo.ll | 15 %carry = extractvalue { i64, i1 } %usub, 1 16 %ext = zext i1 %carry to i64 30 %carry = extractvalue { i32, i1 } %usub, 1 32 store i1 %carry, i1 addrspace(1)* %carryout 46 %carry = extractvalue { i32, i1 } %usub, 1 48 store i1 %carry, i1 addrspace(1)* %carryout 63 %carry = extractvalue { i64, i1 } %usub, 1 65 store i1 %carry, i1 addrspace(1)* %carryout 82 %carry = extractvalue { i64, i1 } %usub, 1 84 store i1 %carry, i1 addrspace(1)* %carryout
|
D | uaddo.ll | 18 %carry = extractvalue { i64, i1 } %uadd, 1 19 %ext = zext i1 %carry to i64 33 %carry = extractvalue { i32, i1 } %uadd, 1 35 store i1 %carry, i1 addrspace(1)* %carryout 49 %carry = extractvalue { i32, i1 } %uadd, 1 51 store i1 %carry, i1 addrspace(1)* %carryout 64 %carry = extractvalue { i64, i1 } %uadd, 1 66 store i1 %carry, i1 addrspace(1)* %carryout 81 %carry = extractvalue { i64, i1 } %uadd, 1 83 store i1 %carry, i1 addrspace(1)* %carryout
|
/external/wpa_supplicant_8/src/crypto/ |
D | fips_prf_internal.c | 23 u32 carry; in fips186_2_prf() local 56 carry = 1; in fips186_2_prf() 58 carry += xkey[k] + xpos[k]; in fips186_2_prf() 59 xkey[k] = carry & 0xff; in fips186_2_prf() 60 carry >>= 8; in fips186_2_prf()
|
D | fips_prf_openssl.c | 54 u32 carry; in fips186_2_prf() local 87 carry = 1; in fips186_2_prf() 89 carry += xkey[k] + xpos[k]; in fips186_2_prf() 90 xkey[k] = carry & 0xff; in fips186_2_prf() 91 carry >>= 8; in fips186_2_prf()
|
D | aes-omac1.c | 18 int i, carry; in gf_mulx() local 20 carry = pad[0] & 0x80; in gf_mulx() 24 if (carry) in gf_mulx()
|
/external/compiler-rt/lib/builtins/ |
D | udivsi3.c | 47 su_int carry = 0; in ARM_EABI_FNALIAS() local 52 q = (q << 1) | carry; in ARM_EABI_FNALIAS() 61 carry = s & 1; in ARM_EABI_FNALIAS() 64 q = (q << 1) | carry; in ARM_EABI_FNALIAS()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | WNafUtil.java | 85 boolean carry = false; in generateCompactWindowNaf() 90 if (k.testBit(pos) == carry) in generateCompactWindowNaf() 99 if (carry) in generateCompactWindowNaf() 104 carry = (digit & sign) != 0; in generateCompactWindowNaf() 105 if (carry) in generateCompactWindowNaf() 248 boolean carry = false; in generateWindowNaf() 253 if (k.testBit(pos) == carry) in generateWindowNaf() 262 if (carry) in generateWindowNaf() 267 carry = (digit & sign) != 0; in generateWindowNaf() 268 if (carry) in generateWindowNaf()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 240 bool carry = false; in add() local 243 dest[i] = x[i] + y[i] + carry; in add() 244 carry = dest[i] < limit || (carry && dest[i] == limit); in add() 246 return carry; in add() 295 uint64_t carry = 0; in mul_1() local 307 dest[i] = carry + lx * ly; in mul_1() 309 hasCarry = (dest[i] < carry) ? 1 : 0; in mul_1() 310 carry = hx * ly + (dest[i] >> 32) + (hasCarry ? (1ULL << 32) : 0); in mul_1() 313 hasCarry = (!carry && hasCarry) ? 1 : (!carry ? 2 : 0); in mul_1() 315 carry += (lx * hy) & 0xffffffffULL; in mul_1() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | decNumber.c | 4916 uInt carry; /* carry (NB not uLong) */ in decMultiplyOp() local 5075 if (lcarry<FASTBASE) carry=(uInt)lcarry; /* [usual] */ in decMultiplyOp() 5080 carry=(uInt)(lcarry-((uLong)FASTBASE*carry2)); /* [inline] */ in decMultiplyOp() 5082 *(lp+1)+=carry; /* add to item above [inline] */ in decMultiplyOp() 5083 *lp-=((uLong)FASTBASE*carry); /* [inline] */ in decMultiplyOp() 6386 eInt carry=0; /* carry integer (could be Long) */ local 6422 carry+=*a; 6424 carry+=((eInt)*b)*m; /* [special-casing m=1/-1 */ 6427 if ((ueInt)carry<=DECDPUNMAX) { /* fastpath 0-DECDPUNMAX */ 6428 *c=(Unit)carry; [all …]
|
/external/fio/lib/ |
D | num2str.c | 18 int byte_post_index = 0, post_index, carry = 0; in num2str() local 45 carry = modulo >= thousand[!!pow2] / 2; in num2str() 62 if (carry) in num2str()
|
/external/libavc/encoder/ |
D | ih264e_cabac.c | 264 WORD32 carry = (u4_low >> (u4_bits_gen + CABAC_BITS)) & 0x1; in ih264e_cabac_flush() local 269 if (carry) in ih264e_cabac_flush() 286 pu1_strm_buf[u4_strm_buf_offset - 1] += carry; in ih264e_cabac_flush() 293 UWORD8 u1_0_or_ff = carry ? 0 : 0xFF; in ih264e_cabac_flush() 389 WORD32 carry = (lead_byte >> 8) & 0x1; in ih264e_cabac_put_byte() local 402 if (carry) in ih264e_cabac_put_byte() 419 pu1_strm_buf[u4_strm_buf_offset - 1] += carry; in ih264e_cabac_put_byte() 426 UWORD8 u1_0_or_ff = carry ? 0 : 0xFF; in ih264e_cabac_put_byte()
|
/external/boringssl/src/decrepit/xts/ |
D | xts.c | 106 unsigned int carry, res; in CRYPTO_xts128_encrypt() local 109 carry = (unsigned int)(tweak.u[0] >> 63); in CRYPTO_xts128_encrypt() 111 tweak.u[1] = (tweak.u[1] << 1) | carry; in CRYPTO_xts128_encrypt() 131 unsigned int carry, res; in CRYPTO_xts128_encrypt() local 134 carry = (unsigned int)(tweak.u[0] >> 63); in CRYPTO_xts128_encrypt() 136 tweak1.u[1] = (tweak.u[1] << 1) | carry; in CRYPTO_xts128_encrypt()
|
/external/fdlibm/ |
D | k_rem_pio2.c | 170 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local 215 n += 1; carry = 0; 218 if(carry==0) { 220 carry = 1; iq[i] = 0x1000000- j; 234 if(carry!=0) z -= ieee_scalbn(one,q0);
|
/external/libweave/third_party/chromium/base/third_party/dmg_fp/ |
D | dtoa.cc | 615 ULLong carry, y; variable 617 ULong carry, *x, y; variable 627 carry = a; 630 y = *x * (ULLong)m + carry; 631 carry = y >> 32; 636 y = (xi & 0xffff) * m + carry; 638 carry = z >> 16; 641 y = *x * m + carry; 642 carry = y >> 16; 648 if (carry) { [all …]
|
/external/llvm/test/CodeGen/Thumb2/ |
D | thumb2-sbc.ll | 60 define i64 @livecarry(i64 %carry, i32 %digit) nounwind { 61 %ch = lshr i64 %carry, 32 62 %cl = and i64 %carry, 4294967295
|