/external/python/cpython3/Modules/ |
mathmodule.c | 12 large to approximate by a machine float, overflow is signaled and the 50 the standard recommends raising 'overflow', Python should raise an 213 x, the obvious algorithm risks overflow, so we instead 439 fraction evaluation algorithm used below also risks overflow for large x; 486 overflow if x and nterms are not too large. On an IEEE 754 machine, with x 850 * on overflow, but also generally *allows* them to set 856 * overflow, so testing the result for zero suffices to 893 The last rule is used to catch overflow on platforms which follow 900 'overflow' floating-point exception mapping to OverflowError. 902 the possibility of overflow; fortunately, that covers everything w 1658 int overflow; local 1800 int overflow; local [all...] |
_cursesmodule.c | 208 Return 1 on success, 0 on error (invalid type or integer overflow). */ 241 goto overflow; 248 goto overflow; 258 goto overflow; 261 overflow: 310 int overflow; local 311 value = PyLong_AsLongAndOverflow(obj, &overflow); 312 if (overflow) { 3133 int overflow; local [all...] |
/external/v8/src/ |
assembler.h | 548 bool overflow() const { function in struct:v8::internal::BASE_EMBEDDED::PerTypeEntryInfo
|
conversions.cc | 113 int overflow = static_cast<int>(number >> 53); local 114 if (overflow != 0) { 115 // Overflow occurred. Need to determine which direction to round the 118 while (overflow > 1) { 120 overflow >>= 1; 152 // Rounding up may cause overflow. 414 // will not overflow the multiplier, we stop parsing the part 776 // Check overflow. [all...] |
code-stub-assembler.cc | 660 TNode<BoolT> overflow = Projection<1>(pair); local 661 GotoIf(overflow, if_overflow); 669 TNode<BoolT> overflow = Projection<1>(pair); local 670 GotoIf(overflow, if_overflow); 681 TNode<BoolT> overflow = Projection<1>(pair); local 682 GotoIf(overflow, if_overflow); 690 TNode<BoolT> overflow = Projection<1>(pair); local 691 GotoIf(overflow, if_overflow); 847 Node* overflow = Projection(1, pair); local 851 Branch(overflow, &if_overflow, &if_notoverflow) [all...] |
/art/compiler/optimizing/ |
bounds_check_elimination.cc | 57 // No overflow. 236 // `overflow` or `underflow` will return whether the resulting bound may 237 // overflow or underflow an int. 238 ValueBound Add(int32_t c, /* out */ bool* overflow, /* out */ bool* underflow) const { 239 *overflow = *underflow = false; 247 *overflow = true; 252 // (array.length + non-positive-constant) won't overflow an int. 257 *overflow = true; 337 bool overflow, underflow; local 338 ValueBound lower = lower_.Add(constant, &overflow, &underflow) 668 bool overflow; local 744 bool overflow, underflow; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_testcapimodule.c | 457 handling of overflow.
465 int overflow;
local 467 /* Test that overflow is set properly for a large value. */
472 overflow = 1234;
473 value = PyLong_AsLongAndOverflow(num, &overflow);
480 if (overflow != 1)
482 "overflow was not set to 1");
499 overflow = 0;
500 value = PyLong_AsLongAndOverflow(num, &overflow);
507 if (overflow != 1) 630 int overflow; local [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 609 // If 'count' was a negative number, it's an overflow. 615 // overflow. 624 // there are initializers. If we do, that's treated like an overflow. 628 // Scale numElements by that. This might overflow, but we don't 635 bool overflow; local 637 = adjustedCount.umul_ov(typeSizeMultiplier, overflow); 638 hasAnyOverflow |= overflow; 643 // used if there was overflow. 646 allocationSize = allocationSize.uadd_ov(cookieSize, overflow); 647 hasAnyOverflow |= overflow; [all...] |
/external/curl/tests/server/ |
sws.c | 989 int overflow = 0; local 1007 overflow = 1; 1061 if(overflow || (req->offset == REQBUFSIZ-1 && got > 0)) { 1062 logmsg("Request would overflow buffer, closing connection"); 1068 logmsg("Request buffer overflow, closing connection"); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
BigDecimal.java | 38 /* intermediate calculations cannot cause 31-bit overflow. */ 3791 break overflow; local [all...] |
/external/icu/icu4c/source/common/ |
umutablecptrie.cpp | 688 static constexpr int32_t OVERFLOW = -2; 705 return OVERFLOW; 924 bool overflow = false; local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
BigDecimal.java | 35 /* intermediate calculations cannot cause 31-bit overflow. */ 3856 break overflow; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
BigDecimal.java | 37 /* intermediate calculations cannot cause 31-bit overflow. */ 3866 break overflow; local [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
fwd_txfm_impl_sse2.h | 81 int test, overflow; local 170 overflow = check_epi16_overflow_x2(&x0, &x1); 171 if (overflow) { 192 overflow = check_epi16_overflow_x2(&t0, &t1); 193 if (overflow) { 231 overflow = check_epi16_overflow_x2(&x0, &x1); 232 if (overflow) { 274 int overflow; local 313 overflow = 315 if (overflow) { 609 int overflow; local [all...] |
/external/python/cpython2/Objects/ |
bytesobject.c | 502 int overflow; local 505 ival = PyLong_AsLongAndOverflow(arg, &overflow); 514 ival = PyLong_AsLongAndOverflow(iobj, &overflow); 517 if (!overflow && ival == -1 && PyErr_Occurred()) 519 if (overflow || !(0 <= ival && ival <= 255)) { [all...] |
/external/python/cpython3/Objects/ |
bytesobject.c | 508 int overflow; local 511 ival = PyLong_AsLongAndOverflow(arg, &overflow); 520 ival = PyLong_AsLongAndOverflow(iobj, &overflow); 523 if (!overflow && ival == -1 && PyErr_Occurred()) 525 if (overflow || !(0 <= ival && ival <= 255)) { [all...] |
/external/python/cpython3/Python/ |
bltinmodule.c | 2360 int overflow; local 2423 int overflow; local [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 1064 bool overflow; local [all...] |
/external/v8/src/builtins/ |
builtins-internal-gen.cc | 338 Label overflow(this); 339 Branch(WordEqual(test, IntPtrConstant(0)), &overflow, next); local 341 BIND(&overflow); [all...] |
/external/v8/src/mips/ |
assembler-mips.h | 1749 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } function [all...] |
/external/v8/src/mips64/ |
assembler-mips64.h | 1824 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } function [all...] |
/external/v8/src/ppc/ |
constants-ppc.h | 79 overflow = 8, // Summary overflow enumerator in enum:v8::internal::Condition [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/ |
Enquire.c | 353 overflow when reading the maximum double. This program quite ruthlessly
513 Fixed detection of infinity for machines with no overflow trap
745 Void overflow(int sig)
function 747 signal(sig, overflow);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/ |
longobject.c | 91 overflow */
227 /* Checking for overflow in PyLong_AsLong is a PITA since C doesn't define
240 On overflow, returns -1 and sets *overflow to 1 or -1 depending
241 on the sign of the result. Otherwise *overflow is 0.
248 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow)
258 *overflow = 0;
316 *overflow = sign;
330 *overflow = sign;
342 Returns -1 and sets an error condition if overflow occurs. */ 347 int overflow; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/ |
longobject.c | 87 overflow */
223 /* Checking for overflow in PyLong_AsLong is a PITA since C doesn't define
236 On overflow, returns -1 and sets *overflow to 1 or -1 depending
237 on the sign of the result. Otherwise *overflow is 0.
244 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow)
254 *overflow = 0;
312 *overflow = sign;
326 *overflow = sign;
338 Returns -1 and sets an error condition if overflow occurs. */ 343 int overflow; local 360 int overflow; local [all...] |