Home
last modified time | relevance | path

Searched refs:overflow (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/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/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()
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()
99 mpd_size_t overflow; in mpd_calloc() local
101 (void)mul_size_t_overflow(nmemb, size, &overflow); in mpd_calloc()
102 if (overflow) { in mpd_calloc()
114 mpd_size_t req, overflow; in mpd_realloc() local
[all …]
/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/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/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/mesa3d/src/util/
Dbigmath.h73 bool overflow = false; in _ubm_mul_u32arr() local
97 overflow = overflow || tmp > 0; in _ubm_mul_u32arr()
104 overflow = overflow || carry > 0; in _ubm_mul_u32arr()
107 return overflow; in _ubm_mul_u32arr()
Dtimespec.h99 bool overflow = (b_sec > (uint64_t)TIME_T_MAX) || in timespec_add_nsec() local
107 overflow = true; in timespec_add_nsec()
111 assert(overflow); in timespec_add_nsec()
116 return overflow; in timespec_add_nsec()
/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
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
195 false. There is a separate overflow state for each vertex stream. If
[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
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
185 false. There is a separate overflow state for each vertex stream. If
[all …]
/third_party/musl/libc-test/src/functional/
Dtime.c72 int overflow = big && (time_t)LLONG_MAX!=LLONG_MAX; in tm2sec() local
76 if (overflow && t != -1) in tm2sec()
79 if (overflow && errno != EOVERFLOW) in tm2sec()
82 if (!overflow && t == -1) in tm2sec()
85 if (!overflow && errno) in tm2sec()
89 if (!overflow && tm_cmp(*r, *tm)) in tm2sec()
/third_party/python/Lib/test/
Dmath_testcases.txt25 -- overflow : raised when a finite input gives a finite result that
88 -- incorrectly signalled overflow on some platforms.
150 -- incorrectly signalled overflow on some platforms.
247 lgam0107 lgamma 2.55998332785164e305 -> inf overflow
248 lgam0108 lgamma 1.7e308 -> inf overflow
318 gam0048 gamma 5.5e-309 -> inf overflow
319 gam0049 gamma 1e-309 -> inf overflow
320 gam0050 gamma 1e-323 -> inf overflow
321 gam0051 gamma 5e-324 -> inf overflow
330 gam0068 gamma -5.5e-309 -> -inf overflow
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_nlmeans_opencl.c62 cl_mem overflow; // overflow in integral image? member
147 ctx->overflow = clCreateBuffer(ctx->ocf.hwctx->context, 0, in nlmeans_opencl_init()
164 CL_RELEASE_MEMORY(ctx->overflow); in nlmeans_opencl_init()
242 CL_SET_KERNEL_ARG(ctx->vert_kernel, 1, cl_mem, &ctx->overflow); in nlmeans_plane()
297 int w, h, err, cle, overflow, p, patch, research; in nlmeans_opencl_filter_frame() local
334 cle = clEnqueueWriteBuffer(ctx->command_queue, ctx->overflow, CL_FALSE, in nlmeans_opencl_filter_frame()
355 cle = clEnqueueReadBuffer(ctx->command_queue, ctx->overflow, CL_FALSE, in nlmeans_opencl_filter_frame()
356 0, sizeof(cl_int), &overflow, 0, NULL, NULL); in nlmeans_opencl_filter_frame()
362 if (overflow > 0) in nlmeans_opencl_filter_frame()
363 av_log(avctx, AV_LOG_ERROR, "integral image overflow %d\n", overflow); in nlmeans_opencl_filter_frame()
[all …]
/third_party/mesa3d/src/mesa/main/
Deval.c525 goto overflow; in _mesa_GetnMapdvARB()
535 goto overflow; in _mesa_GetnMapdvARB()
541 goto overflow; in _mesa_GetnMapdvARB()
550 goto overflow; in _mesa_GetnMapdvARB()
557 goto overflow; in _mesa_GetnMapdvARB()
569 overflow: in _mesa_GetnMapdvARB()
615 goto overflow; in _mesa_GetnMapfvARB()
625 goto overflow; in _mesa_GetnMapfvARB()
631 goto overflow; in _mesa_GetnMapfvARB()
640 goto overflow; in _mesa_GetnMapfvARB()
[all …]
/third_party/node/deps/v8/tools/turbolizer/
Dturbo-visualizer-ranges.css20 overflow: hidden;
30 overflow: auto;
70 overflow: hidden;
77 overflow: hidden;
97 overflow: hidden;
104 overflow: hidden;
120 overflow: auto;
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c71 struct mem_block *overflow; member
341 bo_state[i].paddr = sim_state.overflow->ofs; in vc4_dump_to_file()
342 bo_state[i].size = sim_state.overflow->size; in vc4_dump_to_file()
358 void *overflow = calloc(1, sim_state.overflow->size); in vc4_dump_to_file() local
359 fwrite(overflow, 1, sim_state.overflow->size, f); in vc4_dump_to_file()
360 free(overflow); in vc4_dump_to_file()
655 sim_state.overflow = u_mmAllocMem(sim_state.heap, 32 * 1024 * 1024, in vc4_simulator_init_global()
657 simpenrose_supply_overflow_mem(sim_state.overflow->ofs, in vc4_simulator_init_global()
658 sim_state.overflow->size); in vc4_simulator_init_global()
/third_party/curl/lib/
Dstrtoofft.c83 int overflow; in strtooff() local
133 overflow = 0; in strtooff()
140 overflow = 1; in strtooff()
147 if(!overflow) { in strtooff()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c100 static void *overflow(void *arg) in overflow() function
108 current = overflow(&current); in overflow()
143 return overflow(arg); in overflow()
232 …ret = pthread_create(&th, &scenarii[sc].ta, overflow, NULL); /* Create a new thread with the same … in threaded()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_half.inl7 GLM_FUNC_QUALIFIER float overflow() function
12 f *= f; // this will overflow before the for loop terminates
159 // Rounding may cause the significand to overflow and make
218 m = 0; // overflow in significand,
224 // Handle exponent overflow
229 overflow(); // Cause a hardware floating point overflow;
/third_party/node/deps/v8/src/bigint/
Dmul-karatsuba.cc185 digit_t overflow = AddAndReturnOverflow(Z + n2, P0); in KaratsubaMain() local
186 overflow += AddAndReturnOverflow(Z + n2, P2); in KaratsubaMain()
195 overflow += AddAndReturnOverflow(Z + n2, P1); in KaratsubaMain()
197 overflow -= SubAndReturnBorrow(Z + n2, P1); in KaratsubaMain()
200 DCHECK(overflow == 0); in KaratsubaMain()
201 USE(overflow); in KaratsubaMain()
/third_party/libsnd/
DCHANGELOG.md15 * Fix signed integer overflow (issue #785).
101 * Stack overflow in `guess_file_type`(), thanks @bobsayshilol, credit to
115 * Integer overflow in `nms_adpcm_update`(), credit to OSS-Fuzz
117 * Integer overflow in `psf_log_printf`(), credit to OSS-Fuzz
132 * Heap buffer overflow in `wavlike_ima_decode_block`(), thanks @bobsayshilol,
134 * Heap buffer overflow in `msadpcm_decode_block`(), thanks @bobsayshilol,
136 * Heap buffer overflow in `psf_binheader_readf`(), thanks @bobsayshilol,
140 * Heap buffer overflow in `flac_buffer_copy`(), thanks @yuawn, @bobsayshilol.
141 * Heap buffer overflow in `copyPredictorTo24`(), thanks @bobsayshilol,
/third_party/python/Modules/_sqlite/
Dutil.c103 int overflow; in _pysqlite_long_as_int64() local
104 long long value = PyLong_AsLongLongAndOverflow(py_val, &overflow); in _pysqlite_long_as_int64()
107 if (!overflow) { in _pysqlite_long_as_int64()
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_u16.cpp61 char overflow[4]; in _UTF16BEFromUnicodeWithOffsets() local
185 overflow[0]=(char)(c>>8); in _UTF16BEFromUnicodeWithOffsets()
186 overflow[1]=(char)c; in _UTF16BEFromUnicodeWithOffsets()
215 overflow[0]=(char)(c>>8); in _UTF16BEFromUnicodeWithOffsets()
216 overflow[1]=(char)c; in _UTF16BEFromUnicodeWithOffsets()
217 overflow[2]=(char)(trail>>8); in _UTF16BEFromUnicodeWithOffsets()
218 overflow[3]=(char)trail; in _UTF16BEFromUnicodeWithOffsets()
238 overflow, length, in _UTF16BEFromUnicodeWithOffsets()
662 char overflow[4]; in _UTF16LEFromUnicodeWithOffsets() local
786 overflow[0]=(char)c; in _UTF16LEFromUnicodeWithOffsets()
[all …]
/third_party/icu/icu4c/source/common/
Ducnv_u16.cpp61 char overflow[4]; in _UTF16BEFromUnicodeWithOffsets() local
185 overflow[0]=(char)(c>>8); in _UTF16BEFromUnicodeWithOffsets()
186 overflow[1]=(char)c; in _UTF16BEFromUnicodeWithOffsets()
215 overflow[0]=(char)(c>>8); in _UTF16BEFromUnicodeWithOffsets()
216 overflow[1]=(char)c; in _UTF16BEFromUnicodeWithOffsets()
217 overflow[2]=(char)(trail>>8); in _UTF16BEFromUnicodeWithOffsets()
218 overflow[3]=(char)trail; in _UTF16BEFromUnicodeWithOffsets()
238 overflow, length, in _UTF16BEFromUnicodeWithOffsets()
662 char overflow[4]; in _UTF16LEFromUnicodeWithOffsets() local
786 overflow[0]=(char)c; in _UTF16LEFromUnicodeWithOffsets()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducnv_u16.cpp61 char overflow[4]; in _UTF16BEFromUnicodeWithOffsets() local
185 overflow[0]=(char)(c>>8); in _UTF16BEFromUnicodeWithOffsets()
186 overflow[1]=(char)c; in _UTF16BEFromUnicodeWithOffsets()
215 overflow[0]=(char)(c>>8); in _UTF16BEFromUnicodeWithOffsets()
216 overflow[1]=(char)c; in _UTF16BEFromUnicodeWithOffsets()
217 overflow[2]=(char)(trail>>8); in _UTF16BEFromUnicodeWithOffsets()
218 overflow[3]=(char)trail; in _UTF16BEFromUnicodeWithOffsets()
238 overflow, length, in _UTF16BEFromUnicodeWithOffsets()
662 char overflow[4]; in _UTF16LEFromUnicodeWithOffsets() local
786 overflow[0]=(char)c; in _UTF16LEFromUnicodeWithOffsets()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_safe_arithmetic.cpp183 bool overflow = true; in SafeInt64MultSlow() local
187 overflow = (arg1 > std::numeric_limits<std::int64_t>::max() / arg2); in SafeInt64MultSlow()
189 overflow = (arg2 < std::numeric_limits<std::int64_t>::min() / arg1); in SafeInt64MultSlow()
193 overflow = (arg1 < std::numeric_limits<std::int64_t>::min() / arg2); in SafeInt64MultSlow()
195 overflow = (arg1 != 0 && in SafeInt64MultSlow()
200 if (overflow) { in SafeInt64MultSlow()

12345678910>>...41