Home
last modified time | relevance | path

Searched refs:restype (Results 1 – 25 of 110) sorted by relevance

12345

/external/bcc/src/python/bcc/
Dlibbcc.py20 lib.bpf_module_create_b.restype = ct.c_void_p
22 lib.bpf_module_create_c.restype = ct.c_void_p
25 lib.bpf_module_create_c_from_string.restype = ct.c_void_p
28 lib.bpf_module_destroy.restype = None
30 lib.bpf_module_license.restype = ct.c_char_p
32 lib.bpf_module_kern_version.restype = ct.c_uint
34 lib.bpf_num_functions.restype = ct.c_ulonglong
36 lib.bpf_function_name.restype = ct.c_char_p
38 lib.bpf_function_start.restype = ct.c_void_p
40 lib.bpf_function_size.restype = ct.c_size_t
[all …]
/external/scapy/scapy/modules/
Dwinpcapy.py259 pcap_open_live.restype = POINTER(pcap_t)
265 pcap_open_dead.restype = POINTER(pcap_t)
271 pcap_open_offline.restype = POINTER(pcap_t)
277 pcap_dump_open.restype = POINTER(pcap_dumper_t)
283 pcap_setnonblock.restype = c_int
289 pcap_getnonblock.restype = c_int
295 pcap_findalldevs.restype = c_int
301 pcap_freealldevs.restype = None
307 pcap_lookupdev.restype = STRING
313 pcap_lookupnet.restype = c_int
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dwin32.py40 CreateEventA.restype = HANDLE
45 CreateFileA.restype = HANDLE
49 CreateEventW.restype = HANDLE
54 CreateFileW.restype = HANDLE
75 GetLastError.restype = DWORD
82 GetOverlappedResult.restype = BOOL
86 ResetEvent.restype = BOOL
92 WriteFile.restype = BOOL
98 ReadFile.restype = BOOL
102 CloseHandle.restype = BOOL
[all …]
/external/llvm-project/llvm/bindings/python/llvm/
Dcore.py453 library.LLVMInitializeCore.restype = None
456 library.LLVMInitializeTransformUtils.restype = None
459 library.LLVMInitializeScalarOpts.restype = None
462 library.LLVMInitializeObjCARCOpts.restype = None
465 library.LLVMInitializeVectorization.restype = None
468 library.LLVMInitializeInstCombine.restype = None
471 library.LLVMInitializeAggressiveInstCombiner.restype = None
474 library.LLVMInitializeIPO.restype = None
477 library.LLVMInitializeInstrumentation.restype = None
480 library.LLVMInitializeAnalysis.restype = None
[all …]
Dobject.py431 library.LLVMCreateObjectFile.restype = c_object_p
436 library.LLVMGetSections.restype = c_object_p
441 library.LLVMIsSectionIteratorAtEnd.restype = bool
448 library.LLVMGetSymbols.restype = c_object_p
453 library.LLVMIsSymbolIteratorAtEnd.restype = bool
458 library.LLVMGetSectionName.restype = c_char_p
461 library.LLVMGetSectionSize.restype = c_uint64
465 library.LLVMGetSectionContents.restype = POINTER(c_char)
468 library.LLVMGetSectionAddress.restype = c_uint64
471 library.LLVMGetSectionContainsSymbol.restype = bool
[all …]
/external/llvm/bindings/python/llvm/
Dcore.py442 library.LLVMInitializeCore.restype = None
445 library.LLVMInitializeTransformUtils.restype = None
448 library.LLVMInitializeScalarOpts.restype = None
451 library.LLVMInitializeObjCARCOpts.restype = None
454 library.LLVMInitializeVectorization.restype = None
457 library.LLVMInitializeInstCombine.restype = None
460 library.LLVMInitializeIPO.restype = None
463 library.LLVMInitializeInstrumentation.restype = None
466 library.LLVMInitializeAnalysis.restype = None
469 library.LLVMInitializeCodeGen.restype = None
[all …]
Dobject.py432 library.LLVMCreateObjectFile.restype = c_object_p
437 library.LLVMGetSections.restype = c_object_p
442 library.LLVMIsSectionIteratorAtEnd.restype = bool
449 library.LLVMGetSymbols.restype = c_object_p
454 library.LLVMIsSymbolIteratorAtEnd.restype = bool
459 library.LLVMGetSectionName.restype = c_char_p
462 library.LLVMGetSectionSize.restype = c_uint64
466 library.LLVMGetSectionContents.restype = POINTER(c_char)
469 library.LLVMGetSectionAddress.restype = c_uint64
472 library.LLVMGetSectionContainsSymbol.restype = bool
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_cfuncs.py19 self._dll.tf_b.restype = c_byte
25 self._dll.tf_bb.restype = c_byte
31 self._dll.tf_B.restype = c_ubyte
37 self._dll.tf_bB.restype = c_ubyte
43 self._dll.tf_h.restype = c_short
49 self._dll.tf_bh.restype = c_short
55 self._dll.tf_H.restype = c_ushort
61 self._dll.tf_bH.restype = c_ushort
67 self._dll.tf_i.restype = c_int
73 self._dll.tf_bi.restype = c_int
[all …]
Dtest_functions.py79 f.restype = c_wchar
85 f.restype = None
94 f.restype = c_int
105 f.restype = c_short
120 f.restype = c_float
132 f.restype = c_double
144 f.restype = c_longdouble
156 f.restype = c_longlong
162 f.restype = c_longlong
170 f.restype = c_char_p
[all …]
Dtest_prototypes.py49 func.restype = c_long
73 func.restype = c_longlong
75 func.restype = c_long
95 func.restype = c_char_p
110 func.restype = c_char_p
125 func.restype = c_char_p
145 func.restype = c_wchar_p
153 func.restype = c_void_p
169 func.restype = c_int
175 func.restype = c_wchar_p
[all …]
Dtest_slicing.py66 dll.my_strdup.restype = POINTER(c_char)
67 dll.my_free.restype = None
90 dll.my_strdup.restype = POINTER(c_byte)
103 dll.my_free.restype = None
109 dll.my_strdup.restype = allocated_c_char_p
134 dll.my_wcsdup.restype = POINTER(c_wchar)
136 dll.my_free.restype = None
149 dll.my_wcsdup.restype = POINTER(c_short)
151 dll.my_wcsdup.restype = POINTER(c_int)
153 dll.my_wcsdup.restype = POINTER(c_long)
/external/python/cpython2/Lib/ctypes/test/
Dtest_cfuncs.py19 self._dll.tf_b.restype = c_byte
25 self._dll.tf_bb.restype = c_byte
31 self._dll.tf_B.restype = c_ubyte
37 self._dll.tf_bB.restype = c_ubyte
43 self._dll.tf_h.restype = c_short
49 self._dll.tf_bh.restype = c_short
55 self._dll.tf_H.restype = c_ushort
61 self._dll.tf_bH.restype = c_ushort
67 self._dll.tf_i.restype = c_int
73 self._dll.tf_bi.restype = c_int
[all …]
Dtest_functions.py79 f.restype = c_wchar
85 f.restype = None
94 f.restype = c_int
105 f.restype = c_short
120 f.restype = c_float
132 f.restype = c_double
144 f.restype = c_longdouble
156 f.restype = c_longlong
162 f.restype = c_longlong
170 f.restype = c_char_p
[all …]
Dtest_prototypes.py49 func.restype = c_long
72 func.restype = c_long
92 func.restype = c_char_p
107 func.restype = c_char_p
122 func.restype = c_char_p
142 func.restype = c_wchar_p
150 func.restype = c_void_p
166 func.restype = c_int
172 func.restype = c_wchar_p
187 func.restype = c_wchar_p
[all …]
Dtest_slicing.py70 dll.my_strdup.restype = POINTER(c_char)
71 dll.my_free.restype = None
96 dll.my_strdup.restype = POINTER(c_byte)
109 dll.my_free.restype = None
115 dll.my_strdup.restype = allocated_c_char_p
140 dll.my_wcsdup.restype = POINTER(c_wchar)
142 dll.my_free.restype = None
157 dll.my_wcsdup.restype = POINTER(c_short)
159 dll.my_wcsdup.restype = POINTER(c_int)
161 dll.my_wcsdup.restype = POINTER(c_long)
/external/libiio/src/bindings/python/
Diio.py65 _get_backends_count.restype = c_uint
69 _get_backend.restype = c_char_p
74 _create_scan_context.restype = _ScanContextPtr
82 _get_context_info_list.restype = c_ssize_t
90 _context_info_get_description.restype = c_char_p
94 _context_info_get_uri.restype = c_char_p
97 _new_local.restype = _ContextPtr
101 _new_xml.restype = _ContextPtr
106 _new_network.restype = _ContextPtr
111 _new_default.restype = _ContextPtr
[all …]
/external/llvm-project/polly/lib/External/isl/interface/
Disl.py37 isl.isl_ctx_alloc.restype = c_void_p
374 isl.isl_union_pw_multi_aff_from_multi_aff.restype = c_void_p
376 isl.isl_union_pw_multi_aff_from_pw_multi_aff.restype = c_void_p
378 isl.isl_union_pw_multi_aff_from_union_pw_aff.restype = c_void_p
380 isl.isl_union_pw_multi_aff_read_from_str.restype = c_void_p
382 isl.isl_union_pw_multi_aff_add.restype = c_void_p
384 isl.isl_union_pw_multi_aff_apply_union_pw_multi_aff.restype = c_void_p
386 isl.isl_union_pw_multi_aff_as_pw_multi_aff.restype = c_void_p
388 isl.isl_union_pw_multi_aff_coalesce.restype = c_void_p
390 isl.isl_union_pw_multi_aff_domain.restype = c_void_p
[all …]
/external/llvm-project/polly/utils/pyscop/
Disl.py76 self.get_isl_method("copy").restype = c_int
79 self.get_isl_method("get_ctx").restype = Context.from_ptr
198 self.get_isl_method("copy").restype = c_int
201 self.get_isl_method("get_ctx").restype = Context.from_ptr
459 islFunction.restype = ret
461 islFunction.restype = ret.from_ptr
489 islFunction.restype = ret
491 islFunction.restype = ret.from_ptr
499 isl.isl_basic_set_copy.restype = c_int
501 isl.isl_set_copy.restype = c_int
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_osx.py36 iokit.IOServiceMatching.restype = ctypes.c_void_p
39 iokit.IOServiceGetMatchingServices.restype = ctypes.c_void_p
44 iokit.IORegistryEntryCreateCFProperty.restype = ctypes.c_void_p
47 iokit.IORegistryEntryGetPath.restype = ctypes.c_void_p
50 iokit.IORegistryEntryGetName.restype = ctypes.c_void_p
53 iokit.IOObjectGetClass.restype = ctypes.c_void_p
59 cf.CFStringCreateWithCString.restype = ctypes.c_void_p
62 cf.CFStringGetCStringPtr.restype = ctypes.c_char_p
65 cf.CFNumberGetValue.restype = ctypes.c_void_p
Dlist_ports_windows.py79 SetupDiDestroyDeviceInfoList.restype = BOOL
83 SetupDiClassGuidsFromName.restype = BOOL
87 SetupDiEnumDeviceInfo.restype = BOOL
91 SetupDiGetClassDevs.restype = HDEVINFO
96 SetupDiGetDeviceRegistryProperty.restype = BOOL
100 SetupDiGetDeviceInstanceId.restype = BOOL
104 SetupDiOpenDevRegKey.restype = HKEY
109 RegCloseKey.restype = LONG
113 RegQueryValueEx.restype = LONG
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c21 Py_XDECREF(self->restype); in CThunkObject_dealloc()
33 Py_VISIT(self->restype); in CThunkObject_traverse()
43 Py_CLEAR(self->restype); in CThunkObject_clear()
134 ffi_type *restype, in _CallPythonObject() argument
256 if (restype != &ffi_type_void && result) { in _CallPythonObject()
262 if (restype->type != FFI_TYPE_FLOAT && restype->size < sizeof(ffi_arg)) { in _CallPythonObject()
263 mem = (char *)mem + sizeof(ffi_arg) - restype->size; in _CallPythonObject()
339 p->restype = NULL; in CThunkObject_new()
351 PyObject *restype, in _ctypes_alloc_callback() argument
382 Py_INCREF(restype); in _ctypes_alloc_callback()
[all …]
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c25 Py_XDECREF(self->restype); in CThunkObject_dealloc()
37 Py_VISIT(self->restype); in CThunkObject_traverse()
47 Py_CLEAR(self->restype); in CThunkObject_clear()
208 ffi_type *restype, in _CallPythonObject() argument
332 if ((restype != &ffi_type_void) && result) { in _CallPythonObject()
337 if (restype->type != FFI_TYPE_FLOAT && restype->size < sizeof(ffi_arg)) in _CallPythonObject()
338 mem = (char *)mem + sizeof(ffi_arg) - restype->size; in _CallPythonObject()
402 p->restype = NULL; in CThunkObject_new()
414 PyObject *restype, in _ctypes_alloc_callback() argument
446 Py_INCREF(restype); in _ctypes_alloc_callback()
[all …]
/external/python/cpython2/Lib/plat-mac/
Dmacresource.py15 def need(restype, resid, filename=None, modname=None): argument
29 h = Res.GetResource(restype, resid)
36 h = Res.GetNamedResource(restype, resid)
72 h = Res.GetResource(restype, resid)
74 h = Res.GetNamedResource(restype, resid)
Dapplesingle.py71 restype, offset, length = struct.unpack(AS_ENTRY_FORMAT, hdr)
75 print "Fork %d, offset %d, length %d" % (restype, offset, length)
80 self.forks.append((restype, data))
81 if restype == AS_DATAFORK:
83 elif restype == AS_RESOURCEFORK:
/external/python/cffi/demo/
Dreaddir_ctypes.py31 readdir_r.restype = ctypes.c_int
35 openat.restype = ctypes.c_int
39 fdopendir.restype = DIR_p
43 closedir.restype = ctypes.c_int

12345