Searched refs:from_handle (Results 1 – 11 of 11) sorted by relevance
/external/python/cffi/testing/cffi0/ |
D | test_ffi_backend.py | 38 assert ffi.from_handle(p) is o 39 assert ffi.from_handle(ffi.cast("char *", p)) is o 40 py.test.raises(RuntimeError, ffi.from_handle, ffi.NULL)
|
/external/rust/crates/rusqlite/src/ |
D | collation.rs | 120 let conn = Connection::from_handle(arg2).unwrap(); in collation_needed()
|
D | lib.rs | 765 pub unsafe fn from_handle(db: *mut ffi::sqlite3) -> Result<Connection> { in from_handle() method 1533 let db = unsafe { Connection::from_handle(handle) }.unwrap(); in test_from_handle()
|
/external/python/cffi/testing/cffi1/ |
D | test_ffi_obj.py | 194 assert ffi.from_handle(xp) is x 196 assert ffi.from_handle(yp) == [6, 4, 2]
|
D | test_new_ffi_1.py | 1656 assert ffi.from_handle(p) is o 1657 assert ffi.from_handle(ffi.cast("char *", p)) is o 1658 py.test.raises(RuntimeError, ffi.from_handle, ffi.NULL)
|
/external/python/cffi/doc/source/ |
D | ref.rst | 457 ffi.new_handle(), ffi.from_handle() 463 you can use **ffi.from_handle(p)** to retrieve the original 465 *Calling ffi.from_handle(p) is invalid and will likely crash if 473 The ``ffi.new_handle()/from_handle()`` functions *conceptually* work 481 * ``from_handle(p)`` searches all live "handle" cdata objects for the 490 ``from_handle()`` will crash. 520 # ffi.from_handle() done in my_callback() during argument 529 return ffi.from_handle(data).callback(arg1, arg2)
|
D | using.rst | 620 can use ``ffi.new_handle()`` and ``ffi.from_handle()`` to pass a 658 widget = ffi.from_handle(userdata) 687 widget = ffi.from_handle(ll_widget.userdata) 903 return ffi.from_handle(handle).some_method(x)
|
/external/python/cffi/cffi/ |
D | api.py | 539 def from_handle(self, x): member in FFI 540 return self._backend.from_handle(x)
|
/external/python/pyopenssl/src/OpenSSL/ |
D | SSL.py | 432 data = _ffi.from_handle(cdata) 499 data = _ffi.from_handle(cdata)
|
/external/python/cffi/c/ |
D | test_c.py | 3212 assert from_handle(x) is o 3213 assert from_handle(cast(BCharP, x)) is o 3218 assert from_handle(x) == list((2, 3, 4)) 3219 assert from_handle(cast(BCharP, x)) == list((2, 3, 4)) 3225 py.test.raises(RuntimeError, from_handle, cast(BCharP, 0))
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.0.rst | 3238 - etnaviv: don't import allocated scanout resources via from_handle
|