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

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
runtests.py 16 import ctypes.test
19 sys.exit(ctypes.test.main(ctypes.test))
test_errcheck.py 2 from ctypes import *
test_unicode.py 3 import ctypes
6 ctypes.c_wchar
11 dll = ctypes.CDLL(_ctypes_test.__file__)
13 wcslen.argtypes = [ctypes.c_wchar_p]
18 self.prev_conv_mode = ctypes.set_conversion_mode("ascii", "strict")
21 ctypes.set_conversion_mode(*self.prev_conv_mode)
24 ctypes.set_conversion_mode("ascii", "strict")
30 self.assertRaises(ctypes.ArgumentError, wcslen, "ab?")
33 ctypes.set_conversion_mode("ascii", "replace")
40 ctypes.set_conversion_mode("ascii", "ignore"
    [all...]
test_refcounts.py 2 import ctypes
5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
9 dll = ctypes.CDLL(_ctypes_test.__file__)
17 f.restype = ctypes.c_in
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
runtests.py 16 import ctypes.test
19 sys.exit(ctypes.test.main(ctypes.test))
test_errcheck.py 2 from ctypes import *
test_unicode.py 3 import ctypes
6 ctypes.c_wchar
11 dll = ctypes.CDLL(_ctypes_test.__file__)
13 wcslen.argtypes = [ctypes.c_wchar_p]
18 self.prev_conv_mode = ctypes.set_conversion_mode("ascii", "strict")
21 ctypes.set_conversion_mode(*self.prev_conv_mode)
24 ctypes.set_conversion_mode("ascii", "strict")
30 self.assertRaises(ctypes.ArgumentError, wcslen, "ab?")
33 ctypes.set_conversion_mode("ascii", "replace")
40 ctypes.set_conversion_mode("ascii", "ignore"
    [all...]
test_refcounts.py 2 import ctypes
5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
9 dll = ctypes.CDLL(_ctypes_test.__file__)
17 f.restype = ctypes.c_in
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
runtests.py 16 import ctypes.test
19 sys.exit(ctypes.test.main(ctypes.test))
test_errcheck.py 2 from ctypes import *
test_unicode.py 3 import ctypes
6 ctypes.c_wchar
11 dll = ctypes.CDLL(_ctypes_test.__file__)
13 wcslen.argtypes = [ctypes.c_wchar_p]
18 self.prev_conv_mode = ctypes.set_conversion_mode("ascii", "strict")
21 ctypes.set_conversion_mode(*self.prev_conv_mode)
24 ctypes.set_conversion_mode("ascii", "strict")
30 self.assertRaises(ctypes.ArgumentError, wcslen, "ab?")
33 ctypes.set_conversion_mode("ascii", "replace")
40 ctypes.set_conversion_mode("ascii", "ignore"
    [all...]
test_refcounts.py 2 import ctypes
5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
9 dll = ctypes.CDLL(_ctypes_test.__file__)
17 f.restype = ctypes.c_in
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
runtests.py 16 import ctypes.test
19 sys.exit(ctypes.test.main(ctypes.test))
test_errcheck.py 2 from ctypes import *
test_unicode.py 3 import ctypes
6 ctypes.c_wchar
11 dll = ctypes.CDLL(_ctypes_test.__file__)
13 wcslen.argtypes = [ctypes.c_wchar_p]
18 self.prev_conv_mode = ctypes.set_conversion_mode("ascii", "strict")
21 ctypes.set_conversion_mode(*self.prev_conv_mode)
24 ctypes.set_conversion_mode("ascii", "strict")
30 self.assertRaises(ctypes.ArgumentError, wcslen, "ab?")
33 ctypes.set_conversion_mode("ascii", "replace")
40 ctypes.set_conversion_mode("ascii", "ignore"
    [all...]
test_refcounts.py 2 import ctypes
5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
9 dll = ctypes.CDLL(_ctypes_test.__file__)
17 f.restype = ctypes.c_in
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/
list_ports_osx.py 24 import ctypes
25 from ctypes import util
28 iokit = ctypes.cdll.LoadLibrary(ctypes.util.find_library('IOKit'))
29 cf = ctypes.cdll.LoadLibrary(ctypes.util.find_library('CoreFoundation'))
31 kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
32 kCFAllocatorDefault = ctypes.c_void_p.in_dll(cf, "kCFAllocatorDefault")
36 iokit.IOServiceMatching.restype = ctypes.c_void_p
38 iokit.IOServiceGetMatchingServices.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p
    [all...]
list_ports_windows.py 1 import ctypes
6 raise ctypes.WinError()
11 from ctypes.wintypes import HANDLE
12 from ctypes.wintypes import BOOL
13 from ctypes.wintypes import HWND
14 from ctypes.wintypes import DWORD
15 from ctypes.wintypes import WORD
16 from ctypes.wintypes import LONG
17 from ctypes.wintypes import ULONG
18 from ctypes.wintypes import LPCST
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_ctypes.py 9 import ctypes.test
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ctypes.py 9 import ctypes.test
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ctypes.py 9 import ctypes.test
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ctypes.py 9 import ctypes.test
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ctypes.py 9 import ctypes.test
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
  /external/autotest/client/site_tests/kernel_CryptoAPI/
kernel_CryptoAPI.py 13 import ctypes
22 class sockaddr_alg(ctypes.Structure):
35 ('salg_family', ctypes.c_uint16),
36 ('salg_type', ctypes.c_char * 14),
37 ('salg_feat', ctypes.c_uint32),
38 ('salg_mask', ctypes.c_uint32),
39 ('salg_name', ctypes.c_char * 64),
84 Use ctypes to run a digest through one of the available kernel ifalg
94 libc = ctypes.CDLL("libc.so.6", use_errno=True)
96 # If you don't specify the function parameters this way, ctypes may tr
    [all...]
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
trace_time.py 5 import ctypes
6 import ctypes.util
56 libc = ctypes.CDLL('/usr/lib/libc.dylib', use_errno=True)
57 class MachTimebaseInfoData(ctypes.Structure):
59 _fields_ = (('numer', ctypes.c_uint32),
60 ('denom', ctypes.c_uint32))
63 mach_absolute_time.restype = ctypes.c_uint64
66 libc.mach_timebase_info(ctypes.byref(timebase))
92 clock_gettime = ctypes.CDLL(ctypes.util.find_library('c')
    [all...]

Completed in 1033 milliseconds

1 2 3 4 5 6 7 8 91011>>