Searched refs:PyLong_FromVoidPtr (Results 1 – 25 of 30) sorted by relevance
12
/external/python/cpython2/Modules/_ctypes/ |
D | callbacks.c | 538 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()
|
D | callproc.c | 1311 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.c | 5543 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()
|
D | cfield.c | 1591 return PyLong_FromVoidPtr(*(void **)ptr); in P_get()
|
/external/autotest/utils/named_semaphore/ |
D | namedsem.c | 24 return PyLong_FromVoidPtr(result); in namedsem_sem_open()
|
/external/python/cpython2/Include/ |
D | longobject.h | 46 PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *);
|
/external/python/cpython2/Doc/c-api/ |
D | long.rst | 114 .. c:function:: PyObject* PyLong_FromVoidPtr(void *p) 243 with :c:func:`PyLong_FromVoidPtr`.
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 214 PyLong_FromVoidPtr(buffer), buffer_len); in multiprocessing_address_of_buffer()
|
/external/python/cpython2/Modules/ |
D | signalmodule.c | 590 x = DefaultHandler = PyLong_FromVoidPtr((void *)SIG_DFL); in initsignal() 594 x = IgnoreHandler = PyLong_FromVoidPtr((void *)SIG_IGN); in initsignal()
|
D | cPickle.c | 830 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()
|
D | posixmodule.c | 4995 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.c | 2059 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.c | 480 return PyLong_FromVoidPtr(x); in nu_void_p()
|
D | arraymodule.c | 1086 v = PyLong_FromVoidPtr(self->ob_item); in array_buffer_info()
|
/external/python/cpython2/PC/ |
D | msvcrtmodule.c | 154 return PyLong_FromVoidPtr((void*)handle); in msvcrt_get_osfhandle()
|
D | _winreg.c | 437 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/ |
D | python.def | 244 PyLong_FromVoidPtr
|
/external/protobuf/python/google/protobuf/pyext/ |
D | map_container.cc | 614 ScopedPyObjectPtr key(PyLong_FromVoidPtr(message)); in GetCMessage()
|
D | descriptor.cc | 718 return PyLong_FromVoidPtr(self); in GetID()
|
/external/python/cpython2/Python/ |
D | symtable.c | 27 k = PyLong_FromVoidPtr(key); in ste_new() 289 k = PyLong_FromVoidPtr(key); in PySymtable_Lookup()
|
D | sysmodule.c | 1478 PyLong_FromVoidPtr(PyWin_DLLhModule)); in _PySys_Init()
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 537 PyObject *obj_id = PyLong_FromVoidPtr(op); in _PyCode_ConstantKey()
|
/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 661 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/ |
D | python27.def | 410 "PyLong_FromVoidPtr"
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 681 PyLong_FromVoidPtr:PyObject*::+1: 682 PyLong_FromVoidPtr:void*:p::
|
12