Home
last modified time | relevance | path

Searched refs:InvalidOperation (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/test/
Dtest_decimal.py86 C.Overflow, C.DivisionByZero, C.InvalidOperation,
89 P.Overflow, P.DivisionByZero, P.InvalidOperation,
264 'conversion_syntax' : self.decimal.InvalidOperation,
266 'division_impossible' : self.decimal.InvalidOperation,
267 'division_undefined' : self.decimal.InvalidOperation,
269 'invalid_context' : self.decimal.InvalidOperation,
270 'invalid_operation' : self.decimal.InvalidOperation,
369 raise self.decimal.InvalidOperation
548 InvalidOperation = self.decimal.InvalidOperation
582 c.traps[InvalidOperation] = True
[all …]
Dtest_statistics.py1362 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)
1368 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)
/third_party/python/Lib/
D_pydecimal.py227 class InvalidOperation(DecimalException): class
256 class ConversionSyntax(InvalidOperation):
282 class DivisionImpossible(InvalidOperation):
293 class DivisionUndefined(InvalidOperation, ZeroDivisionError):
316 class InvalidContext(InvalidOperation):
423 Underflow, InvalidOperation, Subnormal, FloatOperation]
426 _condition_map = {ConversionSyntax:InvalidOperation,
427 DivisionImpossible:InvalidOperation,
428 DivisionUndefined:InvalidOperation,
429 InvalidContext:InvalidOperation}
[all …]
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sDrawTests.cpp92 enum InvalidOperation enum in deqp::gles31::Stress::__anon708b56100111::InvalidDrawCase
105 …awCase (Context& context, const char* name, const char* desc, DrawType type, InvalidOperation op);
114 const InvalidOperation m_op;
122 …DrawCase (Context& context, const char* name, const char* desc, DrawType type, InvalidOperation op) in InvalidDrawCase()
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py169 C.DivisionImpossible: P.InvalidOperation,
173 C.InvalidOperation: P.InvalidOperation,
319 maxcontext.flags[P.InvalidOperation]:
320 return context.p._raise_error(P.InvalidOperation)
800 not context.c.flags[C.InvalidOperation] and
/third_party/python/Doc/library/
Ddecimal.rst104 decimal module are: :const:`Clamped`, :const:`InvalidOperation`,
135 InvalidOperation])
200 a decimal raises :class:`InvalidOperation`::
205 decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>]
388 malformed string. If the context traps :const:`InvalidOperation`, an exception
522 InvalidOperation if the second operand cannot be converted exactly.
533 InvalidOperation if the second operand cannot be converted exactly.
561 InvalidOperation if the second operand cannot be converted exactly.
778 :const:`InvalidOperation` is signaled. This guarantees that, unless there
836 InvalidOperation if the second operand cannot be converted exactly.
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp866 TEST_P(MultiDrawNoInstancingSupportTest, InvalidOperation) in TEST_P() argument
/third_party/python/Doc/whatsnew/
D2.7.rst1219 :const:`InvalidOperation` instead of silently returning a true or
2481 :const:`~decimal.InvalidOperation` instead of silently returning a true or
D2.4.rst596 decimal.InvalidOperation: x ** (non-integer)
D3.3.rst1156 :exc:`~decimal.InvalidOperation` is raised and the result is NaN. In the
D2.6.rst3258 :exc:`InvalidOperation` exception. On the other hand, the
/third_party/python/Misc/
DHISTORY9612 than Decimal.InvalidOperation.
13610 InvalidOperation instead of returning False. (Comparisons involving a quiet
19205 hash a NaN raised an InvalidOperation instead of a TypeError.