Home
last modified time | relevance | path

Searched refs:setdefault (Results 1 – 25 of 58) sorted by relevance

123

/external/protobuf/python/google/protobuf/internal/
Ddecoder.py213 value = field_dict.setdefault(key, new_default(message))
232 value = field_dict.setdefault(key, new_default(message))
378 value = field_dict.setdefault(key, new_default(message))
409 value = field_dict.setdefault(key, new_default(message))
501 value = field_dict.setdefault(key, new_default(message))
538 value = field_dict.setdefault(key, new_default(message))
577 value = field_dict.setdefault(key, new_default(message))
581 value = field_dict.setdefault(key, new_default(message))
598 value = field_dict.setdefault(key, new_default(message))
622 value = field_dict.setdefault(key, new_default(message))
[all …]
/external/nanopb-c/generator/google/protobuf/internal/
Ddecoder.py196 value = field_dict.setdefault(key, new_default(message))
215 value = field_dict.setdefault(key, new_default(message))
391 value = field_dict.setdefault(key, new_default(message))
428 value = field_dict.setdefault(key, new_default(message))
467 value = field_dict.setdefault(key, new_default(message))
471 value = field_dict.setdefault(key, new_default(message))
488 value = field_dict.setdefault(key, new_default(message))
512 value = field_dict.setdefault(key, new_default(message))
516 value = field_dict.setdefault(key, new_default(message))
537 value = field_dict.setdefault(key, new_default(message))
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Dconfig.py83 self.setdefault(module, config)
106 self.setdefault(module, values)
143 def setdefault(self, module, values): member in Config
160 module_dict.setdefault(key, value)
/external/regex-re2/re2/
Dunicode.py242 togroup.setdefault(lower, [lower]).extend(codes)
268 scripts.setdefault(name, []).extend(codes)
289 categories.setdefault(category, []).extend(codes)
293 categories.setdefault(short, []).extend(codes)
/external/skia/bench/
Dbench_util.py145 value_dic.setdefault(bench, {}).setdefault(
146 current_config, {}).setdefault(current_time_type, []).append(
148 layout_dic.setdefault(bench, {}).setdefault(
149 current_config, {}).setdefault(current_time_type, tile_layout)
Dcheck_bench_regressions.py169 exceptions[SLOWER].setdefault(off_ratio, []).append(exception)
171 exceptions[FASTER].setdefault(off_ratio, []).append(exception)
/external/ipsec-tools/src/racoon/
Dlocalconf.c68 static void setdefault __P((void));
77 setdefault(); in initlcconf()
87 setdefault(); in flushlcconf()
103 setdefault() in setdefault() function
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_multidict.py36 assert d.setdefault('z', item) is item
39 assert d.setdefault('y', 6) == 6
118 assert d.setdefault(k('z'), item) is item
124 assert isinstance(d.setdefault(k('y'), b'y test'), six.text_type)
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dstatic.py28 kw.setdefault('content_type', content_type)
29 kw.setdefault('content_encoding', content_encoding)
30 kw.setdefault('accept_ranges', 'bytes')
Dmultidict.py161 r.setdefault(key, []).append(val)
188 def setdefault(self, key, default=None): member in MultiDict
306 def setdefault(self, key, default=None): member in GetDict
307 result = MultiDict.setdefault(self, key, default)
353 setdefault = _readonly variable in NestedMultiDict
443 setdefault = __setitem__ variable in NoVars
Dheaders.py40 r.setdefault(key.lower(), []).append(val)
71 def setdefault(self, key, default=None): member in ResponseHeaders
Ddec.py161 kw.setdefault('method', 'GET')
178 kw.setdefault('method', 'POST')
Dcachecontrol.py43 def setdefault(self, key, value=None): member in UpdateDict
44 val = dict.setdefault(self, key, value)
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_config_test.py97 config.setdefault('foo', {
114 config.setdefault('foo', {
149 self.assertRaises(AssertionError, config.setdefault, 'foo', 'bar')
150 self.assertRaises(AssertionError, config.setdefault, 'foo', None)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py2/
Ddata.py123 tmap.setdefault(_posixpath.join(*target), []).append(fname)
155 mpmap.setdefault(ext, []).append(manpage)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/
Ddata.py123 tmap.setdefault(_posixpath.join(*target), []).append(fname)
155 mpmap.setdefault(ext, []).append(manpage)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py2/
Ddata.py123 tmap.setdefault(_posixpath.join(*target), []).append(fname)
155 mpmap.setdefault(ext, []).append(manpage)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py3/
Ddata.py123 tmap.setdefault(_posixpath.join(*target), []).append(fname)
155 mpmap.setdefault(ext, []).append(manpage)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dresponse.py46 def setdefault(self, key, failobj=None): member in HeaderDict
47 return dict.setdefault(self, self.normalize(key), failobj)
/external/libxml2/doc/
DbuildDocBookCatalog18 setdefault() function
69 setdefault
78 setdefault
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/
Dconfig.rst16 :members: __init__, __getitem__, __setitem__, get, setdefault, update,
/external/chromium-trace/trace-viewer/tracing/third_party/python_gflags/
Dgflags2man.py291 self.modules.setdefault(modname, [])
343 self.modules.setdefault(modname, [])
370 self.modules.setdefault(modname, [])
390 self.modules.setdefault(modname, [])
/external/markdown/markdown/
Dodict.py81 def setdefault(self, key, default): member in OrderedDict
84 return super(OrderedDict, self).setdefault(key, default)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dthreadinglocal.py34 self.__dict__['__objs'].setdefault(g(), {})[attr] = value
/external/selinux/sepolgen/src/sepolgen/
Daccess.py262 tgt = self.src.setdefault(src_type, { })
263 cls = tgt.setdefault(tgt_type, { })

123