Searched defs:json (Results 126 - 150 of 354) sorted by relevance

1234567891011>>

/external/libchrome/base/json/
H A Djson_writer.cc5 #include "base/json/json_writer.h"
12 #include "base/json/string_escape.h"
28 bool JSONWriter::Write(const Value& node, std::string* json) { argument
29 return WriteWithOptions(node, 0, json);
35 std::string* json) {
36 json->clear();
38 json->reserve(1024);
40 JSONWriter writer(options, json);
44 json->append(kPrettyPrintLineEnding);
49 JSONWriter::JSONWriter(int options, std::string* json) argument
33 WriteWithOptions(const Value& node, int options, std::string* json) argument
[all...]
/external/libchrome/base/trace_event/
H A Dheap_profiler_type_name_deduplicator_unittest.cc8 #include "base/json/json_reader.h"
35 std::string json; local
36 deduplicator.AppendAsTraceFormat(&json);
37 return JSONReader::Read(json);
85 // Reading json should not fail, because the type name should have been
/external/skia/infra/bots/assets/win_toolchain/
H A Dcreate.py14 import json namespace
73 # Mock out absolute paths in win_toolchain.json.
74 win_toolchain_utils.abstract(os.path.join('build', 'win_toolchain.json'),
81 for f in ('find_depot_tools.py', 'vs_toolchain.py', 'win_toolchain.json'):
/external/toolchain-utils/crosperf/
H A Dresults_organizer.py9 import json namespace
16 _TELEMETRY_RESULT_DEFAULTS_FILE = 'default-telemetry-results.json'
99 return json.load(in_file)
173 # Did not find test_name in json file; show everything.
/external/v8/gypfiles/
H A Ddownload_gold_plugin.py9 import json namespace
/external/v8/tools/
H A Dgenerate-builtins-tests.py6 import json namespace
116 objects = json.loads(output)
/external/v8/tools/release/
H A Dauto_push.py30 import json namespace
H A Dcheck_clusterfuzz.py9 Returns a json list with test case IDs if any.
19 import json namespace
136 # Strip security header and load json.
137 commits = json.loads(result[5:])
154 commit = json.loads(result)
162 Returns a json dict of the response.
182 return json.loads(data)
222 f.write(json.dumps(results))
/external/v8/tools/testrunner/server/
H A Dpresence_handler.py33 import ujson as json namespace
35 import json namespace
57 data = json.loads(self.request[0].strip())
67 response = json.dumps(response)
98 self.SendToAll(json.dumps([EXIT_REQUEST]))
119 request = json.dumps(request)
/external/vulkan-validation-layers/libs/vkjson/
H A Dvkjson_info.cc125 output_file.append(".json");
140 std::string json = out_device ? VkJsonDeviceToJson(*out_device) local
142 fwrite(json.data(), 1, json.size(), file);
/external/autotest/client/bin/
H A Dfio_util.py17 import json, logging, re, utils namespace
169 json.dump(data_dict, f)
194 json.dump(option, f)
242 Parse fio json dict
244 Recursively flaten json dict to generate autotest perf dict
272 Parse the json fio output
277 @param lines: text output of json fio output.
281 fio_dict = json.loads(lines)
368 Build a result keyval and performence json.
396 options = ['--output-format=json']
[all...]
/external/autotest/client/common_lib/cros/graphite/
H A Des_utils.py32 the query (json dict) we send to es is quite complicated (but flexible).
66 import json namespace
153 message = json.dumps(
158 message += json.dumps(metadata, separators=(', ', ' : '))
/external/autotest/client/common_lib/cros/
H A Dinteractive_xmlrpc_server.py8 import json namespace
58 html_escaped = json.dumps(html)
78 html_escaped = json.dumps(html)
202 html_escaped = json.dumps(html)
/external/autotest/client/common_lib/cros/tendo/
H A Dprivet_helper.py5 import json namespace
78 @param request_data: json data to send in POST request.
92 headers['Content-Type'] = 'application/json; charset=utf8'
135 @param request_data: json data to send in POST request.
143 request_data = json.dumps(request_data)
152 json_data = json.loads(data)
153 data = json.dumps(json_data) # Drop newlines, pretty format.
/external/autotest/client/cros/bluetooth/
H A Dbluetooth_tester_xmlrpc_server.py8 import json namespace
273 return json.dumps(self._control.read_info(self.index))
318 return json.dumps([
350 return json.dumps(
375 return json.dumps(
403 return json.dumps(
/external/autotest/client/site_tests/desktopui_SonicExtension/
H A Ddesktopui_SonicExtension.py5 import json namespace
45 that contains a manifest.json.
49 manifest_json_file = os.path.join(extension_path, 'manifest.json')
51 manifest_json = json.loads(f.read())
95 @return A json that contains all the different information
150 'test_information.json')
152 self._settings['sender_root_dir'], 'cpu_data.json')
154 self._settings['sender_root_dir'], 'cpu_bound.json')
155 json.dump(test_info, open(info_json_file, 'wb'))
156 json
[all...]
/external/autotest/client/site_tests/graphics_dEQP/scripts/
H A Dfailure_matrix.py9 import json namespace
49 data = json.loads(text)
105 status = '%s-master.json' % args.interface
/external/autotest/client/site_tests/network_ChromeCellularEndToEnd/
H A Dnetwork_ChromeCellularEndToEnd.py5 import logging, json namespace
58 properties = json.dumps({'Cellular': {'AutoConnect': value}})
162 properties = json.dumps({'networkType': network_type,
/external/autotest/client/site_tests/network_DestinationVerification/
H A Dnetwork_DestinationVerification.py6 import json namespace
140 The output of the json python decoder looks like a dictionary with
216 json data we're given by the destination.
338 test_data = unicode2str(json.loads(TEST_DATA1))
342 test_data = unicode2str(json.loads(TEST_DATA1))
348 test_data = unicode2str(json.loads(TEST_DATA1))
354 test_data = unicode2str(json.loads(TEST_DATA2))
358 test_data = unicode2str(json.loads(TEST_DATA3))
/external/autotest/client/site_tests/platform_CrosDisksFilesystem/
H A Dplatform_CrosDisksFilesystem.py8 import json namespace
98 test_configs.extend(json.load(f))
/external/autotest/client/site_tests/security_RootCA/
H A Dsecurity_RootCA.py5 import glob, json, logging, os, re, stat namespace
43 raw_baselines = json.load(baseline_file)
/external/autotest/server/cros/bluetooth/
H A Dbluetooth_tester.py6 import json namespace
84 return json.loads(self._proxy.read_info())
121 in json.loads(devices)
164 return json.loads(
189 return json.loads(
217 return json.loads(
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
H A Dupdate_engine_performance_monitor.py7 import json namespace
149 return json.dumps({'rss_peak': self.rss_peak})
/external/autotest/site_utils/
H A Dhwid_lib_unittest.py6 import json namespace
83 """Test that supplying bad json raises a HwIdException."""
84 mock_page_contents = mock.Mock(wraps=cStringIO.StringIO('bad json'))
99 expected_dict = json.loads(returned_json)
H A Dlxc_config.py8 deploy the config files based on the settings. The setting file has a json
90 import json namespace
105 'ssp_deploy_config.json')
107 'ssp_deploy_shadow_config.json')
222 deploy_configs = json.load(f)

Completed in 3300 milliseconds

1234567891011>>