HomeSort by relevance Sort by last modified time
    Searched refs:c_int (Results 101 - 125 of 235) sorted by null

1 2 3 45 6 7 8 910

  /external/python/cpython2/Lib/ctypes/test/
test_simplesubclasses.py 4 class MyInt(c_int):
40 cb = CFUNCTYPE(c_int, c_int)(func)
test_callbacks.py 52 self.check_type(c_int, 42)
53 self.check_type(c_int, -42)
192 @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int))
196 array = (c_int * 5)(5, 1, 99, 7, 33)
198 libc.qsort(array, len(array), sizeof(c_int), cmp_func)
219 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int
    [all...]
test_prototypes.py 75 ci = c_int(0)
77 func.argtypes = POINTER(c_int),
135 func(byref(c_int()))
136 func(pointer(c_int()))
137 func((c_int * 3)())
166 func.restype = c_int
206 func.restype = POINTER(c_int)
207 func.argtypes = c_int * 8,
209 func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))
214 CFUNCTYPE(None, c_int * 3)(func
    [all...]
test_byteswap.py 54 self.assertIs(c_int.__ctype_le__, c_int)
55 self.assertIs(c_int.__ctype_be__.__ctype_le__, c_int)
57 self.assertIs(c_int.__ctype_be__, c_int)
58 self.assertIs(c_int.__ctype_le__.__ctype_be__, c_int)
60 s = c_int.__ctype_be__(0x12345678)
65 s = c_int.__ctype_le__(0x12345678
    [all...]
test_pickling.py 8 _fields_ = [("a", c_int), ("b", c_double)]
26 c_int(42),
57 prototype = CFUNCTYPE(c_int)
63 pointer(c_int(42)),
  /external/python/cpython2/Tools/unicode/
genwincodec.py 14 wintypes.LPCSTR, ctypes.c_int,
15 wintypes.LPWSTR, ctypes.c_int]
16 MultiByteToWideChar.restype = ctypes.c_int
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_simplesubclasses.py 4 class MyInt(c_int):
40 cb = CFUNCTYPE(c_int, c_int)(func)
test_bitfields.py 9 _fields_ = [("A", c_int, 1),
10 ("B", c_int, 2),
11 ("C", c_int, 3),
12 ("D", c_int, 4),
13 ("E", c_int, 5),
14 ("F", c_int, 6),
15 ("G", c_int, 7),
16 ("H", c_int, 8),
17 ("I", c_int, 9),
49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong
    [all...]
test_prototypes.py 74 ci = c_int(0)
76 func.argtypes = POINTER(c_int),
134 func(byref(c_int()))
135 func(pointer(c_int()))
136 func((c_int * 3)())
168 func.restype = c_int
208 func.restype = POINTER(c_int)
209 func.argtypes = c_int * 8,
211 func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))
216 CFUNCTYPE(None, c_int * 3)(func
    [all...]
test_byteswap.py 53 self.assertTrue(c_int.__ctype_le__ is c_int)
54 self.assertTrue(c_int.__ctype_be__.__ctype_le__ is c_int)
56 self.assertTrue(c_int.__ctype_be__ is c_int)
57 self.assertTrue(c_int.__ctype_le__.__ctype_be__ is c_int)
59 s = c_int.__ctype_be__(0x12345678)
64 s = c_int.__ctype_le__(0x12345678
    [all...]
test_pickling.py 8 _fields_ = [("a", c_int), ("b", c_double)]
26 c_int(42),
57 prototype = CFUNCTYPE(c_int)
63 pointer(c_int(42)),
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_simplesubclasses.py 4 class MyInt(c_int):
40 cb = CFUNCTYPE(c_int, c_int)(func)
test_bitfields.py 9 _fields_ = [("A", c_int, 1),
10 ("B", c_int, 2),
11 ("C", c_int, 3),
12 ("D", c_int, 4),
13 ("E", c_int, 5),
14 ("F", c_int, 6),
15 ("G", c_int, 7),
16 ("H", c_int, 8),
17 ("I", c_int, 9),
49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong
    [all...]
test_prototypes.py 74 ci = c_int(0)
76 func.argtypes = POINTER(c_int),
134 func(byref(c_int()))
135 func(pointer(c_int()))
136 func((c_int * 3)())
168 func.restype = c_int
208 func.restype = POINTER(c_int)
209 func.argtypes = c_int * 8,
211 func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))
216 CFUNCTYPE(None, c_int * 3)(func
    [all...]
test_byteswap.py 53 self.assertTrue(c_int.__ctype_le__ is c_int)
54 self.assertTrue(c_int.__ctype_be__.__ctype_le__ is c_int)
56 self.assertTrue(c_int.__ctype_be__ is c_int)
57 self.assertTrue(c_int.__ctype_le__.__ctype_be__ is c_int)
59 s = c_int.__ctype_be__(0x12345678)
64 s = c_int.__ctype_le__(0x12345678
    [all...]
test_pickling.py 8 _fields_ = [("a", c_int), ("b", c_double)]
26 c_int(42),
57 prototype = CFUNCTYPE(c_int)
63 pointer(c_int(42)),
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_simplesubclasses.py 4 class MyInt(c_int):
40 cb = CFUNCTYPE(c_int, c_int)(func)
test_bitfields.py 9 _fields_ = [("A", c_int, 1),
10 ("B", c_int, 2),
11 ("C", c_int, 3),
12 ("D", c_int, 4),
13 ("E", c_int, 5),
14 ("F", c_int, 6),
15 ("G", c_int, 7),
16 ("H", c_int, 8),
17 ("I", c_int, 9),
49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong
    [all...]
test_prototypes.py 74 ci = c_int(0)
76 func.argtypes = POINTER(c_int),
134 func(byref(c_int()))
135 func(pointer(c_int()))
136 func((c_int * 3)())
168 func.restype = c_int
208 func.restype = POINTER(c_int)
209 func.argtypes = c_int * 8,
211 func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))
216 CFUNCTYPE(None, c_int * 3)(func
    [all...]
test_byteswap.py 53 self.assertTrue(c_int.__ctype_le__ is c_int)
54 self.assertTrue(c_int.__ctype_be__.__ctype_le__ is c_int)
56 self.assertTrue(c_int.__ctype_be__ is c_int)
57 self.assertTrue(c_int.__ctype_le__.__ctype_be__ is c_int)
59 s = c_int.__ctype_be__(0x12345678)
64 s = c_int.__ctype_le__(0x12345678
    [all...]
test_pickling.py 8 _fields_ = [("a", c_int), ("b", c_double)]
26 c_int(42),
57 prototype = CFUNCTYPE(c_int)
63 pointer(c_int(42)),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_simplesubclasses.py 4 class MyInt(c_int):
40 cb = CFUNCTYPE(c_int, c_int)(func)
test_bitfields.py 9 _fields_ = [("A", c_int, 1),
10 ("B", c_int, 2),
11 ("C", c_int, 3),
12 ("D", c_int, 4),
13 ("E", c_int, 5),
14 ("F", c_int, 6),
15 ("G", c_int, 7),
16 ("H", c_int, 8),
17 ("I", c_int, 9),
49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong
    [all...]
test_prototypes.py 74 ci = c_int(0)
76 func.argtypes = POINTER(c_int),
134 func(byref(c_int()))
135 func(pointer(c_int()))
136 func((c_int * 3)())
168 func.restype = c_int
208 func.restype = POINTER(c_int)
209 func.argtypes = c_int * 8,
211 func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))
216 CFUNCTYPE(None, c_int * 3)(func
    [all...]
  /external/llvm/bindings/python/llvm/
disassembler.py 15 from ctypes import c_int
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,
161 library.LLVMSetDisasmOptions.restype = c_int
164 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
165 c_int, c_void_p)

Completed in 399 milliseconds

1 2 3 45 6 7 8 910