Home
last modified time | relevance | path

Searched refs:argtypes (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm/bindings/python/llvm/
Dobject.py431 library.LLVMCreateObjectFile.argtypes = [MemoryBuffer]
434 library.LLVMDisposeObjectFile.argtypes = [ObjectFile]
436 library.LLVMGetSections.argtypes = [ObjectFile]
439 library.LLVMDisposeSectionIterator.argtypes = [c_object_p]
441 library.LLVMIsSectionIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
444 library.LLVMMoveToNextSection.argtypes = [c_object_p]
446 library.LLVMMoveToContainingSection.argtypes = [c_object_p, c_object_p]
448 library.LLVMGetSymbols.argtypes = [ObjectFile]
451 library.LLVMDisposeSymbolIterator.argtypes = [c_object_p]
453 library.LLVMIsSymbolIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
[all …]
Dcore.py441 library.LLVMInitializeCore.argtypes = [PassRegistry]
444 library.LLVMInitializeTransformUtils.argtypes = [PassRegistry]
447 library.LLVMInitializeScalarOpts.argtypes = [PassRegistry]
450 library.LLVMInitializeObjCARCOpts.argtypes = [PassRegistry]
453 library.LLVMInitializeVectorization.argtypes = [PassRegistry]
456 library.LLVMInitializeInstCombine.argtypes = [PassRegistry]
459 library.LLVMInitializeIPO.argtypes = [PassRegistry]
462 library.LLVMInitializeInstrumentation.argtypes = [PassRegistry]
465 library.LLVMInitializeAnalysis.argtypes = [PassRegistry]
468 library.LLVMInitializeCodeGen.argtypes = [PassRegistry]
[all …]
Ddisassembler.py150 library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int,
154 library.LLVMDisasmDispose.argtypes = [Disassembler]
156 library.LLVMDisasmInstruction.argtypes = [Disassembler, POINTER(c_ubyte),
160 library.LLVMSetDisasmOptions.argtypes = [Disassembler, c_uint64]
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dwin32.py41 CreateEventA.argtypes = [LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCSTR]
46 CreateFileA.argtypes = [LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE]
50 CreateEventW.argtypes = [LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCWSTR]
55 CreateFileW.argtypes = [LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE]
76 GetLastError.argtypes = []
83 GetOverlappedResult.argtypes = [HANDLE, LPOVERLAPPED, LPDWORD, BOOL]
87 ResetEvent.argtypes = [HANDLE]
93 WriteFile.argtypes = [HANDLE, LPCVOID, DWORD, LPDWORD, LPOVERLAPPED]
99 ReadFile.argtypes = [HANDLE, LPVOID, DWORD, LPDWORD, LPOVERLAPPED]
103 CloseHandle.argtypes = [HANDLE]
[all …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_cfuncs.py20 self._dll.tf_b.argtypes = (c_byte,)
26 self._dll.tf_bb.argtypes = (c_byte, c_byte)
32 self._dll.tf_B.argtypes = (c_ubyte,)
38 self._dll.tf_bB.argtypes = (c_byte, c_ubyte)
44 self._dll.tf_h.argtypes = (c_short,)
50 self._dll.tf_bh.argtypes = (c_byte, c_short)
56 self._dll.tf_H.argtypes = (c_ushort,)
62 self._dll.tf_bH.argtypes = (c_byte, c_ushort)
68 self._dll.tf_i.argtypes = (c_int,)
74 self._dll.tf_bi.argtypes = (c_byte, c_int)
[all …]
Dtest_prototypes.py50 func.argtypes = None
77 func.argtypes = POINTER(c_int),
81 func.argtypes = c_char_p,
84 func.argtypes = POINTER(c_short),
87 func.argtypes = POINTER(c_double),
93 func.argtypes = POINTER(c_char),
108 func.argtypes = c_char_p,
123 func.argtypes = c_void_p,
143 func.argtypes = c_void_p,
155 func.argtypes = c_void_p,
[all …]
Dtest_functions.py70 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)]
93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble]
157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
169 f.argtypes = None
[all …]
Dtest_as_parameter.py24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
32 f.argtypes = [POINTER(c_int)]
75 f.argtypes = None
89 f.argtypes = [c_int, MyCallback]
114 f.argtypes = [c_int, MyCallback]
132 f.argtypes = [c_longlong, MyCallback]
155 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
167 dll.ret_2h_func.argtypes = [S2H]
183 dll.ret_8i_func.argtypes = [S8I]
Dtest_errno.py21 libc_open.argtypes = c_char_p, c_int
38 libc_open.argtypes = c_char_p, c_int
53 GetModuleHandle.argtypes = [c_wchar_p]
66 GetModuleHandle.argtypes = [c_wchar_p]
Dtest_python_api.py24 PyString_FromStringAndSize.argtypes = c_char_p, c_py_ssize_t
30 pythonapi.PyString_FromString.argtypes = (c_char_p,)
51 pythonapi.PyInt_AsLong.argtypes = (py_object,)
72 PyOS_snprintf.argtypes = POINTER(c_char), c_size_t, c_char_p
Dtest_libc.py10 lib.my_sqrt.argtypes = c_double,
18 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
Dtest_unicode.py13 cls.wcslen.argtypes = [ctypes.c_wchar_p]
87 func.argtypes = [ctypes.c_char_p]
93 func.argtypes = None
Dtest_stringptr.py50 strchr.argtypes = c_char_p, c_char
56 strchr.argtypes = POINTER(c_char), c_char
Dtest_callbacks.py174 integrate.argtypes = (c_double, c_double, CALLBACK, c_long)
222 func.argtypes = (c_int, c_int, c_int, c_int, c_int, CALLBACK)
239 func.argtypes = (c_double, c_double, c_double,
274 func.argtypes = (X, CALLBACK)
Dtest_parameters.py156 func.argtypes = (Adapter(),)
164 func.argtypes = (Adapter(),)
173 func.argtypes = (Adapter(),)
Dtest_funcptr.py22 self.assertEqual(x.argtypes, (c_int, c_int))
99 strchr.argtypes = (c_char_p, c_char)
Dtest_win32.py100 PointInRect.argtypes = [POINTER(RECT), POINT]
104 ReturnRect.argtypes = [c_int, RECT, POINTER(RECT), POINT, RECT,
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_osx.py38 iokit.IOServiceGetMatchingServices.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
41 iokit.IORegistryEntryGetParentEntry.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
43 iokit.IORegistryEntryCreateCFProperty.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p…
46 iokit.IORegistryEntryGetPath.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
49 iokit.IORegistryEntryGetName.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
52 iokit.IOObjectGetClass.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
55 iokit.IOObjectRelease.argtypes = [ctypes.c_void_p]
58 cf.CFStringCreateWithCString.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int32]
61 cf.CFStringGetCStringPtr.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
64 cf.CFNumberGetValue.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_void_p]
Dlist_ports_windows.py78 SetupDiDestroyDeviceInfoList.argtypes = [HDEVINFO]
82 SetupDiClassGuidsFromName.argtypes = [PCTSTR, ctypes.POINTER(GUID), DWORD, PDWORD]
86 SetupDiEnumDeviceInfo.argtypes = [HDEVINFO, DWORD, PSP_DEVINFO_DATA]
90 SetupDiGetClassDevs.argtypes = [ctypes.POINTER(GUID), PCTSTR, HWND, DWORD]
95 SetupDiGetDeviceRegistryProperty.argtypes = [HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWOR…
99 SetupDiGetDeviceInstanceId.argtypes = [HDEVINFO, PSP_DEVINFO_DATA, PTSTR, DWORD, PDWORD]
103 SetupDiOpenDevRegKey.argtypes = [HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, REGSAM]
108 RegCloseKey.argtypes = [HKEY]
112 RegQueryValueEx.argtypes = [HKEY, LPCSTR, LPDWORD, LPDWORD, LPBYTE, LPDWORD]
/external/apache-http/src/org/apache/commons/logging/
DLogSource.java174 Class[] argtypes = new Class[1]; in setLogImplementation() local
175 argtypes[0] = "".getClass(); in setLogImplementation()
176 logImplctor = logclass.getConstructor(argtypes); in setLogImplementation()
192 Class[] argtypes = new Class[1]; in setLogImplementation() local
193 argtypes[0] = "".getClass(); in setLogImplementation()
194 logImplctor = logclass.getConstructor(argtypes); in setLogImplementation()
/external/autotest/client/cros/graphics/
Ddrm.py403 l.drmGetVersion.argtypes = [c_int]
406 l.drmFreeVersion.argtypes = [POINTER(DrmVersion)]
409 l.drmModeGetResources.argtypes = [c_int]
412 l.drmModeFreeResources.argtypes = [POINTER(DrmModeResources)]
415 l.drmModeGetCrtc.argtypes = [c_int, c_uint]
418 l.drmModeFreeCrtc.argtypes = [POINTER(DrmModeCrtc)]
421 l.drmModeGetEncoder.argtypes = [c_int, c_uint]
424 l.drmModeFreeEncoder.argtypes = [POINTER(DrmModeEncoder)]
427 l.drmModeGetConnector.argtypes = [c_int, c_uint]
430 l.drmModeFreeConnector.argtypes = [POINTER(DrmModeConnector)]
[all …]
Dgbm.py73 l.gbm_create_device.argtypes = [c_int]
76 l.gbm_device_destroy.argtypes = [POINTER(gbm_device)]
79 l.gbm_bo_import.argtypes = [POINTER(gbm_device), c_uint, c_void_p, c_uint]
82 l.gbm_bo_map.argtypes = [
89 l.gbm_bo_unmap.argtypes = [POINTER(gbm_bo), c_void_p]
/external/python/cpython2/Lib/ctypes/
D__init__.py75 def CFUNCTYPE(restype, *argtypes, **kw): argument
99 return _c_functype_cache[(restype, argtypes, flags)]
102 _argtypes_ = argtypes
105 _c_functype_cache[(restype, argtypes, flags)] = CFunctionType
116 def WINFUNCTYPE(restype, *argtypes, **kw): argument
126 return _win_functype_cache[(restype, argtypes, flags)]
129 _argtypes_ = argtypes
132 _win_functype_cache[(restype, argtypes, flags)] = WinFunctionType
490 def PYFUNCTYPE(restype, *argtypes): argument
492 _argtypes_ = argtypes
/external/autotest/client/site_tests/kernel_CryptoAPI/
Dkernel_CryptoAPI.py98 libc.socket.argtypes = [ ctypes.c_int, ctypes.c_int, ctypes.c_int ]
99 libc.bind.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_int ]
100 libc.send.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,
102 libc.recv.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c1093 PyObject *argtypes, /* misleading name: This is a tuple of in _ctypes_callproc() argument
1120 argtype_count = argtypes ? PyTuple_GET_SIZE(argtypes) : 0; in _ctypes_callproc()
1141 if (argtypes && argtype_count > i) { in _ctypes_callproc()
1143 converter = PyTuple_GET_ITEM(argtypes, i); in _ctypes_callproc()
1343 PyObject *argtypes = NULL; in call_commethod() local
1349 &PyTuple_Type, &argtypes)) in call_commethod()
1352 if (argtypes && (PyTuple_GET_SIZE(arguments) != PyTuple_GET_SIZE(argtypes))) { in call_commethod()
1355 PyTuple_GET_SIZE(argtypes), PyTuple_GET_SIZE(arguments)); in call_commethod()
1382 argtypes, /* self->argtypes */ in call_commethod()

12