Lines Matching defs:keys
34 1. use a second dict to map keys to nodes (a la the pure Python version).
37 3. use a version of shared keys (split dict) that allows non-unicode keys.
122 keys X X
295 keys - dictkeys_new
343 keys MutableMapping - KeysView X
388 keys odictkeys_new
425 implementation) for __iter__(), keys(), values(), and items().
502 * odict keys (a simple doubly-linked list)
533 PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys;
538 return keys->dk_nentries; /* index of new entry */
588 PyDictKeysObject *keys;
591 keys = ((PyDictObject *)od)->ma_keys;
594 if (od->od_resize_sentinel != keys ||
595 od->od_fast_nodes_size != (ONE << (keys->dk_log2_size))) {
730 This matters in the case of colliding keys. Suppose we add 3 keys:
917 Create a new ordered dictionary with keys from iterable and values set to value.
1132 /* keys() */
1134 /* MutableMapping.keys() does not have a docstring. */
1314 {"keys", odictkeys_new, METH_NOARGS,
1494 /* Try comparing odict keys. */
1638 * The OrderedDict views (keys/values/items)
1737 /* Handle the keys case. */
1886 /* keys() */
2104 keys KeysView
2207 if (_PyObject_LookupAttr(arg, &_Py_ID(keys), &func) < 0) {
2211 PyObject *keys = _PyObject_CallNoArgs(func);
2213 if (keys == NULL) {
2216 PyObject *iterator = PyObject_GetIter(keys);
2217 Py_DECREF(keys);