HomeSort by relevance Sort by last modified time
    Searched full:c_void_p (Results 1 - 25 of 39) sorted by null

1 2

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_pointers.py 162 if sizeof(c_void_p) == 4:
163 self.assertEqual(c_void_p(0xFFFFFFFFL).value,
164 c_void_p(-1).value)
165 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value,
166 c_void_p(-1).value)
167 elif sizeof(c_void_p) == 8:
168 self.assertEqual(c_void_p(0xFFFFFFFFL).value,
170 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value,
171 c_void_p(-1).value)
172 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFFFFFFFFFL).value
    [all...]
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))
test_errcheck.py 5 ## _fields_ = [("value", c_void_p)]
test_win32.py 10 if sys.platform == "win32" and sizeof(c_void_p) == sizeof(c_int):
53 self.assertEqual(sizeof(wintypes.HWND), sizeof(c_void_p))
58 sizeof(c_void_p))
60 sizeof(c_void_p))
test_random_things.py 16 windll.kernel32.LoadLibraryA.restype = c_void_p
17 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
18 windll.kernel32.GetProcAddress.restype = c_void_p
test_libc.py 18 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
test_loading.py 71 f_ord_addr = c_void_p.from_address(a_ord).value
72 f_name_addr = c_void_p.from_address(a_name).value
98 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
99 windll.kernel32.GetProcAddress.restype = c_void_p
test_prototypes.py 52 # function returns c_void_p result,
54 prototype = CFUNCTYPE(c_void_p, c_void_p)
122 func.argtypes = c_void_p,
148 func.restype = c_void_p
153 func.argtypes = c_void_p,
test_parameters.py 24 from ctypes import c_void_p, c_char_p namespace
26 class CVOIDP(c_void_p):
152 from ctypes import CDLL, c_void_p, ArgumentError namespace
155 func.restype = c_void_p
174 self.assertEqual(func(c_void_p(42)), 42)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_pointers.py 162 if sizeof(c_void_p) == 4:
163 self.assertEqual(c_void_p(0xFFFFFFFFL).value,
164 c_void_p(-1).value)
165 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value,
166 c_void_p(-1).value)
167 elif sizeof(c_void_p) == 8:
168 self.assertEqual(c_void_p(0xFFFFFFFFL).value,
170 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value,
171 c_void_p(-1).value)
172 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFFFFFFFFFL).value
    [all...]
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))
test_errcheck.py 5 ## _fields_ = [("value", c_void_p)]
test_win32.py 10 if sys.platform == "win32" and sizeof(c_void_p) == sizeof(c_int):
53 self.assertEqual(sizeof(wintypes.HWND), sizeof(c_void_p))
58 sizeof(c_void_p))
60 sizeof(c_void_p))
test_random_things.py 16 windll.kernel32.LoadLibraryA.restype = c_void_p
17 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
18 windll.kernel32.GetProcAddress.restype = c_void_p
test_libc.py 18 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
test_loading.py 71 f_ord_addr = c_void_p.from_address(a_ord).value
72 f_name_addr = c_void_p.from_address(a_name).value
98 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
99 windll.kernel32.GetProcAddress.restype = c_void_p
test_prototypes.py 52 # function returns c_void_p result,
54 prototype = CFUNCTYPE(c_void_p, c_void_p)
122 func.argtypes = c_void_p,
148 func.restype = c_void_p
153 func.argtypes = c_void_p,
test_parameters.py 24 from ctypes import c_void_p, c_char_p namespace
26 class CVOIDP(c_void_p):
152 from ctypes import CDLL, c_void_p, ArgumentError namespace
155 func.restype = c_void_p
174 self.assertEqual(func(c_void_p(42)), 42)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 249 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value)
252 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value)
255 class c_void_p(_SimpleCData): class in inherits:_SimpleCData
257 c_voidp = c_void_p # backwards compatibility (to a bug)
258 _check_size(c_void_p)
274 _pointer_type_cache[None] = c_void_p
473 if sizeof(c_uint) == sizeof(c_void_p):
476 elif sizeof(c_ulong) == sizeof(c_void_p):
479 elif sizeof(c_ulonglong) == sizeof(c_void_p):
488 memmove = CFUNCTYPE(c_void_p, c_void_p, c_void_p, c_size_t)(_memmove_addr
    [all...]
wintypes.py 41 LPCVOID = LPVOID = c_void_p
45 if sizeof(c_long) == sizeof(c_void_p):
48 elif sizeof(c_longlong) == sizeof(c_void_p):
63 HANDLE = c_void_p # in the header files: void *
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 249 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value)
252 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value)
255 class c_void_p(_SimpleCData): class in inherits:_SimpleCData
257 c_voidp = c_void_p # backwards compatibility (to a bug)
258 _check_size(c_void_p)
274 _pointer_type_cache[None] = c_void_p
473 if sizeof(c_uint) == sizeof(c_void_p):
476 elif sizeof(c_ulong) == sizeof(c_void_p):
479 elif sizeof(c_ulonglong) == sizeof(c_void_p):
488 memmove = CFUNCTYPE(c_void_p, c_void_p, c_void_p, c_size_t)(_memmove_addr
    [all...]
wintypes.py 41 LPCVOID = LPVOID = c_void_p
45 if sizeof(c_long) == sizeof(c_void_p):
48 elif sizeof(c_longlong) == sizeof(c_void_p):
63 HANDLE = c_void_p # in the header files: void *
  /external/llvm/bindings/python/llvm/
disassembler.py 20 from ctypes import c_void_p namespace
51 ptr = lib.LLVMCreateDisasm(c_char_p(triple), c_void_p(None), c_int(0),
125 library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int,
139 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
140 c_int, c_void_p)
141 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/
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_p)
464 CRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)
465 CRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/
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_p)
464 CRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)
465 CRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)
    [all...]

Completed in 2391 milliseconds

1 2