Home
last modified time | relevance | path

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

123

/external/protobuf/ruby/tests/
Dtype_errors.rb23 check_error ArgumentError,
38 check_error ArgumentError,
53 check_error ArgumentError,
68 check_error ArgumentError,
107 check_error ArgumentError,
111 check_error ArgumentError,
115 check_error ArgumentError,
119 check_error ArgumentError,
134 check_error ArgumentError,
149 check_error ArgumentError,
[all …]
Dbasic.rb49 assert_raise ArgumentError do
57 assert_raise ArgumentError do
64 assert_raise ArgumentError do
71 assert_raise ArgumentError do
78 assert_raise ArgumentError do
149 e = assert_raise ArgumentError do
154 e = assert_raise ArgumentError do
159 e = assert_raise ArgumentError do
Dbasic_proto2.rb66 assert_raise ArgumentError do
202 e = assert_raise ArgumentError do
207 e = assert_raise ArgumentError do
232 e = assert_raise ArgumentError do
/external/python/cpython2/Lib/ctypes/test/
Dtest_returnfuncptrs.py18 self.assertRaises(ArgumentError, strchr, "abcdef", 3)
32 self.assertRaises(ArgumentError, strchr, "abcdef", 3)
42 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0)
61 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0)
Dtest_prototypes.py82 self.assertRaises(ArgumentError, func, byref(ci))
85 self.assertRaises(ArgumentError, func, byref(ci))
88 self.assertRaises(ArgumentError, func, byref(ci))
Dtest_parameters.py146 from ctypes import CDLL, c_void_p, ArgumentError
167 self.assertRaises(ArgumentError, func, object())
176 self.assertRaises(ArgumentError, func, 99)
Dtest_unicode.py28 self.assertRaises(ctypes.ArgumentError, wcslen, "ab�")
101 self.assertRaises(ctypes.ArgumentError, func, u"ab�")
/external/python/cpython3/Lib/ctypes/test/
Dtest_returnfuncptrs.py19 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0)
33 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0)
43 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0)
62 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0)
Dtest_prototypes.py85 self.assertRaises(ArgumentError, func, byref(ci))
88 self.assertRaises(ArgumentError, func, byref(ci))
91 self.assertRaises(ArgumentError, func, byref(ci))
Dtest_parameters.py141 from ctypes import CDLL, c_void_p, ArgumentError
162 self.assertRaises(ArgumentError, func, object())
171 self.assertRaises(ArgumentError, func, 99)
/external/gemmlowp/meta/generators/
Dneon_emitter_64.py105 class ArgumentError(Error): class
112 raise ArgumentError('Only vector registers can have type appended.')
127 raise ArgumentError('Unknown type: %s' % type_name)
147 raise ArgumentError('No wide type for: %s' % type_name)
154 raise ArgumentError('No narrow type for: %s' % type_name)
187 raise ArgumentError('Unknown type: %s' % type_name)
193 raise ArgumentError('Cannot mix lanes on a register list.')
199 raise ArgumentError('Cannot construct a list with all lane indexing.')
551 raise ArgumentError('Register sizes do not match.')
666 raise ArgumentError('Convert not supported, to: %s from: %s' % (cvt_to,
[all …]
Dneon_emitter.py43 class ArgumentError(Error): class
420 raise ArgumentError('To few destinations: %d to load %d bits.' %
490 raise ArgumentError('Wrong leftover: %d' % bits_to_load)
544 raise ArgumentError('To few sources: %d to store %d bits.' %
614 raise ArgumentError('Wrong leftover: %d' % bits_to_store)
631 raise ArgumentError('Unsupported store_type: %d' % store_type)
638 raise ArgumentError('To many %dbit elements in a q register: %d' %
643 raise ArgumentError('To many %dbit elements in a d register: %d' %
664 raise ArgumentError('To many elements: %d' % count)
670 raise ArgumentError('Unsupported reduce: %s' % reduce_type)
[all …]
/external/grpc-grpc/src/ruby/spec/generic/
Dservice_spec.rb133 expect(&blk).to raise_error ArgumentError
141 expect(&blk).to raise_error ArgumentError
152 expect(&blk).to raise_error ArgumentError
169 expect(&blk).to raise_error ArgumentError
185 expect(&blk).to raise_error ArgumentError
Drpc_desc_spec.rb342 fail(ArgumentError, 'other error')
350 fail(ArgumentError, 'other error')
362 error ||= ArgumentError.new('other error')
Dclient_stub_spec.rb289 end.to raise_error(ArgumentError,
393 end.to raise_error(ArgumentError,
497 end.to raise_error(ArgumentError,
529 unmarshal = proc { fail(ArgumentError, 'test unmarshalling error') }
532 end.to raise_error(ArgumentError, 'test unmarshalling error')
658 end.to raise_error(ArgumentError,
/external/antlr/runtime/Ruby/lib/antlr3/streams/
Dinteractive.rb33 @readline = block or raise( ArgumentError, "no line-reading block was provided" )
69 @readline = block or raise( ArgumentError, "no line-reading block was provided" )
Drewrite.rb348 raise ArgumentError,
352 raise ArgumentError,
/external/antlr/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb355 else raise ArgumentError, "search subject must be a token type (integer) or a string"
378 else raise( ArgumentError, tidy( <<-'END', true ) )
468 when DOT_DOT_PATTERN then raise ArgumentError, "invalid syntax: .."
469 when DOUBLE_ETC_PATTERN then raise ArgumentError, "invalid syntax: ... ..."
/external/python/cpython2/Lib/plat-mac/
Dmacresource.py12 class ArgumentError(TypeError): pass class
25 raise ArgumentError, "Either filename or modname argument (or both) must be given"
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dservice.rb126 fail(ArgumentError, "#{cls} needs #{cls}.#{mth}")
130 fail(ArgumentError, "#{cls} needs #{cls}.#{mth}")
/external/grpc-grpc/src/ruby/lib/grpc/
Dgoogle_rpc_status_utils.rb29 fail ArgumentError, 'bad type' unless status.is_a? Struct::Status
/external/antlr/runtime/Ruby/lib/antlr3/
Dtemplate.rb74 raise ArgumentError, Util.tidy( <<-END, true )
280 raise ArgumentError, "cannot convert %p to an instance variable name" % name
/external/llvm/utils/lit/lit/
DTest.py192 raise ArgumentError("test result already set")
194 raise ArgumentError("unexpected result type")
/external/llvm-project/polly/utils/
Dargparse.py712 class ArgumentError(Exception): class
1114 raise ArgumentError(self, msg)
1468 raise ArgumentError(action, message % conflict_string)
1731 except ArgumentError:
1795 raise ArgumentError(action, msg % action_name)
1840 raise ArgumentError(action, msg % explicit_arg)
1854 raise ArgumentError(action, msg % explicit_arg)
2016 raise ArgumentError(action, msg)
2235 raise ArgumentError(action, msg % type_func)
2245 raise ArgumentError(action, msg)
[all …]
/external/python/cpython2/Lib/
Dargparse.py689 class ArgumentError(Exception): class
1091 raise ArgumentError(self, msg)
1471 raise ArgumentError(action, message % conflict_string)
1742 except ArgumentError:
1806 raise ArgumentError(action, msg % action_name)
1851 raise ArgumentError(action, msg % explicit_arg)
1865 raise ArgumentError(action, msg % explicit_arg)
2038 raise ArgumentError(action, msg)
2260 raise ArgumentError(action, msg % type_func)
2270 raise ArgumentError(action, msg)
[all …]

123