Lines Matching refs:py_str
480 PyObject *py_str = 0, *junk = 0; in write_other() local
484 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()
4193 PyObject *py_str = 0, *value = 0; in load_get() local
4201 if (!( py_str = PyString_FromStringAndSize(s, len - 1))) return -1; in load_get()
4203 value = PyDict_GetItem(self->memo, py_str); in load_get()
4205 PyErr_SetObject(BadPickleGet, py_str); in load_get()
4213 Py_DECREF(py_str); in load_get()
4354 PyObject *py_str = 0, *value = 0; in load_put() local
4361 if (!( py_str = PyString_FromStringAndSize(s, l - 1))) return -1; in load_put()
4363 l=PyDict_SetItem(self->memo, py_str, value); in load_put()
4364 Py_DECREF(py_str); in load_put()