Home
last modified time | relevance | path

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

12345678910>>...44

/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/flutter/flutter/packages/flutter/lib/src/rendering/
Ddebug_overflow_indicator.dart44 /// how much, their children overflow their containers. These indicators are
134 List<_OverflowRegionData> _calculateOverflowRegions(RelativeRect overflow, Rect containerRect) {
136 if (overflow.left > 0.0) {
145 label: 'LEFT OVERFLOWED BY ${_formatPixels(overflow.left)} PIXELS',
152 if (overflow.right > 0.0) {
161 label: 'RIGHT OVERFLOWED BY ${_formatPixels(overflow.right)} PIXELS',
168 if (overflow.top > 0.0) {
177 label: 'TOP OVERFLOWED BY ${_formatPixels(overflow.top)} PIXELS',
183 if (overflow.bottom > 0.0) {
192 label: 'BOTTOM OVERFLOWED BY ${_formatPixels(overflow.bottom)} PIXELS',
[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()
/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/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/flutter/flutter/packages/flutter/lib/src/widgets/
Dtext.dart31 /// The [softWrap] and [overflow] arguments must not be null (though they do
41 this.overflow = TextOverflow.clip,
47 assert(overflow != null),
64 overflow = TextOverflow.clip,
88 TextOverflow overflow,
102 overflow: overflow ?? parent.overflow,
122 /// How visual overflow should be handled.
123 final TextOverflow overflow;
127 /// to [overflow].
159 overflow != oldWidget.overflow ||
[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/flutter/flutter/packages/flutter/test/rendering/
Dparagraph_test.dart93 test('overflow test', () {
105 void relayoutWith({ int maxLines, bool softWrap, TextOverflow overflow }) {
109 ..overflow = overflow;
117 relayoutWith(maxLines: 3, softWrap: true, overflow: TextOverflow.clip);
120 relayoutWith(maxLines: null, softWrap: true, overflow: TextOverflow.clip);
123 // Try again with ellipsis overflow. We can't test that the ellipsis are
125 relayoutWith(maxLines: 1, softWrap: true, overflow: TextOverflow.ellipsis);
128 relayoutWith(maxLines: 3, softWrap: true, overflow: TextOverflow.ellipsis);
135 relayoutWith(maxLines: null, softWrap: true, overflow: TextOverflow.ellipsis);
139 relayoutWith(maxLines: 1, softWrap: false, overflow: TextOverflow.clip);
[all …]
/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/flutter/flutter/packages/flutter/test/widgets/
Ddefault_text_style_test.dart30 overflow: TextOverflow.fade,
40 expect(text.overflow, TextOverflow.fade);
68 expect(text1.overflow, TextOverflow.clip);
75 overflow: TextOverflow.fade,
86 expect(text2.overflow, TextOverflow.fade);
96 expect(text3.overflow, TextOverflow.fade);
Dtext_test.dart509 …testWidgets('Overflow is clipping correctly - short text with overflow: clip', (WidgetTester teste…
512 overflow: TextOverflow.clip,
519 …testWidgets('Overflow is clipping correctly - long text with overflow: ellipsis', (WidgetTester te…
522 overflow: TextOverflow.ellipsis,
529 …testWidgets('Overflow is clipping correctly - short text with overflow: ellipsis', (WidgetTester t…
532 overflow: TextOverflow.ellipsis,
539 …testWidgets('Overflow is clipping correctly - long text with overflow: fade', (WidgetTester tester…
542 overflow: TextOverflow.fade,
549 …testWidgets('Overflow is clipping correctly - short text with overflow: fade', (WidgetTester teste…
552 overflow: TextOverflow.fade,
[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/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/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/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/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/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/flutter/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/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/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/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>>...44