Home
last modified time | relevance | path

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

/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.c240 n = PyLong_FromUnsignedLong((unsigned long)hash); in random_seed()
259 masklower = PyLong_FromUnsignedLong(0xffffffffU); in random_seed()
322 element = PyLong_FromUnsignedLong(self->state[i]); in random_getstate()
D_testcapimodule.c507 #define F_U_TO_PY PyLong_FromUnsignedLong
1082 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_b()
1091 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_B()
1109 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_H()
1118 return PyLong_FromUnsignedLong((unsigned long)value); in getargs_I()
1127 return PyLong_FromUnsignedLong(value); in getargs_k()
2777 PyModule_AddObject(m, "UINT_MAX", PyLong_FromUnsignedLong(UINT_MAX)); in init_testcapi()
2780 PyModule_AddObject(m, "ULONG_MAX", PyLong_FromUnsignedLong(ULONG_MAX)); in init_testcapi()
Daudioop.c380 return PyLong_FromUnsignedLong(max); in audioop_max()
456 return PyLong_FromUnsignedLong(res); in audioop_rms()
688 return PyLong_FromUnsignedLong(avg); in audioop_avgpp()
741 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()
972 return PyLong_FromUnsignedLong((long)x); in lu_uint()
Dsocketmodule.c3034 return PyLong_FromUnsignedLong(recv); }
3044 return PyLong_FromUnsignedLong(recv); }
3867 return PyLong_FromUnsignedLong(ntohl(x));
3934 return PyLong_FromUnsignedLong(htonl((unsigned long)x));
5517 tmp = PyLong_FromUnsignedLong(codes[i]);
Darraymodule.c267 return PyLong_FromUnsignedLong( in II_getitem()
323 return PyLong_FromUnsignedLong(((unsigned long *)ap->ob_item)[i]); in LL_getitem()
D_ssl.c2448 return PyLong_FromUnsignedLong(flags); in get_verify_flags()
4377 r = PyLong_FromUnsignedLong(libver); in init_ssl()
Dposixmodule.c360 return PyLong_FromUnsignedLong(uid); in _PyInt_FromUid()
368 return PyLong_FromUnsignedLong(gid); in _PyInt_FromGid()
1485 PyStructSequence_SET_ITEM(v, 2, PyLong_FromUnsignedLong(st->st_dev)); in _pystat_fromstructstat()
D_sre.c4042 x = PyLong_FromUnsignedLong(SRE_MAXREPEAT); in init_sre()
D_bsddb.c1875 return PyLong_FromUnsignedLong(c_data.compact_pages_truncated); in DB_compact()
6233 return PyLong_FromUnsignedLong(max); in DBEnv_get_tx_max()
/external/python/cpython2/Include/
Dlongobject.h19 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
/external/python/cpython2/Modules/_ctypes/
Dcfield.c788 return PyLong_FromUnsignedLong(val); in I_get()
798 return PyLong_FromUnsignedLong(val); in I_get_sw()
884 return PyLong_FromUnsignedLong(val); in L_get()
894 return PyLong_FromUnsignedLong(val); in L_get_sw()
/external/python/cpython2/PC/os2vacpp/
Dpython.def242 PyLong_FromUnsignedLong
/external/python/cpython2/Doc/c-api/
Dlong.rst46 .. c:function:: PyObject* PyLong_FromUnsignedLong(unsigned long v)
/external/python/cpython2/PC/os2emx/
Dpython27.def405 "PyLong_FromUnsignedLong"
/external/python/cpython2/Doc/data/
Drefcounts.dat678 PyLong_FromUnsignedLong:PyObject*::+1:
679 PyLong_FromUnsignedLong:unsignedlong:v::
/external/python/cpython2/Objects/
Dlongobject.c145 PyLong_FromUnsignedLong(unsigned long ival) in PyLong_FromUnsignedLong() function
774 return PyLong_FromUnsignedLong((unsigned long)p); in PyLong_FromVoidPtr()
/external/python/cpython2/Misc/
DHISTORY13902 - New API functions PyLong_FromUnsignedLong() and