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

1 2

  /external/libchrome/base/json/
json_file_value_serializer.cc 38 std::string json_string; local
39 JSONStringValueSerializer serializer(&json_string);
47 int data_size = static_cast<int>(json_string.size());
48 if (base::WriteFile(json_file_path_, json_string.data(), data_size) !=
65 int JSONFileValueDeserializer::ReadFileToString(std::string* json_string) {
66 DCHECK(json_string);
67 if (!base::ReadFileToString(json_file_path_, json_string)) {
82 last_read_size_ = json_string->size();
107 std::string json_string; local
108 int error = ReadFileToString(&json_string);
    [all...]
json_string_value_serializer.cc 13 JSONStringValueSerializer::JSONStringValueSerializer(std::string* json_string)
14 : json_string_(json_string),
44 const base::StringPiece& json_string)
45 : json_string_(json_string),
json_string_value_serializer.h 18 // |json_string| is the string that will be the destination of the
20 // string. |json_string| must not be null.
21 explicit JSONStringValueSerializer(std::string* json_string);
49 // This retains a reference to the contents of |json_string|, so the data
51 explicit JSONStringValueDeserializer(const base::StringPiece& json_string);
json_file_value_serializer.h 96 int ReadFileToString(std::string* json_string);
json_reader_unittest.cc 658 std::string json_string(json, sizeof(json));
660 EXPECT_FALSE(reader.ReadToValue(json_string));
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
scrape_gtest_log.py 23 json_string = '[' + ','.join('{' + x + '}' for x in
25 print json.dumps(json.loads(json_string), indent=4, sort_keys=True)
  /external/libweave/src/
utils.cc 38 const std::string& json_string,
43 json_string, base::JSON_PARSE_RFC, nullptr, &error_message);
47 LimitString(json_string, kMaxStrLen).c_str(),
48 json_string.size(), error_message.c_str());
55 LimitString(json_string, kMaxStrLen).c_str());
utils.h 29 const std::string& json_string,
config.cc 149 std::string json_string = config_->config_store_->LoadSettings(kConfigName);
150 if (json_string.empty()) {
151 json_string = config_->config_store_->LoadSettings();
152 if (json_string.empty())
156 auto value = base::JSONReader::Read(json_string);
280 std::string json_string; local
282 dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_string);
285 kConfigName, json_string,
device_registration_info_unittest.cc 167 std::string json_string; local
169 dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_string);
170 EXPECT_CALL(config_store_, LoadSettings()).WillOnce(Return(json_string));
  /external/autotest/server/
lab_status_unittest.py 125 json_string = _OPEN_STATUS_VALUES[0]
126 json_value = json.loads(json_string)
128 _FakeURLResponse(200, json_string))
137 json_string = _OPEN_STATUS_VALUES[0]
138 json_value = json.loads(json_string)
143 _FakeURLResponse(200, json_string))
152 json_string = _OPEN_STATUS_VALUES[0]
153 json_value = json.loads(json_string)
158 _FakeURLResponse(200, json_string))
167 json_string = _OPEN_STATUS_VALUES[0
    [all...]
  /external/libvpx/libvpx/test/android/
scrape_gtest_log.py 42 json_string = '[' + ','.join('{' + x + '}' for x in
46 output = json.dumps(json.loads(json_string), indent=4, sort_keys=True)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
devshell.py 54 def __init__(self, json_string):
56 pbl = json.loads(json_string)
  /external/v8/build/android/pylib/instrumentation/
json_perf_parser.py 134 def GetAverageRunInfoFromJSONString(json_string, name):
138 json_string: The string containing JSON.
144 return GetAverageRunInfo(json.loads(json_string), name)
  /external/autotest/client/site_tests/policy_EditBookmarksEnabled/
policy_EditBookmarksEnabled.py 124 policy_value = self.json_string(self.TEST_CASES[case])
  /external/libchrome/base/trace_event/
trace_buffer.h 98 void Append(const std::string& json_string);
  /external/webrtc/talk/app/webrtc/
androidvideocapturer.cc 137 std::string json_string = delegate_->GetSupportedFormats(); local
138 LOG(LS_INFO) << json_string;
142 if (!reader.parse(json_string, json_values)) {
  /system/weaved/buffet/
buffet_config.cc 177 std::string json_string; local
178 if (!encryptor_->DecryptWithAuthentication(settings_blob, &json_string)) {
184 return json_string;
  /system/connectivity/shill/
json_store.cc 348 string json_string; local
349 if (!base::ReadFileToString(path_, &json_string)) {
354 JSONStringValueDeserializer json_deserializer(json_string);
448 string json_string; local
449 JSONStringValueSerializer json_serializer(&json_string);
457 if (!base::ImportantFileWriter::WriteFileAtomically(path_, json_string)) {
  /external/autotest/tko/perf_upload/
perf_uploader.py 234 json_string = json.dumps(dash_entries)
235 return {'data': json_string}
  /external/v8/build/android/pylib/results/flakiness_dashboard/
json_results_generator.py 37 json_string = json.dumps(json_object, separators=(',', ':'))
39 json_string = callback + '(' + json_string + ');'
41 fp.write(json_string)
  /external/autotest/client/cros/
enterprise_policy_base.py 433 def json_string(self, policy_value): member in class:EnterprisePolicyTest
  /external/libweave/third_party/chromium/base/json/
json_reader_unittest.cc 635 std::string json_string(json, sizeof(json));
637 EXPECT_FALSE(reader.ReadToValue(json_string));
  /external/v8/include/
v8.h     [all...]
  /external/v8/test/cctest/
test-heap-profiler.cc 919 v8::Local<v8::String> json_string = local
    [all...]

Completed in 1116 milliseconds

1 2