Home
last modified time | relevance | path

Searched refs:traps (Results 1 – 25 of 123) sorted by relevance

12345

/external/python/cpython3/Modules/_decimal/libmpdec/
Dcontext.c91 ctx->traps=MPD_Traps; in mpd_maxcontext()
105 ctx->traps=MPD_Traps; in mpd_defaultcontext()
119 ctx->traps=MPD_Traps|MPD_Clamped; in mpd_basiccontext()
137 ctx->traps=0; in mpd_ieee_context()
173 return ctx->traps; in mpd_gettraps()
236 mpd_qsettraps(mpd_context_t *ctx, uint32_t traps) in mpd_qsettraps() argument
238 if (traps > MPD_Max_status) { in mpd_qsettraps()
241 ctx->traps = traps; in mpd_qsettraps()
280 if (flags&ctx->traps) { in mpd_addstatus_raise()
281 ctx->newtrap = (flags&ctx->traps); in mpd_addstatus_raise()
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dtraps.pass.cpp29 static_assert(std::numeric_limits<T>::traps == expected, "traps test 1"); in test()
30 static_assert(std::numeric_limits<const T>::traps == expected, "traps test 2"); in test()
31 static_assert(std::numeric_limits<volatile T>::traps == expected, "traps test 3"); in test()
32 static_assert(std::numeric_limits<const volatile T>::traps == expected, "traps test 4"); in test()
/external/syzkaller/pkg/report/testdata/linux/guilty/
D415 fixup_bug arch/x86/kernel/traps.c:190 [inline]
16 do_trap_no_signal arch/x86/kernel/traps.c:224 [inline]
17 do_trap+0x32c/0x410 arch/x86/kernel/traps.c:273
18 do_error_trap+0x15a/0x3b0 arch/x86/kernel/traps.c:310
19 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:323
D3115 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:178
16 do_trap_no_signal arch/x86/kernel/traps.c:212 [inline]
17 do_trap+0x260/0x390 arch/x86/kernel/traps.c:261
18 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:298
19 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:311
D116 fixup_bug arch/x86/kernel/traps.c:190 [inline]
17 do_trap_no_signal arch/x86/kernel/traps.c:224 [inline]
18 do_trap+0x32c/0x410 arch/x86/kernel/traps.c:273
19 do_error_trap+0x15a/0x3e0 arch/x86/kernel/traps.c:310
20 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:323
D3316 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
17 fixup_bug arch/x86/kernel/traps.c:247 [inline]
18 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
19 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
D3016 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
17 fixup_bug arch/x86/kernel/traps.c:247 [inline]
18 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
19 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
D3714 fixup_bug arch/x86/kernel/traps.c:178 [inline]
15 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
16 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
/external/python/cpython3/Lib/test/
Dtest_decimal.py101 prec=9, rounding=ROUND_HALF_EVEN, traps=dict.fromkeys(Signals[m], 0)
370 self.context.traps[exception] = 1 #Catch these bugs...
372 self.context.traps[exception] = 0
386 self.context.traps[error] = 1
396 self.context.traps[error] = 0
406 self.context.traps[error] = 1
416 self.context.traps[error] = 0
421 self.context.traps[error] = 1
433 self.context.traps[error] = 0
563 c.traps[InvalidOperation] = True
[all …]
/external/icu/icu4c/source/i18n/
DdecContext.cpp71 context->traps=DEC_Errors; /* all but informational */ in uprv_decContextDefault()
86 context->traps=0; /* no traps set */ in uprv_decContextDefault()
97 context->traps=0; /* no traps set */ in uprv_decContextDefault()
108 context->traps=0; /* no traps set */ in uprv_decContextDefault()
207 if (status & context->traps) raise(SIGFPE); in uprv_decContextSetStatus()
/external/libcxx/include/
Dlimits58 static constexpr bool traps = false;
183 static _LIBCPP_CONSTEXPR const bool traps = false;
245 static _LIBCPP_CONSTEXPR const bool traps = true;
247 static _LIBCPP_CONSTEXPR const bool traps = false;
296 static _LIBCPP_CONSTEXPR const bool traps = false;
342 static _LIBCPP_CONSTEXPR const bool traps = false;
388 static _LIBCPP_CONSTEXPR const bool traps = false;
438 static _LIBCPP_CONSTEXPR const bool traps = false;
484 static _LIBCPP_CONSTEXPR const bool traps = __base::traps;
530 _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::traps;
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dtrap-01.ll1 ; Test traps and conditional traps
7 ; Check unconditional traps
161 ; Check conditional traps that don't have a valid Compare and Trap
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dtrap-01.ll1 ; Test traps and conditional traps
7 ; Check unconditional traps
161 ; Check conditional traps that don't have a valid Compare and Trap
/external/python/cpython3/Modules/_decimal/
D_decimal.c80 PyObject *traps; member
475 if (status & (ctx->traps|MPD_Malloc_error)) { in dec_addstatus()
483 ex = flags_as_exception(ctx->traps&status); in dec_addstatus()
487 siglist = flags_as_list(ctx->traps&status); in dec_addstatus()
736 Dec_CONTEXT_GET_ULONG(traps) in Dec_CONTEXT_GET_SSIZE()
1112 retval = ((PyDecContextObject *)self)->traps; in context_getattr()
1150 CTX(self)->traps = 0; in context_clear_traps()
1187 self->traps = PyObject_CallObject((PyObject *)PyDecSignalDict_Type, NULL); in context_new()
1188 if (self->traps == NULL) { in context_new()
1208 SdFlagAddr(self->traps) = &ctx->traps; in context_new()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/
Dcfi.ll36 ; Ensure that traps are conditional. Invalid TYPE_ID can cause
37 ; unconditional traps.
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py179 self.settraps([sig for sig in self.c.traps if self.c.traps[sig]])
243 for trap in self.p.traps:
244 self.p.traps[trap] = False
254 self.c.traps[signal] = True
255 self.p.traps[CondMap[signal]] = True
290 maxcontext.traps = copy(context.p.traps)
/external/u-boot/doc/
DREADME.bedbug29 ./arch/powerpc/cpu/ppc4xx/traps.c
72 arch/powerpc/cpu/mpc8xx/traps.c
/external/u-boot/arch/nios2/cpu/
DMakefile8 obj-y += cpu.o interrupts.o traps.o
/external/u-boot/arch/m68k/lib/
DMakefile14 obj-y += traps.o
/external/u-boot/arch/powerpc/cpu/mpc8xx/
DMakefile7 extra-y += traps.o
/external/u-boot/arch/mips/lib/
DMakefile11 obj-y += traps.o
/external/u-boot/arch/powerpc/cpu/mpc86xx/
DMakefile12 extra-y += traps.o
/external/python/cpython3/Lib/
D_pydecimal.py2474 newcontext.traps[exception] = 0
3885 capitals=None, clamp=None, flags=None, traps=None, argument
3906 if traps is None:
3907 self.traps = dc.traps.copy()
3908 elif not isinstance(traps, dict):
3909 self.traps = dict((s, int(s in traps)) for s in _signals + traps)
3911 self.traps = traps
3976 traps = [sig for sig, v in self.traps.items() if v]
3979 self.capitals, self.clamp, flags, traps))
3990 names = [t.__name__ for t, v in self.traps.items() if v]
[all …]
/external/python/cpython2/Doc/library/
Ddecimal.rst124 precision, rounding, or enabled traps::
129 capitals=1, flags=[], traps=[Overflow, DivisionByZero,
238 former is especially useful for debugging because many of the traps are
251 capitals=1, flags=[], traps=[])
276 capitals=1, flags=[Rounded, Inexact], traps=[])
282 Individual traps are set using the dictionary in the :attr:`traps` field of a
290 >>> getcontext().traps[DivisionByZero] = 1
355 malformed string. If the context traps :const:`InvalidOperation`, an exception
990 :const:`ROUND_HALF_UP`. All flags are cleared. All traps are enabled (treated
994 Because many of the traps are enabled, this context is useful for debugging.
[all …]
/external/u-boot/arch/powerpc/cpu/mpc83xx/
DMakefile24 obj-y += traps.o

12345