Lines Matching defs:item

2872  *     MARK item item ... item APPENDS
2916 /* Get first item */
2926 /* Try to get a second item */
2932 /* Only one item to write */
2941 /* More than one item to write */
2984 * MARK item item ... item APPENDS
2996 PyObject *item = NULL;
3008 item = PyList_GET_ITEM(obj, 0);
3009 Py_INCREF(item);
3010 int err = save(self, item, 0);
3011 Py_DECREF(item);
3026 item = PyList_GET_ITEM(obj, total);
3027 Py_INCREF(item);
3028 int err = save(self, item, 0);
3029 Py_DECREF(item);
3159 /* Get first item */
3174 /* Try to get a second item */
3180 /* Only one item to write */
3191 /* More than one item to write */
3389 PyObject *item;
3433 while (_PySet_NextEntry(obj, &ppos, &item, &hash)) {
3434 Py_INCREF(item);
3435 int err = save(self, item, 0);
3436 Py_CLEAR(item);
3495 PyObject *item;
3497 item = PyIter_Next(iter);
3498 if (item == NULL) {
3505 if (save(self, item, 0) < 0) {
3506 Py_DECREF(item);
3510 Py_DECREF(item);
3539 PyObject *item;
3545 item = PyDict_GetItemWithError(st->name_mapping_3to2, key);
3547 if (item) {
3551 if (!PyTuple_Check(item) || PyTuple_GET_SIZE(item) != 2) {
3555 Py_TYPE(item)->tp_name);
3558 fixed_module_name = PyTuple_GET_ITEM(item, 0);
3559 fixed_global_name = PyTuple_GET_ITEM(item, 1);
3582 item = PyDict_GetItemWithError(st->import_mapping_3to2, *module_name);
3583 if (item) {
3584 if (!PyUnicode_Check(item)) {
3588 Py_TYPE(item)->tp_name);
3591 Py_INCREF(item);
3592 Py_XSETREF(*module_name, item);
3987 PyErr_SetString(st->PicklingError, "first item of the tuple "
3992 PyErr_SetString(st->PicklingError, "second item of the tuple "
4057 "first item from NEWOBJ_EX argument tuple must "
4064 "second item from NEWOBJ_EX argument tuple must "
4071 "third item from NEWOBJ_EX argument tuple must "
4102 PyObject *item = PyTuple_GET_ITEM(args, i);
4103 Py_INCREF(item);
4104 PyTuple_SET_ITEM(newargs, i + 2, item);
4182 Thus when save() was called on newargstup (the 2nd item) recursion
5006 "'memo' values must be 2-item tuples");
6623 PyObject *item;
6625 item = self->stack->data[i];
6626 result = _Pickle_FastCall(add_func, item);
7051 PyObject *item;
7059 item = PyDict_GetItemWithError(st->name_mapping_2to3, key);
7061 if (item) {
7062 if (!PyTuple_Check(item) || PyTuple_GET_SIZE(item) != 2) {
7065 "2-tuples, not %.200s", Py_TYPE(item)->tp_name);
7068 module_name = PyTuple_GET_ITEM(item, 0);
7069 global_name = PyTuple_GET_ITEM(item, 1);
7085 item = PyDict_GetItemWithError(st->import_mapping_2to3, module_name);
7086 if (item) {
7087 if (!PyUnicode_Check(item)) {
7090 "strings, not %.200s", Py_TYPE(item)->tp_name);
7093 module_name = item;