HomeSort by relevance Sort by last modified time
    Searched refs:restype (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/
win32.py 40 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 = BOO
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_checkretval.py 19 dll._testfunc_p_p.restype = CHECKED
22 dll._testfunc_p_p.restype = None
25 del dll._testfunc_p_p.restype
test_cfuncs.py 18 self._dll.tf_b.restype = c_byte
24 self._dll.tf_bb.restype = c_byte
30 self._dll.tf_B.restype = c_ubyte
36 self._dll.tf_bB.restype = c_ubyte
42 self._dll.tf_h.restype = c_short
48 self._dll.tf_bh.restype = c_short
54 self._dll.tf_H.restype = c_ushort
60 self._dll.tf_bH.restype = c_ushort
66 self._dll.tf_i.restype = c_int
72 self._dll.tf_bi.restype = c_in
    [all...]
test_functions.py 84 f.restype = c_wchar
90 f.restype = None
99 f.restype = c_int
110 f.restype = c_short
119 # You cannot assign character format codes as restype any longer
120 self.assertRaises(TypeError, setattr, f, "restype", "i")
125 f.restype = c_float
137 f.restype = c_double
149 f.restype = c_longdouble
164 f.restype = c_longlon
    [all...]
test_prototypes.py 7 # func.restype = c_char_p
48 func.restype = c_long
71 func.restype = c_long
91 func.restype = c_char_p
106 func.restype = c_char_p
121 func.restype = c_char_p
139 func.restype = c_wchar_p
148 func.restype = c_void_p
168 func.restype = c_int
174 func.restype = c_wchar_
    [all...]
test_python_api.py 23 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
test_libc.py 11 lib.my_sqrt.restype = c_double
19 lib.my_qsort.restype = None
test_slicing.py 69 dll.my_strdup.restype = POINTER(c_char)
70 dll.my_free.restype = None
95 dll.my_strdup.restype = POINTER(c_byte)
108 dll.my_free.restype = None
114 dll.my_strdup.restype = allocated_c_char_p
143 dll.my_wcsdup.restype = POINTER(c_wchar)
145 dll.my_free.restype = None
160 dll.my_wcsdup.restype = POINTER(c_short)
162 dll.my_wcsdup.restype = POINTER(c_int)
164 dll.my_wcsdup.restype = POINTER(c_long
    [all...]
test_random_things.py 16 windll.kernel32.LoadLibraryA.restype = c_void_p
18 windll.kernel32.GetProcAddress.restype = c_void_p
test_returnfuncptrs.py 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char)
25 get_strchr.restype = c_void_p
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_checkretval.py 19 dll._testfunc_p_p.restype = CHECKED
22 dll._testfunc_p_p.restype = None
25 del dll._testfunc_p_p.restype
test_cfuncs.py 18 self._dll.tf_b.restype = c_byte
24 self._dll.tf_bb.restype = c_byte
30 self._dll.tf_B.restype = c_ubyte
36 self._dll.tf_bB.restype = c_ubyte
42 self._dll.tf_h.restype = c_short
48 self._dll.tf_bh.restype = c_short
54 self._dll.tf_H.restype = c_ushort
60 self._dll.tf_bH.restype = c_ushort
66 self._dll.tf_i.restype = c_int
72 self._dll.tf_bi.restype = c_in
    [all...]
test_functions.py 84 f.restype = c_wchar
90 f.restype = None
99 f.restype = c_int
110 f.restype = c_short
119 # You cannot assign character format codes as restype any longer
120 self.assertRaises(TypeError, setattr, f, "restype", "i")
125 f.restype = c_float
137 f.restype = c_double
149 f.restype = c_longdouble
164 f.restype = c_longlon
    [all...]
test_prototypes.py 7 # func.restype = c_char_p
48 func.restype = c_long
71 func.restype = c_long
91 func.restype = c_char_p
106 func.restype = c_char_p
121 func.restype = c_char_p
139 func.restype = c_wchar_p
148 func.restype = c_void_p
168 func.restype = c_int
174 func.restype = c_wchar_
    [all...]
test_python_api.py 23 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
test_libc.py 11 lib.my_sqrt.restype = c_double
19 lib.my_qsort.restype = None
test_slicing.py 69 dll.my_strdup.restype = POINTER(c_char)
70 dll.my_free.restype = None
95 dll.my_strdup.restype = POINTER(c_byte)
108 dll.my_free.restype = None
114 dll.my_strdup.restype = allocated_c_char_p
143 dll.my_wcsdup.restype = POINTER(c_wchar)
145 dll.my_free.restype = None
160 dll.my_wcsdup.restype = POINTER(c_short)
162 dll.my_wcsdup.restype = POINTER(c_int)
164 dll.my_wcsdup.restype = POINTER(c_long
    [all...]
  /external/llvm/bindings/python/llvm/
object.py 440 library.LLVMCreateObjectFile.restype = c_object_p
445 library.LLVMGetSections.restype = c_object_p
450 library.LLVMIsSectionIteratorAtEnd.restype = bool
457 library.LLVMGetSymbols.restype = c_object_p
462 library.LLVMIsSymbolIteratorAtEnd.restype = bool
467 library.LLVMGetSectionName.restype = c_char_p
470 library.LLVMGetSectionSize.restype = c_uint64
474 library.LLVMGetSectionContents.restype = POINTER(c_char)
477 library.LLVMGetSectionAddress.restype = c_uint64
480 library.LLVMGetSectionContainsSymbol.restype = boo
    [all...]
core.py 442 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.LLVMInitializeIPA.restype = Non
    [all...]
  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/
list_ports_osx.py 36 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
list_ports_windows.py 79 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
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
applesingle.py 71 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:
macresource.py 15 def need(restype, resid, filename=None, modname=None):
16 """Open a resource file, if needed. restype and resid
29 h = Res.GetResource(restype, resid)
36 h = Res.GetNamedResource(restype, resid)
72 h = Res.GetResource(restype, resid)
74 h = Res.GetNamedResource(restype, resid)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
win_console_handler.py 35 SetConsoleCtrlHandler.restype = wintypes.BOOL
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
win_console_handler.py 35 SetConsoleCtrlHandler.restype = wintypes.BOOL

Completed in 462 milliseconds

1 2 3