Home
last modified time | relevance | path

Searched refs:input_obj (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
Dstropmodule.c952 PyObject *input_obj; in strop_translate() local
959 if (!PyArg_ParseTuple(args, "St#|t#:translate", &input_obj, in strop_translate()
969 inlen = PyString_GET_SIZE(input_obj); in strop_translate()
974 input = PyString_AsString(input_obj); in strop_translate()
986 Py_INCREF(input_obj); in strop_translate()
987 return input_obj; in strop_translate()
1005 Py_INCREF(input_obj); in strop_translate()
1006 return input_obj; in strop_translate()
/external/toolchain-utils/crosperf/
Dgenerate_report_unittest.py87 def _RunMainWithInput(self, args, input_obj): argument
90 input_buf = _ContextualStringIO(json.dumps(input_obj))
/external/python/cpython2/Objects/
Dstringobject.c2203 PyObject *input_obj = (PyObject*)self; in string_translate() local
2264 inlen = PyString_GET_SIZE(input_obj); in string_translate()
2269 input = PyString_AS_STRING(input_obj); in string_translate()
2278 if (changed || !PyString_CheckExact(input_obj)) in string_translate()
2281 Py_INCREF(input_obj); in string_translate()
2282 return input_obj; in string_translate()
2303 if (!changed && PyString_CheckExact(input_obj)) { in string_translate()
2305 Py_INCREF(input_obj); in string_translate()
2306 return input_obj; in string_translate()
Dbytearrayobject.c1447 PyObject *input_obj = (PyObject*)self; in bytearray_translate() local
1486 inlen = PyByteArray_GET_SIZE(input_obj); in bytearray_translate()
1491 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate()