/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_memoryview.py | 70 def setitem(value): function 72 self.assertRaises(TypeError, setitem, b"a") 73 self.assertRaises(TypeError, setitem, 65) 74 self.assertRaises(TypeError, setitem, memoryview(b"a")) 101 def setitem(key, value): function 104 self.assertRaises(IndexError, setitem, 6, b"a") 105 self.assertRaises(IndexError, setitem, -7, b"a") 106 self.assertRaises(IndexError, setitem, sys.maxsize, b"a") 107 self.assertRaises(IndexError, setitem, -sys.maxsize, b"a") 109 self.assertRaises(TypeError, setitem, 0.0, b"a") [all …]
|
D | test_operator.py | 317 self.assertRaises(TypeError, operator.setitem, a) 318 self.assertRaises(TypeError, operator.setitem, a, None, None) 319 self.assertTrue(operator.setitem(a, 0, 2) is None) 321 self.assertRaises(IndexError, operator.setitem, a, 4, 2)
|
D | test_bigmem.py | 842 self.assertRaises(IndexError, operator.setitem, l, size, 6)
|
D | test_descr.py | 1615 self.setitem = (key, value) 1635 self.assertEqual(a.setitem, (12, 21))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | arraymodule.c | 28 int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *); member 471 if ((*self->ob_descr->setitem)(self, -1, v) < 0) in ins1() 489 return (*self->ob_descr->setitem)(self, where, v); in ins1() 781 return (*a->ob_descr->setitem)(a, i, v); in array_ass_item() 1326 if ((*self->ob_descr->setitem)(self, in array_fromlist() 1745 return (*self->ob_descr->setitem)(self, i, value); in array_ass_subscr()
|
D | cPickle.c | 1795 static char setitem = SETITEM; in batch_dict() local 1820 if (self->write_func(self, &setitem, 1) < 0) in batch_dict() 1854 if (self->write_func(self, &setitem, 1) < 0) in batch_dict() 1926 static char setitem = SETITEM; in batch_dict_exact() local 1941 if (self->write_func(self, &setitem, 1) < 0) in batch_dict_exact()
|
D | operator.c | 428 spam2(setitem,__setitem__,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | arraymodule.c | 28 int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *); member 471 if ((*self->ob_descr->setitem)(self, -1, v) < 0) in ins1() 489 return (*self->ob_descr->setitem)(self, where, v); in ins1() 781 return (*a->ob_descr->setitem)(a, i, v); in array_ass_item() 1326 if ((*self->ob_descr->setitem)(self, in array_fromlist() 1730 return (*self->ob_descr->setitem)(self, i, value); in array_ass_subscr()
|
D | operator.c | 302 spam2(setitem,__setitem__,
|
D | cPickle.c | 1764 static char setitem = SETITEM; in batch_dict() local 1789 if (self->write_func(self, &setitem, 1) < 0) in batch_dict() 1823 if (self->write_func(self, &setitem, 1) < 0) in batch_dict() 1895 static char setitem = SETITEM; in batch_dict_exact() local 1910 if (self->write_func(self, &setitem, 1) < 0) in batch_dict_exact()
|