Home
last modified time | relevance | path

Searched refs:PyLong_FromLongLong (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython2/Modules/_io/
D_iomodule.h104 # define PyLong_FromOff_t PyLong_FromLongLong
123 # define PyLong_FromOff_t PyLong_FromLongLong
Dfileio.c766 return PyLong_FromLongLong(res); in portable_lseek()
/external/python/cpython2/Include/
Dlongobject.h50 PyAPI_FUNC(PyObject *) PyLong_FromLongLong(PY_LONG_LONG);
/external/python/cpython2/Modules/_sqlite/
Dutil.c125 return PyLong_FromLongLong(value); in _pysqlite_long_from_int64()
/external/python/cpython2/Modules/
D_testcapimodule.c535 #define F_S_TO_PY PyLong_FromLongLong
750 num = PyLong_FromLongLong(PY_LLONG_MAX); in test_long_long_and_overflow()
794 num = PyLong_FromLongLong(PY_LLONG_MIN); in test_long_long_and_overflow()
851 num = PyLong_FromLongLong(PY_LLONG_MAX); in test_long_long_and_overflow()
866 num = PyLong_FromLongLong(PY_LLONG_MIN); in test_long_long_and_overflow()
1164 return PyLong_FromLongLong(value); in getargs_L()
2785 PyModule_AddObject(m, "LLONG_MAX", PyLong_FromLongLong(PY_LLONG_MAX)); in init_testcapi()
2786 PyModule_AddObject(m, "LLONG_MIN", PyLong_FromLongLong(PY_LLONG_MIN)); in init_testcapi()
Dresource.c336 v = PyLong_FromLongLong((PY_LONG_LONG) RLIM_INFINITY); in initresource()
D_struct.c435 return PyLong_FromLongLong(x); in nu_longlong()
762 return PyLong_FromLongLong(x); in bu_longlong()
990 return PyLong_FromLongLong(x); in lu_longlong()
Dposixmodule.c326 #define PyLong_FromPid PyLong_FromLongLong
525 return PyLong_FromLongLong(v); in _PyInt_FromDev()
1451 ival = PyLong_FromLongLong((PY_LONG_LONG)sec); in fill_time()
1480 PyLong_FromLongLong((PY_LONG_LONG)st->st_ino)); in _pystat_fromstructstat()
1499 PyLong_FromLongLong((PY_LONG_LONG)st->st_size)); in _pystat_fromstructstat()
6753 return PyLong_FromLongLong(res); in posix_lseek()
7465 PyLong_FromLongLong((PY_LONG_LONG) st.f_blocks)); in _pystatvfs_fromstructstatvfs()
7467 PyLong_FromLongLong((PY_LONG_LONG) st.f_bfree)); in _pystatvfs_fromstructstatvfs()
7469 PyLong_FromLongLong((PY_LONG_LONG) st.f_bavail)); in _pystatvfs_fromstructstatvfs()
7471 PyLong_FromLongLong((PY_LONG_LONG) st.f_files)); in _pystatvfs_fromstructstatvfs()
[all …]
Dalmodule.c79 return PyLong_FromLongLong(value.ll); in param2python()
879 return PyLong_FromLongLong((long long) fnum); in alp_GetFrameNumber()
897 v0 = PyLong_FromLongLong((long long) fnum); in alp_GetFrameTime()
898 v1 = PyLong_FromLongLong((long long) time); in alp_GetFrameTime()
1519 … PyList_SetItem(item, j, PyLong_FromLongLong(((long long *) pvs[i].value.ptr)[j])); in al_GetParams()
Dmmapmodule.c409 return PyLong_FromLongLong(size); in mmap_size_method()
423 return PyLong_FromLongLong(buf.st_size); in mmap_size_method()
Dbz2module.c1178 ret = PyLong_FromLongLong(self->pos); in BZ2File_tell()
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc184 return PyLong_FromLongLong(key.GetInt64Value()); in MapKeyToPython()
209 return PyLong_FromLongLong(value->GetInt64Value()); in MapValueRefToPython()
Drepeated_scalar_container.cc218 result = PyLong_FromLongLong(value); in Item()
224 result = PyLong_FromLongLong(value); in Item()
Dmessage.cc2243 result = PyLong_FromLongLong(value); in CheckAndGetInteger()
2842 kuint32max_py = PyLong_FromLongLong(kuint32max); in CheckAndGetInteger()
2843 kint64min_py = PyLong_FromLongLong(kint64min); in CheckAndGetInteger()
2844 kint64max_py = PyLong_FromLongLong(kint64max); in CheckAndGetInteger()
Ddescriptor.cc740 result = PyLong_FromLongLong(value); in GetDefaultValue()
/external/python/cpython2/Python/
Dstructmember.c128 v = PyLong_FromLongLong(*(PY_LONG_LONG *)addr); in PyMember_GetOne()
Dmodsupport.c374 return PyLong_FromLongLong((PY_LONG_LONG)va_arg(*p_va, PY_LONG_LONG)); in do_mkvalue()
/external/python/cpython2/PC/os2vacpp/
Dpython.def240 ; PyLong_FromLongLong
/external/python/cpython2/PC/
D_subprocess.c76 #define HANDLE_TO_PYNUM(handle) PyLong_FromLongLong((long long) handle)
D_winreg.c1394 l = PyLong_FromLongLong(li.QuadPart); in PyQueryInfoKey()
/external/python/cpython2/Mac/Modules/
DMacOS.c197 return PyLong_FromLongLong(where); in rf_tell()
/external/python/cpython2/Doc/c-api/
Dlong.rst68 .. c:function:: PyObject* PyLong_FromLongLong(PY_LONG_LONG v)
/external/python/cpython2/Modules/_ctypes/
Dcfield.c932 return PyLong_FromLongLong(val); in q_get()
942 return PyLong_FromLongLong(val); in q_get_sw()
/external/python/cpython2/PC/os2emx/
Dpython27.def401 "PyLong_FromLongLong"
/external/python/cpython2/Doc/data/
Drefcounts.dat656 PyLong_FromLongLong:PyObject*::+1:
657 PyLong_FromLongLong:long long:v::

12