HomeSort by relevance Sort by last modified time
    Searched refs:c_int (Results 1 - 25 of 157) sorted by null

1 2 3 4 5 6 7

  /external/tensorflow/tensorflow/tools/test/
gpu_info_lib.py 53 ("regsPerBlock", ct.c_int),
54 ("warpSize", ct.c_int),
56 ("maxThreadsPerBlock", ct.c_int),
57 ("maxThreadsDim", ct.c_int * 3),
58 ("maxGridSize", ct.c_int * 3),
59 ("clockRate", ct.c_int),
61 ("major", ct.c_int),
62 ("minor", ct.c_int),
65 ("deviceOverlap", ct.c_int),
66 ("multiProcessorCount", ct.c_int),
    [all...]
  /external/python/cpython2/Lib/ctypes/test/
test_anon.py 9 _fields_ = [("a", c_int),
10 ("b", c_int)]
13 _fields_ = [("x", c_int),
15 ("y", c_int)]
18 self.assertEqual(Y.a.offset, sizeof(c_int))
19 self.assertEqual(Y.b.offset, sizeof(c_int))
53 _fields_ = [("a", c_int)]
57 ("b", c_int)]
61 _fields_ = [("x", c_int),
63 ("y", c_int)]
    [all...]
test_funcptr.py 15 X = WINFUNCTYPE(c_int, c_int, c_int)
21 self.assertEqual(x.restype, c_int)
22 self.assertEqual(x.argtypes, (c_int, c_int))
27 StdCallback = WINFUNCTYPE(c_int, c_int, c_int)
28 CdeclCallback = CFUNCTYPE(c_int, c_int, c_int
    [all...]
test_functions.py 24 _fields_ = [("x", c_int), ("y", c_int)]
26 _fields_ = [("left", c_int), ("top", c_int),
27 ("right", c_int), ("bottom", c_int)]
70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
86 f.argtypes = [c_int, c_int, POINTER(c_int)
    [all...]
test_varsize_struct.py 7 _fields_ = [("item", c_int),
8 ("array", c_int * 1)]
10 self.assertEqual(sizeof(X), sizeof(c_int) * 2)
14 self.assertEqual(sizeof(x), sizeof(c_int) * 2)
17 new_size = sizeof(X) + sizeof(c_int) * 1
23 new_size = sizeof(X) + sizeof(c_int) * 9
29 new_size = sizeof(X) + sizeof(c_int) * 1
36 self.assertRaises(ValueError, lambda: c_int * -1)
37 self.assertRaises(ValueError, lambda: c_int * -3)
40 array = (c_int * 0)(
    [all...]
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)]
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...]
  /external/python/cpython3/Lib/ctypes/test/
test_anon.py 9 _fields_ = [("a", c_int),
10 ("b", c_int)]
13 _fields_ = [("x", c_int),
15 ("y", c_int)]
18 self.assertEqual(Y.a.offset, sizeof(c_int))
19 self.assertEqual(Y.b.offset, sizeof(c_int))
53 _fields_ = [("a", c_int)]
57 ("b", c_int)]
61 _fields_ = [("x", c_int),
63 ("y", c_int)]
    [all...]
test_funcptr.py 15 X = WINFUNCTYPE(c_int, c_int, c_int)
21 self.assertEqual(x.restype, c_int)
22 self.assertEqual(x.argtypes, (c_int, c_int))
27 StdCallback = WINFUNCTYPE(c_int, c_int, c_int)
28 CdeclCallback = CFUNCTYPE(c_int, c_int, c_int
    [all...]
test_functions.py 24 _fields_ = [("x", c_int), ("y", c_int)]
26 _fields_ = [("left", c_int), ("top", c_int),
27 ("right", c_int), ("bottom", c_int)]
70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
86 f.argtypes = [c_int, c_int, POINTER(c_int)
    [all...]
test_varsize_struct.py 7 _fields_ = [("item", c_int),
8 ("array", c_int * 1)]
10 self.assertEqual(sizeof(X), sizeof(c_int) * 2)
14 self.assertEqual(sizeof(x), sizeof(c_int) * 2)
17 new_size = sizeof(X) + sizeof(c_int) * 1
23 new_size = sizeof(X) + sizeof(c_int) * 9
29 new_size = sizeof(X) + sizeof(c_int) * 1
36 self.assertRaises(ValueError, lambda: c_int * -1)
37 self.assertRaises(ValueError, lambda: c_int * -3)
40 array = (c_int * 0)(
    [all...]
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...]
  /external/bcc/tests/python/
test_call1.py 5 from ctypes import c_ushort, c_int, c_ulonglong
33 self.jump = b.get_table("jump", c_int, c_int)
34 self.jump[c_int(S_ARP)] = c_int(arp_fn.fd)
35 self.jump[c_int(S_IP)] = c_int(ip_fn.fd)
36 self.jump[c_int(S_EOP)] = c_int(eop_fn.fd)
37 self.stats = b.get_table("stats", c_int, c_ulonglong
    [all...]
test_shared_table.py 15 t2[ct.c_int(1)] = ct.c_int(10)
19 self.assertEqual(t1[ct.c_int(1)].value, 10)
  /external/bcc/src/python/bcc/
libbcc.py 24 ct.POINTER(ct.c_char_p), ct.c_int]
27 ct.POINTER(ct.c_char_p), ct.c_int]
44 lib.bpf_table_fd.restype = ct.c_int
46 lib.bpf_table_type_id.restype = ct.c_int
50 lib.bpf_table_flags_id.restype = ct.c_int
56 lib.bpf_table_key_snprintf.restype = ct.c_int
59 lib.bpf_table_leaf_snprintf.restype = ct.c_int
62 lib.bpf_table_key_sscanf.restype = ct.c_int
65 lib.bpf_table_leaf_sscanf.restype = ct.c_int
70 lib.bpf_get_next_key.restype = ct.c_int
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/
test_ctypes.py 5 from ctypes import Structure, c_int, POINTER
10 _fields_ = [("x", c_int)]
  /external/bcc/tools/
pidpersec.py 17 from ctypes import c_int
41 S_COUNT = c_int(1)
  /external/python/cpython2/Lib/test/leakers/
test_ctypes.py 4 from ctypes import Structure, c_int, POINTER
9 _fields_ = [("x", c_int)]
  /external/python/cpython3/Lib/test/leakers/
test_ctypes.py 4 from ctypes import Structure, c_int, POINTER
9 _fields_ = [("x", c_int)]
  /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...]
  /external/python/cpython3/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/capstone/bindings/python/capstone/
arm.py 12 ('scale', ctypes.c_int),
13 ('disp', ctypes.c_int),
28 ('setend', ctypes.c_int),
33 ('vector_index', ctypes.c_int),
64 ('vector_size', ctypes.c_int),
65 ('vector_data', ctypes.c_int),
66 ('cps_mode', ctypes.c_int),
67 ('cps_flag', ctypes.c_int),
71 ('mem_barrier', ctypes.c_int),
  /external/scapy/scapy/modules/
winpcapy.py 34 SOCKET = c_int
45 bpf_int32 = c_int
46 u_int = c_int
244 #pcap_direction_t = c_int # enum
260 pcap_open_live.argtypes = [STRING, c_int, c_int, c_int, STRING]
266 pcap_open_dead.argtypes = [c_int, c_int]
283 pcap_setnonblock.restype = c_int
    [all...]

Completed in 102 milliseconds

1 2 3 4 5 6 7