/external/python/cpython3/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_changed(d, d.__setitem__, 'key', value) 103 self.check_version_changed(d, d.__setitem__, 'key', value1) 107 self.check_version_changed(d, d.__setitem__, 'key', value2)
|
D | list_tests.py | 77 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 0), [1,2,3]) 78 self.assertRaises(TypeError, a.__setitem__, slice(0, 10), 1) 79 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 2), [1,2]) 105 self.assertRaises(IndexError, a.__setitem__, -3, 200) 106 self.assertRaises(IndexError, a.__setitem__, 2, 200) 109 self.assertRaises(IndexError, a.__setitem__, 0, 200) 110 self.assertRaises(IndexError, a.__setitem__, -1, 200) 111 self.assertRaises(TypeError, a.__setitem__) 197 self.assertRaises(TypeError, a.__setitem__, slice(0, 1, 5)) 199 self.assertRaises(TypeError, a.__setitem__)
|
D | test_buffer.py | 1370 self.assertRaises(TypeError, nd.__setitem__, 1, 8) 1373 self.assertRaises(TypeError, mv.__setitem__, 1, 8) 1385 self.assertRaises(OverflowError, nd.__setitem__, 1<<64, 8) 1389 self.assertRaises(IndexError, mv.__setitem__, 1<<64, 8) 1394 self.assertRaises(struct.error, nd.__setitem__, 2, 300) 1395 self.assertRaises(ValueError, nd.__setitem__, 1, (100, 200)) 1398 self.assertRaises(ValueError, mv.__setitem__, 2, 300) 1399 self.assertRaises(TypeError, mv.__setitem__, 1, (100, 200)) 1403 self.assertRaises(ValueError, nd.__setitem__, 2, 300) 1404 self.assertRaises(struct.error, nd.__setitem__, 1, (b'\x001', 200)) [all …]
|
D | test_array.py | 656 self.assertRaises(TypeError, a.__setitem__) 657 self.assertRaises(TypeError, a.__setitem__, None) 658 self.assertRaises(TypeError, a.__setitem__, 0, None) 661 a.__setitem__, 666 a.__setitem__, 848 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), None) 849 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), None) 852 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), b) 853 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), b) 1103 self.assertRaises(TypeError, a.__setitem__, 0, self.example[:2]) [all …]
|
D | test_shelve.py | 20 def __setitem__(self, key, value): member in byteskeydict 136 self.assertRaises(UnicodeEncodeError, s.__setitem__, key, [1])
|
/external/markdown/markdown/ |
D | odict.py | 30 def __setitem__(self, key, value): member in OrderedDict 31 super(OrderedDict, self).__setitem__(key, value) 79 self.__setitem__(k, v) 98 super(OrderedDict, self).__setitem__(key, value) 147 self.__setitem__(key, value)
|
/external/python/cpython2/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)
|
/external/python/cpython3/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)
|
/external/skqp/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)
|
/external/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)
|
/external/python/cpython2/Lib/ |
D | Cookie.py | 437 dict.__setitem__(self, K, "") 440 def __setitem__(self, K, V): member in Morsel 444 dict.__setitem__(self, K, V) 590 dict.__setitem__(self, key, M) 593 def __setitem__(self, key, value): member in BaseCookie 597 dict.__setitem__(self, key, value)
|
D | _strptime.py | 220 base.__setitem__('W', base.__getitem__('U').replace('U', 'W')) 221 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time)) 222 base.__setitem__('x', self.pattern(self.locale_time.LC_date)) 223 base.__setitem__('X', self.pattern(self.locale_time.LC_time))
|
D | shelve.py | 80 __getitem__ = __setitem__ = __delitem__ = keys = closed 127 def __setitem__(self, key, value): member in Shelf
|
/external/python/cpython2/Lib/test/ |
D | list_tests.py | 69 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 0), [1,2,3]) 70 self.assertRaises(TypeError, a.__setitem__, slice(0, 10), 1) 71 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 2), [1,2]) 97 self.assertRaises(IndexError, a.__setitem__, -3, 200) 98 self.assertRaises(IndexError, a.__setitem__, 2, 200) 101 self.assertRaises(IndexError, a.__setitem__, 0, 200) 102 self.assertRaises(IndexError, a.__setitem__, -1, 200) 103 self.assertRaises(TypeError, a.__setitem__) 186 self.assertRaises(TypeError, a.__setitem__, slice(0, 1, 5)) 189 self.assertRaises(TypeError, a.__setitem__)
|
D | test_array.py | 440 self.assertRaises(TypeError, a.__setitem__) 441 self.assertRaises(TypeError, a.__setitem__, None) 442 self.assertRaises(TypeError, a.__setitem__, 0, None) 445 a.__setitem__, 450 a.__setitem__, 633 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), None) 634 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), None) 638 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), b) 639 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), b) 820 self.assertRaises(TypeError, a.__setitem__, 0, self.example[:2]) [all …]
|
D | test_userstring.py | 52 self.assertRaises(IndexError, s.__setitem__, -4, "bar") 53 self.assertRaises(IndexError, s.__setitem__, 3, "bar")
|
/external/python/cpython3/Lib/http/ |
D | cookies.py | 300 dict.__setitem__(self, key, "") 329 def __setitem__(self, K, V): member in Morsel 333 dict.__setitem__(self, K, V) 512 dict.__setitem__(self, key, M) 514 def __setitem__(self, key, value): member in BaseCookie 518 dict.__setitem__(self, key, value)
|
/external/tensorflow/tensorflow/python/platform/ |
D | flags.py | 99 def __setitem__(self, name, flag): member in _FlagValuesWrapper 100 return self.__dict__['__wrapped'].__setitem__(name, flag)
|
/external/python/cpython3/Lib/ |
D | _strptime.py | 226 base.__setitem__('W', base.__getitem__('U').replace('U', 'W')) 227 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time)) 228 base.__setitem__('x', self.pattern(self.locale_time.LC_date)) 229 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
|
/external/autotest/client/common_lib/ |
D | metrics_mock_class.py | 79 def __setitem__(self, key, value): member in mock_class_base
|
/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 298 def __setitem__(self, key, value): member in RepeatedScalarFieldContainer 481 def __setitem__(self, key, value): member in ScalarMap 579 def __setitem__(self, key, value): member in MessageMap
|
/external/tensorflow/tensorflow/contrib/py2tf/utils/ |
D | tensor_list.py | 48 def __setitem__(self, key, value): member in TensorList
|
/external/python/cpython2/Lib/plat-riscos/ |
D | riscosenviron.py | 20 def __setitem__(self, key, item): member in _Environ
|
/external/python/cpython2/Demo/classes/ |
D | Dbm.py | 27 def __setitem__(self, key, value): member in Dbm
|