/external/valgrind/VEX/priv/ |
H A D | guest_ppc_helpers.c | 275 /* This clean helper takes a signed 32-bit BCD value and a carry in 279 * the result is the same as the input. The carry out is returned in 286 ULong carry, digit, new_digit; local 288 carry = carry_in; 300 new_digit = digit + carry; 303 carry = 1; 307 carry = 0; 313 result = ( carry << 32) | ( result << 4 ) | ( bcd_string & 0xF ); 315 result = ( carry << 32) | result;
|
/external/libconstrainedcrypto/ |
H A D | p256_ec.c | 191 /* felem_reduce_carry adds a multiple of p in order to cancel |carry|, 194 * On entry: carry < 2**3, inout[0,2,...] < 2**29, inout[1,3,...] < 2**28. 196 static void felem_reduce_carry(felem inout, limb carry) { argument 197 const u32 carry_mask = NON_ZERO_TO_ALL_ONES(carry); 199 inout[0] += carry << 1; 201 /* carry < 2**3 thus (carry << 11) < 2**14 and we added 2**28 in the 203 inout[3] -= carry << 11; 207 inout[6] -= carry << 22; 208 /* This may underflow if carry i 219 limb carry = 0; local 257 limb carry = 0; local 298 limb tmp2[18], carry, x, xMask; local 675 limb carry = 0; local 702 limb carry = 0, next_carry; local 733 limb carry = 0, next_carry; local 762 limb carry; local [all...] |
/external/libxaac/decoder/ |
H A D | ixheaacd_mps_parse.c | 156 WORD32 carry = 0; local 160 carry = carry + (WORD32)(a[h] - b[h]); 161 a[h] = (unsigned short)carry; 162 carry = carry >> 16; 166 carry = ((UWORD32)a[h]) + carry; 167 a[h] = (unsigned short)carry; 168 carry [all...] |
/external/syslinux/gpxe/src/crypto/axtls/ |
H A D | bigint.c | 246 comp carry = 0; local 262 rl = sl + carry; 264 carry = cy1 | (rl < sl); 268 *pa = carry; /* do overflow */ 286 comp *pa, *pb, carry = 0; local 299 rl = sl - carry; 301 carry = cy1 | (rl > sl); 307 *is_negative = carry; 321 comp carry = 0; local 332 long_comp tmp = *r + (long_comp)a[j]*b + carry; 792 comp carry = 0; local 904 comp carry; local 1223 comp carry; local [all...] |
/external/llvm/lib/Support/ |
H A D | APInt.cpp | 182 /// 1 is returned if there is a carry out, otherwise 0 is returned. 183 /// @returns the carry of the addition. 190 y = 0; // No need to carry so exit early 237 /// @returns the carry out from the addition 241 bool carry = false; local 244 dest[i] = x[i] + y[i] + carry; 245 carry = dest[i] < limit || (carry && dest[i] == limit); 247 return carry; 291 /// @returns the carry ou 296 uint64_t carry = 0; local 332 uint64_t carry = 0, lx = 0, hx = 0; local 1235 uint64_t carry = 0; local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_compiler_nir.c | 1040 struct ir3_instruction *carry; local 1046 carry = ir3_CMPS_U(b, addr, 0, base_lo, 0); 1047 carry->cat2.condition = IR3_COND_LT; 1048 base_hi = ir3_ADD_S(b, base_hi, 0, carry, 0);
|
/external/python/cpython2/Objects/ |
H A D | floatobject.c | 1176 int i, carry; local 1186 carry = 1; 1188 carry += buf[i] - '0'; 1189 buf[i+1] = carry % 10 + '0'; 1190 carry /= 10; 1192 buf[0] = carry + '0'; 2365 /* The carry propagated out of a string of 23 1 bits. */ 2476 /* The carry propagated out of a string of 24 1 bits. */
|
H A D | longobject.c | 594 twodigits carry = 1; /* for 2's-comp calculation */ local 603 thisbyte = (0xff ^ thisbyte) + carry; 604 carry = thisbyte >> 8; 644 digit carry; /* for computing 2's-comp */ local 682 carry = do_twos_comp ? 1 : 0; 686 thisdigit = (thisdigit ^ PyLong_MASK) + carry; 687 carry = thisdigit >> PyLong_SHIFT; 724 assert(carry == 0); /* else do_twos_comp and *every* digit was 0 */ 1204 * x[m-1], and the remaining carry (0 or 1) is returned. 1210 digit carry local 1261 digit carry = 0; local 1279 digit carry = 0; local 2083 digit wm1, wm2, carry, q, r, vtop, *v0, *vk, *w0, *ak; local 2436 digit carry = 0; local 2594 twodigits carry; local 2632 twodigits carry = 0; local 3764 digit carry = 1; local [all...] |
/external/python/cpython2/Python/ |
H A D | dtoa.c | 452 ULLong carry, y; local 454 ULong carry, *x, y; local 462 carry = a; 465 y = *x * (ULLong)m + carry; 466 carry = y >> 32; 470 y = (xi & 0xffff) * m + carry; 472 carry = z >> 16; 477 if (carry) { 488 b->x[wds++] = (ULong)carry; 636 ULLong carry, local 638 ULong carry, z; local 1238 ULLong borrow, carry, y, ys; local 1240 ULong borrow, carry, y, ys; local [all...] |
/external/python/cpython3/Python/ |
H A D | dtoa.c | 452 ULLong carry, y; local 458 carry = a; 460 y = *x * (ULLong)m + carry; 461 carry = y >> 32; 465 if (carry) { 476 b->x[wds++] = (ULong)carry; 623 ULLong carry, z; local 659 carry = 0; 661 z = *x++ * (ULLong)y + *xc + carry; 662 carry 1163 ULLong borrow, carry, y, ys; local [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | APInt.cpp | 182 /// 1 is returned if there is a carry out, otherwise 0 is returned. 183 /// @returns the carry of the addition. 190 y = 0; // No need to carry so exit early 237 /// @returns the carry out from the addition 241 bool carry = false; local 244 dest[i] = x[i] + y[i] + carry; 245 carry = dest[i] < limit || (carry && dest[i] == limit); 247 return carry; 307 /// @returns the carry ou 312 uint64_t carry = 0; local 348 uint64_t carry = 0, lx = 0, hx = 0; local 1209 uint64_t carry = 0; local [all...] |
/external/v8/src/base/ |
H A D | ieee754.cc | 525 int32_t jz, jx, jv, jp, jk, carry, n, iq[20], i, j, k, m, q0, ih; local 579 carry = 0; 582 if (carry == 0) { 584 carry = 1; 603 if (carry != 0) z -= scalbn(one, q0);
|
/external/valgrind/coregrind/ |
H A D | m_signals.c | 425 UInt carry = 1 & ss->__eflags; local 431 err = carry; 481 ULong carry = 1 & ss->__rflags; local 487 err = carry; 2740 so carry on panicking. */
|
/external/v8/src/ppc/ |
H A D | simulator-ppc.cc | 1101 bool Simulator::CarryFrom(int32_t left, int32_t right, int32_t carry) { argument 1107 (carry && (((uright + 1) > urest) || (uright > (urest - 1)))); 2035 // Set carry 2074 // Set carry
|
/external/boringssl/src/third_party/fiat/ |
H A D | curve25519.c | 84 // This function extracts 51 bits of result and 1 bit of carry (52 total), so 109 // This function extracts 25 bits of result and 1 bit of carry (26 total), so 118 // This function extracts 26 bits of result and 1 bit of carry (27 total), so 1911 signed char carry; local 1924 carry = 0; 1926 e[i] += carry; 1927 carry = e[i] + 8; 1928 carry >>= 4; 1929 e[i] -= carry << 4; 1931 e[63] += carry; [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | decNumber.cpp | 1084 /* If not violated then carry out the operation. */ 1302 /* then carry out the operation. */ 1444 /* then carry out the operation. */ 2197 else { /* carry on with integer */ 3818 /* -- a carry to digits+1 digits looks possible */ 3971 /* is all in one unit, no operand rounding is needed, and no carry, */ 4064 /* If destructive overlap, or the number is too long, or a carry or */ 4070 /* needed, +1 Unit for carry or borrow */ 4857 /* chunks, and also uses a lazy carry strategy to minimise expensive */ 4892 #define FASTLAZY 18 /* carry resolutio 4918 uInt carry; /* carry (NB not uLong) */ local 6388 eInt carry=0; /* carry integer (could be Long) */ local [all...] |
/external/libpng/contrib/tools/ |
H A D | pngfix.c | 285 png_uint_32 carry = 0; local 288 while (out_digits < n_digits || carry > 0) 291 carry += acc[out_digits]; 294 carry += (png_uint_32)num[out_digits] * val; 296 acc[out_digits++] = (png_uint_16)(carry & 0xffff); 297 carry >>= 16; 300 /* So carry is 0 and all the input digits have been consumed. This means 340 png_uint_16 carry = 0; local 346 png_uint_16 temp = (png_uint_16)(carry | (inout[i] >> right_shift)); 348 /* Bottom bits to top bits of carry */ [all...] |
/external/libxml2/ |
H A D | xmlschemastypes.c | 3574 long carry, mon, day; local 3590 carry = (long)(sec / SECS_PER_DAY); 3591 sec -= ((double)carry) * SECS_PER_DAY; 3594 day = x->value.dur.day - y->value.dur.day + carry; 3771 long carry, tempdays, temp; local 3806 carry = d->mon + u->mon; 3807 r->mon = (unsigned int) MODULO_RANGE(carry, 1, 13); 3808 carry = (long) FQUOTIENT_RANGE(carry, 1, 13); 3811 r->year = d->year + carry; [all...] |
/external/python/cpython3/Objects/ |
H A D | longobject.c | 814 twodigits carry = 1; /* for 2's-comp calculation */ local 823 thisbyte = (0xff ^ thisbyte) + carry; 824 carry = thisbyte >> 8; 864 digit carry; /* for computing 2's-comp */ local 902 carry = do_twos_comp ? 1 : 0; 906 thisdigit = (thisdigit ^ PyLong_MASK) + carry; 907 carry = thisdigit >> PyLong_SHIFT; 944 assert(carry == 0); /* else do_twos_comp and *every* digit was 0 */ 1441 * x[m-1], and the remaining carry (0 or 1) is returned. 1447 digit carry local 1498 digit carry = 0; local 1516 digit carry = 0; local 2605 digit wm1, wm2, carry, q, r, vtop, *v0, *vk, *w0, *ak; local 3018 digit carry = 0; local 3191 twodigits carry; local 3229 twodigits carry = 0; local 4404 digit carry = 1; local [all...] |
/external/v8/src/arm/ |
H A D | simulator-arm.cc | 1292 bool Simulator::CarryFrom(int32_t left, int32_t right, int32_t carry) { argument 1298 (carry && (((uright + 1) > urest) || (uright > (urest - 1)))); 1303 bool Simulator::BorrowFrom(int32_t left, int32_t right, int32_t carry) { argument 1308 (!carry && (((uright + 1) > uleft) || (uright > (uleft - 1))));
|
/external/v8/src/s390/ |
H A D | simulator-s390.cc | 1879 bool Simulator::CarryFrom(int32_t left, int32_t right, int32_t carry) { argument 1885 (carry && (((uright + 1) > urest) || (uright > (urest - 1))));
|
/external/vixl/test/aarch64/ |
H A D | test-assembler-aarch64.cc | 8283 Op op, T left, T right, int carry, T expected, StatusFlags expected_flags) { 8294 __ Mov(x10, (carry ? CFlag : NoFlag)); 8282 AdcsSbcsHelper( Op op, T left, T right, int carry, T expected, StatusFlags expected_flags) argument
|
/external/mesa3d/src/compiler/glsl/ |
H A D | builtin_functions.cpp | 5221 ir_variable *carry = out_var(type, "carry"); local 5222 MAKE_SIG(type, gpu_shader5_or_es31_or_integer_functions, 3, x, y, carry); 5224 body.emit(assign(carry, ir_builder::carry(x, y)));
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
H A D | mpdecimal.c | 1662 * detected by _mpd_baseincr returning a carry. 1666 mpd_uint_t carry = _mpd_baseincr(dec->data, dec->len); local 1667 if (carry) { 1691 mpd_uint_t carry = _mpd_baseincr(dec->data, dec->len); local 1692 if (carry) { 1713 mpd_uint_t carry = _mpd_baseincr(dec->data, dec->len); local 1714 if (carry) { 3239 mpd_uint_t carry; local 3287 * the carry that would be generated by subtracting sdigits. 3321 carry 7932 mpd_uint_t carry; local 8012 mpd_uint_t carry; local 8079 mpd_uint_t carry; local [all...] |
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
H A D | native_crypto.cc | 175 bool carry = true; local 178 if (carry) { 179 carry = (++twosBytes[i]) == 0; 260 bool carry = true; local 263 if (carry) { 264 carry = (++tmp[i]) == 0;
|