Searched refs:pythonapi (Results 1 - 8 of 8) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_python_api.py21 PyString_FromStringAndSize = pythonapi.PyString_FromStringAndSize
29 pythonapi.PyString_FromString.restype = py_object
30 pythonapi.PyString_FromString.argtypes = (c_char_p,)
34 pyob = pythonapi.PyString_FromString(s)
46 pythonapi.PyInt_FromLong.restype = py_object
47 self.assertEqual(pythonapi.PyInt_FromLong(42), 42)
51 pythonapi.PyInt_AsLong.argtypes = (py_object,)
52 pythonapi.PyInt_AsLong.restype = c_long
54 res = pythonapi.PyInt_AsLong(42)
71 PyOS_snprintf = pythonapi
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_python_api.py21 PyString_FromStringAndSize = pythonapi.PyString_FromStringAndSize
29 pythonapi.PyString_FromString.restype = py_object
30 pythonapi.PyString_FromString.argtypes = (c_char_p,)
34 pyob = pythonapi.PyString_FromString(s)
46 pythonapi.PyInt_FromLong.restype = py_object
47 self.assertEqual(pythonapi.PyInt_FromLong(42), 42)
51 pythonapi.PyInt_AsLong.argtypes = (py_object,)
52 pythonapi.PyInt_AsLong.restype = c_long
54 res = pythonapi.PyInt_AsLong(42)
71 PyOS_snprintf = pythonapi
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_ascii_formatd.py11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double namespace
12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
H A Dtest_threading.py174 set_async_exc = ctypes.pythonapi.PyThreadState_SetAsyncExc
292 ensure = ctypes.pythonapi.PyGILState_Ensure
293 release = ctypes.pythonapi.PyGILState_Release
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_ascii_formatd.py11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double namespace
12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
H A Dtest_threading.py174 set_async_exc = ctypes.pythonapi.PyThreadState_SetAsyncExc
292 ensure = ctypes.pythonapi.PyGILState_Ensure
293 release = ctypes.pythonapi.PyGILState_Release
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
H A D__init__.py449 pythonapi = PyDLL("python dll", None, _sys.dllhandle) variable
451 pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2]) variable
453 pythonapi = PyDLL(None) variable
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
H A D__init__.py449 pythonapi = PyDLL("python dll", None, _sys.dllhandle) variable
451 pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2]) variable
453 pythonapi = PyDLL(None) variable

Completed in 304 milliseconds