Home
last modified time | relevance | path

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

12345

/external/scapy/scapy/modules/
Dwinpcapy.py260 pcap_open_live.argtypes = [STRING, c_int, c_int, c_int, STRING]
266 pcap_open_dead.argtypes = [c_int, c_int]
272 pcap_open_offline.argtypes = [STRING, STRING]
278 pcap_dump_open.argtypes = [POINTER(pcap_t), STRING]
284 pcap_setnonblock.argtypes = [POINTER(pcap_t), c_int, STRING]
290 pcap_getnonblock.argtypes = [POINTER(pcap_t), STRING]
296 pcap_findalldevs.argtypes = [POINTER(POINTER(pcap_if_t)), STRING]
302 pcap_freealldevs.argtypes = [POINTER(pcap_if_t)]
308 pcap_lookupdev.argtypes = [STRING]
314 pcap_lookupnet.argtypes = [STRING, POINTER(bpf_u_int32), POINTER(bpf_u_int32), STRING]
[all …]
/external/bcc/src/python/bcc/
Dlibbcc.py21 lib.bpf_module_create_b.argtypes = [ct.c_char_p, ct.c_char_p, ct.c_uint]
23 lib.bpf_module_create_c.argtypes = [ct.c_char_p, ct.c_uint,
26 lib.bpf_module_create_c_from_string.argtypes = [ct.c_char_p, ct.c_uint,
29 lib.bpf_module_destroy.argtypes = [ct.c_void_p]
31 lib.bpf_module_license.argtypes = [ct.c_void_p]
33 lib.bpf_module_kern_version.argtypes = [ct.c_void_p]
35 lib.bpf_num_functions.argtypes = [ct.c_void_p]
37 lib.bpf_function_name.argtypes = [ct.c_void_p, ct.c_ulonglong]
39 lib.bpf_function_start.argtypes = [ct.c_void_p, ct.c_char_p]
41 lib.bpf_function_size.argtypes = [ct.c_void_p, ct.c_char_p]
[all …]
/external/llvm-project/llvm/bindings/python/llvm/
Dobject.py430 library.LLVMCreateObjectFile.argtypes = [MemoryBuffer]
433 library.LLVMDisposeObjectFile.argtypes = [ObjectFile]
435 library.LLVMGetSections.argtypes = [ObjectFile]
438 library.LLVMDisposeSectionIterator.argtypes = [c_object_p]
440 library.LLVMIsSectionIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
443 library.LLVMMoveToNextSection.argtypes = [c_object_p]
445 library.LLVMMoveToContainingSection.argtypes = [c_object_p, c_object_p]
447 library.LLVMGetSymbols.argtypes = [ObjectFile]
450 library.LLVMDisposeSymbolIterator.argtypes = [c_object_p]
452 library.LLVMIsSymbolIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
[all …]
Dcore.py452 library.LLVMInitializeCore.argtypes = [PassRegistry]
455 library.LLVMInitializeTransformUtils.argtypes = [PassRegistry]
458 library.LLVMInitializeScalarOpts.argtypes = [PassRegistry]
461 library.LLVMInitializeObjCARCOpts.argtypes = [PassRegistry]
464 library.LLVMInitializeVectorization.argtypes = [PassRegistry]
467 library.LLVMInitializeInstCombine.argtypes = [PassRegistry]
470 library.LLVMInitializeAggressiveInstCombiner.argtypes = [PassRegistry]
473 library.LLVMInitializeIPO.argtypes = [PassRegistry]
476 library.LLVMInitializeInstrumentation.argtypes = [PassRegistry]
479 library.LLVMInitializeAnalysis.argtypes = [PassRegistry]
[all …]
/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 …]
/external/llvm-project/polly/utils/pyscop/
Disl.py74 self.get_isl_method("read_from_str").argtypes = [Context, c_char_p, c_int]
75 self.get_isl_method("copy").argtypes = [self.__class__]
77 self.get_isl_method("free").argtypes = [self.__class__]
78 self.get_isl_method("get_ctx").argtypes = [self.__class__]
80 getattr(isl, "isl_printer_print_" + self.isl_name()).argtypes = [Printer, self.__class__]
197 self.get_isl_method("copy").argtypes = [self.__class__]
199 self.get_isl_method("free").argtypes = [self.__class__]
200 self.get_isl_method("get_ctx").argtypes = [self.__class__]
434 if len(islFunction.argtypes) == 1:
436 elif len(islFunction.argtypes) == 2:
[all …]
/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/libiio/src/bindings/python/
Diio.py68 _get_backend.argtypes = (c_uint, )
73 _create_scan_context.argtypes = (c_char_p, c_uint)
78 _destroy_scan_context.argtypes = (_ScanContextPtr, )
81 _get_context_info_list.argtypes = (_ScanContextPtr, _POINTER(_POINTER(_ContextInfoPtr)))
86 _context_info_list_free.argtypes = (_POINTER(_ContextInfoPtr), )
89 _context_info_get_description.argtypes = (_ContextInfoPtr, )
93 _context_info_get_uri.argtypes = (_ContextInfoPtr, )
102 _new_xml.argtypes = (c_char_p, )
107 _new_network.argtypes = (c_char_p, )
119 _destroy.argtypes = (_ContextPtr, )
[all …]
/external/python/cpython3/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
80 func.argtypes = POINTER(c_int),
84 func.argtypes = c_char_p,
87 func.argtypes = POINTER(c_short),
90 func.argtypes = POINTER(c_double),
96 func.argtypes = POINTER(c_char),
111 func.argtypes = c_char_p,
126 func.argtypes = c_void_p,
146 func.argtypes = c_void_p,
158 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]
187 dll.ret_8i_func.argtypes = [S8I]
/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]
/external/llvm-project/polly/lib/External/isl/interface/
Disl.py38 isl.isl_ctx_free.argtypes = [Context]
375 isl.isl_union_pw_multi_aff_from_multi_aff.argtypes = [c_void_p]
377 isl.isl_union_pw_multi_aff_from_pw_multi_aff.argtypes = [c_void_p]
379 isl.isl_union_pw_multi_aff_from_union_pw_aff.argtypes = [c_void_p]
381 isl.isl_union_pw_multi_aff_read_from_str.argtypes = [Context, c_char_p]
383 isl.isl_union_pw_multi_aff_add.argtypes = [c_void_p, c_void_p]
385 isl.isl_union_pw_multi_aff_apply_union_pw_multi_aff.argtypes = [c_void_p, c_void_p]
387 isl.isl_union_pw_multi_aff_as_pw_multi_aff.argtypes = [c_void_p]
389 isl.isl_union_pw_multi_aff_coalesce.argtypes = [c_void_p]
391 isl.isl_union_pw_multi_aff_domain.argtypes = [c_void_p]
[all …]
/external/libffi/testsuite/libffi.bhaible/
Dtest-call.c79 #define FFI_PREP_CIF(cif,argtypes,rettype) \ argument
80 …if (ffi_prep_cif(&(cif),ABI_NUM,sizeof(argtypes)/sizeof(argtypes[0]),&rettype,argtypes) != FFI_OK)…
150 ffi_type* argtypes[] = { &ffi_type_sint }; in int_tests() local
152 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests()
169 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint }; in int_tests() local
171 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests()
188 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint }; in int_tests() local
190 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests()
207 …ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in int_tests() local
209 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests()
[all …]
Dtest-callback.c79 #define FFI_PREP_CIF(cif,argtypes,rettype) \ argument
80 …if (ffi_prep_cif(&(cif),ABI_NUM,sizeof(argtypes)/sizeof(argtypes[0]),&rettype,argtypes) != FFI_OK)…
1311 ffi_type* argtypes[] = { &ffi_type_sint }; in main() local
1313 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main()
1329 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint }; in main() local
1331 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main()
1347 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint }; in main() local
1349 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main()
1365 …ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in main() local
1367 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main()
[all …]
/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/python/cpython3/Lib/test/
Dtest_type_comments.py386 self.assertEqual(tree.argtypes, [])
390 self.assertEqual(len(tree.argtypes), 1)
391 arg = tree.argtypes[0]
397 self.assertEqual(tree.argtypes[0].id, "int")
398 self.assertEqual(tree.argtypes[1].id, "str")
399 self.assertEqual(tree.argtypes[2].id, "Any")
403 self.assertEqual(tree.argtypes[0].id, "int")
405 self.assertEqual(tree.argtypes[0].id, "int")
407 self.assertEqual(tree.argtypes[0].id, "int")
408 self.assertEqual(tree.argtypes[1].id, "str")
/external/python/cffi/demo/
Dreaddir_ctypes.py30 readdir_r.argtypes = [DIR_p, DIRENT_p, DIRENT_pp]
34 openat.argtypes = [ctypes.c_int, ctypes.c_char_p, ctypes.c_int]
38 fdopendir.argtypes = [ctypes.c_int]
42 closedir.argtypes = [DIR_p]

12345