Searched refs:CDefError (Results 1 – 12 of 12) sorted by relevance
/external/python/cffi/testing/cffi0/ |
D | test_parsing.py | 2 from cffi import FFI, FFIError, CDefError, VerificationError 202 e = py.test.raises(CDefError, ffi.cdef, '#define FOO "blah"') 238 e = py.test.raises(CDefError, ffi.cdef, "int foo(...);") 245 e = py.test.raises(CDefError, ffi.cdef, " x y z ") 248 e = py.test.raises(CDefError, ffi.cdef, "\n\n\n x y z ") 254 e = py.test.raises(CDefError, ffi.cdef, """ 271 e = py.test.raises(CDefError, ffi.cast, "foobarbazunknown", 0) 273 e = py.test.raises(CDefError, ffi.cast, "foobarbazunknown*", 0) 275 e = py.test.raises(CDefError, ffi.cast, "int(*)(foobarbazunknown)", 0) 302 e = py.test.raises(CDefError, ffi.cdef, "void f(foobarbazzz);") [all …]
|
D | backend_tests.py | 4 from cffi import FFI, CDefError, FFIError, VerificationMissing 1306 py.test.raises(CDefError, ffi.cast, "int(int)", 42) 1307 py.test.raises(CDefError, ffi.new, "int([5])(int)") 1769 py.test.raises(CDefError, ffi2.cast, "schar_t", 142)
|
D | test_function.py | 2 from cffi import FFI, CDefError
|
/external/python/cffi/cffi/ |
D | cparser.py | 3 from .error import FFIError, CDefError 128 raise CDefError("'extern \"Python\" {': no '}' found") 138 raise CDefError("'extern \"Python\": no ';' found") 325 raise CDefError(msg) 373 raise CDefError("typedef does not declare any name", 392 raise CDefError("unexpected <%s>: this construct is valid " 395 except CDefError as e: 436 raise CDefError( 471 raise CDefError("construct does not declare any variable", 499 raise CDefError( [all …]
|
D | __init__.py | 5 from .error import CDefError, FFIError, VerificationError, VerificationMissing
|
D | error.py | 5 class CDefError(Exception): class
|
D | model.py | 5 from .error import CDefError, VerificationError, VerificationMissing 232 raise CDefError("cannot render the type %r: it is a function " 315 raise CDefError("cannot render the type %r: unknown length" % 554 raise CDefError("%s values don't all fit into either 'long' "
|
D | api.py | 3 from .error import CDefError 186 raise CDefError("the type %r is a function type, not a "
|
/external/python/cffi/testing/cffi1/ |
D | test_dlopen.py | 2 from cffi import FFI, VerificationError, CDefError 39 e = py.test.raises(CDefError, ffi.cdef, "#define BB 12.34")
|
D | test_recompiler.py | 3 from cffi import FFI, VerificationError, FFIError, CDefError 1130 CDefError), # with pycparser >= 2.18
|
D | test_verify1.py | 3 from cffi import CDefError 2227 CDefError), # with pycparser >= 2.18
|
/external/python/cffi/demo/ |
D | api.py | 15 raise cffi.CDefError("duplicate pyexport'ed function %r"
|