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

1 2 3 4 5 6 7 8

  /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_libc.py 11 lib.my_sqrt.restype = c_double
19 lib.my_qsort.restype = None
test_errcheck.py 10 ##windll.kernel32.GetModuleHandleA.restype = HMODULE
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_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_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_as_parameter.py 34 f.restype = POINTER(c_int)
77 f.restype = c_int
113 f.restype = c_int
131 f.restype = c_longlong
159 dll._testfunc_byval.restype = c_int
169 dll.ret_2h_func.restype = S2H
189 dll.ret_8i_func.restype = S8I
  /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_libc.py 11 lib.my_sqrt.restype = c_double
19 lib.my_qsort.restype = None
test_errcheck.py 10 ##windll.kernel32.GetModuleHandleA.restype = HMODULE
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_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_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_as_parameter.py 34 f.restype = POINTER(c_int)
77 f.restype = c_int
113 f.restype = c_int
131 f.restype = c_longlong
159 dll._testfunc_byval.restype = c_int
169 dll.ret_2h_func.restype = S2H
189 dll.ret_8i_func.restype = S8I
  /external/llvm/bindings/python/llvm/
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...]
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...]
bit_reader.py 29 library.LLVMParseBitcode.restype = bool
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
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)
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:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 78 def CFUNCTYPE(restype, *argtypes, **kw):
79 """CFUNCTYPE(restype, *argtypes,
82 restype: the result type
102 return _c_functype_cache[(restype, argtypes, flags)]
106 _restype_ = restype
108 _c_functype_cache[(restype, argtypes, flags)] = CFunctionType
119 def WINFUNCTYPE(restype, *argtypes, **kw):
129 return _win_functype_cache[(restype, argtypes, flags)]
133 _restype_ = restype
135 _win_functype_cache[(restype, argtypes, flags)] = WinFunctionTyp
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 78 def CFUNCTYPE(restype, *argtypes, **kw):
79 """CFUNCTYPE(restype, *argtypes,
82 restype: the result type
102 return _c_functype_cache[(restype, argtypes, flags)]
106 _restype_ = restype
108 _c_functype_cache[(restype, argtypes, flags)] = CFunctionType
119 def WINFUNCTYPE(restype, *argtypes, **kw):
129 return _win_functype_cache[(restype, argtypes, flags)]
133 _restype_ = restype
135 _win_functype_cache[(restype, argtypes, flags)] = WinFunctionTyp
    [all...]

Completed in 170 milliseconds

1 2 3 4 5 6 7 8