Home
last modified time | relevance | path

Searched +defs:key +defs:default (Results 1 – 25 of 98) sorted by relevance

1234

/external/python/cpython2/Lib/
Dweakref.py80 def __getitem__(self, key): argument
89 def __delitem__(self, key): argument
94 def __contains__(self, key): argument
103 def has_key(self, key): argument
115 def __setitem__(self, key, value): argument
148 def get(self, key, default=None): argument
225 def pop(self, key, *args): argument
240 def setdefault(self, key, default=None): argument
310 def __new__(type, ob, callback, key): argument
315 def __init__(self, ob, callback, key): argument
[all …]
DUserDict.py35 def __getitem__(self, key): argument
41 def __setitem__(self, key, item): self.data[key] = item argument
42 def __delitem__(self, key): del self.data[key] argument
62 def has_key(self, key): return key in self.data argument
91 def get(self, key, failobj=None): argument
95 def setdefault(self, key, failobj=None): argument
99 def pop(self, key, *args): argument
103 def __contains__(self, key): argument
132 def has_key(self, key): argument
138 def __contains__(self, key): argument
[all …]
Dshelve.py106 def has_key(self, key): argument
109 def __contains__(self, key): argument
112 def get(self, key, default=None): argument
117 def __getitem__(self, key): argument
127 def __setitem__(self, key, value): argument
135 def __delitem__(self, key): argument
192 def set_location(self, key): argument
Dcgi.py532 def __getitem__(self, key): argument
546 def getvalue(self, key, default=None): argument
557 def getfirst(self, key, default=None): argument
568 def getlist(self, key): argument
585 def has_key(self, key): argument
591 def __contains__(self, key): argument
815 def __getitem__(self, key): argument
819 def getlist(self, key): argument
839 def __getitem__(self, key): argument
867 def values(self, key): argument
[all …]
Dcollections.py71 def __setitem__(self, key, value, dict_setitem=dict.__setitem__): argument
81 def __delitem__(self, key, dict_delitem=dict.__delitem__): argument
149 def pop(self, key, default=__marker): argument
163 def setdefault(self, key, default=None): argument
479 def __missing__(self, key): argument
D_abcoll.py376 def __getitem__(self, key): argument
379 def get(self, key, default=None): argument
386 def __contains__(self, key): argument
449 def __contains__(self, key): argument
505 def __setitem__(self, key, value): argument
509 def __delitem__(self, key): argument
514 def pop(self, key, default=__marker): argument
576 def setdefault(self, key, default=None): argument
/external/autotest/client/common_lib/
Dglobal_config.py128 def _handle_no_value(self, section, key, default): argument
170 def get_config_value(self, section, key, type=str, argument
171 default=_NO_DEFAULT_SPECIFIED, allow_blank=False): argument
218 def get_config_value_with_fallback(self, section, key, fallback_key, argument
220 default=_NO_DEFAULT_SPECIFIED, **kwargs): argument
257 def override_config_value(self, section, key, new_value): argument
323 def _convert_value(self, key, section, value, value_type): argument
385 def set_config_value(self, section, key, value): argument
389 def get_config_value(self, section, key, type=str, argument
390 default=None, allow_blank=False): argument
/external/python/cpython2/Lib/test/
Dtest_descrtut.py15 def __init__(self, default=None): argument
19 def __getitem__(self, key): argument
25 def get(self, key, *args): argument
107 def __init__(self, default=None): argument
111 def __getitem__(self, key): argument
117 def get(self, key, *args): argument
/external/python/cpython3/Lib/test/
Dtest_descrtut.py15 def __init__(self, default=None): argument
19 def __getitem__(self, key): argument
25 def get(self, key, *args): argument
105 def __init__(self, default=None): argument
109 def __getitem__(self, key): argument
115 def get(self, key, *args): argument
/external/protobuf/python/google/protobuf/internal/
Dcontainers.py71 def get(self, key, default=None): argument
77 def __contains__(self, key): argument
121 def pop(self, key, default=__marker): argument
169 def setdefault(self, key, default=None): argument
202 def __getitem__(self, key): argument
255 def insert(self, key, value): argument
292 def pop(self, key=-1): argument
298 def __setitem__(self, key, value): argument
320 def __delitem__(self, key): argument
404 def pop(self, key=-1): argument
[all …]
/external/python/cpython3/Lib/
Dweakref.py134 def __getitem__(self, key): argument
143 def __delitem__(self, key): argument
153 def __contains__(self, key): argument
165 def __setitem__(self, key, value): argument
195 def get(self, key, default=None): argument
262 def pop(self, key, *args): argument
277 def setdefault(self, key, default=None): argument
336 def __new__(type, ob, callback, key): argument
341 def __init__(self, ob, callback, key): argument
391 def __delitem__(self, key): argument
[all …]
Dshelve.py101 def __contains__(self, key): argument
104 def get(self, key, default=None): argument
109 def __getitem__(self, key): argument
119 def __setitem__(self, key, value): argument
127 def __delitem__(self, key): argument
192 def set_location(self, key): argument
Dcgi.py526 def __getitem__(self, key): argument
540 def getvalue(self, key, default=None): argument
551 def getfirst(self, key, default=None): argument
562 def getlist(self, key): argument
579 def __contains__(self, key): argument
Dos.py673 def __getitem__(self, key): argument
681 def __setitem__(self, key, value): argument
687 def __delitem__(self, key): argument
713 def setdefault(self, key, value): argument
721 _putenv = lambda key, value: None argument
729 _unsetenv = lambda key: _putenv(key, "") argument
743 def encodekey(key): argument
769 def getenv(key, default=None): argument
791 def getenvb(key, default=None): argument
/external/python/cpython3/PC/layout/support/
Doptions.py96 def ns_get(ns, key, default=False): argument
100 def ns_set(ns, key, value=True): argument
/external/python/funcsigs/funcsigs/
Dodict.py46 def __setitem__(self, key, value, dict_setitem=dict.__setitem__): argument
56 def __delitem__(self, key, dict_delitem=dict.__delitem__): argument
179 def pop(self, key, default=__marker): argument
192 def setdefault(self, key, default=None): argument
/external/chromium-trace/catapult/devil/devil/android/
Dapk_helper.py107 def _ParseNumericKey(obj, key, default=0): argument
174 self, default='android.test.InstrumentationTestRunner'): argument
184 self, default='android.test.InstrumentationTestRunner'): argument
/external/libchrome/third_party/jinja2/
Dutils.py348 def get(self, key, default=None): argument
355 def setdefault(self, key, default=None): argument
378 def __contains__(self, key): argument
392 def __getitem__(self, key): argument
414 def __setitem__(self, key, value): argument
429 def __delitem__(self, key): argument
494 default=False): argument
/external/tensorflow/tensorflow/python/autograph/pyct/
Danno.py104 def getanno(node, key, default=FAIL, field_name='___pyct_anno'): argument
112 def hasanno(node, key, field_name='___pyct_anno'): argument
116 def setanno(node, key, value, field_name='___pyct_anno'): argument
126 def delanno(node, key, field_name='___pyct_anno'): argument
134 def copyanno(from_node, to_node, key, field_name='___pyct_anno'): argument
/external/markdown/markdown/
Dodict.py30 def __setitem__(self, key, value): argument
35 def __delitem__(self, key): argument
81 def setdefault(self, key, default): argument
90 def insert(self, index, key, value): argument
118 def index(self, key): argument
141 def add(self, key, value, location): argument
149 def link(self, key, location): argument
/external/python/cpython2/Lib/logging/
Dconfig.py288 def convert_with_key(self, key, value, replace=True): argument
321 def __getitem__(self, key): argument
325 def get(self, key, default=None): argument
329 def pop(self, key, default=None): argument
335 def __getitem__(self, key): argument
345 def __getitem__(self, key): argument
/external/python/cpython3/Lib/logging/
Dconfig.py289 def convert_with_key(self, key, value, replace=True): argument
322 def __getitem__(self, key): argument
326 def get(self, key, default=None): argument
330 def pop(self, key, default=None): argument
336 def __getitem__(self, key): argument
346 def __getitem__(self, key): argument
/external/autotest/client/cros/
Dkernel_config.py34 def get(self, key, default): argument
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dtfconfig_cluster_resolver.py46 def _get_value_in_tfconfig(key, default=None): argument
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeywords.gperf30 default, DEFAULT keyword
38 key, KEY keyword

1234