Searched defs:json (Results 326 - 350 of 467) sorted by relevance

<<111213141516171819

/external/chromium_org/v8/tools/
H A Drun-deopt-fuzzer.py31 import json namespace
441 f.write(json.dumps(results_dict))
H A Drun_perf.py9 Call e.g. with tools/run-perf.py --arch ia32 some_suite.json
11 The suite json format is expected to be:
94 import json namespace
141 f.write(json.dumps(self.ToDict()))
422 parser.add_option("--json-test-results",
423 help="Path to a file for storing json results.")
456 suite = json.loads(f.read())
458 # If no name is given, default to the file name without .json.
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
H A DJSONWriter.java1 package com.google.polo.json;
/external/skia/bench/
H A Dcheck_bench_regressions.py10 import json namespace
/external/skia/gm/rebaseline_server/
H A Dcompare_to_expectations.py15 import json namespace
60 actuals_root: root directory containing all actual-results.json files
61 expected_root: root directory containing all expected-results.json files
150 def _write_dicts_to_root(meta_dict, root, pattern='*.json'):
/external/skia/tools/
H A Dsubmit_try17 import json namespace
/external/skia/tools/tests/
H A Drender_pictures_test.py14 import json namespace
181 output_json_path = os.path.join(self._output_dir, 'actuals.json')
214 output_json_path = os.path.join(self._output_dir, 'actuals.json')
257 output_json_path = os.path.join(self._output_dir, 'actuals.json')
315 output_json_path = os.path.join(self._output_dir, 'actuals.json')
361 output_json_path = os.path.join(self._output_dir, 'actuals.json')
383 output_json_path = os.path.join(self._output_dir, 'actuals.json')
417 output_json_path = os.path.join(self._output_dir, 'actuals.json')
449 output_json_path = os.path.join(self._output_dir, 'actuals.json')
563 rel_path='expectations.json')
[all...]
/external/chromium_org/
H A DPRESUBMIT_test.py7 import json namespace
22 self.json = json
457 filename = 'valid_json.json'
471 ('invalid_json_1.json',
474 ('invalid_json_2.json',
478 ('invalid_json_3.json',
481 ('invalid_json_4.json',
496 file_with_comments = 'file_with_comments.json'
503 file_without_comments = 'file_without_comments.json'
[all...]
/external/chromium_org/base/json/
H A Djson_value_serializer_unittest.cc9 #include "base/json/json_file_value_serializer.h"
10 #include "base/json/json_reader.h"
11 #include "base/json/json_string_value_serializer.h"
12 #include "base/json/json_writer.h"
62 void ValidateJsonList(const std::string& json) { argument
63 scoped_ptr<Value> root(JSONReader::Read(json));
119 FilePath temp_file(tempdir.path().AppendASCII("test.json"));
143 FilePath temp_file(tempdir.path().AppendASCII("test.json"));
271 // unicode string json -> escaped ascii text
283 // escaped ascii text -> json
[all...]
/external/chromium_org/base/metrics/
H A Dstatistics_recorder.cc9 #include "base/json/string_escape.h"
189 std::string json; local
190 (*it)->WriteJSON(&json);
191 output += json;
/external/chromium_org/build/android/buildbot/
H A Dbb_device_steps.py9 import json namespace
112 args.append('--generate-json-file')
337 'full_results.json')
339 full_results = json.load(open(full_results_path))
381 # Cloned from third_party/WebKit/Tools/Scripts/print-json-test-results
407 # Cloned from third_party/WebKit/Tools/Scripts/print-json-test-results
/external/chromium_org/build/android/gyp/util/
H A Dbuild_utils.py8 import json namespace
103 new_dump = json.dumps(obj, sort_keys=True, indent=2, separators=(',', ': '))
112 return json.load(jsonfile)
340 The value of such a placeholder is calculated by reading 'filename' as json.
/external/chromium_org/cc/test/
H A Dlayer_tree_json_parser.cc104 // clip layer. This is complicated by the fact that the json output doesn't
108 // into the json file (with 0 hops implying no clip layer, i.e. not
175 scoped_refptr<Layer> ParseTreeFromJson(std::string json, argument
177 scoped_ptr<base::Value> val = base::test::ParseJson(json);
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_protocol.cc7 #include "base/json/json_reader.h"
8 #include "base/json/json_writer.h"
140 const std::string& json) {
141 scoped_ptr<base::Value> value(base::JSONReader::Read(json));
158 const std::string& json) {
159 scoped_ptr<base::Value> value(base::JSONReader::Read(json));
139 ParseNotification( const std::string& json) argument
157 ParseResponse( const std::string& json) argument
/external/chromium_org/chrome/browser/extensions/api/browsing_data/
H A Dbrowsing_data_test.cc7 #include "base/json/json_string_value_serializer.h"
411 std::string json; local
425 JSONStringValueSerializer serializer(&json);
434 std::string("[{\"since\": 1},") + json + "]",
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_message_process_host.cc207 void NativeMessageProcessHost::Send(const std::string& json) { argument
215 new net::IOBufferWithSize(json.size() + kMessageHeaderSize);
219 *reinterpret_cast<uint32*>(buffer->data()) = json.size();
220 memcpy(buffer->data() + kMessageHeaderSize, json.data(), json.size());
/external/chromium_org/chrome/browser/policy/test/
H A Dlocal_policy_test_server.cc14 #include "base/json/json_writer.h"
85 .AppendASCII(base::StringPrintf("policy_%s.json", test_name.c_str()));
248 std::string json; local
249 base::JSONWriter::Write(&clients_, &json);
252 if (base::WriteFile(client_state_file, json.c_str(), json.size()) !=
253 static_cast<int>(json.size())) {
/external/chromium_org/chrome/browser/profile_resetter/
H A Dresettable_settings_snapshot.cc7 #include "base/json/json_writer.h"
217 std::string json; local
218 base::JSONWriter::Write(&dict, &json);
219 return json;
/external/chromium_org/chrome/browser/web_resource/
H A Dpromo_resource_service_unittest.cc8 #include "base/json/json_reader.h"
86 void Init(const std::string& json, argument
99 ReplaceStringPlaceholders(json, replacements, NULL));
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Djsc_view_test.py6 import json namespace
59 api_graph = APISchemaGraph(json.loads(
60 CANNED_MASTER_FS_DATA['api'][api_name + '.json']))
88 return json.loads(self._ReadLocalFile(filename))
91 events = self._LoadJSON('add_rules_def_test.json')
138 expected_json = self._LoadJSON('expected_tester.json')
301 os.path.join('branch_utility', 'first.json'),
302 os.path.join('branch_utility', 'second.json'),
/external/chromium_org/chrome/test/chromedriver/
H A Dperformance_logger_unittest.cc9 #include "base/json/json_reader.h"
123 scoped_ptr<base::DictionaryValue> ParseDictionary(const std::string& json) { argument
126 json, base::JSON_PARSE_RFC, NULL, &error));
128 SCOPED_TRACE(json.c_str());
H A Drun_buildbot_steps.py12 import json namespace
33 TEST_LOG_FORMAT = '%s_log.json'
35 'https://chromium.googlesource.com/chromium/src/+/%s?format=json')
109 json_dict = json.load(log_file)
110 # Workaround for json encoding dictionary keys as strings.
120 json.dump(test_results_log, log_file)
398 data = json.loads(response.read()[4:])
421 data = json.loads(response.read())
/external/chromium_org/chrome/test/nacl/
H A Dnacl_browsertest_util.cc9 #include "base/json/json_reader.h"
26 const std::string& json) {
31 // need to decode the json twice to get the original message.
32 value.reset(reader.ReadToValue(json));
34 return InternalError("Could parse automation JSON: " + json +
39 return InternalError("Message was not a string: " + json);
25 HandleMessage( const std::string& json) argument
/external/chromium_org/chrome/test/ppapi/
H A Dppapi_test.cc55 const std::string& json) {
57 base::TrimString(json, "\"", &trimmed);
54 HandleMessage( const std::string& json) argument
/external/chromium_org/chrome/utility/extensions/
H A Dextensions_handler.cc192 void ExtensionsHandler::OnParseJSON(const std::string& json) { argument
196 json, base::JSON_PARSE_RFC, &error_code, &error);

Completed in 4678 milliseconds

<<111213141516171819