Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dsum.c45 ULong carry, *xc, *xa, *xb, *xe, y; local
57 carry = 0;
64 y = (*xa & 0xffff) + (*xb & 0xffff) + carry;
65 carry = (y & 0x10000) >> 16;
66 z = (*xa++ >> 16) + (*xb++ >> 16) + carry;
67 carry = (z & 0x10000) >> 16;
73 y = (*xa & 0xffff) + carry;
74 carry = (y & 0x10000) >> 16;
75 z = (*xa++ >> 16) + carry;
76 carry = (z & 0x10000) >> 16;
[all …]
Ddmisc.c119 ULLong borrow, carry, y, ys; local
121 ULong borrow, carry, y, ys; local
145 carry = 0;
148 ys = *sx++ * (ULLong)q + carry;
149 carry = ys >> 32;
158 ys = (si & 0xffff) * q + carry;
160 carry = zs >> 16;
167 ys = *sx++ * q + carry;
168 carry = ys >> 16;
186 carry = 0;
[all …]
Dmisc.c168 ULLong carry, y; local
170 ULong carry, *x, y; local
180 carry = a;
183 y = *x * (ULLong)m + carry;
184 carry = y >> 32;
190 y = (xi & 0xffff) * m + carry;
192 carry = z >> 16;
195 y = *x * m + carry;
196 carry = y >> 16;
202 if (carry) {
[all …]
Dstrtodg.c73 ULong carry = 1, y; in increment() local
88 y = *x + carry; in increment()
89 carry = y >> 16; in increment()
91 if (!carry) in increment()
94 if (carry) in increment()
186 ULong carry, inex, lostbits; in rvOK() local
189 carry = rv = 0; in rvOK()
231 carry = 1; in rvOK()
238 if (carry) { in rvOK()
267 carry = b->x[(unsigned int)k1>>kshift] & in rvOK()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/
Dudivsi3.c93 UINT32 carry = 0; in __udivsi3() local
98 q = (q << 1) | carry; in __udivsi3()
106 carry = s & 1; in __udivsi3()
109 q = (q << 1) | carry; in __udivsi3()
Dudivmoddi4.c265 UINT32 carry = 0; in __udivmoddi4() local
272 q.low = (q.low << 1) | carry; in __udivmoddi4()
280 carry = s & 1; in __udivmoddi4()
283 q.all = (q.all << 1) | carry; in __udivmoddi4()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dlongobject.c592 twodigits carry = 1; /* for 2's-comp calculation */ in _PyLong_FromByteArray() local
601 thisbyte = (0xff ^ thisbyte) + carry; in _PyLong_FromByteArray()
602 carry = thisbyte >> 8; in _PyLong_FromByteArray()
642 digit carry; /* for computing 2's-comp */ in _PyLong_AsByteArray() local
680 carry = do_twos_comp ? 1 : 0; in _PyLong_AsByteArray()
684 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()
685 carry = thisdigit >> PyLong_SHIFT; in _PyLong_AsByteArray()
722 assert(carry == 0); /* else do_twos_comp and *every* digit was 0 */ in _PyLong_AsByteArray()
1208 digit carry = 0; in v_iadd() local
1212 carry += x[i] + y[i]; in v_iadd()
[all …]
Dfloatobject.c1154 int i, carry; in _Py_double_round() local
1164 carry = 1; in _Py_double_round()
1166 carry += buf[i] - '0'; in _Py_double_round()
1167 buf[i+1] = carry % 10 + '0'; in _Py_double_round()
1168 carry /= 10; in _Py_double_round()
1170 buf[0] = carry + '0'; in _Py_double_round()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c592 twodigits carry = 1; /* for 2's-comp calculation */ in _PyLong_FromByteArray() local
601 thisbyte = (0xff ^ thisbyte) + carry; in _PyLong_FromByteArray()
602 carry = thisbyte >> 8; in _PyLong_FromByteArray()
642 digit carry; /* for computing 2's-comp */ in _PyLong_AsByteArray() local
680 carry = do_twos_comp ? 1 : 0; in _PyLong_AsByteArray()
684 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()
685 carry = thisdigit >> PyLong_SHIFT; in _PyLong_AsByteArray()
722 assert(carry == 0); /* else do_twos_comp and *every* digit was 0 */ in _PyLong_AsByteArray()
1208 digit carry = 0; in v_iadd() local
1212 carry += x[i] + y[i]; in v_iadd()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c606 twodigits carry = 1; /* for 2's-comp calculation */ in _PyLong_FromByteArray() local
615 thisbyte = (0xff ^ thisbyte) + carry; in _PyLong_FromByteArray()
616 carry = thisbyte >> 8; in _PyLong_FromByteArray()
656 digit carry; /* for computing 2's-comp */ in _PyLong_AsByteArray() local
694 carry = do_twos_comp ? 1 : 0; in _PyLong_AsByteArray()
698 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()
699 carry = thisdigit >> PyLong_SHIFT; in _PyLong_AsByteArray()
736 assert(carry == 0); /* else do_twos_comp and *every* digit was 0 */ in _PyLong_AsByteArray()
1222 digit carry = 0; in v_iadd() local
1226 carry += x[i] + y[i]; in v_iadd()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Ddtoa.c452 ULLong carry, y; in multadd() local
454 ULong carry, *x, y; in multadd() local
462 carry = a; in multadd()
465 y = *x * (ULLong)m + carry; in multadd()
466 carry = y >> 32; in multadd()
470 y = (xi & 0xffff) * m + carry; in multadd()
472 carry = z >> 16; in multadd()
477 if (carry) { in multadd()
488 b->x[wds++] = (ULong)carry; in multadd()
636 ULLong carry, z; in mult() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddtoa.c435 ULLong carry, y; in multadd() local
437 ULong carry, *x, y; in multadd() local
445 carry = a; in multadd()
448 y = *x * (ULLong)m + carry; in multadd()
449 carry = y >> 32; in multadd()
453 y = (xi & 0xffff) * m + carry; in multadd()
455 carry = z >> 16; in multadd()
460 if (carry) { in multadd()
471 b->x[wds++] = (ULong)carry; in multadd()
619 ULLong carry, z; in mult() local
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Dk_rem_pio2.c159 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
204 n += 1; carry = 0; in __kernel_rem_pio2()
207 if(carry==0) { in __kernel_rem_pio2()
209 carry = 1; iq[i] = 0x1000000- j; in __kernel_rem_pio2()
223 if(carry!=0) z -= scalbn(one,q0); in __kernel_rem_pio2()
/device/google/contexthub/firmware/lib/libm/
Dkf_rem_pio2.c62 __int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
108 n += 1; carry = 0;
111 if(carry==0) {
113 carry = 1; iq[i] = 0x100- j;
127 if(carry!=0) z -= scalbnf(one,(int)q0);
/device/google/contexthub/firmware/lib/builtins/
Dudivmoddi4.c208 su_int carry = 0; in __udivmoddi4() local
215 q.s.low = (q.s.low << 1) | carry; in __udivmoddi4()
224 carry = s & 1; in __udivmoddi4()
227 q.all = (q.all << 1) | carry; in __udivmoddi4()
/device/linaro/bootloader/arm-trusted-firmware/lib/compiler-rt/builtins/
Dudivmoddi4.c208 su_int carry = 0; in __udivmoddi4() local
215 q.s.low = (q.s.low << 1) | carry; in __udivmoddi4()
224 carry = s & 1; in __udivmoddi4()
227 q.all = (q.all << 1) | carry; in __udivmoddi4()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfloatobject.c1167 int i, carry; in _Py_double_round() local
1177 carry = 1; in _Py_double_round()
1179 carry += buf[i] - '0'; in _Py_double_round()
1180 buf[i+1] = carry % 10 + '0'; in _Py_double_round()
1181 carry /= 10; in _Py_double_round()
1183 buf[0] = carry + '0'; in _Py_double_round()
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/bits32/
Dsoftfloat-macros267 any carry out is lost. The result is broken into two 32-bit pieces which
287 modulo 2^96, so any carry out is lost. The result is broken into three
326 2^64, so any borrow out (carry out) is lost. The result is broken into two
345 is modulo 2^96, so any borrow out (carry out) is lost. The result is broken
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits32/
Dsoftfloat-macros267 any carry out is lost. The result is broken into two 32-bit pieces which
287 modulo 2^96, so any carry out is lost. The result is broken into three
326 2^64, so any borrow out (carry out) is lost. The result is broken into two
345 is modulo 2^96, so any borrow out (carry out) is lost. The result is broken
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits64/
Dsoftfloat-macros342 any carry out is lost. The result is broken into two 64-bit pieces which
362 modulo 2^192, so any carry out is lost. The result is broken into three
401 2^128, so any borrow out (carry out) is lost. The result is broken into two
420 Subtraction is modulo 2^192, so any borrow out (carry out) is lost. The
/device/linaro/dragonboard/db845c/firmware/qca/
DNOTICE244 that I don't carry any responsibility for the results. I am especially
275 that I don't carry any responsibility for the results. I am especially
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
Dif_msk.c416 UINT32 carry; in ether_crc32_be() local
424 carry = ((crc & 0x80000000) ? 1 : 0) ^ (data & 0x01); in ether_crc32_be()
426 if (carry) { in ether_crc32_be()
427 crc = (crc ^ ETHER_CRC_POLY_BE) | carry; in ether_crc32_be()
/device/generic/goldfish/audio/
DNOTICE110 (b) You must cause any modified files to carry prominent notices
/device/generic/goldfish/radio/rild/
DNOTICE110 (b) You must cause any modified files to carry prominent notices
/device/generic/goldfish/radio/ril/
DNOTICE110 (b) You must cause any modified files to carry prominent notices

12