|
| static void | GtfDict_View_dealloc (GtfDict_view *self) |
| | Deallocates a GtfDict_view object.
|
| |
| static Py_ssize_t | GtfDict_view_length (GtfDict_view *self) |
| | Returns the length of a GtfDict_view object.
|
| |
| static int | GtfDict_view_init (GtfDict_view *self, PyObject *args, PyObject *kwargs) |
| | Initializes a GtfDict_view object.
|
| |
| static int | view_iterate_op (void *const context, void *const value) |
| | Generic iteration logic, using generic set operations.
|
| |
| static PyObject * | GtfDict_view_set_op (GtfDict_view *restrict self, PyObject *restrict other, op_func op, core_item_func core_item, map_item_func map_item, bool set_init) |
| | Performs a set operation on the GtfDict_view object.
|
| |
| static int | contains_op (PyObject *restrict set, PyObject *restrict val, PyObject *restrict other) |
| | Checks if a value is contained in a set.
|
| |
| static PyObject * | GtfDict_View_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op, core_item_func core_item, map_item_func map_item) |
| | Performs a rich comparison between two GtfDict_view objects.
|
| |
| static int | base_and (PyObject *restrict set, PyObject *restrict val, PyObject *restrict other) |
| | The logic operation function for the AND view.
|
| |
| static int | base_or (PyObject *restrict set, PyObject *restrict val, PyObject *restrict other) |
| | The logic operation function for the OR view.
|
| |
| static int | base_subtract (PyObject *restrict set, PyObject *restrict val, PyObject *restrict other) |
| | The logic operation function for the SUBTRACT view.
|
| |
| static int | base_xor (PyObject *restrict set, PyObject *restrict val, PyObject *restrict other) |
| | The logic operation function for the XOR view.
|
| |
| static PyObject * | GtfDict_View_isdisjoint (GtfDict_view *restrict self, PyObject *restrict other, core_item_func core_item, map_item_func map_item) |
| | The isdisjoint method for the view.
|
| |
| static int | iterate_keys (void *const context, void *const e) |
| |
| static PyObject * | GtfDict_KeyView_iter (GtfDict_view *self) |
| | Collects the keys of a GtfDict_view object into a tuple, and returns the iterator.
|
| |
| static int | iterate_check_key (void *const context, void *const value) |
| |
| static int | GtfDict_KeyView_contains (GtfDict_view *self, PyObject *key) |
| | Checks if a key is contained in a GtfDict_view object.
|
| |
| static PyObject * | KeyView_core_item_func (uint8_t i, GtfDict_view *restrict self) |
| |
| static PyObject * | KeyView_map_item_func (struct map_tuple *restrict tuple) |
| |
| static PyObject * | GtfDict_KeyView_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op) |
| | Compares a GtfDict_KeyView object with another object using the specified operator.
|
| |
| static PyObject * | GtfDict_KeyView_and (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_KeyView_or (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_KeyView_subtract (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_KeyView_xor (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_KeyView_isdisjoint (GtfDict_view *self, PyObject *other) |
| |
| static int | iterate_values (void *const context, void *const e) |
| |
| static PyObject * | GtfDict_ValueView_iter (GtfDict_view *self) |
| | Iterates over the values of a GtfDict_view object, and returns the iterator.
|
| |
| static int | iterate_check_value (void *const context, void *const value) |
| |
| static int | GtfDict_ValueView_contains (GtfDict_view *self, PyObject *value) |
| | Checks if a value is contained in a GtfDict_ValueView object.
|
| |
| static PyObject * | ValueView_core_item_func (uint8_t i, GtfDict_view *restrict self) |
| |
| static PyObject * | ValueView_map_item_func (struct map_tuple *restrict tuple) |
| |
| static PyObject * | GtfDict_ValueView_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op) |
| | Compares a GtfDict_ValueView object with another object using the specified operator.
|
| |
| static int | iterate_items (void *const context, void *const e) |
| |
| static PyObject * | GtfDict_ItemView_iter (GtfDict_view *self) |
| | Iterates over the items of a GtfDict_ItemView object, and returns the iterator.
|
| |
| static int | iterate_check_item (void *const context, void *const value) |
| |
| static int | GtfDict_ItemView_contains (GtfDict_view *self, PyObject *value) |
| | Checks if a value is contained in a GtfDict_ItemView object.
|
| |
| static PyObject * | ItemView_core_item_func (uint8_t i, GtfDict_view *restrict self) |
| |
| static PyObject * | ItemView_map_item_func (struct map_tuple *restrict tuple) |
| |
| static PyObject * | GtfDict_ItemView_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op) |
| | Compares a GtfDict_ItemView object with another object using the specified operator.
|
| |
| static PyObject * | GtfDict_ItemView_and (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_ItemView_or (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_ItemViewsubtract (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_ItemView_xor (GtfDict_view *restrict self, PyObject *restrict other) |
| |
| static PyObject * | GtfDict_ItemView_isdisjoint (GtfDict_view *self, PyObject *other) |
| |