Home
last modified time | relevance | path

Searched refs:startkey (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Objects/
Dsetobject.c73 PyObject *startkey = entry->key; in set_lookkey() local
74 assert(startkey != dummy); in set_lookkey()
75 if (startkey == key) in set_lookkey()
77 if (PyUnicode_CheckExact(startkey) in set_lookkey()
79 && _PyUnicode_EQ(startkey, key)) in set_lookkey()
82 Py_INCREF(startkey); in set_lookkey()
83 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in set_lookkey()
84 Py_DECREF(startkey); in set_lookkey()
87 if (table != so->table || entry->key != startkey) in set_lookkey()
132 PyObject *startkey = entry->key; in set_add_entry() local
[all …]
Ddictobject.c823 PyObject *startkey = ep->me_key; in lookdict() local
824 Py_INCREF(startkey); in lookdict()
825 int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in lookdict()
826 Py_DECREF(startkey); in lookdict()
831 if (dk == mp->ma_keys && ep->me_key == startkey) { in lookdict()
/external/python/cpython2/Objects/
Dsetobject.c82 PyObject *startkey; in set_lookkey() local
93 startkey = entry->key; in set_lookkey()
94 Py_INCREF(startkey); in set_lookkey()
95 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in set_lookkey()
96 Py_DECREF(startkey); in set_lookkey()
99 if (table == so->table && entry->key == startkey) { in set_lookkey()
126 startkey = entry->key; in set_lookkey()
127 Py_INCREF(startkey); in set_lookkey()
128 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in set_lookkey()
129 Py_DECREF(startkey); in set_lookkey()
[all …]
Ddictobject.c329 PyObject *startkey; in lookdict() local
340 startkey = ep->me_key; in lookdict()
341 Py_INCREF(startkey); in lookdict()
342 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in lookdict()
343 Py_DECREF(startkey); in lookdict()
346 if (ep0 == mp->ma_table && ep->me_key == startkey) { in lookdict()
372 startkey = ep->me_key; in lookdict()
373 Py_INCREF(startkey); in lookdict()
374 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in lookdict()
375 Py_DECREF(startkey); in lookdict()
[all …]