Searched refs:py_object (Results 1 - 10 of 10) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_python_api.py23 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(
[all...]
H A Dtest_pep3118.py135 (py_object, "<O", None, py_object),
H A Dtest_callbacks.py107 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/
H A Dtest_python_api.py23 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(
[all...]
H A Dtest_pep3118.py135 (py_object, "<O", None, py_object),
H A Dtest_callbacks.py107 self.check_type(py_object, o)
110 self.check_type(py_object, o)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
H A D__init__.py159 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/
H A D__init__.py159 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/test/
H A Dtest_threading.py179 exception = ctypes.py_object(AsyncExc)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_threading.py179 exception = ctypes.py_object(AsyncExc)

Completed in 22 milliseconds