/external/python/cpython3/Lib/test/ |
D | test_ordered_dict.py | 223 self.assertEqual(od.popitem(), pairs.pop()) 225 od.popitem() 234 obj.popitem(True) 235 obj.popitem(True) 236 obj.popitem(last=True) 556 od.popitem() 577 od.popitem(last=False) 620 dict.popitem(od) 775 self.assertRaises(KeyError, d.popitem) 787 self.assertRaises(KeyError, d.popitem) [all …]
|
D | test_iterlen.py | 120 self.mutate = d.popitem 127 self.mutate = d.popitem 134 self.mutate = d.popitem
|
D | mapping_tests.py | 35 key, value = self.reference.popitem() 39 key, value = self.reference.popitem() 127 key, value = d.popitem() 131 self.assertRaises(KeyError, p.popitem) 290 self.assertRaises(KeyError, d.popitem) 291 self.assertRaises(TypeError, d.popitem, 42) 516 ka, va = ta = a.popitem() 518 kb, vb = tb = b.popitem()
|
D | test_dict_version.py | 149 self.check_version_changed(d, d.popitem) 153 d.popitem)
|
D | test_userdict.py | 141 self.assertEqual(t.popitem(), ("x", 42)) 142 self.assertRaises(KeyError, t.popitem)
|
D | test_dict.py | 421 ka, va = ta = a.popitem() 423 kb, vb = tb = b.popitem() 430 self.assertRaises(KeyError, d.popitem) 979 item = a.popitem() # split table is combined 1013 a.__dict__.popitem() 1116 d.popitem()
|
/external/python/cpython2/Lib/test/ |
D | test_iterlen.py | 135 self.mutate = d.popitem 142 self.mutate = d.popitem 149 self.mutate = d.popitem
|
D | mapping_tests.py | 36 key, value = self.reference.popitem() 40 key, value = self.reference.popitem() 131 key, value = d.popitem() 135 self.assertRaises(KeyError, p.popitem) 297 self.assertRaises(KeyError, d.popitem) 298 self.assertRaises(TypeError, d.popitem, 42) 535 ka, va = ta = a.popitem() 537 kb, vb = tb = b.popitem()
|
D | test_ordered_dict.py | 123 self.assertEqual(od.popitem(), pairs.pop()) 125 od.popitem() 297 self.assertRaises(KeyError, d.popitem) 307 self.assertRaises(KeyError, d.popitem)
|
D | test_userdict.py | 151 self.assertEqual(t.popitem(), ("x", 42)) 152 self.assertRaises(KeyError, t.popitem) 353 k, v = s.popitem() 362 self.assertRaises(KeyError, s.popitem)
|
D | test_dict.py | 349 ka, va = ta = a.popitem() 351 kb, vb = tb = b.popitem() 358 self.assertRaises(KeyError, d.popitem)
|
/external/python/cpython2/Lib/ |
D | UserDict.py | 101 def popitem(self): member in UserDict 102 return self.data.popitem() 177 def popitem(self): member in DictMixin
|
D | weakref.py | 216 def popitem(self): member in WeakValueDictionary 220 key, wr = self.data.popitem() 470 def popitem(self): member in WeakKeyDictionary 472 key, value = self.data.popitem()
|
D | _abcoll.py | 528 def popitem(self): member in MutableMapping 544 self.popitem()
|
/external/bcc/tests/python/ |
D | test_stat1.py | 63 x = self.stats.popitem() 67 (_, x) = self.stats.popitem()
|
/external/markdown/markdown/ |
D | odict.py | 52 def popitem(self): member in OrderedDict 53 result = super(OrderedDict, self).popitem()
|
/external/python/cpython3/Lib/ |
D | weakref.py | 253 def popitem(self): member in WeakValueDictionary 257 key, wr = self.data.popitem() 476 def popitem(self): member in WeakKeyDictionary 479 key, value = self.data.popitem()
|
D | _collections_abc.py | 804 def popitem(self): member in MutableMapping 820 self.popitem()
|
/external/fonttools/Lib/fontTools/misc/ |
D | dictTools.py | 52 def popitem(self, *args, **kwargs): member in hashdict
|
/external/autotest/site_utils/rpm_control_system/ |
D | utils.py | 106 removed_key, _ = self.cache.popitem(last=False)
|
/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 132 def popitem(self): member in MutableMapping 144 self.popitem()
|
/external/mesa3d/scons/ |
D | gallium.py | 273 env.popitem('debug') 274 env.popitem('profile')
|
/external/python/funcsigs/funcsigs/ |
D | odict.py | 93 def popitem(self, last=True): member in OrderedDict
|
/external/tensorflow/tensorflow/core/kernels/ |
D | map_stage_op.cc | 427 Status popitem(KeyType* key, const Tensor* indices, Tuple* tuple) { in popitem() function in tensorflow::__anonf2748bbc0111::StagingMap 707 OP_REQUIRES_OK(ctx, map->popitem(&key, indices_tensor, &tuple)); in Compute()
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 167 def popitem(self, last=True): member in OrderedDict 972 def popitem(self): member in ChainMap 975 return self.maps[0].popitem()
|