/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_osx.py | 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] 39 iokit.IOServiceGetMatchingServices.restype = ctypes.c_void_p 41 iokit.IORegistryEntryGetParentEntry.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p] 43 iokit.IORegistryEntryCreateCFProperty.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p… 44 iokit.IORegistryEntryCreateCFProperty.restype = ctypes.c_void_p 46 iokit.IORegistryEntryGetPath.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p] 47 iokit.IORegistryEntryGetPath.restype = ctypes.c_void_p [all …]
|
D | list_ports_windows.py | 23 HDEVINFO = ctypes.c_void_p 25 PTSTR = ctypes.c_void_p 29 LPBYTE = PBYTE = ctypes.c_void_p # XXX avoids error about types 74 PSP_DEVICE_INTERFACE_DETAIL_DATA = ctypes.c_void_p
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_pointers.py | 167 if sizeof(c_void_p) == 4: 168 self.assertEqual(c_void_p(0xFFFFFFFFL).value, 169 c_void_p(-1).value) 170 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value, 171 c_void_p(-1).value) 172 elif sizeof(c_void_p) == 8: 173 self.assertEqual(c_void_p(0xFFFFFFFFL).value, 175 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value, 176 c_void_p(-1).value) 177 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFFFFFFFFFL).value, [all …]
|
D | test_prototypes.py | 55 prototype = CFUNCTYPE(c_void_p, c_void_p) 123 func.argtypes = c_void_p, 143 func.argtypes = c_void_p, 150 func.restype = c_void_p 155 func.argtypes = c_void_p,
|
D | test_loading.py | 77 f_ord_addr = c_void_p.from_address(a_ord).value 78 f_name_addr = c_void_p.from_address(a_name).value 105 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 106 windll.kernel32.GetProcAddress.restype = c_void_p
|
D | test_win32.py | 12 @unittest.skipUnless(sizeof(c_void_p) == sizeof(c_int), 59 self.assertEqual(sizeof(wintypes.HWND), sizeof(c_void_p)) 64 sizeof(c_void_p)) 66 sizeof(c_void_p))
|
D | test_random_things.py | 15 windll.kernel32.LoadLibraryA.restype = c_void_p 16 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 17 windll.kernel32.GetProcAddress.restype = c_void_p
|
D | test_parameters.py | 25 from ctypes import c_void_p, c_char_p 27 class CVOIDP(c_void_p): 145 from ctypes import CDLL, c_void_p, ArgumentError 148 func.restype = c_void_p 167 self.assertEqual(func(c_void_p(42)), 42)
|
D | test_sizes.py | 27 self.assertEqual(sizeof(c_void_p), sizeof(c_size_t)) 30 self.assertEqual(sizeof(c_void_p), sizeof(c_ssize_t))
|
D | test_cast.py | 28 ptr = cast(c_void_p(address), POINTER(c_int)) 76 self.assertEqual(cast(cast(s, c_void_p), c_char_p).value, 82 self.assertEqual(cast(cast(s, c_void_p), c_wchar_p).value,
|
D | test_libc.py | 18 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
|
D | test_returnfuncptrs.py | 25 get_strchr.restype = c_void_p
|
D | test_pickling.py | 62 c_void_p(),
|
D | test_byteswap.py | 182 for typ in c_wchar, c_void_p, POINTER(c_int):
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 246 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value) 249 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value) 252 class c_void_p(_SimpleCData): class 254 c_voidp = c_void_p # backwards compatibility (to a bug) 255 _check_size(c_void_p) 271 _pointer_type_cache[None] = c_void_p 470 if sizeof(c_uint) == sizeof(c_void_p): 473 elif sizeof(c_ulong) == sizeof(c_void_p): 476 elif sizeof(c_ulonglong) == sizeof(c_void_p): 485 memmove = CFUNCTYPE(c_void_p, c_void_p, c_void_p, c_size_t)(_memmove_addr) [all …]
|
D | wintypes.py | 37 LPCVOID = LPVOID = c_void_p 41 if sizeof(c_long) == sizeof(c_void_p): 44 elif sizeof(c_longlong) == sizeof(c_void_p): 59 HANDLE = c_void_p # in the header files: void *
|
/external/llvm/bindings/python/llvm/ |
D | disassembler.py | 19 from ctypes import c_void_p 76 ptr = lib.LLVMCreateDisasm(c_char_p(triple), c_void_p(None), c_int(0), 150 library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int, 164 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64, 165 c_int, c_void_p) 166 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
|
D | common.py | 11 from ctypes import c_void_p 26 c_object_p = POINTER(c_void_p)
|
/external/python/cpython2/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 282 ('ctrl', CFUNCTYPE(c_long, POINTER(BIO), c_int, c_long, c_void_p)), 311 ('ptr', c_void_p), 463 CRYPTO_EX_new = CFUNCTYPE(c_int, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void… 464 CRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void… 465 …UNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p) 470 ('argp', c_void_p), 483 CRYPTO_MEM_LEAK_CB = CFUNCTYPE(c_void_p, c_ulong, STRING, c_int, c_int, c_void_p) 646 ('update', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), c_void_p, c_ulong)), 663 ('md_data', c_void_p), 684 ('ctrl', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), c_int, c_int, c_void_p)), [all …]
|
/external/autotest/client/cros/graphics/ |
D | gbm.py | 79 l.gbm_bo_import.argtypes = [POINTER(gbm_device), c_uint, c_void_p, c_uint] 85 POINTER(c_void_p), c_size_t 87 l.gbm_bo_map.restype = c_void_p 89 l.gbm_bo_unmap.argtypes = [POINTER(gbm_bo), c_void_p] 135 self._map_p = c_void_p(0)
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 111 EAS_EXT_PRG_CHG_FUNC = CFUNCTYPE(c_int, c_void_p, c_void_p) 112 EAS_EXT_EVENT_FUNC = CFUNCTYPE(c_int, c_void_p, c_void_p) 115 EAS_DECODER_FUNC = CFUNCTYPE(c_void_p, c_void_p, c_int, c_int) 483 wave_fmt_chunk = c_void_p(0) 576 self.handle = c_void_p(0) 651 stream_handle = c_void_p(0) 674 stream_handle = c_void_p(0) 700 stream_handle = c_void_p(0) 990 stream_handle = c_void_p(0) 1058 config_handle = c_void_p(0) [all …]
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | win32.py | 16 return sizeof(c_ulong) != sizeof(c_void_p) 89 LPCVOID = c_void_p 95 LPVOID = c_void_p 228 PVOID = c_void_p
|
/external/autotest/client/site_tests/kernel_CryptoAPI/ |
D | kernel_CryptoAPI.py | 99 libc.bind.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_int ] 100 libc.send.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t, 102 libc.recv.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 74 c_object_p = POINTER(c_void_p) 164 _fields_ = [("ptr_data", c_void_p * 2), ("int_data", c_uint)] 237 ("ptr_data", c_void_p * 2), 1167 _fields_ = [("_kind_id", c_int), ("xdata", c_int), ("data", c_void_p * 3)] 1777 _fields_ = [("_kind_id", c_int), ("data", c_void_p * 2)] 2859 ('ptr_data', c_void_p) 2956 [TranslationUnit, c_char_p, c_int, c_int, c_void_p, c_int, c_int], 3089 [c_void_p], 3093 [c_void_p], 3097 [c_void_p, c_int], [all …]
|
/external/vulkan-validation-layers/ |
D | vk-layer-introspect.py | 34 VkInstance = ctypes.c_void_p 35 VkPhysicalDevice = ctypes.c_void_p 36 VkDevice = ctypes.c_void_p
|