Home
last modified time | relevance | path

Searched refs:sort_keys (Results 1 – 25 of 45) sorted by relevance

12

/third_party/PyYAML/lib/yaml/
Ddumper.py16 version=None, tags=None, sort_keys=True): argument
24 default_flow_style=default_flow_style, sort_keys=sort_keys)
34 version=None, tags=None, sort_keys=True): argument
42 default_flow_style=default_flow_style, sort_keys=sort_keys)
52 version=None, tags=None, sort_keys=True): argument
60 default_flow_style=default_flow_style, sort_keys=sort_keys)
Dcyaml.py58 version=None, tags=None, sort_keys=True): argument
65 default_flow_style=default_flow_style, sort_keys=sort_keys)
75 version=None, tags=None, sort_keys=True): argument
82 default_flow_style=default_flow_style, sort_keys=sort_keys)
92 version=None, tags=None, sort_keys=True): argument
99 default_flow_style=default_flow_style, sort_keys=sort_keys)
Drepresenter.py18 def __init__(self, default_style=None, default_flow_style=False, sort_keys=True): argument
20 self.sort_keys = sort_keys
111 if self.sort_keys:
D__init__.py220 version=None, tags=None, sort_keys=True): argument
237 explicit_start=explicit_start, explicit_end=explicit_end, sort_keys=sort_keys)
/third_party/python/Lib/json/
D__init__.py122 default=None, sort_keys=False, **kw): argument
168 default is None and not sort_keys and not kw):
176 default=default, sort_keys=sort_keys, **kw).iterencode(obj)
185 default=None, sort_keys=False, **kw): argument
230 default is None and not sort_keys and not kw):
237 separators=separators, default=default, sort_keys=sort_keys,
Dencoder.py105 check_circular=True, allow_nan=True, sort_keys=False, argument
151 self.sort_keys = sort_keys
250 self.key_separator, self.item_separator, self.sort_keys,
255 self.key_separator, self.item_separator, self.sort_keys,
Dtool.py54 'sort_keys': options.sort_keys,
/third_party/python/Lib/test/test_json/
Dtest_indent.py33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(',', ': '))
34 d3 = self.dumps(h, indent='\t', sort_keys=True, separators=(',', ': '))
35 d4 = self.dumps(h, indent=2, sort_keys=True)
36 d5 = self.dumps(h, indent='\t', sort_keys=True)
Dtest_dump.py27 {True: False, False: True}, sort_keys=True),
30 {2: 3.0, 4.0: 5, False: 1, 6: True}, sort_keys=True),
58 self.assertEqual(self.dumps(d, sort_keys=True), '{"1337": "true.dat"}')
Dtest_separators.py33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
Dtest_encode_basestring_ascii.py37 s = self.dumps(dict(items), sort_keys=True)
/third_party/PyYAML/tests/lib/
Dtest_sort_keys.py11 dump_sorted = yaml.dump(data, default_flow_style=False, sort_keys=True)
12 dump_unsorted = yaml.dump(data, default_flow_style=False, sort_keys=False)
13 …dump_unsorted_safe = yaml.dump(data, default_flow_style=False, sort_keys=False, Dumper=yaml.SafeDu…
/third_party/python/Lib/test/
Dtest_plistlib.py598 for sort_keys in (False, True):
599 with self.subTest(fmt=fmt, sort_keys=sort_keys):
602 plistlib.dump(pl, b, fmt=fmt, sort_keys=sort_keys)
607 if sort_keys:
619 for sort_keys in (False, True):
620 with self.subTest(fmt=fmt, sort_keys=sort_keys):
621 data = plistlib.dumps(pl, fmt=fmt, sort_keys=sort_keys)
625 if sort_keys:
649 pl, fmt=fmt, skipkeys=True, sort_keys=False)
656 pl, fp, fmt=fmt, skipkeys=True, sort_keys=False)
/third_party/python/Lib/
Dplistlib.py315 sort_keys=True, skipkeys=False): argument
320 self._sort_keys = sort_keys
623 def __init__(self, fp, sort_keys, skipkeys): argument
625 self._sort_keys = sort_keys
886 def dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False): argument
893 writer = _FORMATS[fmt]["writer"](fp, sort_keys=sort_keys, skipkeys=skipkeys)
897 def dumps(value, *, fmt=FMT_XML, skipkeys=False, sort_keys=True): argument
901 dump(value, fp, fmt=fmt, skipkeys=skipkeys, sort_keys=sort_keys)
/third_party/node/deps/v8/third_party/test262-harness/src/
D_packager.py270 json.dump(testsList, f, separators=(',',':'), sort_keys=True,
283 sort_keys=True, indent=0)
303 json.dump(TEST_CASES_JSON, f, separators=(',',':'), sort_keys=True, indent=0)
311 json.dump(SUITE_DESCRIP_JSON, f, separators=(',',':'), sort_keys=True)
/third_party/gstreamer/gstreamer/docs/
Dgst-plugins-doc-cache-generator.py131 json.dump(cache, f, indent=4, sort_keys=True, ensure_ascii=False)
135 json.dump(cache, f, indent=4, sort_keys=True, ensure_ascii=False)
/third_party/node/deps/v8/tools/sanitizers/
Dsancov_formatter.py238 json.dump(data, f, sort_keys=True)
380 json.dump(data, f, sort_keys=True)
409 json.dump(new_data, f, sort_keys=True)
/third_party/cef/tools/
Dcrash_server.py310 sort_keys=True)
313 json.dump(metadata, fp, indent=2, sort_keys=True)
/third_party/python/Doc/library/
Dplistlib.rst91 .. function:: dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False)
103 When *sort_keys* is true (the default) the keys for dictionaries will be
119 .. function:: dumps(value, *, fmt=FMT_XML, sort_keys=True, skipkeys=False)
/third_party/protobuf/python/google/protobuf/
Djson_format.py105 sort_keys=False, argument
137 return printer.ToJsonString(message, indent, sort_keys)
203 def ToJsonString(self, message, indent, sort_keys): argument
205 return json.dumps(js, indent=indent, sort_keys=sort_keys)
/third_party/node/deps/v8/third_party/inspector_protocol/
Dconcatenate_protocols.py37 indent=4, sort_keys=False, separators=(',', ': '))
/third_party/node/tools/inspector_protocol/
Dconcatenate_protocols.py34 …json.dump({"version": version, "domains": domains}, output_file, indent=4, sort_keys=False, separa…
/third_party/skia/tools/skpbench/
Dskiaperf.py62 json.dump(self, outfile, indent=4, separators=(',', ' : '), sort_keys=True)
/third_party/python/Lib/test/test_zoneinfo/data/
Dupdate_test_data.py107 indent=2, sort_keys=True,
/third_party/skia/third_party/externals/angle2/scripts/
Dgen_angle_gn_info_json.py108 fh.write(json.dumps(desc, indent=4, sort_keys=True))

12