Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_testcapimodule.c569 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
613 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
656 num = PyLong_FromString("FF", NULL, 16); in test_long_and_overflow()
671 num = PyLong_FromString("-FF", NULL, 16); in test_long_and_overflow()
734 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
778 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
821 num = PyLong_FromString("FF", NULL, 16); in test_long_long_and_overflow()
836 num = PyLong_FromString("-FF", NULL, 16); in test_long_long_and_overflow()
1190 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_k_code()
1209 num = PyLong_FromString("-FFFFFFFF000000000000000042", NULL, 16); in test_k_code()
Dstropmodule.c845 x = PyLong_FromString(s, &end, base); in strop_atol()
DcPickle.c3411 py_int = PyLong_FromString(s, NULL, 0); in load_int()
3536 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/Doc/c-api/
Dlong.rst83 .. c:function:: PyObject* PyLong_FromString(const char *str, char **pend, int base)
101 and then converted using :c:func:`PyLong_FromString`.
113 :c:func:`PyLong_FromString`.
/external/python/cpython3/Include/
Dlongobject.h95 PyAPI_FUNC(PyObject *) PyLong_FromString(const char *, char **, int);
/external/python/cpython3/Modules/
D_testcapimodule.c470 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
514 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_and_overflow()
557 num = PyLong_FromString("FF", NULL, 16); in test_long_and_overflow()
572 num = PyLong_FromString("-FF", NULL, 16); in test_long_and_overflow()
635 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
679 num = PyLong_FromString("-FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_long_long_and_overflow()
722 num = PyLong_FromString("FF", NULL, 16); in test_long_long_and_overflow()
737 num = PyLong_FromString("-FF", NULL, 16); in test_long_long_and_overflow()
1189 num = PyLong_FromString("FFFFFFFFFFFFFFFFFFFFFFFF", NULL, 16); in test_k_code()
1208 num = PyLong_FromString("-FFFFFFFF000000000000000042", NULL, 16); in test_k_code()
D_pickle.c4620 value = PyLong_FromString(s, NULL, 0); in load_int()
4774 value = PyLong_FromString(s, NULL, 0); in load_long()
5571 key = PyLong_FromString(s, NULL, 10); in load_get()
5739 key = PyLong_FromString(s, NULL, 10); in load_put()
D_json.c1046 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/cpython3/Doc/data/
Drefcounts.dat686 PyLong_FromString:PyObject*::+1:
687 PyLong_FromString:const char*:str::
688 PyLong_FromString:char**:pend::
689 PyLong_FromString:int:base::
/external/python/cpython2/Objects/
Dintobject.c368 return PyLong_FromString(s, pend, base); in PyInt_FromString()
393 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.c1692 x = PyLong_FromString((char*)s, &end, 10);
/external/python/cpython3/PC/
Dpython3.def333 PyLong_FromString=python36.PyLong_FromString
/external/python/cpython2/Doc/c-api/
Dlong.rst86 .. c:function:: PyObject* PyLong_FromString(char *str, char **pend, int base)
/external/python/cpython2/PC/os2emx/
Dpython27.def403 "PyLong_FromString"
/external/python/cpython3/Objects/
Dlongobject.c2109 PyLong_FromString(const char *str, char **pend, int base) in PyLong_FromString() function
2468 result = PyLong_FromString(s, &end, base); in _PyLong_FromBytes()
2510 result = PyLong_FromString(buffer, &end, base); in PyLong_FromUnicodeObject()
/external/python/cpython2/Python/
Dast.c3341 return PyLong_FromString((char *)s, (char **)0, 0); in parsenumber()
3345 return PyLong_FromString((char *)s, (char **)0, 0); in parsenumber()
/external/python/cpython3/Python/
Dast.c4057 return PyLong_FromString(s, (char **)0, 0); in parsenumber_raw()
4064 return PyLong_FromString(s, (char **)0, 0); in parsenumber_raw()
/external/python/cpython3/Misc/
DHISTORY16554 - Issue #3236: Return small longs from PyLong_FromString.