/external/python/cpython2/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 241 ('i2d', CFUNCTYPE(c_int)), 242 ('d2i', CFUNCTYPE(STRING)), 243 ('create', CFUNCTYPE(STRING)), 244 ('destroy', CFUNCTYPE(None)), 272 bio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long) 278 ('bwrite', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)), 279 ('bread', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)), 280 ('bputs', CFUNCTYPE(c_int, POINTER(BIO), STRING)), 281 ('bgets', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)), 282 ('ctrl', CFUNCTYPE(c_long, POINTER(BIO), c_int, c_long, c_void_p)), [all …]
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_random_things.py | 49 cb = CFUNCTYPE(c_int, c_int)(callback_func) 55 cb = CFUNCTYPE(c_int, c_int)(callback_func) 61 cb = CFUNCTYPE(c_int, c_double)(callback_func) 67 cb = CFUNCTYPE(c_int, c_char_p)(callback_func)
|
D | test_returnfuncptrs.py | 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char) 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 39 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(("my_strchr", dll)) 57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
|
D | test_callbacks.py | 8 functype = CFUNCTYPE 151 CFUNCTYPE(None)(lambda x=Nasty(): None) 170 CALLBACK = CFUNCTYPE(c_double, c_double) 192 @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int)) 219 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int) 235 CALLBACK = CFUNCTYPE(c_double, c_double, c_double, c_double, 271 CALLBACK = CFUNCTYPE(None, X)
|
D | test_simplesubclasses.py | 21 proto = CFUNCTYPE(None) 35 cb = CFUNCTYPE(None, MyInt)(func) 40 cb = CFUNCTYPE(c_int, c_int)(func)
|
D | 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) 88 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)
|
D | test_as_parameter.py | 12 CALLBACK_FUNCTYPE = CFUNCTYPE 64 CallBack = CFUNCTYPE(c_int, c_int) 77 MyCallback = CFUNCTYPE(c_int, c_int) 112 MyCallback = CFUNCTYPE(c_int, c_int) 130 MyCallback = CFUNCTYPE(c_longlong, c_longlong)
|
D | test_funcptr.py | 8 WINFUNCTYPE = CFUNCTYPE 28 CdeclCallback = CFUNCTYPE(c_int, c_int, c_int) 42 if not WINFUNCTYPE is CFUNCTYPE and os.name != "ce":
|
D | test_functions.py | 16 WINFUNCTYPE = CFUNCTYPE 233 CallBack = CFUNCTYPE(c_int, c_int) 247 MyCallback = CFUNCTYPE(c_int, c_int) 278 MyCallback = CFUNCTYPE(c_int, c_int) 297 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 394 proto = CFUNCTYPE(c_int, RECT, POINT)
|
D | test_pointers.py | 65 PROTOTYPE = CFUNCTYPE(c_int, POINTER(c_int)) 188 self.assertEqual(bool(CFUNCTYPE(None)(0)), False) 189 self.assertEqual(bool(CFUNCTYPE(None)(42)), True)
|
D | test_pep3118.py | 180 (CFUNCTYPE(None), "X{}", None, CFUNCTYPE(None)),
|
D | test_libc.py | 17 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char))
|
D | test_prototypes.py | 55 prototype = CFUNCTYPE(c_void_p, c_void_p) 214 CFUNCTYPE(None, c_int * 3)(func)
|
D | test_pickling.py | 57 prototype = CFUNCTYPE(c_int)
|
/external/llvm/bindings/python/llvm/ |
D | disassembler.py | 10 from ctypes import CFUNCTYPE 164 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64, 166 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 75 def CFUNCTYPE(restype, *argtypes, **kw): function 135 WINFUNCTYPE.__doc__ = CFUNCTYPE.__doc__.replace("CFUNCTYPE", "WINFUNCTYPE") 276 CFUNCTYPE(c_int)(lambda: None) 485 memmove = CFUNCTYPE(c_void_p, c_void_p, c_void_p, c_size_t)(_memmove_addr) 488 memset = CFUNCTYPE(c_void_p, c_void_p, c_int, c_size_t)(_memset_addr)
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 108 EAS_METADATA_CBFUNC = CFUNCTYPE(c_int, c_int, c_char_p, c_ulong) 111 EAS_EXT_PRG_CHG_FUNC = CFUNCTYPE(c_int, c_void_p, c_void_p) 112 EAS_EXT_EVENT_FUNC = CFUNCTYPE(c_int, c_void_p, c_void_p) 115 EAS_DECODER_FUNC = CFUNCTYPE(c_void_p, c_void_p, c_int, c_int) 208 LOG_FUNC_TYPE = CFUNCTYPE(c_int, c_int, c_char_p)
|
/external/vulkan-validation-layers/ |
D | vk-layer-introspect.py | 30 VKAPI_FUNCTYPE = ctypes.CFUNCTYPE
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 2897 callbacks['translation_unit_includes'] = CFUNCTYPE(None, c_object_p, 2899 callbacks['cursor_visit'] = CFUNCTYPE(c_int, Cursor, Cursor, py_object) 2900 callbacks['fields_visit'] = CFUNCTYPE(c_int, Cursor, py_object)
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 944 The CFUNCTYPE factory function creates types for callback functions using the 972 >>> CMPFUNC = CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int)) 1085 Make sure you keep references to :func:`CFUNCTYPE` objects as long as they 1630 .. function:: CFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) 1647 :func:`WINFUNCTYPE` is the same as :func:`CFUNCTYPE`. The function will
|