Home
last modified time | relevance | path

Searched refs:cdll (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/ctypes/
Dutil.py336 from ctypes import cdll
338 print(cdll.msvcrt)
339 print(cdll.load("msvcrt"))
350 print(cdll.LoadLibrary("libm.dylib"))
351 print(cdll.LoadLibrary("libcrypto.dylib"))
352 print(cdll.LoadLibrary("libSystem.dylib"))
353 print(cdll.LoadLibrary("System.framework/System"))
362 print(cdll.LoadLibrary("librpm.so"))
371 print(cdll.LoadLibrary("libm.so"))
372 print(cdll.LoadLibrary("libcrypt.so"))
D__init__.py456 cdll = LibraryLoader(CDLL) variable
/third_party/python/Lib/ctypes/test/
Dtest_loading.py42 cdll.LoadLibrary("libc.so.6")
44 self.assertRaises(OSError, cdll.LoadLibrary, "libc.so.9")
45 self.assertRaises(OSError, cdll.LoadLibrary, self.unknowndll)
51 cdll.LoadLibrary(lib)
/third_party/pulseaudio/src/tests/
Dvolume-ui.py7 libpulse = cdll.LoadLibrary("../.libs/libpulse.so")
10 libpulse = cdll.LoadLibrary(".libs/libpulse.so")
12 libpulse = cdll.LoadLibrary("libpulse.so")
/third_party/python/Doc/library/
Dctypes.rst35 :mod:`ctypes` exports the *cdll*, and on Windows *windll* and *oledll*
38 You load libraries by accessing them as attributes of these objects. *cdll*
58 >>> print(cdll.msvcrt) # doctest: +WINDOWS
60 >>> libc = cdll.msvcrt # doctest: +WINDOWS
66 Accessing the standard C library through ``cdll.msvcrt`` will use an
76 >>> cdll.LoadLibrary("libc.so.6") # doctest: +LINUX
127 >>> getattr(cdll.msvcrt, "??2@YAPAXI@Z") # doctest: +WINDOWS
134 >>> cdll.kernel32[1] # doctest: +WINDOWS
136 >>> cdll.kernel32[0] # doctest: +WINDOWS
167 >>> cdll.kernel32.GetModuleHandleA(None) # doctest: +WINDOWS
[all …]
/third_party/python/Lib/test/support/
D__init__.py242 from ctypes import cdll, c_int, pointer, Structure
245 app_services = cdll.LoadLibrary(find_library("ApplicationServices"))
/third_party/python/Misc/NEWS.d/
D3.5.2rc1.rst1847 Adds note to ctypes documentation regarding cdll.msvcrt.
D3.6.0a1.rst3459 Adds note to ctypes documentation regarding cdll.msvcrt.
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch625 cdll = LibraryLoader(CDLL)
10856 + from ctypes import cdll
10857 + self.assertTrue(cdll.msvcrt)