Searched refs:py_key (Results 1 – 2 of 2) sorted by relevance
4221 PyObject *py_key = 0, *value = 0; in load_binget() local4229 if (!( py_key = PyInt_FromLong((long)key))) return -1; in load_binget()4231 value = PyDict_GetItem(self->memo, py_key); in load_binget()4233 PyErr_SetObject(BadPickleGet, py_key); in load_binget()4241 Py_DECREF(py_key); in load_binget()4249 PyObject *py_key = 0, *value = 0; in load_long_binget() local4266 if (!( py_key = PyInt_FromLong((long)key))) return -1; in load_long_binget()4268 value = PyDict_GetItem(self->memo, py_key); in load_long_binget()4270 PyErr_SetObject(BadPickleGet, py_key); in load_long_binget()4278 Py_DECREF(py_key); in load_long_binget()[all …]
754 PyObject* py_key = PyTuple_GET_ITEM(attrs, start_index + i); in SetOpAttrs() local757 const char* key = PyBytes_Check(py_key) ? PyBytes_AsString(py_key) in SetOpAttrs()758 : PyUnicode_AsUTF8(py_key); in SetOpAttrs()760 const char* key = PyBytes_AsString(py_key); in SetOpAttrs()