Searched refs:has_key (Results 1 - 25 of 264) sorted by relevance

1234567891011

/external/python/cpython2/Tools/pybench/
H A DDict.py354 has_key = d.has_key
372 has_key(0)
373 has_key(2)
374 has_key(4)
375 has_key(6)
376 has_key(8)
377 has_key(10)
400 has_key(0)
401 has_key(
[all...]
/external/python/cpython3/Tools/pybench/
H A DDict.py354 has_key = lambda key: key in d
372 has_key(0)
373 has_key(2)
374 has_key(4)
375 has_key(6)
376 has_key(8)
377 has_key(10)
400 has_key(0)
401 has_key(2)
402 has_key(
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_call.py12 self.assertRaises(TypeError, {}.has_key)
16 {}.has_key(0)
19 self.assertRaises(TypeError, {}.has_key, 0, 1)
23 {}.has_key(*())
29 {}.has_key(*(0,))
34 {}.has_key(*(1, 2))
41 self.assertRaises(TypeError, {}.has_key, x=2)
44 self.assertRaises(TypeError, {}.has_key, x=2)
47 self.assertRaises(TypeError, {}.has_key, x=2, y=2)
/external/llvm/utils/release/
H A DfindRegressions-nightly.py37 if not test.has_key(fname) :
78 if d_new.has_key(t) :
82 if d_old[t].has_key(x):
83 if d_new[t].has_key(x):
96 if d_old[t].has_key(tp + x):
97 if not d_new[t].has_key(tp + x):
101 if d_new[t].has_key(tp + x):
106 if d_old[t].has_key(exp + x):
107 if not d_new[t].has_key(exp + x):
111 if d_new[t].has_key(ex
[all...]
H A DfindRegressions-simple.py34 if not test.has_key(fname):
74 if d_new.has_key(t):
79 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
82 if d_old[t].has_key(x):
83 if d_new[t].has_key(x):
99 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
101 elif not d_new[t].has_key(x):
103 elif not d_old[t].has_key(
[all...]
/external/swiftshader/third_party/LLVM/utils/release/
H A DfindRegressions.py34 if not test.has_key(fname):
67 if d_new.has_key(t):
72 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
75 if d_old[t].has_key(x):
76 if d_new[t].has_key(x):
92 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
94 elif not d_new[t].has_key(x):
96 elif not d_old[t].has_key(
[all...]
/external/python/cpython2/Mac/Demo/applescript/Disk_Copy/
H A DUtility_Events.py35 if _arguments.has_key('errn'):
38 if _arguments.has_key('----'):
61 if _arguments.has_key('errn'):
64 if _arguments.has_key('----'):
87 if _arguments.has_key('errn'):
90 if _arguments.has_key('----'):
113 if _arguments.has_key('errn'):
116 if _arguments.has_key('----'):
139 if _arguments.has_key('errn'):
142 if _arguments.has_key('
[all...]
H A DSpecial_Events.py45 if _arguments.has_key('errn'):
48 if _arguments.has_key('----'):
74 if _arguments.has_key('errn'):
77 if _arguments.has_key('----'):
94 if _arguments.has_key('errn'):
97 if _arguments.has_key('----'):
133 if _arguments.has_key('errn'):
136 if _arguments.has_key('----'):
154 if _arguments.has_key('errn'):
157 if _arguments.has_key('
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
H A Dcommands.py68 if not _option_defaults.has_key(command):
78 if not _option_inherits.has_key(command):
91 if not _option_finalizers.has_key(command):
93 if not _option_finalizers[command].has_key(key):
111 if _option_defaults.has_key('install'):
118 if _option_inherits.has_key('install'):
121 if _option_finalizers.has_key('install'):
134 if _option_defaults.has_key('install_data'):
141 if _option_inherits.has_key('install_data'):
144 if _option_finalizers.has_key('install_dat
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
H A Dcommands.py68 if not _option_defaults.has_key(command):
78 if not _option_inherits.has_key(command):
91 if not _option_finalizers.has_key(command):
93 if not _option_finalizers[command].has_key(key):
111 if _option_defaults.has_key('install'):
118 if _option_inherits.has_key('install'):
121 if _option_finalizers.has_key('install'):
134 if _option_defaults.has_key('install_data'):
141 if _option_inherits.has_key('install_data'):
144 if _option_finalizers.has_key('install_dat
[all...]
/external/python/cpython2/Lib/curses/
H A D__init__.py54 # Import Python has_key() implementation if _curses doesn't contain has_key()
57 has_key
59 from has_key import has_key namespace
/external/python/cpython3/Lib/curses/
H A D__init__.py51 # Import Python has_key() implementation if _curses doesn't contain has_key()
54 has_key
56 from .has_key import has_key namespace
/external/python/cpython2/Lib/plat-mac/Carbon/
H A DControlAccessor.py29 if _accessdict.has_key(selector):
33 if not _codingdict.has_key(selector):
43 if _accessdict.has_key(selector):
46 if not _codingdict.has_key(selector):
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Netscape/
H A DMozilla_suite.py32 if _arguments.has_key('----'):
52 if _arguments.has_key('----'):
72 if _arguments.has_key('----'):
98 if _arguments.has_key('----'):
118 if _arguments.has_key('----'):
137 if _arguments.has_key('----'):
157 if _arguments.has_key('----'):
176 if _arguments.has_key('----'):
196 if _arguments.has_key('----'):
223 if _arguments.has_key('
[all...]
H A DPowerPlant.py36 if _arguments.has_key('----'):
61 if _arguments.has_key('----'):
H A DRequired_suite.py33 if _arguments.has_key('----'):
53 if _arguments.has_key('----'):
72 if _arguments.has_key('----'):
91 if _arguments.has_key('----'):
H A DWorldWideWeb_suite.py48 if _arguments.has_key('----'):
78 if _arguments.has_key('----'):
103 if _arguments.has_key('----'):
124 if _arguments.has_key('----'):
145 if _arguments.has_key('----'):
165 if _arguments.has_key('----'):
191 if _arguments.has_key('----'):
211 if _arguments.has_key('----'):
237 if _arguments.has_key('----'):
265 if _arguments.has_key('
[all...]
/external/autotest/client/tools/
H A Ddiffprofile33 if orig.has_key(key):
37 if diff.has_key(key):
43 if new.has_key(key):
47 if diff.has_key(key):
57 if orig.has_key(key) and orig[key] > 0:
/external/python/cpython2/Demo/pdist/
H A Dsecurity.py6 if env.has_key('PYTHON_KEYFILE'):
10 if env.has_key('HOME'):
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Explorer/
H A DWeb_Browser_Suite.py33 if _arguments.has_key('----'):
53 if _arguments.has_key('----'):
80 if _arguments.has_key('----'):
101 if _arguments.has_key('----'):
121 if _arguments.has_key('----'):
154 if _arguments.has_key('----'):
180 if _arguments.has_key('----'):
209 if _arguments.has_key('----'):
H A DNetscape_Suite.py32 if _arguments.has_key('----'):
H A DRequired_Suite.py33 if _arguments.has_key('----'):
53 if _arguments.has_key('----'):
72 if _arguments.has_key('----'):
91 if _arguments.has_key('----'):
H A DMicrosoft_Internet_Explorer.py33 if _arguments.has_key('----'):
53 if _arguments.has_key('----'):
79 if _arguments.has_key('----'):
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/
H A DHidden_Suite.py33 if _arguments.has_key('----'):
/external/python/cpython2/Demo/classes/
H A DDbm.py39 def has_key(self, key): member in class:Dbm
40 return self.db.has_key(repr(key))
49 if d.has_key(key):

Completed in 564 milliseconds

1234567891011