/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | context.c | 93 ctx->traps=MPD_Traps; in mpd_maxcontext() 107 ctx->traps=MPD_Traps; in mpd_defaultcontext() 121 ctx->traps=MPD_Traps|MPD_Clamped; in mpd_basiccontext() 139 ctx->traps=0; in mpd_ieee_context() 175 return ctx->traps; in mpd_gettraps() 238 mpd_qsettraps(mpd_context_t *ctx, uint32_t traps) in mpd_qsettraps() argument 240 if (traps > MPD_Max_status) { in mpd_qsettraps() 243 ctx->traps = traps; in mpd_qsettraps() 282 if (flags&ctx->traps) { in mpd_addstatus_raise() 283 ctx->newtrap = (flags&ctx->traps); in mpd_addstatus_raise()
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
D | traps.pass.cpp | 29 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/llvm-project/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
D | traps.pass.cpp | 28 static_assert(std::numeric_limits<T>::traps == expected, "traps test 1"); in test() 29 static_assert(std::numeric_limits<const T>::traps == expected, "traps test 2"); in test() 30 static_assert(std::numeric_limits<volatile T>::traps == expected, "traps test 3"); in test() 31 static_assert(std::numeric_limits<const volatile T>::traps == expected, "traps test 4"); in test()
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 101 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/ |
D | decContext.cpp | 71 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/llvm/test/CodeGen/SystemZ/ |
D | trap-01.ll | 1 ; Test traps and conditional traps 7 ; Check unconditional traps 161 ; Check conditional traps that don't have a valid Compare and Trap
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | trap-01.ll | 1 ; Test traps and conditional traps 7 ; Check unconditional traps 161 ; Check conditional traps that don't have a valid Compare and Trap
|
/external/libcxx/include/ |
D | limits | 58 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-project/libcxx/include/ |
D | limits | 57 static constexpr bool traps = false; 182 static _LIBCPP_CONSTEXPR const bool traps = false; 244 static _LIBCPP_CONSTEXPR const bool traps = true; 246 static _LIBCPP_CONSTEXPR const bool traps = false; 295 static _LIBCPP_CONSTEXPR const bool traps = false; 341 static _LIBCPP_CONSTEXPR const bool traps = false; 387 static _LIBCPP_CONSTEXPR const bool traps = false; 437 static _LIBCPP_CONSTEXPR const bool traps = false; 483 static _LIBCPP_CONSTEXPR const bool traps = __base::traps; 529 _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::traps; [all …]
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderDebugger.cpp | 1036 } traps; member 1288 uint8_t *traps = nullptr; member in sw::SpirvShader::Impl::Debugger::State 1400 ASSERT(traps.byIndex.size() == traps.byLocationAndScope.size()); in finalize() 1401 traps.memory = std::make_unique<uint8_t[]>(traps.byIndex.size()); in finalize() 1434 int index = getOrCreate(traps.byLocationAndScope, locationAndScope, [&] { in setLocation() 1435 traps.byIndex.emplace_back(locationAndScope); in setLocation() 1436 return traps.byIndex.size() - 1; in setLocation() 1445 getOrCreate(traps.byFunctionName, func->name, [&] { return index; }); in setLocation() 1454 auto traps = *Pointer<Pointer<Byte>>(dbgState + OFFSET(Impl::Debugger::State, traps)); in setLocation() local 1455 auto trap = Pointer<Byte>(traps)[index]; in setLocation() [all …]
|
/external/llvm-project/lld/test/ELF/ |
D | fill-trap.s | 10 ## -z separate-code pads the tail of text segment with traps. 37 ## Check that executable page is filled with traps at its end.
|
/external/llvm-project/llvm/test/ThinLTO/X86/ |
D | cfi.ll | 36 ; Ensure that traps are conditional. Invalid TYPE_ID can cause 37 ; unconditional traps.
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/numeric/ |
D | int128.h | 279 static constexpr bool traps = numeric_limits<unsigned __int128>::traps; variable 281 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable 514 static constexpr bool traps = numeric_limits<__int128>::traps; variable 516 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable
|
/external/openscreen/third_party/abseil/src/absl/numeric/ |
D | int128.h | 279 static constexpr bool traps = numeric_limits<unsigned __int128>::traps; variable 281 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable 514 static constexpr bool traps = numeric_limits<__int128>::traps; variable 516 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable
|
/external/libtextclassifier/abseil-cpp/absl/numeric/ |
D | int128.h | 279 static constexpr bool traps = numeric_limits<unsigned __int128>::traps; variable 281 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable 514 static constexpr bool traps = numeric_limits<__int128>::traps; variable 516 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 83 PyObject *traps; member 485 if (status & (ctx->traps|MPD_Malloc_error)) { in dec_addstatus() 493 ex = flags_as_exception(ctx->traps&status); in dec_addstatus() 497 siglist = flags_as_list(ctx->traps&status); in dec_addstatus() 746 Dec_CONTEXT_GET_ULONG(traps) in Dec_CONTEXT_GET_SSIZE() 1122 retval = ((PyDecContextObject *)self)->traps; in context_getattr() 1160 CTX(self)->traps = 0; in context_clear_traps() 1197 self->traps = PyObject_CallObject((PyObject *)PyDecSignalDict_Type, NULL); in context_new() 1198 if (self->traps == NULL) { in context_new() 1218 SdFlagAddr(self->traps) = &ctx->traps; in context_new() [all …]
|
/external/abseil-cpp/absl/numeric/ |
D | int128.h | 279 static constexpr bool traps = numeric_limits<unsigned __int128>::traps; variable 281 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable 514 static constexpr bool traps = numeric_limits<__int128>::traps; variable 516 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable
|
/external/webrtc/third_party/abseil-cpp/absl/numeric/ |
D | int128.h | 279 static constexpr bool traps = numeric_limits<unsigned __int128>::traps; variable 281 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable 514 static constexpr bool traps = numeric_limits<__int128>::traps; variable 516 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable
|
/external/angle/third_party/abseil-cpp/absl/numeric/ |
D | int128.h | 279 static constexpr bool traps = numeric_limits<unsigned __int128>::traps; variable 281 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable 514 static constexpr bool traps = numeric_limits<__int128>::traps; variable 516 static constexpr bool traps = numeric_limits<uint64_t>::traps; variable
|
/external/llvm-project/clang/test/CodeGen/ |
D | thinlto-distributed-cfi.ll | 50 ; Ensure that traps are conditional. Invalid TYPE_ID can cause 51 ; unconditional traps.
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 196 self.settraps([sig for sig in self.c.traps if self.c.traps[sig]]) 260 for trap in self.p.traps: 261 self.p.traps[trap] = False 271 self.c.traps[signal] = True 272 self.p.traps[CondMap[signal]] = True 307 maxcontext.traps = copy(context.p.traps)
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 2478 newcontext.traps[exception] = 0 3889 capitals=None, clamp=None, flags=None, traps=None, argument 3910 if traps is None: 3911 self.traps = dc.traps.copy() 3912 elif not isinstance(traps, dict): 3913 self.traps = dict((s, int(s in traps)) for s in _signals + traps) 3915 self.traps = traps 3980 traps = [sig for sig, v in self.traps.items() if v] 3983 self.capitals, self.clamp, flags, traps)) 3994 names = [t.__name__ for t, v in self.traps.items() if v] [all …]
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 124 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/cpython3/Doc/library/ |
D | decimal.rst | 129 precision, rounding, or enabled traps:: 134 capitals=1, clamp=0, flags=[], traps=[Overflow, DivisionByZero, 168 >>> c.traps[FloatOperation] = True 272 former is especially useful for debugging because many of the traps are 285 capitals=1, clamp=0, flags=[], traps=[]) 310 capitals=1, clamp=0, flags=[Inexact, Rounded], traps=[]) 316 Individual traps are set using the dictionary in the :attr:`traps` field of a 324 >>> getcontext().traps[DivisionByZero] = 1 388 malformed string. If the context traps :const:`InvalidOperation`, an exception 953 :const:`ROUND_HALF_UP`. All flags are cleared. All traps are enabled (treated [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 60 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 …]
|