/external/python/cpython3/Lib/json/ |
tool.py | 34 sort_keys = options.sort_keys 37 if sort_keys: 45 json.dump(obj, outfile, sort_keys=sort_keys, indent=4)
|
/external/autotest/client/profilers/perf/ |
perf.py | 25 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:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
test_dump.py | 16 {True: False, False: True}, sort_keys=True),
19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
|
/external/python/cpython3/Lib/test/test_json/ |
test_indent.py | 33 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)
|
test_dump.py | 17 {True: False, False: True}, sort_keys=True), 20 {2: 3.0, 4.0: 5, False: 1, 6: True}, sort_keys=True), 48 self.assertEqual(self.dumps(d, sort_keys=True), '{"1337": "true.dat"}')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
test_dump.py | 16 {True: False, False: True}, sort_keys=True),
19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
|
test_indent.py | 34 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(',', ': '))
|
/external/python/cpython2/Lib/json/tests/ |
test_dump.py | 16 {True: False, False: True}, sort_keys=True), 19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_dump.py | 16 {True: False, False: True}, sort_keys=True), 19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_dump.py | 16 {True: False, False: True}, sort_keys=True), 19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
tool.py | 34 json.dump(obj, outfile, sort_keys=True,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
tool.py | 32 json.dump(obj, outfile, sort_keys=True, indent=4)
|
/external/python/cpython2/Lib/json/ |
tool.py | 34 json.dump(obj, outfile, sort_keys=True,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
tool.py | 34 json.dump(obj, outfile, sort_keys=True,
|
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
tool.py | 34 json.dump(obj, outfile, sort_keys=True,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
tool.py | 34 json.dump(obj, outfile, sort_keys=True,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
tool.py | 34 json.dump(obj, outfile, sort_keys=True,
|
/external/python/cpython3/Lib/test/ |
test_plistlib.py | 234 for sort_keys in (False, True): 235 with self.subTest(fmt=fmt, sort_keys=sort_keys): 238 plistlib.dump(pl, b, fmt=fmt, sort_keys=sort_keys) 243 if sort_keys: 255 for sort_keys in (False, True): 256 with self.subTest(fmt=fmt, sort_keys=sort_keys): 257 data = plistlib.dumps(pl, fmt=fmt, sort_keys=sort_keys [all...] |
/cts/hostsidetests/seccomp/app/ |
gen_blacklist.py | 168 json.dump(allowed, f, sort_keys=True, indent=2) 172 json.dump(blocked, f, sort_keys=True, indent=2)
|
/development/vndk/tools/sourcedr/sourcedr/commands/ |
collect.py | 44 json.dump(res, f, sort_keys=True, indent=4)
|