Searched refs:py_str (Results 1 – 2 of 2) sorted by relevance
480 PyObject *py_str = 0, *junk = 0; in write_other() local484 py_str = PyString_FromStringAndSize(self->write_buf, in write_other()486 if (!py_str) in write_other()496 if (!( py_str = in write_other()509 ARG_TUP(self, py_str); in write_other()518 PDATA_PUSH(self->file, py_str, -1); in write_other()4207 PyObject *py_str = 0, *value = 0; in load_get() local4215 if (!( py_str = PyString_FromStringAndSize(s, len - 1))) return -1; in load_get()4217 value = PyDict_GetItem(self->memo, py_str); in load_get()4219 PyErr_SetObject(BadPickleGet, py_str); in load_get()[all …]
1804 ScopedPyObjectPtr py_str(PyObject_Str(py_value.get())); in CheckAndGetInteger() local1805 if (!py_str.get()) { in CheckAndGetInteger()1809 return string(PyString_AsString(py_str.get())); in CheckAndGetInteger()