Home
last modified time | relevance | path

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

12

/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.py145 from ctypes import CDLL, c_void_p, ArgumentError
166 self.assertRaises(ArgumentError, func, object())
175 self.assertRaises(ArgumentError, func, 99)
Dtest_unicode.py28 self.assertRaises(ctypes.ArgumentError, wcslen, "ab�")
101 self.assertRaises(ctypes.ArgumentError, func, u"ab�")
Dtest_functions.py205 self.assertRaises(ArgumentError, f, byref(c_short(22)))
268 self.assertRaises(ArgumentError, f, -10, cb)
399 self.assertRaises(ArgumentError, lambda: callback((1, 2, 3, 4), POINT()))
Dtest_as_parameter.py103 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb))
/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/antlr/antlr-3.4/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/antlr-3.4/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/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtemplate.rb74 raise ArgumentError, Util.tidy( <<-END, true )
280 raise ArgumentError, "cannot convert %p to an instance variable name" % name
Dtree.rb336 raise ArgumentError, "attempt to add child list to itself"
361 tree.flat_list? and raise ArgumentError, "Can't set single child to a list"
484 else raise ArgumentError,
1004 raise ArgumentError, "wrong number of arguments (0 for 1)"
1005 else raise ArgumentError, "wrong number of arguments (#{ n } for 3)"
Drecognizers.rb1331 raise ArgumentError, Util.tidy( <<-END, true )
1340 raise ArgumentError, Util.tidy( <<-END, true )
Dstreams.rb712 else raise ArgumentError, "could not find an existing file at %p" % @name
/external/llvm/utils/lit/lit/
DTest.py192 raise ArgumentError("test result already set")
194 raise ArgumentError("unexpected result type")
/external/autotest/site_utils/
Dlxc.py43 raise argparse.ArgumentError(
/external/python/cpython2/Lib/
Dargparse.py685 class ArgumentError(Exception): class
1087 raise ArgumentError(self, msg)
1467 raise ArgumentError(action, message % conflict_string)
1738 except ArgumentError:
1802 raise ArgumentError(action, msg % action_name)
1847 raise ArgumentError(action, msg % explicit_arg)
1861 raise ArgumentError(action, msg % explicit_arg)
2034 raise ArgumentError(action, msg)
2256 raise ArgumentError(action, msg % type_func)
2266 raise ArgumentError(action, msg)
[all …]
/external/protobuf/ruby/tests/
Dbasic.rb207 e = assert_raise ArgumentError do
212 e = assert_raise ArgumentError do
217 e = assert_raise ArgumentError do
408 assert_raise ArgumentError do
411 assert_raise ArgumentError do
414 assert_raise ArgumentError do
417 assert_raise ArgumentError do
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dcore-extensions.rb104 raise ArgumentError, "n must be >= 0" if n < 0
/external/protobuf/ruby/
DRakefile44 raise ArgumentError, "maven needs to be installed"
/external/python/cpython2/Lib/ctypes/
D__init__.py12 from _ctypes import ArgumentError
/external/python/cpython2/Lib/test/
Dtest_argparse.py2124 argparse.ArgumentError,
2130 argparse.ArgumentError,
4259 self.assertRaises(argparse.ArgumentError,
4262 self.assertRaises(argparse.ArgumentError,
4496 error = argparse.ArgumentError(None, msg)
/external/python/cpython2/Doc/library/
Dctypes.rst358 ArgumentError: argument 2: exceptions.TypeError: Don't know how to convert parameter 2
421 ArgumentError: argument 2: exceptions.TypeError: wrong type
471 ArgumentError: argument 2: exceptions.TypeError: one character string expected
1612 .. exception:: ArgumentError()

12