/external/python/cpython2/Lib/ctypes/test/ |
test_python_api.py | 21 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.PyOS_snprint [all...] |
test_values.py | 36 opt = c_int.in_dll(pythonapi, "Py_OptimizeFlag").value 59 ft = FrozenTable.in_dll(pythonapi, "PyImport_FrozenModules") 79 self.assertRaises(ValueError, c_int.in_dll, pythonapi,
|
/external/python/cpython3/Lib/ctypes/test/ |
test_python_api.py | 21 PyBytes_FromStringAndSize = pythonapi.PyBytes_FromStringAndSize 30 pythonapi.PyBytes_FromString.restype = py_object 31 pythonapi.PyBytes_FromString.argtypes = (c_char_p,) 35 pyob = pythonapi.PyBytes_FromString(s) 44 pythonapi.PyLong_FromLong.restype = py_object 45 self.assertEqual(pythonapi.PyLong_FromLong(42), 42) 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 50 pythonapi.PyLong_AsLong.restype = c_long 52 res = pythonapi.PyLong_AsLong(42) 70 PyOS_snprintf = pythonapi.PyOS_snprint [all...] |
test_values.py | 38 opt = c_int.in_dll(pythonapi, "Py_OptimizeFlag").value 56 ft = FrozenTable.in_dll(pythonapi, "PyImport_FrozenModules") 96 self.assertRaises(ValueError, c_int.in_dll, pythonapi,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_python_api.py | 21 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.PyOS_snprint [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_python_api.py | 21 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.PyOS_snprint [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_python_api.py | 21 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.PyOS_snprint [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_python_api.py | 21 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.PyOS_snprint [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double
12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
|
test_threading.py | 172 set_async_exc = ctypes.pythonapi.PyThreadState_SetAsyncExc
290 ensure = ctypes.pythonapi.PyGILState_Ensure
291 release = ctypes.pythonapi.PyGILState_Release
|
/external/python/cpython2/Lib/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
|
test_threading.py | 172 set_async_exc = ctypes.pythonapi.PyThreadState_SetAsyncExc 288 ensure = ctypes.pythonapi.PyGILState_Ensure 289 release = ctypes.pythonapi.PyGILState_Release [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
|
test_threading.py | 174 set_async_exc = ctypes.pythonapi.PyThreadState_SetAsyncExc 292 ensure = ctypes.pythonapi.PyGILState_Ensure 293 release = ctypes.pythonapi.PyGILState_Release
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 12 PyOS_ascii_formatd = pythonapi.PyOS_ascii_formatd
|
/external/python/cpython2/Lib/ctypes/ |
__init__.py | 446 pythonapi = PyDLL("python dll", None, _sys.dllhandle) variable 448 pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2]) variable 450 pythonapi = PyDLL(None) variable
|
/external/python/cpython3/Lib/ctypes/ |
__init__.py | 432 pythonapi = PyDLL("python dll", None, _sys.dllhandle) variable 434 pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2]) variable 436 pythonapi = PyDLL(None) variable
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
__init__.py | 449 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/gdb/linux-x86/lib/python2.7/ctypes/ |
__init__.py | 449 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/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
__init__.py | 449 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/ |
__init__.py | 449 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
|
/external/autotest/client/cros/graphics/ |
gbm.py | 213 buffer_from_memory = pythonapi.PyBuffer_FromMemory
|
/external/libmojo/third_party/jinja2/ |
debug.py | 277 if hasattr(ctypes.pythonapi, 'Py_InitModule4_64'):
|