Home
last modified time | relevance | path

Searched refs:PyLong_FromString (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Modules/
D_testcapimodule.c575 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
619 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
662 num = PyLong_FromString("FF", NULL, 16); in test_long_and_overflow()
677 num = PyLong_FromString("-FF", NULL, 16); in test_long_and_overflow()
740 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
784 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
827 num = PyLong_FromString("FF", NULL, 16); in test_long_long_and_overflow()
842 num = PyLong_FromString("-FF", NULL, 16); in test_long_long_and_overflow()
1198 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_k_code()
1218 num = PyLong_FromString("-FFFFFFFF000000000000000042", NULL, 16); in test_k_code()
Dstropmodule.c845 x = PyLong_FromString(s, &end, base); in strop_atol()
DcPickle.c3427 py_int = PyLong_FromString(s, NULL, 0); in load_int()
3552 if (!( l = PyLong_FromString(s, &end, 0))) in load_long()
/external/python/cpython2/Include/
Dlongobject.h58 PyAPI_FUNC(PyObject *) PyLong_FromString(char *, char **, int);
/external/python/cpython3/Include/
Dlongobject.h95 PyAPI_FUNC(PyObject *) PyLong_FromString(const char *, char **, int);
/external/python/cpython3/Doc/c-api/
Dlong.rst86 .. c:function:: PyObject* PyLong_FromString(const char *str, char **pend, int base)
103 and then converted using :c:func:`PyLong_FromString`.
115 :c:func:`PyLong_FromString`.
/external/python/cpython3/Modules/
D_testcapimodule.c468 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
512 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
555 num = PyLong_FromString("FF", NULL, 16); in test_long_and_overflow()
570 num = PyLong_FromString("-FF", NULL, 16); in test_long_and_overflow()
632 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
676 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
719 num = PyLong_FromString("FF", NULL, 16); in test_long_long_and_overflow()
734 num = PyLong_FromString("-FF", NULL, 16); in test_long_long_and_overflow()
1186 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_k_code()
1206 num = PyLong_FromString("-FFFFFFFF000000000000000042", NULL, 16); in test_k_code()
D_pickle.c4785 value = PyLong_FromString(s, NULL, 0); in load_int()
4939 value = PyLong_FromString(s, NULL, 0); in load_long()
5735 key = PyLong_FromString(s, NULL, 10); in load_get()
5903 key = PyLong_FromString(s, NULL, 10); in load_put()
D_json.c1045 rval = PyLong_FromString(buf, NULL, 10); in _match_number_unicode()
/external/python/cpython2/PC/os2vacpp/
Dpython.def241 PyLong_FromString
/external/python/cpython2/Doc/data/
Drefcounts.dat668 PyLong_FromString:PyObject*::+1:
669 PyLong_FromString:char*:str::
670 PyLong_FromString:char**:pend::
671 PyLong_FromString:int:base::
/external/python/cpython2/Objects/
Dintobject.c371 return PyLong_FromString(s, pend, base); in PyInt_FromString()
396 return PyLong_FromString(s, pend, base); in PyInt_FromString()
Dlongobject.c1715 PyLong_FromString(char *str, char **pend, int base) in PyLong_FromString() function
2010 result = PyLong_FromString(buffer, NULL, base); in PyLong_FromUnicode()
4047 return PyLong_FromString(PyString_AS_STRING(x), NULL, base); in long_new()
Dabstract.c1689 x = PyLong_FromString((char*)s, &end, 10);
/external/python/cpython2/Doc/c-api/
Dlong.rst86 .. c:function:: PyObject* PyLong_FromString(char *str, char **pend, int base)
/external/python/cpython3/PC/
Dpython3.def333 PyLong_FromString=python37.PyLong_FromString
/external/python/cpython3/Doc/data/
Drefcounts.dat1175 PyLong_FromString:PyObject*::+1:
1176 PyLong_FromString:const char*:str::
1177 PyLong_FromString:char**:pend::
1178 PyLong_FromString:int:base::
/external/python/cpython2/PC/os2emx/
Dpython27.def403 "PyLong_FromString"
/external/python/cpython3/Objects/
Dlongobject.c2117 PyLong_FromString(const char *str, char **pend, int base) in PyLong_FromString() function
2483 result = PyLong_FromString(s, &end, base); in _PyLong_FromBytes()
2524 result = PyLong_FromString(buffer, &end, base); in PyLong_FromUnicodeObject()
/external/python/cpython2/Python/
Dast.c3343 return PyLong_FromString((char *)s, (char **)0, 0); in parsenumber()
3347 return PyLong_FromString((char *)s, (char **)0, 0); in parsenumber()
/external/python/cpython3/Python/
Dast.c4055 return PyLong_FromString(s, (char **)0, 0); in parsenumber_raw()
4062 return PyLong_FromString(s, (char **)0, 0); in parsenumber_raw()
/external/python/cpython3/Misc/
DHISTORY16554 - Issue #3236: Return small longs from PyLong_FromString.