/external/chromium-trace/trace-viewer/ |
H A D | run_dev_server.py | 5 import json namespace 54 tests_as_json = json.dumps(test_filenames) 57 self.send_header('Content-Type', 'application/json') 69 files_as_json = json.dumps(data_files) 72 self.send_header('Content-Type', 'application/json') 84 msg = json.dumps({"details": traceback.format_exc(), 88 self.send_header('Content-Type', 'application/json') 113 if self.path == '/json/examples': 117 if self.path == '/json/tests':
|
/external/chromium-trace/ |
H A D | update.py | 3 import httplib, json, optparse, os, urllib, shutil, subprocess, sys namespace 61 ('output_format', 'json'), 78 result = json.loads(data)
|
/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/android_webview/browser/ |
H A D | aw_dev_tools_manager_delegate.cc | 9 #include "base/json/json_writer.h" 94 std::string json; local 95 base::JSONWriter::Write(&description, &json); 96 return json;
|
/external/chromium_org/android_webview/buildbot/ |
H A D | deps_whitelist.py | 16 import json namespace 228 parser.add_argument('--output-json', help='Name of file to write output to.') 242 json.dump(output_dict, output_json_file)
|
/external/chromium_org/base/debug/ |
H A D | trace_event_argument_unittest.cc | 17 std::string json; local 18 value->AppendAsTraceFormat(&json); 20 json); 43 std::string json; local 44 value->AppendAsTraceFormat(&json); 49 json);
|
/external/chromium_org/base/json/ |
H A D | json_parser.cc | 5 #include "base/json/json_parser.h" 35 DictionaryHiddenRootValue(std::string* json, Value* root) : json_(json) { argument 85 ListHiddenRootValue(std::string* json, Value* root) : json_(json) { argument
|
H A D | json_reader_unittest.cc | 5 #include "base/json/json_reader.h" 546 path = path.AppendASCII("json"); 551 path.Append(FILE_PATH_LITERAL("bom_feff.json")), &input)); 649 const char json[] = { '"', 'n', 'u', 'l', 'l', '"', '\0' }; local 650 std::string json_string(json, sizeof(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...] |
H A D | json_writer.cc | 5 #include "base/json/json_writer.h" 9 #include "base/json/string_escape.h" 24 bool JSONWriter::Write(const Value* const node, std::string* json) { argument 25 return WriteWithOptions(node, 0, json); 30 std::string* json) { 31 json->clear(); 33 json->reserve(1024); 35 JSONWriter writer(options, json); 39 json->append(kPrettyPrintLineEnding); 44 JSONWriter::JSONWriter(int options, std::string* json) argument 29 WriteWithOptions(const Value* const node, int options, std::string* json) argument [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/base/test/ |
H A D | trace_event_analyzer.cc | 11 #include "base/json/json_reader.h" 648 bool ParseEventsFromJson(const std::string& json, argument 651 root.reset(base::JSONReader::Read(json));
|
H A D | values_test_util.cc | 7 #include "base/json/json_reader.h" 65 scoped_ptr<Value> ParseJson(base::StringPiece json) { argument 68 json, base::JSON_ALLOW_TRAILING_COMMAS, 71 ADD_FAILURE() << "Failed to parse \"" << json << "\": " << error_msg;
|
/external/chromium_org/base/ |
H A D | values.cc | 13 #include "base/json/json_writer.h" 1127 std::string json; local 1130 &json); 1131 return out << json;
|
/external/chromium_org/build/android/buildbot/ |
H A D | bb_device_status_check.py | 8 import json namespace 284 parser.add_option('--json-output', 372 f.write(json.dumps({
|
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
|
H A D | bb_run_bot.py | 9 import json namespace 69 env = json.loads(json_env)
|
H A D | bb_utils.py | 5 import json namespace 76 setattr(parser.values, option.dest, json.loads(value)) 88 return ['--factory-properties=%s' % json.dumps(options.factory_properties), 89 '--build-properties=%s' % json.dumps(options.build_properties)]
|
H A D | env_to_json.py | 6 # Encode current environment into json. 8 import json namespace 11 print json.dumps(dict(os.environ))
|
/external/chromium_org/build/android/ |
H A D | generate_emma_html.py | 10 import json namespace 64 sources.extend(json.load(sf))
|
/external/chromium_org/build/android/gyp/ |
H A D | emma_instr.py | 23 import json namespace 129 json.dump(relative_sources, f)
|
/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/build/android/pylib/ |
H A D | chrome_test_server_spawner.py | 13 import json namespace 166 logging.info('Got port json data: %s', port_json) 167 port_json = json.loads(port_json) 305 if content_type != 'application/json': 321 json.loads(test_server_argument_json), 328 self._SendResponse(200, 'OK', {}, json.dumps(
|
/external/chromium_org/build/android/pylib/device/ |
H A D | device_blacklist.py | 5 import json namespace 13 'bad_devices.json') 30 return json.load(f) 41 json.dump(list(set(blacklist)), f)
|
/external/chromium_org/build/android/pylib/instrumentation/ |
H A D | json_perf_parser.py | 8 import json namespace 144 return GetAverageRunInfo(json.loads(json_string), name) 159 perf = json.loads(data)
|