Home
last modified time | relevance | path

Searched full:overflow (Results 1 – 25 of 4728) sorted by relevance

12345678910>>...190

/third_party/ltp/tools/sparse/sparse-src/validation/
Dbuiltin-overflow.c134 * check-name: builtin-overflow
137 builtin-overflow.c:58:37: error: not enough arguments for __builtin_add_overflow
138 builtin-overflow.c:59:37: error: not enough arguments for __builtin_add_overflow
139 builtin-overflow.c:60:37: error: not enough arguments for __builtin_add_overflow
140 builtin-overflow.c:61:37: error: too many arguments for __builtin_add_overflow
141 builtin-overflow.c:62:38: error: invalid type for argument 1:
142 builtin-overflow.c:62:38: int enum e e
143 builtin-overflow.c:63:41: error: invalid type for argument 2:
144 builtin-overflow.c:63:41: int enum e e
145 builtin-overflow.c:64:45: error: invalid type for argument 3:
[all …]
Ddiv.c24 div.c:9:25: warning: constant integer operation overflow
25 div.c:10:27: warning: constant integer operation overflow
26 div.c:11:34: warning: constant integer operation overflow
27 div.c:13:25: warning: constant integer operation overflow
28 div.c:14:27: warning: constant integer operation overflow
29 div.c:15:34: warning: constant integer operation overflow
/third_party/musl/ndk-test/sanitize/ubsan/
DCMakeLists.txt14 if (${testname} STREQUAL "add-overflow")
15 add_executable(add-overflow-32 ${srcfile})
16 target_compile_definitions(add-overflow-32 PRIVATE ADD_I32)
17 add_executable(add-overflow-64 ${srcfile})
18 target_compile_definitions(add-overflow-64 PRIVATE ADD_I64)
19 add_executable(add-overflow-128 ${srcfile})
20 target_compile_definitions(add-overflow-128 PRIVATE ADD_I128)
36 add_executable(shift-lsh-overflow ${srcfile})
37 …target_compile_options(shift-lsh-overflow PRIVATE -fsanitize=shift ${UBSAN_SHIFT_FLAG} "-DLSH_OVER…
38 add_executable(shift-lsh-overflow-1 ${srcfile})
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit_overflow.c34 * for overflow detection and reporting.
107 * overflow if detected.
110 * an overflow is detected the IN/OUT @ofbit parameter is used:
111 * - if it's pointing to a null value, the overflow bit is simply
115 * overflow bit. This is done to allow chaining of a number of
116 * overflow functions together without having to test the
117 * overflow bit after every single one.
125 return build_binary_int_overflow(gallivm, "llvm.uadd.with.overflow", in lp_build_uadd_overflow()
131 * overflow if detected.
134 * an overflow is detected the IN/OUT @ofbit parameter is used:
[all …]
/third_party/musl/libc-test/src/math/ucb/
Dcoshf.h37 // overflow boundary
43 T(RN, 0x1.65a9fap+6, inf, 0x0p+0, INEXACT|OVERFLOW)
44 T(RN, -0x1.65a9fap+6, inf, 0x0p+0, INEXACT|OVERFLOW)
45 T(RZ, 0x1.65a9fap+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
46 T(RU, 0x1.65a9fap+6, inf, 0x0p+0, INEXACT|OVERFLOW)
47 T(RD, 0x1.65a9fap+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
104 T(RD, 0x1.66p+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
105 T(RD, 0x1.634p+9, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
106 T(RD, 0x1p+126, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
107 T(RD, 0x1p+127, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
[all …]
Dcosh.h37 // overflow boundary
43 T(RN, 0x1.633ce8fb9f87ep+9, inf, 0x0p+0, INEXACT|OVERFLOW)
44 T(RN, -0x1.633ce8fb9f87ep+9, inf, 0x0p+0, INEXACT|OVERFLOW)
45 T(RZ, -0x1.633ce8fb9f87ep+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
46 T(RU, -0x1.633ce8fb9f87ep+9, inf, 0x0p+0, INEXACT|OVERFLOW)
47 T(RD, -0x1.633ce8fb9f87ep+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
100 T(RD, 0x1.634p+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
101 T(RD, 0x1p+1022, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
102 T(RD, 0x1p+1023, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
103 T(RD, 0x1.ffffffffffffep+1023, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
[all …]
Dsinhf.h86 // sinh overflow threshold
87 T(RN, 0x1.65a9fap+6, inf, 0x0p+0, INEXACT|OVERFLOW)
88 T(RN, -0x1.65a9fap+6, -inf, 0x0p+0, INEXACT|OVERFLOW)
89 T(RZ, 0x1.65a9fap+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
90 T(RZ, -0x1.65a9fap+6,-0x1.fffffep+127, 0x1p+0, INEXACT|OVERFLOW)
91 T(RU, 0x1.65a9fap+6, inf, 0x0p+0, INEXACT|OVERFLOW)
92 T(RU, -0x1.65a9fap+6,-0x1.fffffep+127, 0x1p+0, INEXACT|OVERFLOW)
93 T(RD, 0x1.65a9fap+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
94 T(RD, -0x1.65a9fap+6, -inf, 0x0p+0, INEXACT|OVERFLOW)
122 T(RD, 0x1.66p+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
[all …]
Dsinh.h37 // sinhd(log(2*max)chopped) is finite, overflow threshold
46 T(RN, 0x1.633ce8fb9f87ep+9, inf, 0x0p+0, INEXACT|OVERFLOW)
47 T(RN, -0x1.633ce8fb9f87ep+9, -inf, 0x0p+0, INEXACT|OVERFLOW)
48 T(RZ, 0x1.633ce8fb9f87ep+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
49 T(RZ, -0x1.633ce8fb9f87ep+9,-0x1.fffffffffffffp+1023, 0x1p+0, INEXACT|OVERFLOW)
50 T(RU, 0x1.633ce8fb9f87ep+9, inf, 0x0p+0, INEXACT|OVERFLOW)
51 T(RU, -0x1.633ce8fb9f87ep+9,-0x1.fffffffffffffp+1023, 0x1p+0, INEXACT|OVERFLOW)
52 T(RD, 0x1.633ce8fb9f87ep+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
53 T(RD, -0x1.633ce8fb9f87ep+9, -inf, 0x0p+0, INEXACT|OVERFLOW)
113 T(RD, 0x1.634p+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
[all …]
Dexp.h37 // overflow threshold
42 T(RN, 0x1.62e42fefa39fp+9, inf, 0x0p+0, INEXACT|OVERFLOW)
43 T(RZ, 0x1.62e42fefa39fp+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
44 T(RU, 0x1.62e42fefa39fp+9, inf, 0x0p+0, INEXACT|OVERFLOW)
45 T(RD, 0x1.62e42fefa39fp+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
46 T(RN, 0x1.fffffp+1023, inf, 0x0p+0, INEXACT|OVERFLOW)
47 T(RZ, 0x1.fffffp+1023, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
48 T(RU, 0x1.fffffp+1023, inf, 0x0p+0, INEXACT|OVERFLOW)
49 T(RD, 0x1.fffffp+1023, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
105 T(RD, 0x1.63p+9, 0x1.fffffffffffffp+1023, -0x1p+0, INEXACT|OVERFLOW)
[all …]
Dexpf.h37 // overflow threshold
39 T(RN, 0x1.62e43p+6, inf, 0x0p+0, INEXACT|OVERFLOW)
40 T(RN, 0x1.fffffep+127, inf, 0x0p+0, INEXACT|OVERFLOW)
43 T(RZ, 0x1.62e43p+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
44 T(RZ, 0x1.fffffep+127, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
47 T(RU, 0x1.62e43p+6, inf, 0x0p+0, INEXACT|OVERFLOW)
48 T(RU, 0x1.fffffep+127, inf, 0x0p+0, INEXACT|OVERFLOW)
51 T(RD, 0x1.62e43p+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
52 T(RD, 0x1.fffffep+127, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
107 T(RD, 0x1.64p+6, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_transform_feedback_overflow_query.txt51 This extension adds new query types which can be used to detect overflow
77 * Transform feedback overflow queries return information on whether or
78 not transform feedback overflow happened for one or more streams
86 overflow query.
118 For transform feedback overflow queries (TRANSFORM_FEEDBACK_OVERFLOW_ARB
170 13.x Transform Feedback Overflow Queries
172 Transform feedback overflow queries use query objects to track whether
177 TRANSFORM_FEEDBACK_OVERFLOW_ARB, the transform feedback overflow state
180 buffer objects used for capture, the overflow state is set to true.
184 overflow state maintained by the GL for vertex stream <index> is set to
[all …]
/third_party/openGLES/extensions/ARB/
DARB_transform_feedback_overflow_query.txt61 This extension adds new query types which can be used to detect overflow
87 * Transform feedback overflow queries return information on whether or
88 not transform feedback overflow happened for one or more streams
96 overflow query.
128 For transform feedback overflow queries (TRANSFORM_FEEDBACK_OVERFLOW_ARB
180 13.x Transform Feedback Overflow Queries
182 Transform feedback overflow queries use query objects to track whether
187 TRANSFORM_FEEDBACK_OVERFLOW_ARB, the transform feedback overflow state
190 buffer objects used for capture, the overflow state is set to true.
194 overflow state maintained by the GL for vertex stream <index> is set to
[all …]
/third_party/python/Lib/test/decimaltestdata/
Dpower.decTest303 powx421 power 2.5E-501 -2 -> Infinity Overflow Inexact Rounded
515 -- overflow and underflow tests
524 powx283 power 10.0001 999999 -> Infinity Overflow Inexact Rounded
525 powx285 power 11 999999 -> Infinity Overflow Inexact Rounded
526 powx286 power 12 999999 -> Infinity Overflow Inexact Rounded
527 powx287 power 999 999999 -> Infinity Overflow Inexact Rounded
528 powx288 power 999999999 999999 -> Infinity Overflow Inexact Rounded
529 powx289 power 9.9E999999999 999999 -> Infinity Overflow Inexact Rounded
543 powx312 power -10.0001 999999 -> -Infinity Overflow Inexact Rounded
544 powx313 power -10.1 999999 -> -Infinity Overflow Inexact Rounded
[all …]
Dbase.decTest917 basx906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded
918 basx907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded
923 basx912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded
925 basx914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded
928 basx917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded
930 basx918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded
931 basx919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded
936 basx924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded
938 basx926 toSci '-111e9999999999' -> -Infinity Overflow Inexact Rounded
941 basx929 toSci '-7e1000000000' -> -Infinity Overflow Inexact Rounded
[all …]
Drounding.decTest32 -- Underflow Subnormal and overflow behaviours are tested under the
980 -- Underflow Subnormal and overflow values vary with rounding mode and sign
984 rovx100 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded
985 rovx101 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded
990 rovx110 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
991 rovx111 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
996 rovx120 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
997 rovx121 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded
1002 rovx130 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded
1003 rovx131 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
[all …]
/third_party/python/Modules/_decimal/libmpdec/
Dmpalloc.c62 mpd_size_t overflow; in mpd_callocfunc_em() local
65 &overflow); in mpd_callocfunc_em()
66 if (overflow) { in mpd_callocfunc_em()
81 /* malloc with overflow checking */
85 mpd_size_t req, overflow; in mpd_alloc() local
87 req = mul_size_t_overflow(nmemb, size, &overflow); in mpd_alloc()
88 if (overflow) { in mpd_alloc()
95 /* calloc with overflow checking */
99 mpd_size_t overflow; in mpd_calloc() local
101 (void)mul_size_t_overflow(nmemb, size, &overflow); in mpd_calloc()
[all …]
/third_party/expat/
D02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch4 Subject: [PATCH] lib: Prevent integer overflow at multiple places
27 + /* Detect and prevent integer overflow */
39 + /* Detect and prevent integer overflow */
47 + /* Detect and prevent integer overflow.
65 + /* Detect and prevent integer overflow.
84 + /* Detect and prevent integer overflow */
94 + /* Detect and prevent integer overflow */
98 + /* Detect and prevent integer overflow.
115 + /* Detect and prevent integer overflow */
120 + /* Detect and prevent integer overflow.
[all …]
/third_party/musl/ndk-test/sanitize/ubsan/src/
Dcast-overflow.cpp1 // RUN: %clangxx -fsanitize=float-cast-overflow %s -o %t
101 // Floating point -> integer overflow. in main()
105 …// CHECK-0: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: 2.14748{{.*}} is outside the ra… in main()
107 // CHECK-0: SUMMARY: {{.*}}Sanitizer: float-cast-overflow {{.*}}cast-overflow.cpp:[[@LINE-1]] in main()
111 …// CHECK-1: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: -2.14748{{.*}} is outside the r… in main()
116 …// CHECK-2: {{.*}}cast-overflow.cpp:[[@LINE+2]]:37: runtime error: -1 is outside the range of repr… in main()
122 …// CHECK-3: {{.*}}cast-overflow.cpp:[[@LINE+1]]:37: runtime error: 4.2949{{.*}} is outside the ran… in main()
128 …// CHECK-4: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: {{.*}} is outside the range of … in main()
133 …// CHECK-5: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: {{.*}} is outside the range of … in main()
138 // Integer -> floating point overflow. in main()
[all …]
/third_party/ltp/testcases/kdump/doc/
DALL_TEST.txt13 * KPIDO: overflow in do_irq
18 * KPIEO: overflow in handle_IRQ_event
23 * KPTEO: overflow in tasklet_action
28 * KPBO : overflow in ll_rw_block
33 * KPMSO: overflow in shrink_inactive_list
38 * KPTO : overflow in hr_timer_start
43 * KPSO : overflow in scsi_dispatch_cmd
48 * KPIO : overflow in ide_core_cp
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/
Dutf32.js103 this.overflow = []; property in Utf32Decoder
115 var overflow = this.overflow;
118 if (overflow.length > 0) {
119 for (; i < src.length && overflow.length < 4; i++)
120 overflow.push(src[i]);
122 if (overflow.length === 4) {
126 … codepoint = overflow[i] | (overflow[i+1] << 8) | (overflow[i+2] << 16) | (overflow[i+3] << 24);
128 … codepoint = overflow[i+3] | (overflow[i+2] << 8) | (overflow[i+1] << 16) | (overflow[i] << 24);
130 overflow.length = 0;
149 overflow.push(src[i]);
[all …]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java58 return CoderResult.OVERFLOW; in decodeLoop()
129 /* put in overflow buffer (not handled here) */ in decodeLoop()
131 cr = CoderResult.OVERFLOW; in decodeLoop()
147 cr = CoderResult.OVERFLOW; in decodeLoop()
159 cr = CoderResult.OVERFLOW; in decodeLoop()
253 /* put in overflow buffer (not handled here) */ in decodeLoop()
255 cr = CoderResult.OVERFLOW; in decodeLoop()
273 cr = CoderResult.OVERFLOW; in decodeLoop()
285 cr = CoderResult.OVERFLOW; in decodeLoop()
336 return CoderResult.OVERFLOW; in encodeLoop()
[all …]
/third_party/libinput/doc/user/svg/
Dswipe-gestures.svg27 style="overflow:visible"
42 style="overflow:visible"
53 style="overflow:visible"
73 style="overflow:visible"
84 style="overflow:visible"
103 style="overflow:visible"
119 style="overflow:visible"
134 style="overflow:visible"
149 style="overflow:visible"
164 style="overflow:visible"
[all …]
Dpinch-gestures-softbuttons.svg27 style="overflow:visible"
42 style="overflow:visible"
57 style="overflow:visible"
72 style="overflow:visible"
87 style="overflow:visible"
102 style="overflow:visible"
113 style="overflow:visible"
132 style="overflow:visible"
147 style="overflow:visible"
158 style="overflow:visible"
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCheckedArithmetic.h33 bool Overflow; variable
34 llvm::APInt Out = (ALHS.*Op)(ARHS, Overflow);
35 if (Overflow)
44 /// \return Optional of sum if no signed overflow occurred,
53 /// \return Optional of sum if no signed overflow occurred,
62 /// \return Optional of product if no signed overflow occurred,
71 /// \return Optional of result if no signed overflow occurred,
82 /// \return Optional of sum if no unsigned overflow occurred,
91 /// \return Optional of product if no unsigned overflow occurred,
100 /// \return Optional of result if no unsigned overflow occurred,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dutil.h24 // 2. it sets the value to FLT_MAX if overflow happens.
25 // Return false if overflow happens.
28 // If overflow happens, value is set to INT_MAX.
29 // Return false if overflow happens.
32 // If overflow happens, value is set to UINT_MAX.
33 // Return false if overflow happens.

12345678910>>...190