/external/python/cpython2/Lib/ctypes/test/ |
test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object [all...] |
test_pep3118.py | 139 (py_object, "<O", None, py_object),
|
test_callbacks.py | 110 self.check_type(py_object, o) 113 self.check_type(py_object, o)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object [all...] |
test_pep3118.py | 135 (py_object, "<O", None, py_object),
|
test_callbacks.py | 107 self.check_type(py_object, o) 110 self.check_type(py_object, o)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object [all...] |
test_pep3118.py | 135 (py_object, "<O", None, py_object),
|
test_callbacks.py | 107 self.check_type(py_object, o) 110 self.check_type(py_object, o)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object [all...] |
test_pep3118.py | 135 (py_object, "<O", None, py_object),
|
test_callbacks.py | 107 self.check_type(py_object, o) 110 self.check_type(py_object, o)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object [all...] |
test_pep3118.py | 135 (py_object, "<O", None, py_object),
|
test_callbacks.py | 107 self.check_type(py_object, o) 110 self.check_type(py_object, o)
|
/external/python/cpython2/Lib/ctypes/ |
__init__.py | 156 class py_object(_SimpleCData): class in inherits:_SimpleCData 160 return super(py_object, self).__repr__() 163 _check_size(py_object, "P") 497 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) 501 _string_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_string_at_addr) 513 _wstring_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_wstring_at_addr)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
__init__.py | 159 class py_object(_SimpleCData): class in inherits:_SimpleCData 163 return super(py_object, self).__repr__() 166 _check_size(py_object, "P") 500 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) 504 _string_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_string_at_addr) 516 _wstring_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_wstring_at_addr)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/ |
__init__.py | 159 class py_object(_SimpleCData): class in inherits:_SimpleCData 163 return super(py_object, self).__repr__() 166 _check_size(py_object, "P") 500 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) 504 _string_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_string_at_addr) 516 _wstring_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_wstring_at_addr)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
__init__.py | 159 class py_object(_SimpleCData): class in inherits:_SimpleCData 163 return super(py_object, self).__repr__() 166 _check_size(py_object, "P") 500 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) 504 _string_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_string_at_addr) 516 _wstring_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_wstring_at_addr)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
__init__.py | 159 class py_object(_SimpleCData): class in inherits:_SimpleCData 163 return super(py_object, self).__repr__() 166 _check_size(py_object, "P") 500 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) 504 _string_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_string_at_addr) 516 _wstring_at = PYFUNCTYPE(py_object, c_void_p, c_int)(_wstring_at_addr)
|
/external/python/cpython2/Modules/_ctypes/ |
cfield.c | 1115 py_object refcounts: 1117 1. If we have a py_object instance, O_get must Py_INCREF the returned 1118 object, of course. If O_get is called from a function result, no py_object 1121 2. The memory block in py_object owns a refcount. So, py_object must call [all...] |
callbacks.c | 348 be the result. EXCEPT when restype is py_object - Python
|
/external/clang/bindings/python/clang/ |
cindex.py | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_threading.py | 177 exception = ctypes.py_object(AsyncExc)
|
/external/devlib/devlib/utils/ |
misc.py | 572 obj_pyobj = ctypes.cast(obj_id, ctypes.py_object)
|