HomeSort by relevance Sort by last modified time
    Searched full:json_string (Results 1 - 25 of 48) sorted by null

1 2

  /external/chromium_org/base/json/
json_file_value_serializer.cc 29 std::string json_string; local
30 JSONStringValueSerializer serializer(&json_string);
38 int data_size = static_cast<int>(json_string.size());
40 json_string.data(),
47 int JSONFileValueSerializer::ReadFileToString(std::string* json_string) {
48 DCHECK(json_string);
49 if (!base::ReadFileToString(json_file_path_, json_string)) {
86 std::string json_string; local
87 int error = ReadFileToString(&json_string);
96 JSONStringValueSerializer serializer(json_string);
    [all...]
json_string_value_serializer.h 17 // json_string is the string that will be source of the deserialization
20 explicit JSONStringValueSerializer(std::string* json_string)
21 : json_string_(json_string),
29 explicit JSONStringValueSerializer(const std::string& json_string)
30 : json_string_(&const_cast<std::string&>(json_string)),
json_file_value_serializer.h 82 int ReadFileToString(std::string* json_string);
  /external/chromium/chrome/browser/automation/
automation_provider_json.cc 42 std::string json_string = "{}"; local
44 base::JSONWriter::Write(value, false, &json_string);
46 message_, json_string, true);
53 std::string json_string = JSONErrorString(error_message); local
55 message_, json_string, false);
  /external/qemu/
json-lexer.h 25 JSON_STRING,
json-lexer.c 108 ['"'] = JSON_STRING,
147 ['\''] = JSON_STRING,
298 case JSON_STRING:
  /external/chromium_org/chrome/browser/automation/
automation_provider_json.cc 34 std::string json_string = "{}"; local
36 base::JSONWriter::Write(value, &json_string);
38 message_, json_string, true);
  /external/chromium_org/chrome/test/pyautolib/
bookmark_model.py 16 def __init__(self, json_string):
23 json_string: a string of JSON.
25 self.bookdict = json.loads(json_string)
history_info.py 36 json_string: a dictionary as returned by the IPC command 'GetHistoryInfo'.
  /external/chromium_org/cloud_print/service/win/
setup_listener.cc 50 std::string json_string; local
51 if (!iter.ReadString(&json_string))
53 scoped_ptr<base::Value> value(base::JSONReader::Read(json_string));
  /external/chromium_org/native_client_sdk/src/build_tools/
update_sdktools.py 59 def JsonLoadFromString(json_string):
61 return json.loads(json_string, object_pairs_hook=collections.OrderedDict)
63 return json.loads(json_string)
manifest_util.py 243 def LoadDataFromString(self, json_string):
244 """Load a JSON bundle string. Raises an exception if json_string
248 json_string: a JSON-formatted string containing the bundle
250 self.CopyFrom(json.loads(json_string))
555 def LoadDataFromString(self, json_string, add_missing_info=False):
556 """Load a JSON manifest string. Raises an exception if json_string
560 json_string: a JSON-formatted string containing the previous manifest
563 new_manifest = json.loads(json_string)
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/
generate_protocol_externs.py 86 json_string = input_file.read()
87 json_string = json_string.replace(": true", ": True")
88 json_string = json_string.replace(": false", ": False")
89 json_api = eval(json_string)["domains"]
CodeGeneratorFrontend.py 145 json_string = input_file.read() variable
146 json_api = json.loads(json_string)
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/
jsonresults_unittest.py 203 def _make_test_json(self, test_data, json_string=JSON_RESULTS_TEMPLATE, builder_name="Webkit"):
224 json_string = json_string.replace("[BUILDER_NAME]", builder_name)
225 json_string = json_string.replace("[TESTDATA_COUNTS]", ",".join(counts))
226 json_string = json_string.replace("[TESTDATA_COUNT]", ",".join(builds))
227 json_string = json_string.replace("[TESTDATA_BUILDNUMBERS]", ",".join(build_numbers))
228 json_string = json_string.replace("[TESTDATA_WEBKITREVISION]", ",".join(webkit_revision)
    [all...]
  /external/chromium_org/build/android/pylib/instrumentation/
json_perf_parser.py 133 def GetAverageRunInfoFromJSONString(json_string, name):
137 json_string: The string containing JSON.
143 return GetAverageRunInfo(json.loads(json_string), name)
test_runner.py 258 json_string = self.adb.GetProtectedFileContents(
261 if json_string:
262 json_string = '\n'.join(json_string)
269 f.write(json_string)
283 result = json_perf_parser.GetAverageRunInfoFromJSONString(json_string,
  /external/chromium_org/chromeos/network/
network_connection_handler_unittest.cc 68 bool Configure(const std::string& json_string) {
70 onc::ReadDictionaryFromJson(json_string);
72 LOG(ERROR) << "Error parsing json: " << json_string;
  /external/chromium_org/chrome/browser/chromeos/policy/
configuration_policy_handler_chromeos.cc 231 std::string json_string; local
232 if (!config->GetAsString(&json_string))
236 chromeos::onc::ReadDictionaryFromJson(json_string);
250 &json_string);
251 return base::Value::CreateStringValue(json_string);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
generate-inspector-protocol-version 206 json_string = input_file.read()
207 json_string = re.sub(":\s*true", ": True", json_string)
208 json_string = re.sub(":\s*false", ": False", json_string)
209 return eval(json_string)
  /external/chromium_org/chrome/browser/extensions/api/media_galleries/
media_galleries_apitest.cc 96 std::string json_string; local
98 base::JSONWriter::Write(&custom_arg_value, &json_string);
99 custom_arg = json_string.c_str();
  /external/chromium_org/content/browser/accessibility/
accessibility_ui.cc 116 std::string json_string; local
117 base::JSONWriter::Write(data.get(), &json_string);
119 callback.Run(base::RefCountedString::TakeString(&json_string));
  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/
idl_compiler.py 92 json_string = definitions.to_json()
96 json_file.write(json_string)
  /external/chromium/chrome/browser/ui/webui/options/
core_options_handler.cc 315 std::string json_string; local
316 CHECK(value->GetAsString(&json_string));
318 base::JSONReader().JsonToValue(json_string,
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
run_webkit_tests_integrationtest.py 524 json_string = host.filesystem.read_text_file('/tmp/layout-test-results/full_results.json')
525 self.assertTrue(json_string.find('"text-image-checksum.html":{"expected":"PASS","actual":"IMAGE+TEXT","is_unexpected":true') != -1)
526 self.assertTrue(json_string.find('"missing_text.html":{"expected":"PASS","is_missing_text":true,"actual":"MISSING","is_unexpected":true') != -1)
527 self.assertTrue(json_string.find('"num_regressions":2') != -1)
528 self.assertTrue(json_string.find('"num_flaky":0') != -1)
560 json_string = host.filesystem.read_text_file('/tmp/layout-test-results/full_results.json')
561 self.assertTrue(json_string.find(expected_token) != -1)
    [all...]

Completed in 6499 milliseconds

1 2