/third_party/python/Python/ |
D | structmember.c | 21 v = PyLong_FromUnsignedLong(*(unsigned char*)addr); in PyMember_GetOne() 27 v = PyLong_FromUnsignedLong(*(unsigned short*)addr); in PyMember_GetOne() 33 v = PyLong_FromUnsignedLong(*(unsigned int*)addr); in PyMember_GetOne() 39 v = PyLong_FromUnsignedLong(*(unsigned long*)addr); in PyMember_GetOne()
|
D | modsupport.c | 320 return PyLong_FromUnsignedLong(n); in do_mkvalue() 335 return PyLong_FromUnsignedLong(n); in do_mkvalue()
|
D | pystate.c | 1226 PyObject *id = PyLong_FromUnsignedLong(t->thread_id); in _PyThread_CurrentFrames() 1279 PyObject *id = PyLong_FromUnsignedLong(t->thread_id); in _PyThread_CurrentExceptions()
|
/third_party/python/Modules/ |
D | _stat.c | 331 return PyLong_FromUnsignedLong(mode & S_IMODE); in stat_S_IMODE() 344 return PyLong_FromUnsignedLong(mode & S_IFMT); in stat_S_IFMT() 596 PyLong_FromUnsignedLong(IO_REPARSE_TAG_SYMLINK)) < 0) { in stat_exec() 600 PyLong_FromUnsignedLong(IO_REPARSE_TAG_MOUNT_POINT)) < 0) { in stat_exec() 604 PyLong_FromUnsignedLong(IO_REPARSE_TAG_APPEXECLINK)) < 0) { in stat_exec()
|
D | _randommodule.c | 391 element = PyLong_FromUnsignedLong(self->state[i]); in _random_Random_getstate_impl() 489 return PyLong_FromUnsignedLong(genrand_uint32(self) >> (32 - k)); in _random_Random_getrandbits_impl()
|
D | audioop.c | 474 return PyLong_FromUnsignedLong(max); in audioop_max_impl() 563 return PyLong_FromUnsignedLong(res); in audioop_rms_impl() 834 return PyLong_FromUnsignedLong(avg); in audioop_avgpp_impl() 887 return PyLong_FromUnsignedLong(max); in audioop_maxpp_impl()
|
D | _threadmodule.c | 1167 return PyLong_FromUnsignedLong(ident); in thread_PyThread_start_new_thread() 1244 return PyLong_FromUnsignedLong(ident); in thread_get_ident() 1263 return PyLong_FromUnsignedLong(native_id); in thread_get_native_id()
|
D | _struct.c | 448 return PyLong_FromUnsignedLong((unsigned long)x); in nu_uint() 464 return PyLong_FromUnsignedLong(x); in nu_ulong() 830 return PyLong_FromUnsignedLong(x); in bu_uint() 1051 return PyLong_FromUnsignedLong(x); in lu_uint()
|
D | socketmodule.c | 3052 return PyLong_FromUnsignedLong(vflag); in sock_getsockopt() 4832 return PyLong_FromUnsignedLong(recv); } 4842 return PyLong_FromUnsignedLong(recv); } 4852 return PyLong_FromUnsignedLong(recv); } 6107 return PyLong_FromUnsignedLong(ntohs((unsigned short)x)); 6141 return PyLong_FromUnsignedLong(ntohl(x)); 6170 return PyLong_FromUnsignedLong(htons((unsigned short)x)); 6204 return PyLong_FromUnsignedLong(htonl((unsigned long)x)); 6806 return PyLong_FromUnsignedLong(index); 8379 tmp = PyLong_FromUnsignedLong(codes[i]);
|
D | _tracemalloc.c | 1090 lineno_obj = PyLong_FromUnsignedLong(frame->lineno); in frame_to_pyobject() 1172 obj = PyLong_FromUnsignedLong(trace->traceback->total_nframe); in trace_to_pyobject()
|
D | zlibmodule.c | 1416 return PyLong_FromUnsignedLong(value & 0xffffffffU); in zlib_adler32_impl() 1457 return PyLong_FromUnsignedLong(signed_val & 0xffffffffU); in zlib_crc32_impl()
|
D | _testcapimodule.c | 497 #define F_U_TO_PY PyLong_FromUnsignedLong 1236 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_b() 1245 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_B() 1263 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_H() 1272 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_I() 1281 return PyLong_FromUnsignedLong(value); in getargs_k() 7249 PyModule_AddObject(m, "UINT_MAX", PyLong_FromUnsignedLong(UINT_MAX)); in PyInit__testcapi() 7252 PyModule_AddObject(m, "ULONG_MAX", PyLong_FromUnsignedLong(ULONG_MAX)); in PyInit__testcapi()
|
D | _winapi.c | 49 PyLong_FromUnsignedLong((unsigned long) handle) 1870 return PyLong_FromUnsignedLong(GetACP()); in _winapi_GetACP_impl()
|
D | posixmodule.c | 671 return PyLong_FromUnsignedLong(uid); in _PyLong_FromUid() 679 return PyLong_FromUnsignedLong(gid); in _PyLong_FromGid() 2354 PyObject *ns_fractional = PyLong_FromUnsignedLong(nsec); in fill_time() 2404 PyStructSequence_SET_ITEM(v, 2, PyLong_FromUnsignedLong(st->st_dev)); in _pystat_fromstructstat() 2475 PyLong_FromUnsignedLong(st->st_file_attributes)); in _pystat_fromstructstat() 2483 PyLong_FromUnsignedLong(st->st_reparse_tag)); in _pystat_fromstructstat() 7536 PyObject *o = PyLong_FromUnsignedLong((unsigned long)groups[i]); in os_getgrouplist_impl() 11261 PyStructSequence_SET_ITEM(v, 10, PyLong_FromUnsignedLong(st.f_fsid.val[0])); in _pystatvfs_fromstructstatvfs() 11263 PyStructSequence_SET_ITEM(v, 10, PyLong_FromUnsignedLong(st.f_fsid)); in _pystatvfs_fromstructstatvfs() 14679 return PyLong_FromUnsignedLong((unsigned long)exitcode); in os_waitstatus_to_exitcode_impl()
|
D | mathmodule.c | 1960 return PyLong_FromUnsignedLong(total); in factorial_partial_product() 2085 return PyLong_FromUnsignedLong(SmallFactorials[x]); in math_factorial()
|
/third_party/boost/boost/python/converter/ |
D | builtin_converters.hpp | 97 BOOST_PYTHON_TO_PYTHON_BY_VALUE(unsigned T, ::PyLong_FromUnsignedLong(x), &PyLong_Type) 107 ? ::PyLong_FromUnsignedLong(x) \
|
/third_party/python/PC/ |
D | msvcrtmodule.c | 485 return PyLong_FromUnsignedLong(res); in msvcrt_GetErrorMode_impl() 507 return PyLong_FromUnsignedLong(res); in msvcrt_SetErrorMode_impl()
|
D | winreg.c | 737 obData = PyLong_FromUnsignedLong(0); in Reg2Py() 739 obData = PyLong_FromUnsignedLong(*(DWORD *)retDataBuf); in Reg2Py()
|
D | python3dll.c | 338 EXPORT_FUNC(PyLong_FromUnsignedLong)
|
/third_party/python/Include/ |
D | longobject.h | 19 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
|
/third_party/python/Modules/_ctypes/ |
D | cfield.c | 743 return PyLong_FromUnsignedLong(val); in I_get() 753 return PyLong_FromUnsignedLong(val); in I_get_sw() 841 return PyLong_FromUnsignedLong(val); in L_get() 851 return PyLong_FromUnsignedLong(val); in L_get_sw()
|
/third_party/python/Modules/_xxtestfuzz/ |
D | fuzzer.c | 241 PyObject* flags_obj = PyLong_FromUnsignedLong(flags); in fuzz_sre_compile()
|
/third_party/python/Modules/clinic/ |
D | binascii.c.h | 398 return_value = PyLong_FromUnsignedLong((unsigned long)_return_value); in binascii_crc32()
|
/third_party/python/Doc/c-api/ |
D | long.rst | 48 .. c:function:: PyObject* PyLong_FromUnsignedLong(unsigned long v)
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 355 function,PyLong_FromUnsignedLong,3.2,
|