Home
last modified time | relevance | path

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

123

/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dtraps.pass.cpp27 static_assert(std::numeric_limits<T>::traps == expected, "traps test 1"); in test()
28 static_assert(std::numeric_limits<const T>::traps == expected, "traps test 2"); in test()
29 static_assert(std::numeric_limits<volatile T>::traps == expected, "traps test 3"); in test()
30 static_assert(std::numeric_limits<const volatile T>::traps == expected, "traps test 4"); in test()
Dconst_data_members.pass.cpp64 test(std::numeric_limits<type>::traps); \
/external/icu/icu4c/source/i18n/
DdecContext.c71 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()
DdecContext.h95 uint32_t traps; /* trap-enabler flags */ member
Ddigitlst.cpp97 fContext.traps = 0; in DigitList()
169 c.traps = 0; in operator ==()
/external/libcxx/include/
Dlimits58 static constexpr bool traps = false;
180 static _LIBCPP_CONSTEXPR const bool traps = false;
242 static _LIBCPP_CONSTEXPR const bool traps = true;
244 static _LIBCPP_CONSTEXPR const bool traps = false;
293 static _LIBCPP_CONSTEXPR const bool traps = false;
339 static _LIBCPP_CONSTEXPR const bool traps = false;
385 static _LIBCPP_CONSTEXPR const bool traps = false;
435 static _LIBCPP_CONSTEXPR const bool traps = false;
481 static _LIBCPP_CONSTEXPR const bool traps = __base::traps;
527 _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/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/python/cpython2/Lib/test/
Dtest_decimal.py60 traps = dict.fromkeys(Signals, 0)
308 self.context.traps[exception] = 1 #Catch these bugs...
310 self.context.traps[exception] = 0
324 self.context.traps[error] = 1
334 self.context.traps[error] = 0
344 self.context.traps[error] = 1
354 self.context.traps[error] = 0
359 self.context.traps[error] = 1
371 self.context.traps[error] = 0
1181 ctx.traps[InvalidOperation] = 1
[all …]
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits/
Ddefault.pass.cpp77 static_assert(std::numeric_limits<A>::traps == false, in main()
/external/python/cpython2/Lib/
Ddecimal.py2362 newcontext.traps[exception] = 0
3783 traps=None, flags=None, argument
3806 if traps is None:
3807 self.traps = dc.traps.copy()
3808 elif not isinstance(traps, dict):
3809 self.traps = dict((s, int(s in traps)) for s in _signals)
3811 self.traps = traps
3828 names = [t.__name__ for t, v in self.traps.items() if v]
3839 nc = Context(self.prec, self.rounding, self.traps,
3846 nc = Context(self.prec, self.rounding, self.traps.copy(),
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Drem.ll11 define i32 @test2(i32 %A) { ; 0 % X = 0, we don't need to preserve traps
Ddiv.ll21 ; => 0, don't need to keep traps
/external/zlib/src/contrib/asm686/
DREADME.68610 PPro's speed traps. My own tests show a speedup of around 10-20% at
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc67 TestTrapRegistry traps; in PolicyEmulator() local
68 program_ = PolicyCompiler(&policy, &traps).Compile(); in PolicyEmulator()
/external/llvm/lib/Target/Hexagon/
DHexagonSystemInst.td117 // traps and pause
/external/ltp/testcases/kernel/fs/fs_bind/
DCHANGELOG34 Added some traps to the test scripts to detect unexpected errors and log them
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrConv.td38 // Conversion from floating point to integer traps on overflow and invalid.
/external/python/cpython2/Lib/test/decimaltestdata/
Dcompare.decTest268 -- misalignment traps for little-endian
402 -- check some unit-y traps
DdqCompare.decTest267 -- misalignment traps for little-endian
393 -- check some unit-y traps
DddCompare.decTest269 -- misalignment traps for little-endian
395 -- check some unit-y traps
DdqMin.decTest265 -- misalignment traps for little-endian
DddMin.decTest265 -- misalignment traps for little-endian
DdqMax.decTest276 -- misalignment traps for little-endian
DddMax.decTest276 -- misalignment traps for little-endian

123