Home
last modified time | relevance | path

Searched refs:borrow (Results 1 – 25 of 51) sorted by relevance

123

/external/libconstrainedcrypto/
Dp256.c93 p256_sddigit borrow = 0; in subTop() local
96 borrow += *c; in subTop()
97 borrow -= *a++; in subTop()
98 *c++ = (p256_digit)borrow; in subTop()
99 borrow >>= P256_BITSPERDIGIT; in subTop()
101 borrow += top_c; in subTop()
102 borrow -= top_a; in subTop()
103 top_c = (p256_digit)borrow; in subTop()
104 assert((borrow >> P256_BITSPERDIGIT) == 0); in subTop()
115 p256_sddigit borrow = 0; in subM() local
[all …]
/external/tpm2/
DMathFunctions.c105 int borrow = 0; in _math__sub() local
119 borrow = *a-- - *b-- + borrow; in _math__sub()
120 *c-- = (BYTE)borrow; in _math__sub()
121 notZero = notZero || borrow; in _math__sub()
122 borrow >>= 8; in _math__sub()
128 borrow = *a-- + borrow; in _math__sub()
129 *c-- = (BYTE)borrow; in _math__sub()
130 notZero = notZero || borrow; in _math__sub()
131 borrow >>= 8; in _math__sub()
138 borrow = 0 - *b-- + borrow; in _math__sub()
[all …]
/external/v8/src/
Dbignum.cc201 Chunk borrow = 0; in SubtractBignum() local
204 DCHECK((borrow == 0) || (borrow == 1)); in SubtractBignum()
205 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum()
207 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
209 while (borrow != 0) { in SubtractBignum()
210 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum()
212 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
623 Chunk borrow = 0; in PlusCompare() local
631 if (sum > chunk_c + borrow) { in PlusCompare()
634 borrow = chunk_c + borrow - sum; in PlusCompare()
[all …]
/external/python/cpython2/Python/
Ddtoa.c929 ULLong borrow, y; in diff() local
931 ULong borrow, y; in diff() local
963 borrow = 0; in diff()
966 y = (ULLong)*xa++ - *xb++ - borrow; in diff()
967 borrow = y >> 32 & (ULong)1; in diff()
972 y = *xa++ - borrow; in diff()
973 borrow = y >> 32 & (ULong)1; in diff()
978 y = (*xa & 0xffff) - (*xb & 0xffff) - borrow; in diff()
979 borrow = (y & 0x10000) >> 16; in diff()
980 z = (*xa++ >> 16) - (*xb++ >> 16) - borrow; in diff()
[all …]
/external/clang/test/Index/
Dcomment-cplus11-specific.cpp13 namespace borrow { namespace
/external/python/cpython2/Objects/
Dlongobject.c1236 digit borrow = 0; in v_isub() local
1240 borrow = x[i] - y[i] - borrow; in v_isub()
1241 x[i] = borrow & PyLong_MASK; in v_isub()
1242 borrow >>= PyLong_SHIFT; in v_isub()
1243 borrow &= 1; /* keep only 1 sign bit */ in v_isub()
1245 for (; borrow && i < m; ++i) { in v_isub()
1246 borrow = x[i] - borrow; in v_isub()
1247 x[i] = borrow & PyLong_MASK; in v_isub()
1248 borrow >>= PyLong_SHIFT; in v_isub()
1249 borrow &= 1; in v_isub()
[all …]
/external/skia/include/core/
DSkExecutor.h29 virtual void borrow() {} in borrow() function
/external/skia/src/core/
DSkTaskGroup.cpp38 fExecutor.borrow(); in wait()
DSkExecutor.cpp80 virtual void borrow() override { in borrow() function in SkThreadPool
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_integer.hpp74 genUType & borrow);
/external/pdfium/third_party/bigint/
DBigUnsigned.cc687 bool borrow = true; in operator --() local
688 for (i = 0; borrow; i++) { in operator --()
689 borrow = (blk[i] == 0); in operator --()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp276 bool borrow = false; in sub() local
278 uint64_t x_tmp = borrow ? x[i] - 1 : x[i]; in sub()
279 borrow = y[i] > x_tmp || (borrow && x[i] == 0); in sub()
282 return borrow; in sub()
1569 int64_t borrow = 0; in KnuthDiv() local
1572 int64_t subres = int64_t(u[j+i]) - borrow - (unsigned)p; in KnuthDiv()
1574 borrow = (p >> 32) - (subres >> 32); in KnuthDiv()
1576 << ", borrow = " << borrow << '\n'); in KnuthDiv()
1578 bool isNeg = u[j+n] < borrow; in KnuthDiv()
1579 u[j+n] -= (unsigned)borrow; in KnuthDiv()
/external/llvm/lib/Support/
DAPInt.cpp268 bool borrow = false; in sub() local
270 uint64_t x_tmp = borrow ? x[i] - 1 : x[i]; in sub()
271 borrow = y[i] > x_tmp || (borrow && x[i] == 0); in sub()
274 return borrow; in sub()
1595 int64_t borrow = 0; in KnuthDiv() local
1598 int64_t subres = int64_t(u[j+i]) - borrow - (unsigned)p; in KnuthDiv()
1600 borrow = (p >> 32) - (subres >> 32); in KnuthDiv()
1602 << ", borrow = " << borrow << '\n'); in KnuthDiv()
1604 bool isNeg = u[j+n] < borrow; in KnuthDiv()
1605 u[j+n] -= (unsigned)borrow; in KnuthDiv()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp265 bool borrow = false; in sub() local
267 uint64_t x_tmp = borrow ? x[i] - 1 : x[i]; in sub()
268 borrow = y[i] > x_tmp || (borrow && x[i] == 0); in sub()
271 return borrow; in sub()
1670 bool borrow = subtrahend > u_tmp; in KnuthDiv() local
1673 << ", borrow = " << borrow << '\n'); in KnuthDiv()
1679 while (borrow && k <= m+n) { // deal with borrow to the left in KnuthDiv()
1680 borrow = u[k] == 0; in KnuthDiv()
1684 isNeg |= borrow; in KnuthDiv()
/external/mesa3d/src/compiler/glsl/
Dir_builder.h139 ir_expression *borrow(operand a, operand b);
Dir_builder.cpp244 ir_expression *borrow(operand a, operand b) in borrow() function
/external/llvm/lib/Target/SystemZ/
DREADME.txt59 need to produce a borrow. (Note that there are no memory forms of
DSystemZInstrVector.td617 // Subtract compute borrow indication.
624 // Subtract with borrow indication.
627 // Subtract with borrow compute borrow indication.
/external/iproute2/doc/actions/
Dactions-general155 # next attempt to borrow b/width from a meter
161 # and then attempt to borrow from a meter used by all devices in the
/external/mesa3d/docs/specs/
DMESA_shader_integer_functions.txt80 with borrow, and extenended multiplication;
383 genUType usubBorrow(genUType x, genUType y, out genUType borrow);
391 difference, otherwise. The value <borrow> is set to zero if x >= y, or
/external/boringssl/ios-arm/crypto/fipsmodule/
Darmv4-mont.S173 orr r1,r1,r3 @ ap=borrow?tp:rp
/external/valgrind/coregrind/
Dm_main.c3240 Int q, uneg, vneg, diff, borrow; in divls() local
3245 borrow = (u0 != 0); in divls()
3246 u1 = -u1 - borrow;} in divls()
/external/boringssl/linux-arm/crypto/fipsmodule/
Darmv4-mont.S172 orr r1,r1,r3 @ ap=borrow?tp:rp
/external/llvm/test/MC/Disassembler/AArch64/
Darm64-arithmetic.txt4 # Add/Subtract with carry/borrow
/external/valgrind/VEX/priv/
Dguest_x86_helpers.c2128 Bool borrow = r_AL < 6; in x86g_calculate_daa_das_aaa_aas() local
2131 if (borrow) r_C = 1; in x86g_calculate_daa_das_aaa_aas()

123