/external/chromium_org/v8/tools/ |
H A D | run-deopt-fuzzer.py | 31 import json namespace 441 f.write(json.dumps(results_dict))
|
H A D | run_perf.py | 9 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 D | JSONWriter.java | 1 package com.google.polo.json;
|
/external/skia/bench/ |
H A D | check_bench_regressions.py | 10 import json namespace
|
/external/skia/gm/rebaseline_server/ |
H A D | compare_to_expectations.py | 15 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 D | submit_try | 17 import json namespace
|
/external/skia/tools/tests/ |
H A D | render_pictures_test.py | 14 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 D | PRESUBMIT_test.py | 7 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 D | json_value_serializer_unittest.cc | 9 #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 D | statistics_recorder.cc | 9 #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 D | bb_device_steps.py | 9 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 D | build_utils.py | 8 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 D | layer_tree_json_parser.cc | 104 // 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 D | devtools_protocol.cc | 7 #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 D | browsing_data_test.cc | 7 #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 D | native_message_process_host.cc | 207 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 D | local_policy_test_server.cc | 14 #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 D | resettable_settings_snapshot.cc | 7 #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 D | promo_resource_service_unittest.cc | 8 #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 D | jsc_view_test.py | 6 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 D | performance_logger_unittest.cc | 9 #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 D | run_buildbot_steps.py | 12 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 D | nacl_browsertest_util.cc | 9 #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 D | ppapi_test.cc | 55 const std::string& json) { 57 base::TrimString(json, "\"", &trimmed); 54 HandleMessage( const std::string& json) argument
|
/external/chromium_org/chrome/utility/extensions/ |
H A D | extensions_handler.cc | 192 void ExtensionsHandler::OnParseJSON(const std::string& json) { argument 196 json, base::JSON_PARSE_RFC, &error_code, &error);
|