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

1 2 3 4 5 6 7

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
runtests.py 16 import ctypes.test namespace
19 sys.exit(ctypes.test.main(ctypes.test))
test_errcheck.py 2 from ctypes import *
test_unicode.py 3 import ctypes namespace
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 namespace
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...]
test_objects.py 2 This tests the '_objects' attribute of ctypes instances. '_objects'
4 ctypes instance, to make sure that the memory buffer is valid.
6 WARNING: The '_objects' attribute is exposed ONLY for debugging ctypes itself,
14 >>> from ctypes import *
30 It gets more complicated when the ctypes instance itself is contained
45 <ctypes.test.test_objects.X object at 0x...>
59 import ctypes.test.test_objects namespace
66 doctest.testmod(ctypes.test.test_objects)
70 doctest.testmod(ctypes.test.test_objects)
test_incomplete.py 2 from ctypes import *
36 from ctypes import _pointer_type_cache
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
runtests.py 16 import ctypes.test namespace
19 sys.exit(ctypes.test.main(ctypes.test))
test_errcheck.py 2 from ctypes import *
test_unicode.py 3 import ctypes namespace
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 namespace
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...]
test_objects.py 2 This tests the '_objects' attribute of ctypes instances. '_objects'
4 ctypes instance, to make sure that the memory buffer is valid.
6 WARNING: The '_objects' attribute is exposed ONLY for debugging ctypes itself,
14 >>> from ctypes import *
30 It gets more complicated when the ctypes instance itself is contained
45 <ctypes.test.test_objects.X object at 0x...>
59 import ctypes.test.test_objects namespace
66 doctest.testmod(ctypes.test.test_objects)
70 doctest.testmod(ctypes.test.test_objects)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ctypes.py 9 import ctypes.test namespace
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
symlink_support.py 31 Ctypes symlink implementation since Python doesn't support
34 import ctypes.wintypes namespace
35 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW
37 ctypes.wintypes.LPWSTR,
38 ctypes.wintypes.LPWSTR,
39 ctypes.wintypes.DWORD,
41 CreateSymbolicLink.restype = ctypes.wintypes.BOOLEAN
62 result_buffer = ctypes.wintypes.LPWSTR()
65 bytes = ctypes.windll.kernel32.FormatMessageW(
70 ctypes.byref(result_buffer)
    [all...]
win_console_handler.py 11 from ctypes import wintypes, WINFUNCTYPE
13 import ctypes namespace
33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ctypes.py 9 import ctypes.test namespace
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
symlink_support.py 31 Ctypes symlink implementation since Python doesn't support
34 import ctypes.wintypes namespace
35 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW
37 ctypes.wintypes.LPWSTR,
38 ctypes.wintypes.LPWSTR,
39 ctypes.wintypes.DWORD,
41 CreateSymbolicLink.restype = ctypes.wintypes.BOOLEAN
62 result_buffer = ctypes.wintypes.LPWSTR()
65 bytes = ctypes.windll.kernel32.FormatMessageW(
70 ctypes.byref(result_buffer)
    [all...]
win_console_handler.py 11 from ctypes import wintypes, WINFUNCTYPE
13 import ctypes namespace
33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
win_platform_backend.py 6 import ctypes namespace
47 class PerformanceInfo(ctypes.Structure):
51 _fields_ = [('size', ctypes.c_ulong),
52 ('CommitTotal', ctypes.c_size_t),
53 ('CommitLimit', ctypes.c_size_t),
54 ('CommitPeak', ctypes.c_size_t),
55 ('PhysicalTotal', ctypes.c_size_t),
56 ('PhysicalAvailable', ctypes.c_size_t),
57 ('SystemCache', ctypes.c_size_t),
58 ('KernelTotal', ctypes.c_size_t)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
sharedctypes.py 2 # Module which supports allocation of ctypes objects from shared memory
36 import ctypes namespace
49 'c': ctypes.c_char, 'u': ctypes.c_wchar,
50 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,
51 'h': ctypes.c_short, 'H': ctypes.c_ushort,
52 'i': ctypes.c_int, 'I': ctypes.c_uint
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
sharedctypes.py 2 # Module which supports allocation of ctypes objects from shared memory
36 import ctypes namespace
49 'c': ctypes.c_char, 'u': ctypes.c_wchar,
50 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,
51 'h': ctypes.c_short, 'H': ctypes.c_ushort,
52 'i': ctypes.c_int, 'I': ctypes.c_uint
    [all...]
  /external/v8/tools/
grokdump.py 30 import ctypes namespace
76 self.size = ctypes.sizeof(self.ctype)
99 class Raw(ctypes.Structure):
113 ("signature", ctypes.c_uint32),
114 ("version", ctypes.c_uint32),
115 ("stream_count", ctypes.c_uint32),
116 ("stream_directories_rva", ctypes.c_uint32),
117 ("checksum", ctypes.c_uint32),
118 ("time_date_stampt", ctypes.c_uint32),
119 ("flags", ctypes.c_uint64
    [all...]
  /external/llvm/bindings/python/llvm/
disassembler.py 10 from ctypes import CFUNCTYPE
11 from ctypes import POINTER
12 from ctypes import addressof
13 from ctypes import byref
14 from ctypes import c_byte
15 from ctypes import c_char_p
16 from ctypes import c_int
17 from ctypes import c_size_t
18 from ctypes import c_ubyte
19 from ctypes import c_uint6
    [all...]
  /external/chromium_org/v8/tools/
grokdump.py 33 import ctypes namespace
78 self.size = ctypes.sizeof(self.ctype)
101 class Raw(ctypes.Structure):
136 byte = ctypes.c_uint8.from_buffer(reader.minidump, slot + i).value
176 ("signature", ctypes.c_uint32),
177 ("version", ctypes.c_uint32),
178 ("stream_count", ctypes.c_uint32),
179 ("stream_directories_rva", ctypes.c_uint32),
180 ("checksum", ctypes.c_uint32),
181 ("time_date_stampt", ctypes.c_uint32)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/
FixTk.py 15 import ctypes namespace
16 ctypes.windll.kernel32.GetFinalPathNameByHandleW
24 hdir = ctypes.windll.kernel32.\
33 buf = ctypes.create_unicode_buffer(u"", 32768)
34 res = ctypes.windll.kernel32.\
37 ctypes.windll.kernel32.CloseHandle(hdir)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/
FixTk.py 15 import ctypes namespace
16 ctypes.windll.kernel32.GetFinalPathNameByHandleW
24 hdir = ctypes.windll.kernel32.\
33 buf = ctypes.create_unicode_buffer(u"", 32768)
34 res = ctypes.windll.kernel32.\
37 ctypes.windll.kernel32.CloseHandle(hdir)

Completed in 475 milliseconds

1 2 3 4 5 6 7