Home
last modified time | relevance | path

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

12

/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()
D_ctypes.c5543 index = PyLong_FromVoidPtr((void *)src); in cast()
5720 PyModule_AddObject(m, "_memmove_addr", PyLong_FromVoidPtr(memmove)); in init_ctypes()
5721 PyModule_AddObject(m, "_memset_addr", PyLong_FromVoidPtr(memset)); in init_ctypes()
5722 PyModule_AddObject(m, "_string_at_addr", PyLong_FromVoidPtr(string_at)); in init_ctypes()
5723 PyModule_AddObject(m, "_cast_addr", PyLong_FromVoidPtr(cast)); in init_ctypes()
5725 PyModule_AddObject(m, "_wstring_at_addr", PyLong_FromVoidPtr(wstring_at)); in init_ctypes()
Dcfield.c1591 return PyLong_FromVoidPtr(*(void **)ptr); in P_get()
/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/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.c830 if (!( py_ob_id = PyLong_FromVoidPtr(ob))) in put2()
956 key = PyLong_FromVoidPtr(obj); in fast_save_enter()
982 PyObject *key = PyLong_FromVoidPtr(obj); in fast_save_leave()
1545 py_tuple_id = PyLong_FromVoidPtr(args); in save_tuple()
2538 PyObject *py_ob_id = PyLong_FromVoidPtr(ob); in save_reduce()
2657 if (!( py_ob_id = PyLong_FromVoidPtr(args))) in save()
Dposixmodule.c4995 fileObj[0] = PyLong_FromVoidPtr(p_s[0]); in _PyPopen()
5002 fileObj[1] = PyLong_FromVoidPtr(p_s[1]); in _PyPopen()
5011 fileObj[2] = PyLong_FromVoidPtr(p_s[2]); in _PyPopen()
5107 if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && in _PyPclose()
5733 hProcessObj = PyLong_FromVoidPtr(hProcess); in _PyPopen()
5740 fileObj[0] = PyLong_FromVoidPtr(f1); in _PyPopen()
5747 fileObj[1] = PyLong_FromVoidPtr(f2); in _PyPopen()
5755 fileObj[2] = PyLong_FromVoidPtr(f3); in _PyPopen()
5858 if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && in _PyPclose()
D_json.c2059 ident = PyLong_FromVoidPtr(obj); in encoder_listencode_obj()
2128 ident = PyLong_FromVoidPtr(dct); in encoder_listencode_dict()
2282 ident = PyLong_FromVoidPtr(seq); in encoder_listencode_list()
D_struct.c480 return PyLong_FromVoidPtr(x); in nu_void_p()
Darraymodule.c1086 v = PyLong_FromVoidPtr(self->ob_item); in array_buffer_info()
/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()
1788 PyObject *v = PyLong_FromVoidPtr(key); in inskey()
/external/python/cpython2/PC/os2vacpp/
Dpython.def244 PyLong_FromVoidPtr
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc614 ScopedPyObjectPtr key(PyLong_FromVoidPtr(message)); in GetCMessage()
Ddescriptor.cc718 return PyLong_FromVoidPtr(self); in GetID()
/external/python/cpython2/Python/
Dsymtable.c27 k = PyLong_FromVoidPtr(key); in ste_new()
289 k = PyLong_FromVoidPtr(key); in PySymtable_Lookup()
Dsysmodule.c1478 PyLong_FromVoidPtr(PyWin_DLLhModule)); in _PySys_Init()
/external/python/cpython2/Objects/
Dcodeobject.c537 PyObject *obj_id = PyLong_FromVoidPtr(op); in _PyCode_ConstantKey()
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c661 DECLPROC(hPython, PyObject *, PyLong_FromVoidPtr, (void *)); in prepare_script_environment()
681 g_PyLong_FromVoidPtr = PyLong_FromVoidPtr; in prepare_script_environment()
/external/python/cpython2/PC/os2emx/
Dpython27.def410 "PyLong_FromVoidPtr"
/external/python/cpython2/Doc/data/
Drefcounts.dat681 PyLong_FromVoidPtr:PyObject*::+1:
682 PyLong_FromVoidPtr:void*:p::

12