HomeSort by relevance Sort by last modified time
    Searched refs:ArgumentError (Results 1 - 25 of 44) sorted by null

1 2

  /external/grpc-grpc/src/ruby/lib/grpc/
google_rpc_status_utils.rb 29 fail ArgumentError, 'bad type' unless status.is_a? Struct::Status
  /external/python/cpython2/Lib/ctypes/test/
test_returnfuncptrs.py 18 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)
test_prototypes.py 82 self.assertRaises(ArgumentError, func, byref(ci))
85 self.assertRaises(ArgumentError, func, byref(ci))
88 self.assertRaises(ArgumentError, func, byref(ci))
test_parameters.py 146 from ctypes import CDLL, c_void_p, ArgumentError
167 self.assertRaises(ArgumentError, func, object())
175 # ArgumentError: argument 1: ValueError: 99
176 self.assertRaises(ArgumentError, func, 99)
test_unicode.py 28 self.assertRaises(ctypes.ArgumentError, wcslen, "ab?")
101 self.assertRaises(ctypes.ArgumentError, func, u"ab?")
test_functions.py 205 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()))
  /external/python/cpython3/Lib/ctypes/test/
test_returnfuncptrs.py 19 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)
test_unicode.py 16 self.assertRaises(ctypes.ArgumentError, wcslen, b"ab\xe4")
test_parameters.py 141 from ctypes import CDLL, c_void_p, ArgumentError
162 self.assertRaises(ArgumentError, func, object())
170 # ArgumentError: argument 1: ValueError: 99
171 self.assertRaises(ArgumentError, func, 99)
test_prototypes.py 85 self.assertRaises(ArgumentError, func, byref(ci))
88 self.assertRaises(ArgumentError, func, byref(ci))
91 self.assertRaises(ArgumentError, func, byref(ci))
test_functions.py 205 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()))
  /external/grpc-grpc/src/ruby/spec/generic/
service_spec.rb 133 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
rpc_desc_spec.rb 342 fail(ArgumentError, 'other error')
350 fail(ArgumentError, 'other error')
362 error ||= ArgumentError.new('other error')
  /external/antlr/runtime/Ruby/lib/antlr3/streams/
interactive.rb 33 @readline = block or raise( ArgumentError, "no line-reading block was provided" )
69 @readline = block or raise( ArgumentError, "no line-reading block was provided" )
  /external/autotest/site_utils/
lxc.py 25 @raise argparse.ArgumentError: If command line arguments are invalid.
43 raise argparse.ArgumentError(
  /external/gemmlowp/meta/generators/
neon_emitter_64.py 105 class ArgumentError(Error):
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...]
neon_emitter.py 43 class ArgumentError(Error):
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/lib/grpc/generic/
service.rb 126 fail(ArgumentError, "#{cls} needs #{cls}.#{mth}")
130 fail(ArgumentError, "#{cls} needs #{cls}.#{mth}")
bidi_call.rb 46 fail(ArgumentError, 'not a call') unless call.is_a? Core::Call
rpc_desc.rb 44 fail ArgumentError unless [:input, :output].include?(target)
  /external/python/cpython2/Lib/plat-mac/
macresource.py 12 class ArgumentError(TypeError): pass
25 raise ArgumentError, "Either filename or modname argument (or both) must be given"
  /external/llvm/utils/lit/lit/
Test.py 192 raise ArgumentError("test result already set")
194 raise ArgumentError("unexpected result type")
  /external/antlr/runtime/Ruby/lib/antlr3/
template.rb 74 raise ArgumentError, Util.tidy( <<-END, true )
280 raise ArgumentError, "cannot convert %p to an instance variable name" % name
  /external/protobuf/ruby/tests/
basic.rb 207 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
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
argparse.py 34 - ArgumentError -- The exception raised by ArgumentParser objects when
67 'ArgumentError',
685 class ArgumentError(Exception):
    [all...]

Completed in 154 milliseconds

1 2