Searched refs:input_obj (Results 1 – 4 of 4) sorted by relevance
952 PyObject *input_obj; in strop_translate() local959 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()
87 def _RunMainWithInput(self, args, input_obj): argument90 input_buf = _ContextualStringIO(json.dumps(input_obj))
2203 PyObject *input_obj = (PyObject*)self; in string_translate() local2264 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()
1447 PyObject *input_obj = (PyObject*)self; in bytearray_translate() local1486 inlen = PyByteArray_GET_SIZE(input_obj); in bytearray_translate()1491 input = PyByteArray_AS_STRING(input_obj); in bytearray_translate()