Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dcompile.c231 _Py_Mangle(PyObject *privateobj, PyObject *ident) in _Py_Mangle() argument
238 if (privateobj == NULL || !PyUnicode_Check(privateobj) || in _Py_Mangle()
245 plen = PyUnicode_GET_LENGTH(privateobj); in _Py_Mangle()
263 while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') in _Py_Mangle()
278 if (PyUnicode_MAX_CHAR_VALUE(privateobj) > maxchar) in _Py_Mangle()
279 maxchar = PyUnicode_MAX_CHAR_VALUE(privateobj); in _Py_Mangle()
286 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()