Home
last modified time | relevance | path

Searched refs:PyLong_FromUnsignedLong (Results 1 – 25 of 56) sorted by relevance

123

/external/python/cpython3/Python/
Dstructmember.c22 v = PyLong_FromUnsignedLong(*(unsigned char*)addr); in PyMember_GetOne()
28 v = PyLong_FromUnsignedLong(*(unsigned short*)addr); in PyMember_GetOne()
34 v = PyLong_FromUnsignedLong(*(unsigned int*)addr); in PyMember_GetOne()
40 v = PyLong_FromUnsignedLong(*(unsigned long*)addr); in PyMember_GetOne()
Dmodsupport.c312 return PyLong_FromUnsignedLong(n); in do_mkvalue()
327 return PyLong_FromUnsignedLong(n); in do_mkvalue()
/external/python/cpython2/Python/
Dstructmember.c71 v = PyLong_FromUnsignedLong(*(unsigned char*)addr); in PyMember_GetOne()
77 v = PyLong_FromUnsignedLong(*(unsigned short*)addr); in PyMember_GetOne()
83 v = PyLong_FromUnsignedLong(*(unsigned int*)addr); in PyMember_GetOne()
89 v = PyLong_FromUnsignedLong(*(unsigned long*)addr); in PyMember_GetOne()
Dmodsupport.c349 return PyLong_FromUnsignedLong((unsigned long)n); in do_mkvalue()
367 return PyLong_FromUnsignedLong(n); in do_mkvalue()
/external/python/cpython2/Modules/
D_randommodule.c246 n = PyLong_FromUnsignedLong((unsigned long)hash); in random_seed()
265 masklower = PyLong_FromUnsignedLong(0xffffffffU); in random_seed()
328 element = PyLong_FromUnsignedLong(self->state[i]); in random_getstate()
D_testcapimodule.c513 #define F_U_TO_PY PyLong_FromUnsignedLong
1090 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_b()
1099 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_B()
1117 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_H()
1126 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_I()
1135 return PyLong_FromUnsignedLong(value); in getargs_k()
2972 PyModule_AddObject(m, "UINT_MAX", PyLong_FromUnsignedLong(UINT_MAX)); in init_testcapi()
2975 PyModule_AddObject(m, "ULONG_MAX", PyLong_FromUnsignedLong(ULONG_MAX)); in init_testcapi()
Daudioop.c388 return PyLong_FromUnsignedLong(max); in audioop_max()
466 return PyLong_FromUnsignedLong(res); in audioop_rms()
698 return PyLong_FromUnsignedLong(avg); in audioop_avgpp()
751 return PyLong_FromUnsignedLong(max); in audioop_maxpp()
D_struct.c401 return PyLong_FromUnsignedLong((unsigned long)x); in nu_uint()
420 return PyLong_FromUnsignedLong(x); in nu_ulong()
744 return PyLong_FromUnsignedLong(x); in bu_uint()
974 return PyLong_FromUnsignedLong((long)x); in lu_uint()
/external/python/cpython2/Include/
Dlongobject.h19 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
/external/python/cpython3/Modules/
D_stat.c327 return PyLong_FromUnsignedLong(mode & S_IMODE); in stat_S_IMODE()
340 return PyLong_FromUnsignedLong(mode & S_IFMT); in stat_S_IFMT()
D_randommodule.c331 element = PyLong_FromUnsignedLong(self->state[i]); in random_getstate()
405 return PyLong_FromUnsignedLong(genrand_int32(self) >> (32 - k)); in random_getrandbits()
Daudioop.c460 return PyLong_FromUnsignedLong(max); in audioop_max_impl()
549 return PyLong_FromUnsignedLong(res); in audioop_rms_impl()
814 return PyLong_FromUnsignedLong(avg); in audioop_avgpp_impl()
867 return PyLong_FromUnsignedLong(max); in audioop_maxpp_impl()
D_struct.c426 return PyLong_FromUnsignedLong((unsigned long)x); in nu_uint()
442 return PyLong_FromUnsignedLong(x); in nu_ulong()
808 return PyLong_FromUnsignedLong(x); in bu_uint()
1029 return PyLong_FromUnsignedLong(x); in lu_uint()
D_threadmodule.c1077 return PyLong_FromUnsignedLong(ident); in thread_PyThread_start_new_thread()
1142 return PyLong_FromUnsignedLong(ident); in thread_get_ident()
D_testcapimodule.c408 #define F_U_TO_PY PyLong_FromUnsignedLong
1071 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_b()
1080 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_B()
1098 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_H()
1107 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_I()
1116 return PyLong_FromUnsignedLong(value); in getargs_k()
5345 PyModule_AddObject(m, "UINT_MAX", PyLong_FromUnsignedLong(UINT_MAX)); in PyInit__testcapi()
5348 PyModule_AddObject(m, "ULONG_MAX", PyLong_FromUnsignedLong(ULONG_MAX)); in PyInit__testcapi()
Dsocketmodule.c2873 return PyLong_FromUnsignedLong(vflag); in sock_getsockopt()
4622 return PyLong_FromUnsignedLong(recv); }
4632 return PyLong_FromUnsignedLong(recv); }
4642 return PyLong_FromUnsignedLong(recv); }
5853 return PyLong_FromUnsignedLong(ntohs((unsigned short)x));
5892 return PyLong_FromUnsignedLong(ntohl(x));
5924 return PyLong_FromUnsignedLong(htons((unsigned short)x));
5963 return PyLong_FromUnsignedLong(htonl((unsigned long)x));
6526 return PyLong_FromUnsignedLong(index);
7969 tmp = PyLong_FromUnsignedLong(codes[i]);
Dzlibmodule.c1197 return PyLong_FromUnsignedLong(value & 0xffffffffU); in zlib_adler32_impl()
1238 return PyLong_FromUnsignedLong(signed_val & 0xffffffffU); in zlib_crc32_impl()
/external/python/cpython3/Modules/clinic/
Dbinascii.c.h294 return_value = PyLong_FromUnsignedLong((unsigned long)_return_value); in binascii_crc_hqx()
333 return_value = PyLong_FromUnsignedLong((unsigned long)_return_value); in binascii_crc32()
/external/python/cpython3/Include/
Dlongobject.h19 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
/external/python/cpython3/Modules/_ctypes/
Dcfield.c778 return PyLong_FromUnsignedLong(val); in I_get()
788 return PyLong_FromUnsignedLong(val); in I_get_sw()
874 return PyLong_FromUnsignedLong(val); in L_get()
884 return PyLong_FromUnsignedLong(val); in L_get_sw()
/external/python/cpython3/PC/
Dmsvcrtmodule.c492 return PyLong_FromUnsignedLong(res); in msvcrt_SetErrorMode_impl()
Dwinreg.c709 obData = PyLong_FromUnsignedLong(0); in Reg2Py()
711 obData = PyLong_FromUnsignedLong(*(DWORD *)retDataBuf); in Reg2Py()
/external/python/cpython2/Modules/_ctypes/
Dcfield.c796 return PyLong_FromUnsignedLong(val); in I_get()
806 return PyLong_FromUnsignedLong(val); in I_get_sw()
892 return PyLong_FromUnsignedLong(val); in L_get()
902 return PyLong_FromUnsignedLong(val); in L_get_sw()
/external/tensorflow/tensorflow/python/platform/
Dbase.i166 _LIST_OUTPUT_TYPEMAP(unsigned int, PyLong_FromUnsignedLong);
/external/python/cpython2/PC/os2vacpp/
Dpython.def242 PyLong_FromUnsignedLong

123