Home
last modified time | relevance | path

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

1234567

/third_party/python/Lib/wsgiref/
Dutil.py137 environ.setdefault('SERVER_NAME','127.0.0.1')
138 environ.setdefault('SERVER_PROTOCOL','HTTP/1.0')
140 environ.setdefault('HTTP_HOST',environ['SERVER_NAME'])
141 environ.setdefault('REQUEST_METHOD','GET')
144 environ.setdefault('SCRIPT_NAME','')
145 environ.setdefault('PATH_INFO','/')
147 environ.setdefault('wsgi.version', (1,0))
148 environ.setdefault('wsgi.run_once', 0)
149 environ.setdefault('wsgi.multithread', 0)
150 environ.setdefault('wsgi.multiprocess', 0)
[all …]
/third_party/boost/boost/python/
Ddict.hpp57 object setdefault(object_cref k);
59 object setdefault(object_cref k, object_cref d);
116 object setdefault(T const& k) in setdefault() function in boost::python::dict
118 return base::setdefault(object(k)); in setdefault()
122 object setdefault(T1 const& k, T2 const& d) in setdefault() function in boost::python::dict
124 return base::setdefault(object(k),object(d)); in setdefault()
/third_party/python/Tools/unicode/
Dgenmap_japanese.py57 m.setdefault((loc >> 8), {})
64 decmap3_pair.setdefault(uniprefix, {})
69 m.setdefault((loc >> 8), {})
96 sjisencmap.setdefault(code >> 8, {})
100 cp932encmap.setdefault(code >> 8, {})
116 jisx0213pairdecmap.setdefault(c1, {})
122 jisx0208_0212encmap.setdefault(code >> 8, {})
127 jisx0208_0212encmap.setdefault(code >> 8, {})
146 jisx0213bmpencmap.setdefault(code >> 8, {})
155 jisx0213bmpencmap.setdefault(code >> 8, {})
[all …]
Dgenmap_korean.py29 ksx1001decmap.setdefault(c1 & 0x7f, {})
31 cp949encmap.setdefault(code >> 8, {})
35 uhcdecmap.setdefault(c1, {})
37 cp949encmap.setdefault(code >> 8, {}) # MSB set
Dgenmap_schinese.py48 m.setdefault(native[0], {})
80 gb2312_gbkencmap.setdefault(code >> 8, {})
84 gb2312_gbkencmap.setdefault(code >> 8, {})
88 gb18030encmap.setdefault(code >> 8, {})
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
DMSVSUtil.py147 msvs = config.setdefault('msvs_settings', {})
245 msvs = config.setdefault('msvs_settings', {})
248 compiler = msvs.setdefault('VCCLCompilerTool', {})
255 msvs = config.setdefault('msvs_settings', {})
256 linker = msvs.setdefault('VCLinkerTool', {})
268 target_dict.setdefault('dependencies', []).append(full_shim_target_name)
/third_party/node/tools/gyp/pylib/gyp/
DMSVSUtil.py149 msvs = config.setdefault("msvs_settings", {})
246 msvs = config.setdefault("msvs_settings", {})
249 compiler = msvs.setdefault("VCCLCompilerTool", {})
256 msvs = config.setdefault("msvs_settings", {})
257 linker = msvs.setdefault("VCLinkerTool", {})
269 target_dict.setdefault("dependencies", []).append(full_shim_target_name)
/third_party/pyyaml/tests/lib/
Dtest_emitter.py75 mapping.setdefault('anchor', None)
77 mapping.setdefault('tag', None)
79 mapping.setdefault('implicit', True)
81 mapping.setdefault('implicit', (False, True))
82 mapping.setdefault('value', '')
/third_party/pyyaml/tests/lib3/
Dtest_emitter.py75 mapping.setdefault('anchor', None)
77 mapping.setdefault('tag', None)
79 mapping.setdefault('implicit', True)
81 mapping.setdefault('implicit', (False, True))
82 mapping.setdefault('value', '')
/third_party/re2/re2/
Dunicode.py248 togroup.setdefault(lower, [lower]).extend(codes)
274 scripts.setdefault(name, []).extend(codes)
295 categories.setdefault(category, []).extend(codes)
299 categories.setdefault(short, []).extend(codes)
/third_party/protobuf/python/google/protobuf/internal/
Ddecoder.py219 value = field_dict.setdefault(key, new_default(message))
238 value = field_dict.setdefault(key, new_default(message))
411 value = field_dict.setdefault(key, new_default(message))
464 value = field_dict.setdefault(key, new_default(message))
597 value = field_dict.setdefault(key, new_default(message))
638 value = field_dict.setdefault(key, new_default(message))
680 value = field_dict.setdefault(key, new_default(message))
684 value = field_dict.setdefault(key, new_default(message))
701 value = field_dict.setdefault(key, new_default(message))
725 value = field_dict.setdefault(key, new_default(message))
[all …]
/third_party/boost/tools/build/src/build/
Dtype.py83 entry = __types.setdefault(type, {})
85 entry.setdefault('derived', [])
86 entry.setdefault('scanner', None)
89 __types.setdefault(base_type, {}).setdefault('derived', []).append(type)
/third_party/json/benchmarks/thirdparty/benchmark/
Dmingw.py73 version = versions.setdefault(version, {})
79 arch = version.setdefault(arch, {})
80 threading = arch.setdefault(value[2].strip(), {})
81 exceptions = threading.setdefault(value[3].strip(), {})
82 revision = exceptions.setdefault(int(value[4].strip()[3:]),
/third_party/node/tools/gyp/pylib/gyp/generator/
Ddump_dependency_json.py49 default_variables.setdefault(key, val)
50 default_variables.setdefault("OS", gyp.common.GetFlavor(params))
Dcompile_commands_json.py41 default_variables.setdefault("OS", gyp.common.GetFlavor(params))
80 commands = per_config_commands.setdefault(configuration_name, [])
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Ddump_dependency_json.py39 default_variables.setdefault(key, val)
40 default_variables.setdefault('OS', gyp.common.GetFlavor(params))
Dcompile_commands_json.py41 default_variables.setdefault('OS', gyp.common.GetFlavor(params))
82 commands = per_config_commands.setdefault(configuration_name, [])
/third_party/boost/libs/python/src/
Ddict.cpp138 object dict_base::setdefault(object_cref k) in setdefault() function in boost::python::detail::dict_base
143 object dict_base::setdefault(object_cref k, object_cref d) in setdefault() function in boost::python::detail::dict_base
/third_party/python/Lib/test/
Dmapping_tests.py113 self.assertEqual(d.setdefault(key, knownvalue), value)
115 self.assertEqual(d.setdefault(knownkey, knownvalue), knownvalue)
286 self.assertRaises(TypeError, d.setdefault)
492 self.assertTrue(d.setdefault('key0') is None)
493 d.setdefault('key0', [])
494 self.assertTrue(d.setdefault('key0') is None)
495 d.setdefault('key', []).append(3)
497 d.setdefault('key', []).append(4)
668 self.assertRaises(Exc, d.setdefault, x, [])
Dtest_pwd.py45 entriesbyname.setdefault(e.pw_name, []).append(e)
46 entriesbyuid.setdefault(e.pw_uid, []).append(e)
Dtest_http_cookies.py390 self.assertEqual(morsel.setdefault('expires', 'value'), '')
392 self.assertEqual(morsel.setdefault('Version', 1), 2)
394 self.assertEqual(morsel.setdefault('DOMAIN', 'value'), 'example.com')
398 morsel.setdefault('invalid', 'value')
/third_party/boost/libs/python/doc/reference/
Ddict.qbk25 object setdefault(T const &k);
28 object setdefault(T1 const & k, T2 const & d);
/third_party/python/Tools/scripts/
Dsuff.py15 suffixes.setdefault(suff, []).append(filename)
Dgenerate_token.py168 m = chars_to_token.setdefault(len(string), {})
170 m = m.setdefault(c, {})
/third_party/flutter/skia/bench/
Dcheck_bench_regressions.py169 exceptions[SLOWER].setdefault(off_ratio, []).append(exception)
171 exceptions[FASTER].setdefault(off_ratio, []).append(exception)

1234567