Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Ddecimal.py195 class InvalidOperation(DecimalException): class
224 class ConversionSyntax(InvalidOperation):
250 class DivisionImpossible(InvalidOperation):
261 class DivisionUndefined(InvalidOperation, ZeroDivisionError):
284 class InvalidContext(InvalidOperation):
376 Underflow, InvalidOperation, Subnormal]
379 _condition_map = {ConversionSyntax:InvalidOperation,
380 DivisionImpossible:InvalidOperation,
381 DivisionUndefined:InvalidOperation,
382 InvalidContext:InvalidOperation}
[all …]
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp92 enum InvalidOperation enum in deqp::gles31::Stress::__anonb348c3430111::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()
/external/python/cpython2/Lib/test/
Dtest_decimal.py50 Underflow, Overflow, DivisionByZero, InvalidOperation)
123 'conversion_syntax' : InvalidOperation,
125 'division_impossible' : InvalidOperation,
126 'division_undefined' : InvalidOperation,
128 'invalid_context' : InvalidOperation,
129 'invalid_operation' : InvalidOperation,
288 raise InvalidOperation
1181 ctx.traps[InvalidOperation] = 1
1195 self.assertRaises(InvalidOperation, operator.eq, x, y)
1196 self.assertRaises(InvalidOperation, operator.ne, x, y)
[all …]
/external/python/cpython2/Doc/library/
Ddecimal.rst99 decimal module are: :const:`Clamped`, :const:`InvalidOperation`,
130 InvalidOperation])
355 malformed string. If the context traps :const:`InvalidOperation`, an exception
798 :const:`InvalidOperation` is signaled. This guarantees that, unless there
1025 for Overflow, InvalidOperation, and DivisionByZero.
1528 .. class:: InvalidOperation
1592 InvalidOperation
1672 :exc:`InvalidOperation` signal is trapped, raise an exception. For example,
1688 ``<=``, ``>`` or ``>=`` operators will raise the :exc:`InvalidOperation` signal
1739 DefaultContext.traps[InvalidOperation] = 1
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1204 :const:`InvalidOperation` instead of silently returning a true or
2457 :const:`~decimal.InvalidOperation` instead of silently returning a true or
D2.4.rst596 decimal.InvalidOperation: x ** (non-integer)
D2.6.rst3254 :exc:`InvalidOperation` exception. On the other hand, the
/external/python/cpython2/Misc/
DNEWS6556 InvalidOperation instead of returning False. (Comparisons involving a quiet
DHISTORY1821 hash a NaN raised an InvalidOperation instead of a TypeError.