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

12 3 4 5 6 7 8 910

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_frombuffer.py 7 _fields_ = [("c_int", c_int)]
15 x = (c_int * 16).from_buffer(a)
18 self.assertEqual(y.c_int, a[0])
29 c_int.from_buffer, a, -1)
40 x = (c_int * 15).from_buffer(a, sizeof(c_int))
43 self.assertRaises(ValueError, lambda: (c_int * 16).from_buffer(a, sizeof(c_int)))
44 self.assertRaises(ValueError, lambda: (c_int * 1).from_buffer(a, 16 * sizeof(c_int))
    [all...]
test_as_parameter.py 15 _fields_ = [("x", c_int), ("y", c_int)]
27 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
34 f.restype = POINTER(c_int)
35 f.argtypes = [POINTER(c_int)]
37 # This only works if the value c_int(42) passed to the
41 v = c_int(42)
45 self.assertEqual(type(result), POINTER(c_int))
52 p = pointer(c_int(99))
67 CallBack = CFUNCTYPE(c_int, c_int
    [all...]
test_refcounts.py 5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
17 f.restype = ctypes.c_int
18 f.argtypes = [ctypes.c_int, MyCallback]
88 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)
93 a = sys.getrefcount(ctypes.c_int)
    [all...]
test_delattr.py 5 _fields_ = [("foo", c_int)]
10 delattr, c_int(42), "value")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_frombuffer.py 7 _fields_ = [("c_int", c_int)]
15 x = (c_int * 16).from_buffer(a)
18 self.assertEqual(y.c_int, a[0])
29 c_int.from_buffer, a, -1)
40 x = (c_int * 15).from_buffer(a, sizeof(c_int))
43 self.assertRaises(ValueError, lambda: (c_int * 16).from_buffer(a, sizeof(c_int)))
44 self.assertRaises(ValueError, lambda: (c_int * 1).from_buffer(a, 16 * sizeof(c_int))
    [all...]
test_as_parameter.py 15 _fields_ = [("x", c_int), ("y", c_int)]
27 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
34 f.restype = POINTER(c_int)
35 f.argtypes = [POINTER(c_int)]
37 # This only works if the value c_int(42) passed to the
41 v = c_int(42)
45 self.assertEqual(type(result), POINTER(c_int))
52 p = pointer(c_int(99))
67 CallBack = CFUNCTYPE(c_int, c_int
    [all...]
test_refcounts.py 5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
17 f.restype = ctypes.c_int
18 f.argtypes = [ctypes.c_int, MyCallback]
88 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)
93 a = sys.getrefcount(ctypes.c_int)
    [all...]
test_delattr.py 5 _fields_ = [("foo", c_int)]
10 delattr, c_int(42), "value")
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/
infinite_recursion.py 19 __darwin_nl_item = c_int
20 __darwin_wctrans_t = c_int
26 __int32_t = c_int
32 __darwin_ct_rune_t = c_int
43 __darwin_ptrdiff_t = c_int
46 __darwin_wchar_t = c_int
48 __darwin_wint_t = c_int
53 sig_atomic_t = c_int
57 ('sc_onstack', c_int),
58 ('sc_mask', c_int),
    [all...]
  /external/python/cpython2/Lib/lib2to3/tests/data/
infinite_recursion.py 19 __darwin_nl_item = c_int
20 __darwin_wctrans_t = c_int
26 __int32_t = c_int
32 __darwin_ct_rune_t = c_int
43 __darwin_ptrdiff_t = c_int
46 __darwin_wchar_t = c_int
48 __darwin_wint_t = c_int
53 sig_atomic_t = c_int
57 ('sc_onstack', c_int),
58 ('sc_mask', c_int),
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/
infinite_recursion.py 19 __darwin_nl_item = c_int
20 __darwin_wctrans_t = c_int
26 __int32_t = c_int
32 __darwin_ct_rune_t = c_int
43 __darwin_ptrdiff_t = c_int
46 __darwin_wchar_t = c_int
48 __darwin_wint_t = c_int
53 sig_atomic_t = c_int
57 ('sc_onstack', c_int),
58 ('sc_mask', c_int),
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/
infinite_recursion.py 19 __darwin_nl_item = c_int
20 __darwin_wctrans_t = c_int
26 __int32_t = c_int
32 __darwin_ct_rune_t = c_int
43 __darwin_ptrdiff_t = c_int
46 __darwin_wchar_t = c_int
48 __darwin_wint_t = c_int
53 sig_atomic_t = c_int
57 ('sc_onstack', c_int),
58 ('sc_mask', c_int),
    [all...]
  /external/python/cpython2/Lib/ctypes/test/
test_as_parameter.py 15 _fields_ = [("x", c_int), ("y", c_int)]
24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
31 f.restype = POINTER(c_int)
32 f.argtypes = [POINTER(c_int)]
34 # This only works if the value c_int(42) passed to the
38 v = c_int(42)
42 self.assertEqual(type(result), POINTER(c_int))
49 p = pointer(c_int(99))
64 CallBack = CFUNCTYPE(c_int, c_int
    [all...]
test_refcounts.py 5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
17 f.restype = ctypes.c_int
18 f.argtypes = [ctypes.c_int, MyCallback]
88 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)
93 a = sys.getrefcount(ctypes.c_int)
    [all...]
test_delattr.py 5 _fields_ = [("foo", c_int)]
10 delattr, c_int(42), "value")
test_pointers.py 6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
27 i = c_int(12345678)
28 ## func.argtypes = (POINTER(c_int),)
30 self.assertEqual(c_int.from_address(address).value, 12345678)
32 func.restype = POINTER(c_int)
41 i = c_int(87654)
42 func.restype = POINTER(c_int)
43 func.argtypes = (POINTER(c_int),)
56 x = c_int(12321)
65 PROTOTYPE = CFUNCTYPE(c_int, POINTER(c_int)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_as_parameter.py 15 _fields_ = [("x", c_int), ("y", c_int)]
27 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
34 f.restype = POINTER(c_int)
35 f.argtypes = [POINTER(c_int)]
37 # This only works if the value c_int(42) passed to the
41 v = c_int(42)
45 self.assertEqual(type(result), POINTER(c_int))
52 p = pointer(c_int(99))
67 CallBack = CFUNCTYPE(c_int, c_int
    [all...]
test_refcounts.py 5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
17 f.restype = ctypes.c_int
18 f.argtypes = [ctypes.c_int, MyCallback]
88 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)
93 a = sys.getrefcount(ctypes.c_int)
    [all...]
test_delattr.py 5 _fields_ = [("foo", c_int)]
10 delattr, c_int(42), "value")
test_pointers.py 6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
27 i = c_int(12345678)
28 ## func.argtypes = (POINTER(c_int),)
30 self.assertEqual(c_int.from_address(address).value, 12345678)
32 func.restype = POINTER(c_int)
41 i = c_int(87654)
42 func.restype = POINTER(c_int)
43 func.argtypes = (POINTER(c_int),)
56 res.contents = c_int(12321)
61 PROTOTYPE = CFUNCTYPE(c_int, POINTER(c_int)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_as_parameter.py 15 _fields_ = [("x", c_int), ("y", c_int)]
27 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
34 f.restype = POINTER(c_int)
35 f.argtypes = [POINTER(c_int)]
37 # This only works if the value c_int(42) passed to the
41 v = c_int(42)
45 self.assertEqual(type(result), POINTER(c_int))
52 p = pointer(c_int(99))
67 CallBack = CFUNCTYPE(c_int, c_int
    [all...]
test_refcounts.py 5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
6 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
17 f.restype = ctypes.c_int
18 f.argtypes = [ctypes.c_int, MyCallback]
88 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)
93 a = sys.getrefcount(ctypes.c_int)
    [all...]
test_delattr.py 5 _fields_ = [("foo", c_int)]
10 delattr, c_int(42), "value")
  /prebuilts/go/darwin-x86/misc/cgo/fortran/
answer.f90 6 use iso_c_binding, only: c_int
7 integer(c_int) :: j ! output
  /prebuilts/go/linux-x86/misc/cgo/fortran/
answer.f90 6 use iso_c_binding, only: c_int
7 integer(c_int) :: j ! output

Completed in 869 milliseconds

12 3 4 5 6 7 8 910