Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_decimal.py67 C.Overflow, C.DivisionByZero, C.InvalidOperation,
70 P.Overflow, P.DivisionByZero, P.InvalidOperation,
245 'conversion_syntax' : self.decimal.InvalidOperation,
247 'division_impossible' : self.decimal.InvalidOperation,
248 'division_undefined' : self.decimal.InvalidOperation,
250 'invalid_context' : self.decimal.InvalidOperation,
251 'invalid_operation' : self.decimal.InvalidOperation,
350 raise self.decimal.InvalidOperation
529 InvalidOperation = self.decimal.InvalidOperation
563 c.traps[InvalidOperation] = True
[all …]
Dtest_statistics.py1374 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)
1380 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)
/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/python/cpython3/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 …]
/external/rust/crates/vmm_vhost/src/vhost_user/
Ddummy_slave.rs42 return Err(Error::InvalidOperation); in set_owner()
62 return Err(Error::InvalidOperation); in set_features()
205 return Err(Error::InvalidOperation); in set_vring_enable()
225 return Err(Error::InvalidOperation); in get_config()
238 return Err(Error::InvalidOperation); in set_config()
Dmod.rs60 InvalidOperation, enumerator
91 Error::InvalidOperation => write!(f, "invalid operation"), in fmt()
124 Error::InvalidParam | Error::InvalidOperation => false, in should_reconnect()
431 assert_eq!(format!("{}", Error::InvalidOperation), "invalid operation"); in test_error_display()
440 assert_eq!(Error::InvalidOperation.should_reconnect(), false); in test_should_reconnect()
Dslave_req_handler.rs394 return Err(Error::InvalidOperation); in handle_request()
406 return Err(Error::InvalidOperation); in handle_request()
419 return Err(Error::InvalidOperation); in handle_request()
426 return Err(Error::InvalidOperation); in handle_request()
433 return Err(Error::InvalidOperation); in handle_request()
443 return Err(Error::InvalidOperation); in handle_request()
455 return Err(Error::InvalidOperation); in handle_request()
476 return Err(Error::InvalidOperation); in handle_request()
Dmaster.rs321 return error_code(VhostUserError::InvalidOperation); in get_protocol_features()
338 return error_code(VhostUserError::InvalidOperation); in set_protocol_features()
352 return error_code(VhostUserError::InvalidOperation); in get_queue_num()
368 return error_code(VhostUserError::InvalidOperation); in set_vring_enable()
394 return error_code(VhostUserError::InvalidOperation); in get_config()
430 return error_code(VhostUserError::InvalidOperation); in set_config()
440 return error_code(VhostUserError::InvalidOperation); in set_slave_request_fd()
452 return error_code(VhostUserError::InvalidOperation); in get_max_mem_slots()
465 return error_code(VhostUserError::InvalidOperation); in add_mem_region()
486 return error_code(VhostUserError::InvalidOperation); in remove_mem_region()
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs182 return Err(VideoError::InvalidOperation); in set_encode_session()
194 .map_err(|_| VideoError::InvalidOperation)?; in set_encode_session()
205 VideoError::InvalidOperation in set_encode_session()
220 VideoError::InvalidOperation in clear_encode_session()
406 VideoError::InvalidOperation.into() in flush_response()
569 return Err(VideoError::InvalidOperation); in stream_drain()
693 return Err(VideoError::InvalidOperation); in resource_queue()
730 return Err(VideoError::InvalidOperation); in resource_queue()
745 return Err(VideoError::InvalidOperation); in resource_queue()
752 return Err(VideoError::InvalidOperation); in resource_queue()
[all …]
/external/rust/crates/vmm_vhost/src/
Dlib.rs54 InvalidOperation, enumerator
85 Error::InvalidOperation => write!(f, "invalid vhost operations"), in fmt()
127 format!("{}", Error::InvalidOperation), in test_error()
/external/crosvm/devices/src/virtio/video/
Dresponse.rs29 InvalidOperation, enumerator
62 _ => CmdError::InvalidOperation, in from()
88 CmdError::InvalidOperation => VIRTIO_VIDEO_RESP_ERR_INVALID_OPERATION, in write()
Derror.rs22 InvalidOperation, enumerator
44 InvalidOperation => write!(f, "invalid operation"), in fmt()
Dasync_cmd_desc_map.rs64 VideoError::InvalidOperation, in create_cancellation_responses()
77 VideoError::InvalidOperation, in create_cancellation_responses()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs457 VideoError::InvalidOperation in create_session()
504 return Err(VideoError::InvalidOperation); in create_resource()
538 let session = ctx.session.as_ref().ok_or(VideoError::InvalidOperation)?; in queue_input_resource()
542 return Err(VideoError::InvalidOperation); in queue_input_resource()
600 let session = ctx.session.as_ref().ok_or(VideoError::InvalidOperation)?; in queue_output_resource()
610 return Err(VideoError::InvalidOperation); in queue_output_resource()
614 return Err(VideoError::InvalidOperation); in queue_output_resource()
771 .ok_or(VideoError::InvalidOperation)? in drain_stream()
784 let session = ctx.session.as_ref().ok_or(VideoError::InvalidOperation)?; in clear_queue()
896 Err(VideoError::InvalidOperation) in process_cmd()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp92 enum InvalidOperation enum in deqp::gles31::Stress::__anon52ff76040111::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/cpython3/Modules/_decimal/tests/
Ddeccheck.py165 C.DivisionImpossible: P.InvalidOperation,
169 C.InvalidOperation: P.InvalidOperation,
315 maxcontext.flags[P.InvalidOperation]:
316 return context.p._raise_error(P.InvalidOperation)
796 not context.c.flags[C.InvalidOperation] and
/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/cpython3/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 …]
/external/crosvm/devices/src/virtio/vhost/user/
Dfs.rs113 VhostUserError::InvalidOperation, in read_config()
/external/crosvm/devices/src/virtio/video/decoder/backend/
Dvda.rs189 VideoError::InvalidOperation in new_session()
/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/angle/src/tests/gl_tests/
DMultiDrawTest.cpp493 TEST_P(MultiDrawNoInstancingSupportTest, InvalidOperation) in TEST_P() argument
/external/python/cpython2/Misc/NEWS.d/
D2.7b1.rst223 Comparisons involving a Decimal signaling NaN now signal InvalidOperation
/external/python/cpython3/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
/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

12