Home
last modified time | relevance | path

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

12

/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/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 …]
Ddisassembler.py152 library.LLVMCreateDisasm.restype = c_object_p
158 library.LLVMDisasmInstruction.restype = c_size_t
161 library.LLVMSetDisasmOptions.restype = c_int
/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)
Dtest_checkretval.py20 dll._testfunc_p_p.restype = CHECKED
23 dll._testfunc_p_p.restype = None
26 del dll._testfunc_p_p.restype
Dtest_as_parameter.py31 f.restype = POINTER(c_int)
74 f.restype = c_int
110 f.restype = c_int
128 f.restype = c_longlong
156 dll._testfunc_byval.restype = c_int
166 dll.ret_2h_func.restype = S2H
182 dll.ret_8i_func.restype = S8I
Dtest_python_api.py23 PyString_FromStringAndSize.restype = py_object
29 pythonapi.PyString_FromString.restype = py_object
46 pythonapi.PyInt_FromLong.restype = py_object
52 pythonapi.PyInt_AsLong.restype = c_long
Dtest_funcptr.py21 self.assertEqual(x.restype, c_int)
98 strchr.restype = c_char_p
105 strtok.restype = c_char_p
Dtest_libc.py11 lib.my_sqrt.restype = c_double
19 lib.my_qsort.restype = None
Dtest_pointers.py25 func.restype = c_long
32 func.restype = POINTER(c_int)
42 func.restype = POINTER(c_int)
145 func.restype = c_char_p
Dtest_random_things.py15 windll.kernel32.LoadLibraryA.restype = c_void_p
17 windll.kernel32.GetProcAddress.restype = c_void_p
/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/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 …]
Dctypes.h105 PyObject *restype; member
134 PyObject *restype; member
199 PyObject *restype,
247 PyObject *restype; /* CDataObject or NULL */ member
318 PyObject *restype,
/external/autotest/client/cros/graphics/
Ddrm.py404 l.drmGetVersion.restype = POINTER(DrmVersion)
407 l.drmFreeVersion.restype = None
410 l.drmModeGetResources.restype = POINTER(DrmModeResources)
413 l.drmModeFreeResources.restype = None
416 l.drmModeGetCrtc.restype = POINTER(DrmModeCrtc)
419 l.drmModeFreeCrtc.restype = None
422 l.drmModeGetEncoder.restype = POINTER(DrmModeEncoder)
425 l.drmModeFreeEncoder.restype = None
428 l.drmModeGetConnector.restype = POINTER(DrmModeConnector)
431 l.drmModeFreeConnector.restype = None
[all …]
Dgbm.py74 l.gbm_create_device.restype = POINTER(gbm_device)
77 l.gbm_device_destroy.restype = None
80 l.gbm_bo_import.restype = POINTER(gbm_bo)
87 l.gbm_bo_map.restype = c_void_p
90 l.gbm_bo_unmap.restype = None
/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/cpython2/Lib/ctypes/
D__init__.py75 def CFUNCTYPE(restype, *argtypes, **kw): argument
99 return _c_functype_cache[(restype, argtypes, flags)]
103 _restype_ = restype
105 _c_functype_cache[(restype, argtypes, flags)] = CFunctionType
116 def WINFUNCTYPE(restype, *argtypes, **kw): argument
126 return _win_functype_cache[(restype, argtypes, flags)]
130 _restype_ = restype
132 _win_functype_cache[(restype, argtypes, flags)] = WinFunctionType
490 def PYFUNCTYPE(restype, *argtypes): argument
493 _restype_ = restype
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py63 mach_absolute_time.restype = ctypes.c_uint64
173 get_tick_count_64.restype = ctypes.c_ulonglong
180 get_tick_count.restype = ctypes.c_uint32

12