Searched defs:c_void_p (Results 1 - 4 of 4) sorted by relevance

/external/llvm/bindings/python/llvm/
H A Dcommon.py11 from ctypes import c_void_p namespace
26 c_object_p = POINTER(c_void_p)
H A Ddisassembler.py19 from ctypes import c_void_p namespace
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,
/external/python/cpython2/Lib/ctypes/test/
H A Dtest_parameters.py25 from ctypes import c_void_p, c_char_p namespace
27 class CVOIDP(c_void_p):
145 from ctypes import CDLL, c_void_p, ArgumentError namespace
148 func.restype = c_void_p
167 self.assertEqual(func(c_void_p(42)), 42)
/external/python/cpython2/Lib/ctypes/
H A D__init__.py246 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 in inherits:_SimpleCData
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_
[all...]

Completed in 1580 milliseconds