/external/libchrome/base/json/ |
D | json_file_value_serializer.cc | 38 std::string json_string; in SerializeInternal() local 39 JSONStringValueSerializer serializer(&json_string); in SerializeInternal() 47 int data_size = static_cast<int>(json_string.size()); in SerializeInternal() 48 if (base::WriteFile(json_file_path_, json_string.data(), data_size) != in SerializeInternal() 65 int JSONFileValueDeserializer::ReadFileToString(std::string* json_string) { in ReadFileToString() argument 66 DCHECK(json_string); in ReadFileToString() 67 if (!base::ReadFileToString(json_file_path_, json_string)) { in ReadFileToString() 82 last_read_size_ = json_string->size(); in ReadFileToString() 107 std::string json_string; in Deserialize() local 108 int error = ReadFileToString(&json_string); in Deserialize() [all …]
|
D | json_string_value_serializer.cc | 13 JSONStringValueSerializer::JSONStringValueSerializer(std::string* json_string) in JSONStringValueSerializer() argument 14 : json_string_(json_string), in JSONStringValueSerializer() 44 const base::StringPiece& json_string) in JSONStringValueDeserializer() argument 45 : json_string_(json_string), in JSONStringValueDeserializer()
|
D | json_string_value_serializer.h | 21 explicit JSONStringValueSerializer(std::string* json_string); 51 explicit JSONStringValueDeserializer(const base::StringPiece& json_string);
|
D | json_file_value_serializer.h | 96 int ReadFileToString(std::string* json_string);
|
D | json_reader_unittest.cc | 658 std::string json_string(json, sizeof(json)); in TEST() local 660 EXPECT_FALSE(reader.ReadToValue(json_string)); in TEST()
|
/external/autotest/server/ |
D | 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/libweave/src/ |
D | utils.cc | 38 const std::string& json_string, in LoadJsonDict() argument 43 json_string, base::JSON_PARSE_RFC, nullptr, &error_message); in LoadJsonDict() 47 LimitString(json_string, kMaxStrLen).c_str(), in LoadJsonDict() 48 json_string.size(), error_message.c_str()); in LoadJsonDict() 55 LimitString(json_string, kMaxStrLen).c_str()); in LoadJsonDict()
|
D | config.cc | 149 std::string json_string = config_->config_store_->LoadSettings(kConfigName); in LoadState() local 150 if (json_string.empty()) { in LoadState() 151 json_string = config_->config_store_->LoadSettings(); in LoadState() 152 if (json_string.empty()) in LoadState() 156 auto value = base::JSONReader::Read(json_string); in LoadState() 280 std::string json_string; in Save() local 282 dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_string); in Save() 285 kConfigName, json_string, in Save()
|
D | utils.h | 29 const std::string& json_string,
|
D | device_registration_info_unittest.cc | 167 std::string json_string; in ReloadSettings() local 169 dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_string); in ReloadSettings() 170 EXPECT_CALL(config_store_, LoadSettings()).WillOnce(Return(json_string)); in ReloadSettings()
|
/external/libvpx/libvpx/test/android/ |
D | 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/v8/build/android/pylib/instrumentation/ |
D | json_perf_parser.py | 134 def GetAverageRunInfoFromJSONString(json_string, name): argument 144 return GetAverageRunInfo(json.loads(json_string), name)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | devshell.py | 54 def __init__(self, json_string): argument 56 pbl = json.loads(json_string)
|
/external/webrtc/talk/app/webrtc/ |
D | androidvideocapturer.cc | 137 std::string json_string = delegate_->GetSupportedFormats(); in AndroidVideoCapturer() local 138 LOG(LS_INFO) << json_string; in AndroidVideoCapturer() 142 if (!reader.parse(json_string, json_values)) { in AndroidVideoCapturer()
|
/external/autotest/tko/perf_upload/ |
D | perf_uploader.py | 234 json_string = json.dumps(dash_entries) 235 return {'data': json_string}
|
/external/v8/build/android/pylib/results/flakiness_dashboard/ |
D | 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/site_tests/policy_EditBookmarksEnabled/ |
D | policy_EditBookmarksEnabled.py | 124 policy_value = self.json_string(self.TEST_CASES[case])
|
/external/libchrome/base/trace_event/ |
D | trace_buffer.h | 98 void Append(const std::string& json_string);
|
/external/autotest/client/cros/ |
D | enterprise_policy_base.py | 433 def json_string(self, policy_value): member in EnterprisePolicyTest
|
/external/libweave/third_party/chromium/base/json/ |
D | json_reader_unittest.cc | 635 std::string json_string(json, sizeof(json)); in TEST() local 637 EXPECT_FALSE(reader.ReadToValue(json_string)); in TEST()
|
/external/v8/src/ |
D | api.cc | 2816 MaybeLocal<Value> JSON::Parse(Isolate* v8_isolate, Local<String> json_string) { in Parse() argument 2819 i::Handle<i::String> string = Utils::OpenHandle(*json_string); in Parse() 2832 Local<String> json_string) { in Parse() argument 2834 i::Handle<i::String> string = Utils::OpenHandle(*json_string); in Parse() 2846 Local<Value> JSON::Parse(Local<String> json_string) { in Parse() argument 2847 RETURN_TO_LOCAL_UNCHECKED(Parse(Local<Context>(), json_string), Value); in Parse()
|
/external/v8/include/ |
D | v8.h | 1646 Local<Value> Parse(Local<String> json_string)); 1649 Local<String> json_string)); 1651 Local<Context> context, Local<String> json_string);
|
/external/v8/test/cctest/ |
D | test-heap-profiler.cc | 919 v8::Local<v8::String> json_string = in TEST() local 923 ->Set(env.local(), v8_str("json_snapshot"), json_string) in TEST()
|