Home
last modified time | relevance | path

Searched refs:privateobj (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
Dcompile.c221 _Py_Mangle(PyObject *privateobj, PyObject *ident) in _Py_Mangle() argument
228 if (privateobj == NULL || !PyUnicode_Check(privateobj) || in _Py_Mangle()
235 plen = PyUnicode_GET_LENGTH(privateobj); in _Py_Mangle()
253 while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') in _Py_Mangle()
268 if (PyUnicode_MAX_CHAR_VALUE(privateobj) > maxchar) in _Py_Mangle()
269 maxchar = PyUnicode_MAX_CHAR_VALUE(privateobj); in _Py_Mangle()
276 if (PyUnicode_CopyCharacters(result, 1, privateobj, ipriv, plen) < 0) { in _Py_Mangle()
/external/python/cpython2/Python/
Dcompile.c187 _Py_Mangle(PyObject *privateobj, PyObject *ident) in _Py_Mangle() argument
194 if (privateobj == NULL || !PyString_Check(privateobj) || in _Py_Mangle()
199 p = PyString_AsString(privateobj); in _Py_Mangle()