Home
last modified time | relevance | path

Searched refs:PyLong_FromVoidPtr (Results 1 – 25 of 59) sorted by relevance

123

/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c451 PyObject *py_rclsid = PyLong_FromVoidPtr((void *)rclsid); in Call_GetClassObject()
452 PyObject *py_riid = PyLong_FromVoidPtr((void *)riid); in Call_GetClassObject()
453 PyObject *py_ppv = PyLong_FromVoidPtr(ppv); in Call_GetClassObject()
Dcallproc.c1287 return PyLong_FromVoidPtr(hMod); in load_library()
1375 return PyLong_FromVoidPtr(handle); in py_dl_open()
1407 return PyLong_FromVoidPtr(ptr); in py_dl_sym()
1572 return PyLong_FromVoidPtr(((CDataObject *)obj)->b_ptr); in addressof()
1726 key = PyLong_FromVoidPtr(result); in POINTER()
D_ctypes.c5390 index = PyLong_FromVoidPtr((void *)src); in cast()
5578 PyModule_AddObject(m, "_memmove_addr", PyLong_FromVoidPtr(memmove)); in PyInit__ctypes()
5579 PyModule_AddObject(m, "_memset_addr", PyLong_FromVoidPtr(memset)); in PyInit__ctypes()
5580 PyModule_AddObject(m, "_string_at_addr", PyLong_FromVoidPtr(string_at)); in PyInit__ctypes()
5581 PyModule_AddObject(m, "_cast_addr", PyLong_FromVoidPtr(cast)); in PyInit__ctypes()
5583 PyModule_AddObject(m, "_wstring_at_addr", PyLong_FromVoidPtr(wstring_at)); in PyInit__ctypes()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c538 PyObject *py_rclsid = PyLong_FromVoidPtr((void *)rclsid); in Call_GetClassObject()
539 PyObject *py_riid = PyLong_FromVoidPtr((void *)riid); in Call_GetClassObject()
540 PyObject *py_ppv = PyLong_FromVoidPtr(ppv); in Call_GetClassObject()
Dcallproc.c1311 return PyLong_FromVoidPtr(hMod); in load_library()
1443 return PyLong_FromVoidPtr(handle); in py_dl_open()
1476 return PyLong_FromVoidPtr(ptr); in py_dl_sym()
1641 return PyLong_FromVoidPtr(((CDataObject *)obj)->b_ptr); in addressof()
1840 key = PyLong_FromVoidPtr(result); in POINTER()
/external/autotest/utils/named_semaphore/
Dnamedsem.c24 return PyLong_FromVoidPtr(result); in namedsem_sem_open()
/external/python/cpython2/Include/
Dlongobject.h46 PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *);
/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h168 return_value = PyLong_FromVoidPtr(_return_value); in msvcrt_get_osfhandle()
448 return_value = PyLong_FromVoidPtr(_return_value); in msvcrt_CrtSetReportFile()
/external/python/cpython3/Include/
Dlongobject.h85 PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *);
/external/python/cpython2/Doc/c-api/
Dlong.rst114 .. c:function:: PyObject* PyLong_FromVoidPtr(void *p)
243 with :c:func:`PyLong_FromVoidPtr`.
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c214 PyLong_FromVoidPtr(buffer), buffer_len); in multiprocessing_address_of_buffer()
/external/python/cpython2/Modules/
Dsignalmodule.c590 x = DefaultHandler = PyLong_FromVoidPtr((void *)SIG_DFL); in initsignal()
594 x = IgnoreHandler = PyLong_FromVoidPtr((void *)SIG_IGN); in initsignal()
DcPickle.c835 if (!( py_ob_id = PyLong_FromVoidPtr(ob))) in put2()
966 key = PyLong_FromVoidPtr(obj); in fast_save_enter()
992 PyObject *key = PyLong_FromVoidPtr(obj); in fast_save_leave()
1561 py_tuple_id = PyLong_FromVoidPtr(args); in save_tuple()
2554 PyObject *py_ob_id = PyLong_FromVoidPtr(ob); in save_reduce()
2673 if (!( py_ob_id = PyLong_FromVoidPtr(args))) in save()
Dposixmodule.c5019 fileObj[0] = PyLong_FromVoidPtr(p_s[0]); in _PyPopen()
5026 fileObj[1] = PyLong_FromVoidPtr(p_s[1]); in _PyPopen()
5035 fileObj[2] = PyLong_FromVoidPtr(p_s[2]); in _PyPopen()
5131 if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && in _PyPclose()
5757 hProcessObj = PyLong_FromVoidPtr(hProcess); in _PyPopen()
5764 fileObj[0] = PyLong_FromVoidPtr(f1); in _PyPopen()
5771 fileObj[1] = PyLong_FromVoidPtr(f2); in _PyPopen()
5779 fileObj[2] = PyLong_FromVoidPtr(f3); in _PyPopen()
5882 if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && in _PyPclose()
D_json.c2014 ident = PyLong_FromVoidPtr(obj); in encoder_listencode_obj()
2086 ident = PyLong_FromVoidPtr(dct); in encoder_listencode_dict()
2240 ident = PyLong_FromVoidPtr(seq); in encoder_listencode_list()
/external/python/cpython3/PC/
Dmsvcrtmodule.c552 PyObject *v = PyLong_FromVoidPtr(value); in insertptr()
Dwinreg.c159 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc()
297 return PyLong_FromVoidPtr(ret); in winreg_HKEYType_Detach_impl()
1862 PyObject *v = PyLong_FromVoidPtr(key); in inskey()
Dpython3.def336 PyLong_FromVoidPtr=python37.PyLong_FromVoidPtr
/external/python/cpython2/PC/
Dmsvcrtmodule.c154 return PyLong_FromVoidPtr((void*)handle); in msvcrt_get_osfhandle()
D_winreg.c437 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc()
579 return PyLong_FromVoidPtr(ret); in PyHKEY_DetachMethod()
1787 PyObject *v = PyLong_FromVoidPtr(key); in inskey()
/external/python/cpython2/PC/os2vacpp/
Dpython.def244 PyLong_FromVoidPtr
/external/python/cpython3/Modules/
Dsignalmodule.c1239 x = DefaultHandler = PyLong_FromVoidPtr((void *)SIG_DFL); in PyInit__signal()
1243 x = IgnoreHandler = PyLong_FromVoidPtr((void *)SIG_IGN); in PyInit__signal()
D_json.c1508 ident = PyLong_FromVoidPtr(obj); in encoder_listencode_obj()
1580 ident = PyLong_FromVoidPtr(dct); in encoder_listencode_dict()
1740 ident = PyLong_FromVoidPtr(seq); in encoder_listencode_list()
/external/python/cpython3/Doc/c-api/
Dlong.rst120 .. c:function:: PyObject* PyLong_FromVoidPtr(void *p)
293 with :c:func:`PyLong_FromVoidPtr`.
/external/python/cpython3/Python/
Dpythonrun.c854 PyObject *value_id = PyLong_FromVoidPtr(value); in print_exception_recursive()
862 check_id = PyLong_FromVoidPtr(cause); in print_exception_recursive()
880 check_id = PyLong_FromVoidPtr(context); in print_exception_recursive()

123