Lines Matching defs:key
1923 references (key and value) which were ignored by
8236 PyObject *key, *item = NULL;
8244 key = PyLong_FromLong((long)ch);
8245 if (key == NULL)
8248 item = PyObject_GetItem(mapping, key);
8249 Py_DECREF(key);
8457 PyObject *key, *value;
8461 key = PyLong_FromLong(PyUnicode_READ(kind, data, i));
8463 if (!key || !value)
8465 if (PyDict_SetItem(result, key, value) == -1)
8467 Py_DECREF(key);
8472 Py_XDECREF(key);
13436 PyObject *new = NULL, *key, *value;
13464 key = PyLong_FromLong(PyUnicode_READ(x_kind, x_data, i));
13465 if (!key)
13469 Py_DECREF(key);
13472 res = PyDict_SetItem(new, key, value);
13473 Py_DECREF(key);
13483 key = PyLong_FromLong(PyUnicode_READ(z_kind, z_data, i));
13484 if (!key)
13486 res = PyDict_SetItem(new, key, Py_None);
13487 Py_DECREF(key);
13503 while (PyDict_Next(x, &i, &key, &value)) {
13504 if (PyUnicode_Check(key)) {
13507 if (PyUnicode_GET_LENGTH(key) != 1) {
13512 kind = PyUnicode_KIND(key);
13513 data = PyUnicode_DATA(key);
13521 } else if (PyLong_Check(key)) {
13523 if (PyDict_SetItem(new, key, value) < 0)
14704 PyObject *key;
14727 "incomplete format key");
14730 key = PyUnicode_Substring(ctx->fmtstr,
14732 if (key == NULL)
14738 ctx->args = PyObject_GetItem(ctx->dict, key);
14739 Py_DECREF(key);
15576 /* The two references in interned dict (key and value) are not counted by
15649 // Restore the two references (key and value) ignored