/external/v8/test/mjsunit/ |
H A D | mirror-null.js | 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 49 var fromJSON = eval('(' + json + ')');
|
H A D | mirror-undefined.js | 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 49 var fromJSON = eval('(' + json + ')');
|
H A D | mirror-unresolved-function.js | 45 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 69 var fromJSON = eval('(' + json + ')');
|
/external/chromium/chrome/browser/ |
H A D | dom_operation_notification_details.h | 15 DomOperationNotificationDetails(const std::string& json, int automation_id) argument 16 : json_(json), automation_id_(automation_id) { } 20 std::string json() const { return json_; } function in class:DomOperationNotificationDetails
|
H A D | utility_process_host.cc | 97 bool UtilityProcessHost::StartJSONParsing(const std::string& json) { argument 100 Send(new UtilityMsg_ParseJSON(json));
|
/external/chromium/chrome/browser/extensions/ |
H A D | chrome_app_api_browsertest.cc | 8 #include "base/json/json_reader.h" 161 std::string json; local 165 L"", get_details_for_frame, &json)); 169 base::JSONReader::Read(json, false /* allow trailing comma */)));
|
H A D | extension_devtools_bridge.cc | 7 #include "base/json/json_writer.h" 42 std::string json; local 43 base::JSONWriter::Write(&message, false, &json); 44 return json; 103 std::string json("[{}]"); 105 on_tab_close_event_name_, json, profile_, GURL()); 129 std::string json = base::StringPrintf("[%s]", data.c_str()); local 131 on_page_event_name_, json, profile_, GURL());
|
H A D | extension_function.cc | 7 #include "base/json/json_writer.h" 47 std::string json; local 50 base::JSONWriter::Write(result_.get(), false, &json); 51 return json;
|
H A D | extension_history_api.cc | 8 #include "base/json/json_writer.h" 223 DictionaryValue* json; local 224 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &json)); 227 EXTENSION_FUNCTION_VALIDATE(json->Get(keys::kUrlKey, &value)); 260 DictionaryValue* json; local 261 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &json)); 265 EXTENSION_FUNCTION_VALIDATE(json->GetString(keys::kTextKey, &search_text)); 271 if (json->HasKey(keys::kStartTimeKey)) { // Optional. 273 EXTENSION_FUNCTION_VALIDATE(json->Get(keys::kStartTimeKey, &value)); 276 if (json 310 DictionaryValue* json; local 328 DictionaryValue* json; local 346 DictionaryValue* json; local [all...] |
H A D | file_manager_util.cc | 6 #include "base/json/json_writer.h" 111 std::string json = GetArgumentsJson(type, title, default_path, file_types, local 114 UrlEncodeStringWithoutEncodingSpaceAsPlus(json)); 120 std::string json = GetArgumentsJson(SelectFileDialog::SELECT_NONE, string16(), local 123 UrlEncodeStringWithoutEncodingSpaceAsPlus(json));
|
/external/chromium/chrome/browser/net/ |
H A D | net_log_logger.cc | 10 #include "base/json/json_writer.h" 36 std::string json; local 37 base::JSONWriter::Write(value.get(), false, &json); 39 VLOG(1) << json; 41 fprintf(file_.get(), "%s\n", json.c_str());
|
/external/chromium/chrome/browser/printing/cloud_print/ |
H A D | cloud_print_setup_message_handler.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 28 std::string json; local 29 args->GetString(0, &json); 31 if (json.empty()) { 32 NOTREACHED() << "Empty json string"; 36 scoped_ptr<Value> parsed_value(base::JSONReader::Read(json, false));
|
H A D | cloud_print_setup_flow.cc | 7 #include "base/json/json_writer.h" 276 std::string json; local 277 base::JSONWriter::Write(&args, false, &json); 278 string16 javascript = UTF8ToUTF16("cloudprint.showGaiaLogin(" + json + ");");
|
/external/chromium/chrome/common/ |
H A D | json_value_serializer_perftest.cc | 39 // Holds json strings to be tested. 45 // Test deserialization of a json string into a Value object. We run the test 51 // Test chrome json implementation 78 std::string json; local 79 JSONStringValueSerializer reader(&json);
|
H A D | jstemplate_builder.cc | 19 const DictionaryValue* json, 22 AppendJsonHtml(json, &output); 29 const DictionaryValue* json) { 31 AppendJsonHtml(json, &output); 38 const DictionaryValue* json, 43 AppendJsonHtml(json, &output); 49 void AppendJsonHtml(const DictionaryValue* json, std::string* output) { argument 50 // Convert the template data to a json string. 51 DCHECK(json) << "must include json dat 18 GetTemplateHtml(const base::StringPiece& html_template, const DictionaryValue* json, const base::StringPiece& template_id) argument 28 GetI18nTemplateHtml(const base::StringPiece& html_template, const DictionaryValue* json) argument 37 GetTemplatesHtml(const base::StringPiece& html_template, const DictionaryValue* json, const base::StringPiece& template_id) argument [all...] |
H A D | json_value_serializer_unittest.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 122 // unicode string json -> escaped ascii text 134 // escaped ascii text -> json 146 // hex string json -> escaped ascii text 158 // escaped ascii text -> json 196 void ValidateJsonList(const std::string& json) { argument 197 scoped_ptr<Value> root(base::JSONReader::Read(json, false));
|
/external/chromium/chrome/browser/web_resource/ |
H A D | promo_resource_service_unittest.cc | 5 #include "base/json/json_reader.h" 36 std::string json = "{ " local 51 base::JSONReader::Read(json, false))); 66 json = "{ " 82 base::JSONReader::Read(json, false))); 91 json = "{ " 101 base::JSONReader::Read(json, false))); 127 std::string json = "{ " local 144 base::JSONReader::Read(json, false))); 201 std::string json local [all...] |
/external/chromium/base/json/ |
H A D | json_writer.cc | 5 #include "base/json/json_writer.h" 7 #include "base/json/string_escape.h" 28 std::string* json) { 29 WriteWithOptionalEscape(node, pretty_print, true, json); 36 std::string* json) { 37 json->clear(); 39 json->reserve(1024); 40 JSONWriter writer(pretty_print, json); 43 json->append(kPrettyPrintLineEnding); 46 JSONWriter::JSONWriter(bool pretty_print, std::string* json) argument 26 Write(const Value* const node, bool pretty_print, std::string* json) argument 33 WriteWithOptionalEscape(const Value* const node, bool pretty_print, bool escape, std::string* json) argument [all...] |
H A D | json_reader.cc | 5 #include "base/json/json_reader.h" 90 Value* JSONReader::Read(const std::string& json, argument 92 return ReadAndReturnError(json, allow_trailing_comma, NULL, NULL); 96 Value* JSONReader::ReadAndReturnError(const std::string& json, argument 101 Value* root = reader.JsonToValue(json, true, allow_trailing_comma); 145 Value* JSONReader::JsonToValue(const std::string& json, bool check_root, argument 148 if (!IsStringUTF8(json.c_str())) { 155 std::wstring json_wide(UTF8ToWide(json));
|
/external/chromium/chrome/browser/debugger/ |
H A D | devtools_remote_service.cc | 9 #include "base/json/json_reader.h" 10 #include "base/json/json_writer.h" 46 DictionaryValue* json; local 48 json = static_cast<DictionaryValue*>(request.get()); 49 if (!json->HasKey(kCommandKey)) { 57 ProcessJson(json, message); 60 void DevToolsRemoteService::ProcessJson(DictionaryValue* json, argument 67 json->GetString(kCommandKey, &command);
|
/external/chromium/chrome/browser/remoting/ |
H A D | setup_flow_login_step.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 34 std::string json; local 35 if (!arg->GetAsString(&json) || json.empty()) { 40 scoped_ptr<Value> parsed_value(base::JSONReader::Read(json, false)); 139 std::string json; local 140 base::JSONWriter::Write(&args, false, &json); 142 UTF8ToWide(json) + L");";
|
/external/chromium/chrome/common/extensions/docs/build/ |
H A D | build.py | 29 _extension_api_json = _extension_api_dir + "/extension_api.json" 30 _devtools_api_json = _devtools_dir + "/ExtensionAPISchema.json" 34 _samples_json = _base_dir + "/samples.json" 43 import simplejson as json namespace 94 output_parsed = json.loads(output[begin:end])
|
/external/chromium/net/tools/testserver/ |
H A D | device_management.py | 53 # The name and availability of the json module varies in python versions. 55 import simplejson as json namespace 58 import json namespace 60 json = None variable 563 if json is None: 567 self.policy = json.loads(open(policy_path).read())
|
/external/chromium/chrome/browser/chromeos/login/ |
H A D | enterprise_enrollment_view.cc | 7 #include "base/json/json_writer.h" 166 std::string json; local 167 base::JSONWriter::Write(&args, false, &json); 173 UTF8ToUTF16("showGaiaLogin(" + json + ");"));
|
/external/chromium/chrome/browser/themes/ |
H A D | browser_theme_pack_unittest.cc | 8 #include "base/json/json_reader.h" 78 void LoadColorJSON(const std::string& json) { argument 79 scoped_ptr<Value> value(base::JSONReader::Read(json, false)); 88 void LoadTintJSON(const std::string& json) { argument 89 scoped_ptr<Value> value(base::JSONReader::Read(json, false)); 98 void LoadDisplayPropertiesJSON(const std::string& json) { argument 99 scoped_ptr<Value> value(base::JSONReader::Read(json, false)); 108 void ParseImageNamesJSON(const std::string& json, argument 110 scoped_ptr<Value> value(base::JSONReader::Read(json, false)); 279 std::string json local [all...] |