Home
last modified time | relevance | path

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

12

/third_party/python/Modules/_ctypes/
Dcallbacks.c501 PyObject *py_rclsid = PyLong_FromVoidPtr((void *)rclsid); in Call_GetClassObject()
502 PyObject *py_riid = PyLong_FromVoidPtr((void *)riid); in Call_GetClassObject()
503 PyObject *py_ppv = PyLong_FromVoidPtr(ppv); in Call_GetClassObject()
Dcallproc.c1384 return PyLong_FromVoidPtr(hMod); in load_library()
1540 return PyLong_FromVoidPtr(handle); in py_dl_open()
1575 return PyLong_FromVoidPtr(ptr); in py_dl_sym()
1755 return PyLong_FromVoidPtr(((CDataObject *)obj)->b_ptr); in addressof()
1912 key = PyLong_FromVoidPtr(result); in POINTER()
D_ctypes.c5631 index = PyLong_FromVoidPtr((void *)src); in cast()
5787 MOD_ADD("_memmove_addr", PyLong_FromVoidPtr(memmove)); in _ctypes_add_objects()
5788 MOD_ADD("_memset_addr", PyLong_FromVoidPtr(memset)); in _ctypes_add_objects()
5789 MOD_ADD("_string_at_addr", PyLong_FromVoidPtr(string_at)); in _ctypes_add_objects()
5790 MOD_ADD("_cast_addr", PyLong_FromVoidPtr(cast)); in _ctypes_add_objects()
5791 MOD_ADD("_wstring_at_addr", PyLong_FromVoidPtr(wstring_at)); in _ctypes_add_objects()
Dcfield.c1472 return PyLong_FromVoidPtr(*(void **)ptr); in P_get()
/third_party/python/PC/clinic/
Dmsvcrtmodule.c.h187 return_value = PyLong_FromVoidPtr(_return_value); in msvcrt_get_osfhandle()
499 return_value = PyLong_FromVoidPtr(_return_value); in msvcrt_CrtSetReportFile()
/third_party/python/Include/
Dlongobject.h93 PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *);
/third_party/python/PC/
Dmsvcrtmodule.c568 PyObject *v = PyLong_FromVoidPtr(value); in insertptr()
Dwinreg.c161 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc()
302 return PyLong_FromVoidPtr(ret); in winreg_HKEYType_Detach_impl()
2018 PyObject *v = PyLong_FromVoidPtr(key); in inskey()
Dpython3dll.c340 EXPORT_FUNC(PyLong_FromVoidPtr)
/third_party/python/Python/
Dpythonrun.c1056 PyObject *value_id = PyLong_FromVoidPtr(value); in print_exception_recursive()
1064 check_id = PyLong_FromVoidPtr(cause); in print_exception_recursive()
1082 check_id = PyLong_FromVoidPtr(context); in print_exception_recursive()
Dsymtable.c66 k = PyLong_FromVoidPtr(key); in ste_new()
384 k = PyLong_FromVoidPtr(key); in PySymtable_Lookup()
Dbltinmodule.c1195 PyObject *id = PyLong_FromVoidPtr(v); in builtin_id()
Dsysmodule.c2849 SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule)); in _PySys_InitCore()
/third_party/python/Doc/c-api/
Dlong.rst105 .. c:function:: PyObject* PyLong_FromVoidPtr(void *p)
317 with :c:func:`PyLong_FromVoidPtr`.
/third_party/python/Modules/
Dsignalmodule.c1940 state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
1945 state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
D_json.c1449 ident = PyLong_FromVoidPtr(obj); in encoder_listencode_obj()
1520 ident = PyLong_FromVoidPtr(dct); in encoder_listencode_dict()
1679 ident = PyLong_FromVoidPtr(seq); in encoder_listencode_list()
Doverlapped.c1598 return PyLong_FromVoidPtr(&self->overlapped); in Overlapped_getaddress()
D_pickle.c2003 key = PyLong_FromVoidPtr(obj); in fast_save_enter()
2031 PyObject *key = PyLong_FromVoidPtr(obj); in fast_save_leave()
4824 key = PyLong_FromVoidPtr(entry.me_key); in _pickle_PicklerMemoProxy_copy_impl()
D_struct.c539 return PyLong_FromVoidPtr(x); in nu_void_p()
/third_party/python/Doc/data/
Dstable_abi.dat357 function,PyLong_FromVoidPtr,3.2,
Drefcounts.dat1223 PyLong_FromVoidPtr:PyObject*::+1:
1224 PyLong_FromVoidPtr:void*:p::
/third_party/python/Programs/
D_testembed.c1065 return PyLong_FromVoidPtr(data); in _open_code_hook()
/third_party/python/Objects/
Dcodeobject.c903 PyObject *obj_id = PyLong_FromVoidPtr(op); in _PyCode_ConstantKey()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc786 return PyLong_FromVoidPtr(self); in GetID()
/third_party/python/Misc/
Dstable_abi.txt866 function PyLong_FromVoidPtr

12