/external/chromium_org/content/browser/devtools/ |
H A D | devtools_protocol.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 224 const std::string& json, 227 ParseMessage(json, error_response)); 287 DevToolsProtocol::ParseNotification(const std::string& json) { argument 288 scoped_ptr<base::DictionaryValue> dict(ParseMessage(json, NULL)); 312 const std::string& json, 318 json, 0, &parse_error_code, &error_message)); 223 ParseCommand( const std::string& json, std::string* error_response) argument 311 ParseMessage( const std::string& json, std::string* error_response) argument
|
/external/chromium_org/content/browser/web_contents/ |
H A D | web_contents_android.cc | 10 #include "base/json/json_writer.h" 38 std::string json; local 39 base::JSONWriter::Write(result, &json); 40 ScopedJavaLocalRef<jstring> j_json = ConvertUTF8ToJavaString(env, json);
|
/external/chromium_org/content/child/webcrypto/ |
H A D | jwk.cc | 12 #include "base/json/json_reader.h" 13 #include "base/json/json_writer.h" 26 // http://tools.ietf.org/html/draft-ietf-jose-json-web-key-21 53 // http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18. 100 // See http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18 247 std::string json; local 248 base::JSONWriter::Write(&dict_, &json); 249 utf8_bytes->assign(json.begin(), json.end()); 649 // See http://tools.ietf.org/html/draft-ietf-jose-json [all...] |
/external/chromium_org/gpu/tools/ |
H A D | check_gpu_bots.py | 10 import json namespace 135 BASE_JSON_BUILDERS_URL = BASE_URL + '%s/json/builders' 136 BASE_JSON_BUILDS_URL = BASE_URL + '%s/json/builders/%s/builds' 159 return json.loads(result) 496 f.write(json.dumps(summary)) 506 previous_results = dictsToBots(json.loads(f.read()))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/ |
H A D | buildbot.py | 29 import json namespace 82 results_file = NetworkTransaction(convert_404_to_None=True).run(lambda: self._fetch_file_from_results(results_url, "failing_results.json")) 173 # Builds for old revisions with fail to lookup via buildbot's json api. 289 json_url = "%s/json/builders/%s/builds/%s?filter=1" % (self.buildbot_url, urllib.quote(builder.name()), build_number) 291 return json.load(urllib2.urlopen(json_url)) 294 _log.error("Error fetching data for %s build %s (%s, json: %s): %s" % (builder.name(), build_number, build_url, json_url, err)) 298 _log.error("Error decoding json data from %s: %s" % (build_url, err))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
H A D | perftestsrunner_unittest.py | 33 import json namespace 139 '--output-json-path=a/output.json', 140 '--slave-config-json-path=a/source.json', 156 self.assertEqual(options.output_json_path, 'a/output.json') 157 self.assertEqual(options.slave_config_json_path, 'a/source.json') 165 port.host.filesystem.files['/mock-checkout/some.json'] = 'some content' 185 self.assertEqual(content_type, 'application/json') 186 self.assertEqual(filename, 'some.json') [all...] |
/external/chromium_org/tools/ |
H A D | bisect-builds.py | 58 'https://chromium.googlesource.com/chromium/src/+/%s?format=json') 61 'https://chromium.googlesource.com/chromium/blink/+/%s?format=json') 75 # Search pattern to be matched in the json output from 91 import json namespace 332 data = json.loads(response.read()[4:]) 921 data = json.loads(url.read()) 972 data = json.loads(url.read())
|
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/ |
H A D | www_server.py | 26 import json namespace 113 serialized_content = json.dumps(body, cls=serialization.Encoder) 740 req_vars = json.loads(req_body)
|
/external/chromium_org/v8/tools/push-to-trunk/ |
H A D | common_includes.py | 34 import json namespace 236 return json.loads(data) 290 state_file = "%s-state.json" % self._config["PERSISTFILE_BASENAME"] 292 self._state.update(json.loads(FileToText(state_file))) 299 TextToFile(json.dumps(self._state), state_file) 692 state_file = "%s-state.json" % self._config["PERSISTFILE_BASENAME"]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | JSONObject.java | 1 package com.google.polo.json;
|
/external/skia/gm/rebaseline_server/ |
H A D | server.py | 15 import json namespace 54 'json': 'application/json' 79 GENERATED_JSON_SUBDIR = 'generated-json' 173 'resultsToLoad=/%s/%s/%s-vs-%s_%s.json">%s</a>' % ( 366 json_dir, '%s-vs-%s_%s.json' % ( 542 if content_type != 'application/json;charset=UTF-8': 548 data = json.loads(json_data) 617 self.send_header('Content-type', 'application/json') 619 json [all...] |
/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
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_app_data.cc | 11 #include "base/json/json_writer.h" 79 std::string json; local 80 base::JSONWriter::Write(value, &json); 81 return json;
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | privet_http_unittest.cc | 6 #include "base/json/json_reader.h" 7 #include "base/json/json_writer.h" 220 std::string NormalizeJson(const std::string& json) { argument 221 std::string result = json; 398 const base::DictionaryValue* json) OVERRIDE {
|
/external/chromium_org/chrome/browser/printing/ |
H A D | print_dialog_cloud.cc | 13 #include "base/json/json_reader.h" 180 bool GetPageSetupParameters(const std::string& json, argument 182 scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(json)); 427 std::string json; local 428 bool ret = args->GetString(0, &json); 429 if (!ret || json.empty()) { 430 NOTREACHED() << "Empty json string"; 461 if (!GetPageSetupParameters(json, default_settings)) {
|
/external/chromium_org/chrome/browser/ui/webui/local_discovery/ |
H A D | local_discovery_ui_handler.cc | 355 const base::DictionaryValue* json) { 359 json->GetString(kPrivetKeyError, &error)) { 350 OnPrivetRegisterError( PrivetRegisterOperation* operation, const std::string& action, PrivetRegisterOperation::FailureReason reason, int printer_http_code, const base::DictionaryValue* json) argument
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | preferences_browsertest.cc | 11 #include "base/json/json_reader.h" 12 #include "base/json/json_writer.h" 70 std::string json; local 71 JSONWriter::Write(&value, &json); 72 *stream << json; local 258 void PreferencesBrowserTest::VerifyObservedPref(const std::string& json, argument 264 scoped_ptr<base::Value> observed_value_ptr(base::JSONReader::Read(json)); 272 const std::string& json, 278 scoped_ptr<base::Value> observed_value_ptr(base::JSONReader::Read(json)); 271 VerifyObservedPrefs( const std::string& json, const std::vector<std::string>& names, const std::vector<base::Value*>& values, const std::string& controlledBy, bool disabled, bool uncommitted) argument
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | sync_setup_handler.cc | 13 #include "base/json/json_reader.h" 14 #include "base/json/json_writer.h" 126 bool GetConfiguration(const std::string& json, SyncConfigInfo* config) { argument 127 scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(json)); 643 std::string json; local 644 if (!args->GetString(0, &json)) { 648 if (json.empty()) { 654 if (!GetConfiguration(json, &configuration)) {
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
H A D | devtools_client_impl_unittest.cc | 10 #include "base/json/json_reader.h" 11 #include "base/json/json_writer.h" 126 std::string json; local 127 base::JSONWriter::Write(result.get(), &json); 128 ASSERT_STREQ("{\"param\":1}", json.c_str());
|
H A D | web_view_impl.cc | 9 #include "base/json/json_writer.h" 186 std::string json; local 187 base::JSONWriter::Write(&args, &json); 193 json.c_str()); 685 std::string json; local 686 base::JSONWriter::Write(&args, &json); 692 json.c_str());
|
/external/chromium_org/chrome/test/chromedriver/client/ |
H A D | command_executor.py | 6 import json namespace 166 body = json.dumps(params) 176 return json.loads(response.read())
|
/external/chromium_org/chromeos/network/onc/ |
H A D | onc_utils.cc | 8 #include "base/json/json_reader.h" 44 const std::string& json) { 47 json, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error); 43 ReadDictionaryFromJson( const std::string& json) argument
|
/external/chromium_org/content/child/webcrypto/test/ |
H A D | test_helpers.cc | 10 #include "base/json/json_reader.h" 11 #include "base/json/json_writer.h" 154 std::string json; local 155 base::JSONWriter::Write(&dict, &json); 156 return MakeJsonVector(json); 174 // Strip C++ style comments out of the "json" file, otherwise it cannot be 192 scoped_ptr<base::Value> json; local 193 ::testing::AssertionResult result = ReadJsonTestFile(test_file_name, &json); 199 if (!json->GetAsList(&list_value) || !list_value) 203 ignore_result(json 397 GetJwkDictionary( const std::vector<uint8_t>& json) argument 457 VerifySecretJwk( const std::vector<uint8_t>& json, const std::string& alg_expected, const std::string& k_expected_hex, blink::WebCryptoKeyUsageMask use_mask_expected) argument 483 VerifyPublicJwk( const std::vector<uint8_t>& json, const std::string& alg_expected, const std::string& n_expected_hex, const std::string& e_expected_hex, blink::WebCryptoKeyUsageMask use_mask_expected) argument 527 std::vector<uint8_t> json; local [all...] |
/external/chromium_org/remoting/host/linux/ |
H A D | linux_me2me_host.py | 18 import json namespace 126 self.data = json.load(settings_file) 142 settings_file.write(json.dumps(self.data, indent=2)) 499 self.host_proc.stdin.write(json.dumps(host_config.data)) 976 options.config = os.path.join(CONFIG_DIR, "host#%s.json" % g_host_hash)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
H A D | compile_frontend.py | 42 import simplejson as json namespace 44 import json namespace 77 generate_protocol_externs.generate_protocol_externs(protocol_externs_file, path.join(devtools_path, 'protocol.json')) 91 descriptors = loader.load_application('devtools.json')
|