/third_party/python/Lib/test/ |
D | test_dict_version.py | 67 self.check_version_changed(d, d.__setitem__, 'x', 'x') 68 self.check_version_changed(d, d.__setitem__, 'y', 'y') 71 self.check_version_changed(d, d.__setitem__, 'x', 1) 72 self.check_version_changed(d, d.__setitem__, 'y', 2) 79 self.check_version_changed(d, d.__setitem__, 'key', value) 83 self.check_version_dont_change(d, d.__setitem__, 'key', value) 104 self.check_version_changed(d, d.__setitem__, 'key', value1) 109 self.check_version_changed(d, d.__setitem__, 'key', value2)
|
D | list_tests.py | 71 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 0), [1,2,3]) 72 self.assertRaises(TypeError, a.__setitem__, slice(0, 10), 1) 73 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 2), [1,2]) 99 self.assertRaises(IndexError, a.__setitem__, -3, 200) 100 self.assertRaises(IndexError, a.__setitem__, 2, 200) 103 self.assertRaises(IndexError, a.__setitem__, 0, 200) 104 self.assertRaises(IndexError, a.__setitem__, -1, 200) 105 self.assertRaises(TypeError, a.__setitem__) 191 self.assertRaises(TypeError, a.__setitem__, slice(0, 1, 5)) 193 self.assertRaises(TypeError, a.__setitem__)
|
D | test_buffer.py | 1398 self.assertRaises(TypeError, nd.__setitem__, 1, 8) 1401 self.assertRaises(TypeError, mv.__setitem__, 1, 8) 1413 self.assertRaises(OverflowError, nd.__setitem__, 1<<64, 8) 1417 self.assertRaises(IndexError, mv.__setitem__, 1<<64, 8) 1422 self.assertRaises(struct.error, nd.__setitem__, 2, 300) 1423 self.assertRaises(ValueError, nd.__setitem__, 1, (100, 200)) 1426 self.assertRaises(ValueError, mv.__setitem__, 2, 300) 1427 self.assertRaises(TypeError, mv.__setitem__, 1, (100, 200)) 1431 self.assertRaises(ValueError, nd.__setitem__, 2, 300) 1432 self.assertRaises(struct.error, nd.__setitem__, 1, (b'\x001', 200)) [all …]
|
D | test_shelve.py | 25 def __setitem__(self, key, value): member in byteskeydict 128 self.assertRaises(UnicodeEncodeError, s.__setitem__, key, [1])
|
D | test_array.py | 706 self.assertRaises(TypeError, a.__setitem__) 707 self.assertRaises(TypeError, a.__setitem__, None) 708 self.assertRaises(TypeError, a.__setitem__, 0, None) 711 a.__setitem__, 716 a.__setitem__, 898 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), None) 899 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), None) 902 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), b) 903 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), b) 1165 self.assertRaises(TypeError, a.__setitem__, 0, self.example[:2]) [all …]
|
D | test_slice.py | 230 def __setitem__(self, i, k): member in SliceTest.test_setslice_without_getslice.X
|
/third_party/python/Lib/ctypes/test/ |
D | test_varsize_struct.py | 42 self.assertRaises(IndexError, array.__setitem__, 0, None) 44 self.assertRaises(IndexError, array.__setitem__, 1, None) 46 self.assertRaises(IndexError, array.__setitem__, -1, None)
|
/third_party/skia/tools/skpbench/ |
D | skiaperf.py | 51 dict.__setitem__(self, key, JSONDict()) 54 def __setitem__(self, key, val): member in JSONDict 59 dict.__setitem__(self, key, val)
|
/third_party/flutter/skia/tools/skpbench/ |
D | skiaperf.py | 51 dict.__setitem__(self, key, JSONDict()) 54 def __setitem__(self, key, val): member in JSONDict 59 dict.__setitem__(self, key, val)
|
/third_party/python/Lib/http/ |
D | cookies.py | 295 dict.__setitem__(self, key, "") 309 def __setitem__(self, K, V): member in Morsel 313 dict.__setitem__(self, K, V) 489 dict.__setitem__(self, key, M) 491 def __setitem__(self, key, value): member in BaseCookie 495 dict.__setitem__(self, key, value)
|
/third_party/python/Lib/ |
D | _strptime.py | 214 base.__setitem__('W', base.__getitem__('U').replace('U', 'W')) 215 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time)) 216 base.__setitem__('x', self.pattern(self.locale_time.LC_date)) 217 base.__setitem__('X', self.pattern(self.locale_time.LC_time))
|
D | shelve.py | 71 __iter__ = __len__ = __getitem__ = __setitem__ = __delitem__ = keys = closed 119 def __setitem__(self, key, value): member in Shelf
|
D | weakref.py | 165 def __setitem__(self, key, value): member in WeakValueDictionary 428 def __setitem__(self, key, value): member in WeakKeyDictionary
|
D | mailbox.py | 60 def __setitem__(self, key, message): member in Mailbox 346 def __setitem__(self, key, message): member in Maildir 619 def __setitem__(self, key, message): member in _singlefileMailbox 998 def __setitem__(self, key, message): member in MH 1264 def __setitem__(self, key, message): member in Babyl 1266 _singlefileMailbox.__setitem__(self, key, message)
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | containers.py | 305 def __setitem__(self, key, value): member in RepeatedScalarFieldContainer 509 def __setitem__(self, key, value): member in ScalarMap 614 def __setitem__(self, key, value): member in MessageMap
|
D | extension_dict.py | 148 def __setitem__(self, extension_handle, value): member in _ExtensionDict
|
D | well_known_types.py | 768 def __setitem__(self, key, value): member in Struct 829 def __setitem__(self, index, value): member in ListValue
|
/third_party/python/Lib/wsgiref/ |
D | headers.py | 52 def __setitem__(self, name, val): member in Headers
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | utils.py | 414 def __setitem__(self, key, value): member in LRUCache 631 def __setitem__(self, name, value): member in Namespace
|
/third_party/skia/third_party/externals/jinja2/ |
D | utils.py | 442 def __setitem__(self, key, value): member in LRUCache 713 def __setitem__(self, name, value): member in Namespace
|
/third_party/python/Lib/collections/ |
D | __init__.py | 106 def __setitem__(self, key, value, member in OrderedDict 107 dict_setitem=dict.__setitem__, proxy=_proxy, Link=_Link): 1033 def __setitem__(self, key, value): member in ChainMap 1104 def __setitem__(self, key, item): member in UserDict 1221 def __setitem__(self, i, item): member in UserList
|
/third_party/jinja2/ |
D | utils.py | 519 def __setitem__(self, key: t.Any, value: t.Any) -> None: member in LRUCache 751 def __setitem__(self, name: str, value: t.Any) -> None: member in Namespace
|
/third_party/python/Lib/tkinter/ |
D | font.py | 115 def __setitem__(self, key, value): member in Font
|
/third_party/python/Lib/multiprocessing/ |
D | sharedctypes.py | 225 def __setitem__(self, i, value): member in SynchronizedArray
|
/third_party/python/Lib/dbm/ |
D | dumb.py | 186 def __setitem__(self, key, val): member in _Database
|