Home
last modified time | relevance | path

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

1234

/external/python/cpython2/Lib/json/
D__init__.py124 encoding='utf-8', default=None, sort_keys=False, **kw): argument
178 encoding == 'utf-8' and default is None and not sort_keys and not kw):
186 default=default, sort_keys=sort_keys, **kw).iterencode(obj)
195 encoding='utf-8', default=None, sort_keys=False, **kw): argument
243 encoding == 'utf-8' and default is None and not sort_keys and not kw):
251 sort_keys=sort_keys, **kw).encode(obj)
Dencoder.py102 check_circular=True, allow_nan=True, sort_keys=False, argument
157 self.sort_keys = sort_keys
260 and self.indent is None and not self.sort_keys):
263 self.key_separator, self.item_separator, self.sort_keys,
268 self.key_separator, self.item_separator, self.sort_keys,
Dtool.py34 json.dump(obj, outfile, sort_keys=True,
/external/python/cpython3/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,
/external/autotest/client/profilers/perf/
Dperf.py25 self.sort_keys = None
30 self.sort_keys = [k.rstrip(",") for k in line.split() if
32 if not self.sort_keys:
33 self.sort_keys = ['comm', 'cpu']
40 if "parent" in self.sort_keys:
56 for key in self.sort_keys:
/external/python/cpython3/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"}')
/external/fonttools/Lib/fontTools/misc/plistlib/
D__init__.py359 if ctx.sort_keys:
444 sort_keys: bool = True,
480 sort_keys=sort_keys, unknown
579 sort_keys: bool = True,
613 sort_keys=sort_keys,
638 sort_keys: bool = True,
672 sort_keys=sort_keys,
/external/fonttools/Tests/misc/
Dplistlib_test.py236 def test_keysort_bytesio(sort_keys): argument
244 plistlib.dump(pl, b, sort_keys=sort_keys)
250 if sort_keys:
257 def test_keysort(sort_keys): argument
263 data = plistlib.dumps(pl, sort_keys=sort_keys)
267 if sort_keys:
287 data = plistlib.dumps(pl, skipkeys=True, sort_keys=False)
293 plistlib.dump(pl, fp, skipkeys=True, sort_keys=False)
/external/python/cpython3/Lib/test/
Dtest_plistlib.py597 for sort_keys in (False, True):
598 with self.subTest(fmt=fmt, sort_keys=sort_keys):
601 plistlib.dump(pl, b, fmt=fmt, sort_keys=sort_keys)
606 if sort_keys:
618 for sort_keys in (False, True):
619 with self.subTest(fmt=fmt, sort_keys=sort_keys):
620 data = plistlib.dumps(pl, fmt=fmt, sort_keys=sort_keys)
624 if sort_keys:
648 pl, fmt=fmt, skipkeys=True, sort_keys=False)
655 pl, fp, fmt=fmt, skipkeys=True, sort_keys=False)
/external/autotest/server/cros/
Dtelemetry_runner_unittest.py109 chartjson_dumps = json.dumps(chartjson_sample, sort_keys=True)
110 chartjson_dumps2 = json.dumps(converted, sort_keys=True)
/external/python/cpython2/Lib/json/tests/
Dtest_dump.py16 {True: False, False: True}, sort_keys=True),
19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
Dtest_separators.py33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
/external/python/cpython3/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)
/external/llvm-project/lld/test/ELF/lto/
Dthinlto-time-trace.ll10 … 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)'…
16 … 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)'…
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Dupload_rbe_results.py171 json.dump(resultstore_actions, f, indent=4, sort_keys=True)
285 json.dump(bq_rows, f, indent=4, sort_keys=True)
/external/mesa3d/src/freedreno/vulkan/
Dtu_icd.py47 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/amd/vulkan/
Dradv_icd.py47 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_icd.py48 json.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/intel/vulkan/
Danv_icd.py48 json.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/gallium/targets/lavapipe/
Dlvp_icd.py48 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/external/protobuf/python/google/protobuf/
Djson_format.py104 sort_keys=False, argument
133 return printer.ToJsonString(message, indent, sort_keys)
191 def ToJsonString(self, message, indent, sort_keys): argument
193 return json.dumps(js, indent=indent, sort_keys=sort_keys)
/external/grpc-grpc/templates/tools/run_tests/generated/
Dconfigs.json.template17 ${json.dumps(out_configs, sort_keys=True, indent=2)}
/external/tensorflow/tensorflow/lite/schema/
Dupgrade_schema.py165 json.dump(data, open(output_file, "w"), sort_keys=True, indent=2)
169 json.dump(data, fp, sort_keys=True, indent=2)

1234