/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 11 ptr = cast(array, POINTER(c_int)) 14 if 2*sizeof(c_short) == sizeof(c_int): 24 array = (c_int * 3)(42, 17, 2) 27 ptr = cast(c_void_p(address), POINTER(c_int)) 30 ptr = cast(address, POINTER(c_int)) 51 p = cast((c_int * 4)(1, 2, 3, 4), POINTER(c_int)) 56 c_int() 66 c_int() [all...] |
test_values.py | 14 an_integer = c_int.in_dll(ctdll, "an_integer") 22 self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol") 35 opt = c_int.in_dll(pydll, "Py_OptimizeFlag").value 55 ("size", c_int)] 79 self.assertRaises(ValueError, c_int.in_dll, pydll, "Undefined_Symbol")
|
test_callbacks.py | 50 self.check_type(c_int, 42) 51 self.check_type(c_int, -42) 190 @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int)) 194 array = (c_int * 5)(5, 1, 99, 7, 33) 196 libc.qsort(array, len(array), sizeof(c_int), cmp_func) 221 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int [all...] |
test_arrays.py | 6 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \ 71 numarray = ARRAY(c_int, alen) 77 na = numarray(*[c_int()] * alen) 85 na = numarray(*map(c_int, (1, 2, 3, 4, 5))) 90 self.assertTrue(not ARRAY(c_int, 3) is ARRAY(c_int, 4)) 91 self.assertTrue(ARRAY(c_int, 3) is ARRAY(c_int, 3)) 126 class my_int(c_int):
|
test_keeprefs.py | 6 x = c_int() 10 x = c_int(99) 24 _fields_ = [("a", c_int), 25 ("b", c_int)] 46 _fields_ = [("x", c_int), ("y", c_int)] 69 INTARR = c_int * 3 79 _fields_ = [("x", c_int), 92 i = c_int(42) 107 c_int(99 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 11 ptr = cast(array, POINTER(c_int)) 14 if 2*sizeof(c_short) == sizeof(c_int): 24 array = (c_int * 3)(42, 17, 2) 27 ptr = cast(c_void_p(address), POINTER(c_int)) 30 ptr = cast(address, POINTER(c_int)) 51 p = cast((c_int * 4)(1, 2, 3, 4), POINTER(c_int)) 56 c_int() 66 c_int() [all...] |
test_values.py | 14 an_integer = c_int.in_dll(ctdll, "an_integer") 22 self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol") 35 opt = c_int.in_dll(pydll, "Py_OptimizeFlag").value 55 ("size", c_int)] 79 self.assertRaises(ValueError, c_int.in_dll, pydll, "Undefined_Symbol")
|
test_callbacks.py | 50 self.check_type(c_int, 42) 51 self.check_type(c_int, -42) 190 @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int)) 194 array = (c_int * 5)(5, 1, 99, 7, 33) 196 libc.qsort(array, len(array), sizeof(c_int), cmp_func) 221 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int [all...] |
test_arrays.py | 6 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \ 71 numarray = ARRAY(c_int, alen) 77 na = numarray(*[c_int()] * alen) 85 na = numarray(*map(c_int, (1, 2, 3, 4, 5))) 90 self.assertTrue(not ARRAY(c_int, 3) is ARRAY(c_int, 4)) 91 self.assertTrue(ARRAY(c_int, 3) is ARRAY(c_int, 3)) 126 class my_int(c_int):
|
test_keeprefs.py | 6 x = c_int() 10 x = c_int(99) 24 _fields_ = [("a", c_int), 25 ("b", c_int)] 46 _fields_ = [("x", c_int), ("y", c_int)] 69 INTARR = c_int * 3 79 _fields_ = [("x", c_int), 92 i = c_int(42) 107 c_int(99 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 11 ptr = cast(array, POINTER(c_int)) 14 if 2*sizeof(c_short) == sizeof(c_int): 24 array = (c_int * 3)(42, 17, 2) 27 ptr = cast(c_void_p(address), POINTER(c_int)) 30 ptr = cast(address, POINTER(c_int)) 51 p = cast((c_int * 4)(1, 2, 3, 4), POINTER(c_int)) 56 c_int() 66 c_int() [all...] |
test_values.py | 14 an_integer = c_int.in_dll(ctdll, "an_integer") 22 self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol") 35 opt = c_int.in_dll(pydll, "Py_OptimizeFlag").value 55 ("size", c_int)] 79 self.assertRaises(ValueError, c_int.in_dll, pydll, "Undefined_Symbol")
|
test_callbacks.py | 50 self.check_type(c_int, 42) 51 self.check_type(c_int, -42) 190 @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int)) 194 array = (c_int * 5)(5, 1, 99, 7, 33) 196 libc.qsort(array, len(array), sizeof(c_int), cmp_func) 221 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int [all...] |
test_arrays.py | 6 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \ 71 numarray = ARRAY(c_int, alen) 77 na = numarray(*[c_int()] * alen) 85 na = numarray(*map(c_int, (1, 2, 3, 4, 5))) 90 self.assertTrue(not ARRAY(c_int, 3) is ARRAY(c_int, 4)) 91 self.assertTrue(ARRAY(c_int, 3) is ARRAY(c_int, 3)) 126 class my_int(c_int):
|
test_keeprefs.py | 6 x = c_int() 10 x = c_int(99) 24 _fields_ = [("a", c_int), 25 ("b", c_int)] 46 _fields_ = [("x", c_int), ("y", c_int)] 69 INTARR = c_int * 3 79 _fields_ = [("x", c_int), 92 i = c_int(42) 107 c_int(99 [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
test_values.py | 15 an_integer = c_int.in_dll(ctdll, "an_integer") 23 self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol") 36 opt = c_int.in_dll(pythonapi, "Py_OptimizeFlag").value 56 ("size", c_int)] 79 self.assertRaises(ValueError, c_int.in_dll, pythonapi,
|
test_arrays.py | 8 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \ 77 numarray = ARRAY(c_int, alen) 83 na = numarray(*[c_int()] * alen) 91 na = numarray(*map(c_int, (1, 2, 3, 4, 5))) 96 self.assertIsNot(ARRAY(c_int, 3), ARRAY(c_int, 4)) 97 self.assertIs(ARRAY(c_int, 3), ARRAY(c_int, 3)) 128 class my_int(c_int):
|
test_keeprefs.py | 6 x = c_int() 10 x = c_int(99) 24 _fields_ = [("a", c_int), 25 ("b", c_int)] 46 _fields_ = [("x", c_int), ("y", c_int)] 69 INTARR = c_int * 3 79 _fields_ = [("x", c_int), 92 i = c_int(42) 108 c_int(99 [all...] |
test_bitfields.py | 10 _fields_ = [("A", c_int, 1), 11 ("B", c_int, 2), 12 ("C", c_int, 3), 13 ("D", c_int, 4), 14 ("E", c_int, 5), 15 ("F", c_int, 6), 16 ("G", c_int, 7), 17 ("H", c_int, 8), 18 ("I", c_int, 9), 50 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_values.py | 14 an_integer = c_int.in_dll(ctdll, "an_integer") 22 self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol") 35 opt = c_int.in_dll(pydll, "Py_OptimizeFlag").value 55 ("size", c_int)] 79 self.assertRaises(ValueError, c_int.in_dll, pydll, "Undefined_Symbol")
|
test_callbacks.py | 50 self.check_type(c_int, 42) 51 self.check_type(c_int, -42) 190 @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int)) 194 array = (c_int * 5)(5, 1, 99, 7, 33) 196 libc.qsort(array, len(array), sizeof(c_int), cmp_func) 221 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int [all...] |
test_arrays.py | 6 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \ 71 numarray = ARRAY(c_int, alen) 77 na = numarray(*[c_int()] * alen) 85 na = numarray(*map(c_int, (1, 2, 3, 4, 5))) 90 self.assertTrue(not ARRAY(c_int, 3) is ARRAY(c_int, 4)) 91 self.assertTrue(ARRAY(c_int, 3) is ARRAY(c_int, 3)) 126 class my_int(c_int):
|
test_keeprefs.py | 6 x = c_int() 10 x = c_int(99) 24 _fields_ = [("a", c_int), 25 ("b", c_int)] 46 _fields_ = [("x", c_int), ("y", c_int)] 69 INTARR = c_int * 3 79 _fields_ = [("x", c_int), 92 i = c_int(42) 107 c_int(99 [all...] |
/external/autotest/client/cros/graphics/ |
drm.py | 59 ("version_major", c_int), 60 ("version_minor", c_int), 61 ("version_patchlevel", c_int), 62 ("name_len", c_int), 64 ("date_len", c_int), 66 ("desc_len", c_int), 91 ("count_fbs", c_int), 93 ("count_crtcs", c_int), 95 ("count_connectors", c_int), 97 ("count_encoders", c_int), [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/ |
genwincodec.py | 14 wintypes.LPCSTR, ctypes.c_int,
15 wintypes.LPWSTR, ctypes.c_int]
16 MultiByteToWideChar.restype = ctypes.c_int
|