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

1 2 3

  /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
test_stringptr.py 46 strchr.restype = c_char_p
65 strchr.restype = POINTER(c_char)
  /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...]
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
test_stringptr.py 46 strchr.restype = c_char_p
65 strchr.restype = POINTER(c_char)
  /external/llvm/bindings/python/llvm/
object.py 441 library.LLVMCreateObjectFile.restype = c_object_p
446 library.LLVMGetSections.restype = c_object_p
451 library.LLVMIsSectionIteratorAtEnd.restype = bool
458 library.LLVMGetSymbols.restype = c_object_p
463 library.LLVMIsSymbolIteratorAtEnd.restype = bool
468 library.LLVMGetSectionName.restype = c_char_p
471 library.LLVMGetSectionSize.restype = c_uint64
474 library.LLVMGetSectionContents.restype = c_char_p
477 library.LLVMGetSectionAddress.restype = c_uint64
480 library.LLVMGetSectionContainsSymbol.restype = boo
    [all...]
  /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 411 milliseconds

1 2 3