/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-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/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzmaEnc.c | 2158 Bool overflow; member in struct:__anon6330 [all...] |
/external/lzma/C/ |
LzmaEnc.c | 2773 BoolInt overflow; member in struct:__anon32479 [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_renderstatus.cpp | 671 int Interpolate(int p1, int p2, int delta1, int delta2, bool* overflow) { 678 *overflow = true; 690 bool* overflow) { 691 int x1 = Interpolate(c0, c3, x, x_scale, overflow); 692 int x2 = Interpolate(c1, c2, x, x_scale, overflow); 693 return Interpolate(x1, x2, y, y_scale, overflow); 700 // Returns true if successful, false if overflow detected. 706 bool overflow = false; local 710 x_scale, y_scale, &overflow); 712 return !overflow; [all...] |
/external/python/cpython2/Modules/ |
_testcapimodule.c | 563 handling of overflow. 571 int overflow; local 573 /* Test that overflow is set properly for a large value. */ 578 overflow = 1234; 579 value = PyLong_AsLongAndOverflow(num, &overflow); 586 if (overflow != 1) 588 "overflow was not set to 1"); 605 overflow = 0; 606 value = PyLong_AsLongAndOverflow(num, &overflow); 613 if (overflow != 1 736 int overflow; local [all...] |
_tkinter.c | 1103 int overflow; local 1108 longValue = PyLong_AsLongAndOverflow(value, &overflow); 1109 if (!overflow) { 1112 /* If there is an overflow in the long conversion, 1128 /* If there is an overflow in the wideInt conversion, [all...] |
posixmodule.c | 379 int overflow; local 386 result = PyLong_AsLongAndOverflow(obj, &overflow); 387 if (overflow < 0) 389 if (!overflow && result == -1) { 398 if (overflow > 0) { 431 int overflow; local 438 result = PyLong_AsLongAndOverflow(obj, &overflow); 439 if (overflow < 0) 441 if (!overflow && result == -1) { 450 if (overflow > 0) [all...] |
/external/python/cpython2/Objects/ |
longobject.c | 75 overflow */ 211 /* Checking for overflow in PyLong_AsLong is a PITA since C doesn't define 224 On overflow, returns -1 and sets *overflow to 1 or -1 depending 225 on the sign of the result. Otherwise *overflow is 0. 232 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow) 242 *overflow = 0; 300 *overflow = sign; 314 *overflow = sign; 326 Returns -1 and sets an error condition if overflow occurs. * 331 int overflow; local 348 int overflow; local [all...] |
/external/python/cpython3/Modules/ |
_tkinter.c | 994 int overflow; local 999 longValue = PyLong_AsLongAndOverflow(value, &overflow); 1000 if (!overflow) { 1003 /* If there is an overflow in the long conversion, 1015 /* If there is an overflow in the wideInt conversion, 1076 /* Else overflow occurred, and we take the next exit */ [all...] |
socketmodule.c | 2648 int overflow = 0; local [all...] |
_pickle.c | 493 /* check for integer overflow */ 910 // self->mt_used is always < PY_SSIZE_T_MAX, so this can't overflow. 1928 int overflow; local [all...] |
_testcapimodule.c | 456 handling of overflow. 464 int overflow; local 466 /* Test that overflow is set properly for a large value. */ 471 overflow = 1234; 472 value = PyLong_AsLongAndOverflow(num, &overflow); 479 if (overflow != 1) 481 "overflow was not set to 1"); 498 overflow = 0; 499 value = PyLong_AsLongAndOverflow(num, &overflow); 506 if (overflow != 1 628 int overflow; local [all...] |
posixmodule.c | 526 int overflow; local 551 result = PyLong_AsLongAndOverflow(index, &overflow); 553 if (!overflow) { 574 if (overflow < 0) 585 goto overflow; 595 * throw an overflow exception instead. (We already 599 goto overflow; 604 goto overflow; 617 overflow: 632 int overflow; local 767 int overflow; local [all...] |
/external/python/cpython3/Objects/ |
exceptions.c | 1444 int overflow; local [all...] |
longobject.c | 380 /* Checking for overflow in PyLong_AsLong is a PITA since C doesn't define 395 On overflow, return -1 and set *overflow to 1 or -1 depending on the sign of 396 the result. Otherwise *overflow is 0. 399 In this case *overflow will be 0. 403 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow) 413 *overflow = 0; 453 *overflow = sign; 467 *overflow = sign; 479 method. Return -1 and set an error if overflow occurs. * 484 int overflow; local 501 int overflow; local [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 3075 bool overflow; local [all...] |
/external/v8/src/ |
log.cc | 825 bool overflow_; // Tell whether a buffer overflow has occurred. 945 bool overflow = Remove(&sample); local 947 LOG(isolate_, TickEvent(&sample, overflow)); 948 overflow = Remove(&sample); [all...] |
/external/v8/src/ppc/ |
simulator-ppc.cc | 1137 bool overflow; local 2008 bool overflow = (ra_val == kMinInt && rb_val == -1); local 2764 bool overflow = (ra_val == kMinInt && rb_val == -1); local 2788 bool overflow = (rb_val == 0); local [all...] |
/external/v8/src/s390/ |
constants-s390.h | 87 overflow = CC_OF, // Summary overflow enumerator in enum:v8::internal::Condition [all...] |
simulator-s390.cc | 1785 bool overflow; local [all...] |
/external/v8/src/x64/ |
assembler-x64.h | 229 overflow = 0, enumerator in enum:v8::internal::Condition 338 // this must not overflow. [all...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 144 /// overflow. 472 /// Create a binary op that checks for overflow. 621 // all values of this integer type. Don't need an overflow check. 647 // Don't need an overflow check for lower bound. Just check for 659 // Don't need an overflow check for upper bound. Just check for 683 // FIXME: Maybe split this sanitizer out from float-cast-overflow. 2345 Value *overflow = Builder.CreateExtractValue(resultAndOverflow, 1); local [all...] |
/external/v8/src/arm/ |
simulator-arm.cc | 425 PrintF("OVERFLOW flag: %d; ", sim_->overflow_vfp_flag_); 1225 bool overflow; local [all...] |
/external/v8/src/ia32/ |
assembler-ia32.h | 165 overflow = 0, enumerator in enum:v8::internal::Condition [all...] |
/external/pcre/dist2/src/ |
pcre2_compile.c | 193 that holds the compiled pattern length does not overflow. We make it a bit less 1496 BOOL overflow; local [all...] |