Home
last modified time | relevance | path

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

123

/external/python/cpython2/Modules/_io/
D_iomodule.h104 # define PyLong_FromOff_t PyLong_FromLongLong
123 # define PyLong_FromOff_t PyLong_FromLongLong
/external/python/cpython3/Modules/_io/
D_iomodule.h95 # define PyLong_FromOff_t PyLong_FromLongLong
114 # define PyLong_FromOff_t PyLong_FromLongLong
/external/python/cpython3/Include/
Dlongobject.h49 #define PyLong_FromPid PyLong_FromLongLong
88 PyAPI_FUNC(PyObject *) PyLong_FromLongLong(long long);
/external/tensorflow/tensorflow/python/platform/
Dbase.i110 $result = PyLong_FromLongLong($1);
164 _LIST_OUTPUT_TYPEMAP(long long, PyLong_FromLongLong);
/external/tensorflow/tensorflow/python/client/
Dtf_session.i138 $result = PyLong_FromLongLong($1);
451 $result = PyLong_FromLongLong(*$1);
639 PyList_SET_ITEM($result, i, PyLong_FromLongLong($1[i]));
702 PyList_SET_ITEM($result, i, PyLong_FromLongLong($1[i]));
/external/python/cpython3/Modules/_sqlite/
Dutil.c117 return PyLong_FromLongLong(value); in _pysqlite_long_from_int64()
/external/python/cpython2/Include/
Dlongobject.h50 PyAPI_FUNC(PyObject *) PyLong_FromLongLong(PY_LONG_LONG);
/external/python/cpython3/Modules/
Dsocketmodule.h170 #define PyLong_FromSocket_t(fd) PyLong_FromLongLong((SOCKET_T)(fd))
Dresource.c477 v = PyLong_FromLongLong((long long) RLIM_INFINITY); in PyInit_resource()
D_testcapimodule.c434 #define F_S_TO_PY PyLong_FromLongLong
648 num = PyLong_FromLongLong(PY_LLONG_MAX); in test_long_long_and_overflow()
692 num = PyLong_FromLongLong(PY_LLONG_MIN); in test_long_long_and_overflow()
749 num = PyLong_FromLongLong(PY_LLONG_MAX); in test_long_long_and_overflow()
764 num = PyLong_FromLongLong(PY_LLONG_MIN); in test_long_long_and_overflow()
1161 return PyLong_FromLongLong(value); in getargs_L()
4090 seconds = PyLong_FromLongLong(tv.tv_sec); in test_PyTime_AsTimeval()
5353 PyModule_AddObject(m, "LLONG_MAX", PyLong_FromLongLong(PY_LLONG_MAX)); in PyInit__testcapi()
5354 PyModule_AddObject(m, "LLONG_MIN", PyLong_FromLongLong(PY_LLONG_MIN)); in PyInit__testcapi()
D_struct.c466 return PyLong_FromLongLong(x); in nu_longlong()
823 return PyLong_FromLongLong(x); in bu_longlong()
1044 return PyLong_FromLongLong(x); in lu_longlong()
/external/python/cpython2/Modules/_sqlite/
Dutil.c125 return PyLong_FromLongLong(value); in _pysqlite_long_from_int64()
/external/python/cpython3/Misc/
Dcoverity_model.c65 PyObject *PyLong_FromLongLong(long long ival) in PyLong_FromLongLong() function
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc528 return PyLong_FromLongLong(self->id); in EagerTensor_getid()
549 PyLong_FromLongLong(TFE_TensorHandleDim(handle, i, self->status)); in EagerTensor_shape_tuple()
587 return PyLong_FromLongLong(n); in EagerTensor_num_elements()
1078 PyTuple_SET_ITEM(shape, i, PyLong_FromLongLong(dim_size)); in TFE_Py_TensorShapeOnDevice()
/external/python/cpython2/Modules/
D_testcapimodule.c541 #define F_S_TO_PY PyLong_FromLongLong
756 num = PyLong_FromLongLong(PY_LLONG_MAX); in test_long_long_and_overflow()
800 num = PyLong_FromLongLong(PY_LLONG_MIN); in test_long_long_and_overflow()
857 num = PyLong_FromLongLong(PY_LLONG_MAX); in test_long_long_and_overflow()
872 num = PyLong_FromLongLong(PY_LLONG_MIN); in test_long_long_and_overflow()
1172 return PyLong_FromLongLong(value); in getargs_L()
2980 PyModule_AddObject(m, "LLONG_MAX", PyLong_FromLongLong(PY_LLONG_MAX)); in init_testcapi()
2981 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()
992 return PyLong_FromLongLong(x); in lu_longlong()
Dposixmodule.c331 #define PyLong_FromPid PyLong_FromLongLong
530 return PyLong_FromLongLong(v); in _PyInt_FromDev()
1457 ival = PyLong_FromLongLong((PY_LONG_LONG)sec); in fill_time()
1486 PyLong_FromLongLong((PY_LONG_LONG)st->st_ino)); in _pystat_fromstructstat()
1505 PyLong_FromLongLong((PY_LONG_LONG)st->st_size)); in _pystat_fromstructstat()
6780 return PyLong_FromLongLong(res); in posix_lseek()
7499 PyLong_FromLongLong((PY_LONG_LONG) st.f_blocks)); in _pystatvfs_fromstructstatvfs()
7501 PyLong_FromLongLong((PY_LONG_LONG) st.f_bfree)); in _pystatvfs_fromstructstatvfs()
7503 PyLong_FromLongLong((PY_LONG_LONG) st.f_bavail)); in _pystatvfs_fromstructstatvfs()
7505 PyLong_FromLongLong((PY_LONG_LONG) st.f_files)); in _pystatvfs_fromstructstatvfs()
[all …]
/external/python/cpython3/Python/
Dstructmember.c78 v = PyLong_FromLongLong(*(long long *)addr); in PyMember_GetOne()
Dpytime.c88 return PyLong_FromLongLong((long long)t); in _PyLong_FromTime_t()
470 return PyLong_FromLongLong((long long)t); in _PyTime_AsNanosecondsObject()
/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()
/external/python/cpython2/Python/
Dstructmember.c128 v = PyLong_FromLongLong(*(PY_LONG_LONG *)addr); in PyMember_GetOne()
/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)

123