/external/libchrome/base/json/ |
D | json_file_value_serializer.cc | 37 std::string json_string; in SerializeInternal() local 38 JSONStringValueSerializer serializer(&json_string); in SerializeInternal() 46 int data_size = static_cast<int>(json_string.size()); in SerializeInternal() 47 if (base::WriteFile(json_file_path_, json_string.data(), data_size) != in SerializeInternal() 61 int JSONFileValueDeserializer::ReadFileToString(std::string* json_string) { in ReadFileToString() argument 62 DCHECK(json_string); in ReadFileToString() 63 if (!base::ReadFileToString(json_file_path_, json_string)) { in ReadFileToString() 78 last_read_size_ = json_string->size(); in ReadFileToString() 103 std::string json_string; in Deserialize() local 104 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 46 : json_string_(json_string), options_(options) {} in JSONStringValueDeserializer()
|
D | json_string_value_serializer.h | 21 explicit JSONStringValueSerializer(std::string* json_string); 52 explicit JSONStringValueDeserializer(const base::StringPiece& json_string,
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | json_token_test.cc | 98 char* json_string = test_json_key_str(nullptr); in test_parse_json_key_success() local 100 grpc_auth_json_key_create_from_string(json_string); in test_parse_json_key_success() 116 gpr_free(json_string); in test_parse_json_key_success() 128 char* json_string = test_json_key_str(non_closing_part3); in test_parse_json_key_failure_bad_json() local 130 grpc_auth_json_key_create_from_string(json_string); in test_parse_json_key_failure_bad_json() 132 gpr_free(json_string); in test_parse_json_key_failure_bad_json() 144 char* json_string = test_json_key_str(no_type_part3); in test_parse_json_key_failure_no_type() local 146 grpc_auth_json_key_create_from_string(json_string); in test_parse_json_key_failure_no_type() 148 gpr_free(json_string); in test_parse_json_key_failure_no_type() 159 char* json_string = test_json_key_str(no_client_id_part3); in test_parse_json_key_failure_no_client_id() local [all …]
|
/external/grpc-grpc/test/core/security/ |
D | json_token_test.cc | 96 char* json_string = test_json_key_str(nullptr); in test_parse_json_key_success() local 98 grpc_auth_json_key_create_from_string(json_string); in test_parse_json_key_success() 114 gpr_free(json_string); in test_parse_json_key_success() 126 char* json_string = test_json_key_str(non_closing_part3); in test_parse_json_key_failure_bad_json() local 128 grpc_auth_json_key_create_from_string(json_string); in test_parse_json_key_failure_bad_json() 130 gpr_free(json_string); in test_parse_json_key_failure_bad_json() 142 char* json_string = test_json_key_str(no_type_part3); in test_parse_json_key_failure_no_type() local 144 grpc_auth_json_key_create_from_string(json_string); in test_parse_json_key_failure_no_type() 146 gpr_free(json_string); in test_parse_json_key_failure_no_type() 157 char* json_string = test_json_key_str(no_client_id_part3); in test_parse_json_key_failure_no_client_id() local [all …]
|
/external/autotest/server/ |
D | lab_status_unittest.py | 131 json_string = _OPEN_STATUS_VALUES[0] 132 json_value = json.loads(json_string) 134 _FakeURLResponse(200, json_string)) 143 json_string = _OPEN_STATUS_VALUES[0] 144 json_value = json.loads(json_string) 149 _FakeURLResponse(200, json_string)) 158 json_string = _OPEN_STATUS_VALUES[0] 159 json_value = json.loads(json_string) 164 _FakeURLResponse(200, json_string)) 173 json_string = _OPEN_STATUS_VALUES[0] [all …]
|
/external/grpc-grpc/src/core/lib/transport/ |
D | service_config.cc | 37 UniquePtr<char> json_string(gpr_strdup(json)); in Create() local 38 grpc_json* json_tree = grpc_json_parse_string(json_string.get()); in Create() 43 return MakeUnique<ServiceConfig>(std::move(json_string), json_tree); in Create() 46 ServiceConfig::ServiceConfig(UniquePtr<char> json_string, grpc_json* json_tree) in ServiceConfig() argument 47 : json_string_(std::move(json_string)), json_tree_(json_tree) {} in ServiceConfig()
|
/external/llvm-project/lldb/unittests/debugserver/ |
D | JSONTest.cpp | 21 JSONValue::SP ParseJSON(const char *json_string) { in ParseJSON() argument 22 return JSONParser(json_string).ParseJSONValue(); in ParseJSON() 27 const char *json_string, in ParseAndTestJSON() argument 29 auto json_val = ParseJSON(json_string);
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | service_config.h | 69 absl::string_view json_string, 72 ServiceConfig(const grpc_channel_args* args, std::string json_string, 76 const std::string& json_string() const { return json_string_; } in json_string() function
|
D | service_config.cc | 34 const grpc_channel_args* args, absl::string_view json_string, in Create() argument 37 Json json = Json::Parse(json_string, error); in Create() 39 return MakeRefCounted<ServiceConfig>(args, std::string(json_string), in Create() 44 std::string json_string, Json json, in ServiceConfig() argument 46 : json_string_(std::move(json_string)), json_(std::move(json)) { in ServiceConfig()
|
/external/grpc-grpc/test/cpp/qps/ |
D | parse_json.cc | 56 grpc::string json_string; in SerializeJson() local 59 BinaryToJsonString(type_resolver.get(), type, binary, &json_string); in SerializeJson() 61 return json_string; in SerializeJson()
|
/external/webrtc/api/audio/ |
D | echo_canceller3_config_json.h | 26 RTC_EXPORT void Aec3ConfigFromJsonString(absl::string_view json_string, 36 Aec3ConfigFromJsonString(absl::string_view json_string);
|
/external/autotest/server/cros/servo/topology/ |
D | servo_topology.py | 327 json_string = json.dumps(topology, separators=(',', ':')) 328 logging.debug('Servo topology (json): %s', json_string) 335 b64_string = base64.b64encode(json_string.encode("utf-8")) 356 json_string = base64.b64decode(src) 357 logging.debug('Servo topology (json) from host-info: %s', json_string) 358 return json.loads(json_string)
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/client/ |
D | secure_credentials.cc | 115 const grpc::string& json_string, const std::vector<grpc::string>& scopes) { in ExternalAccountCredentials() argument 118 json_string.c_str(), absl::StrJoin(scopes, ",").c_str())); in ExternalAccountCredentials() 157 grpc::Status StsCredentialsOptionsFromJson(const std::string& json_string, in StsCredentialsOptionsFromJson() argument 165 grpc_core::Json json = grpc_core::Json::Parse(json_string.c_str(), &error); in StsCredentialsOptionsFromJson() 220 grpc_slice json_string = grpc_empty_slice(); in StsCredentialsOptionsFromEnv() local 224 auto cleanup = [&json_string, &sts_creds_path, &error, &status]() { in StsCredentialsOptionsFromEnv() 225 grpc_slice_unref_internal(json_string); in StsCredentialsOptionsFromEnv() 236 error = grpc_load_file(sts_creds_path, 1, &json_string); in StsCredentialsOptionsFromEnv() 243 reinterpret_cast<const char*>(GRPC_SLICE_START_PTR(json_string)), in StsCredentialsOptionsFromEnv()
|
/external/tensorflow/tensorflow/python/keras/saving/ |
D | model_config.py | 108 def model_from_json(json_string, custom_objects=None): argument 128 config = json_utils.decode(json_string)
|
/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/python/oauth2client/oauth2client/contrib/ |
D | devshell.py | 59 def __init__(self, json_string): argument 61 pbl = json.loads(json_string)
|
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | fuzz_test_util.cpp | 147 std::string json_string; in DumpTransformationsJson() local 151 transformations, &json_string, json_options); in DumpTransformationsJson() 154 transformations_json_file << json_string; in DumpTransformationsJson()
|
/external/deqp-deps/SPIRV-Tools/test/fuzz/ |
D | fuzz_test_util.cpp | 147 std::string json_string; in DumpTransformationsJson() local 151 transformations, &json_string, json_options); in DumpTransformationsJson() 154 transformations_json_file << json_string; in DumpTransformationsJson()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/ |
D | fuzz_test_util.cpp | 147 std::string json_string; in DumpTransformationsJson() local 151 transformations, &json_string, json_options); in DumpTransformationsJson() 154 transformations_json_file << json_string; in DumpTransformationsJson()
|
/external/webrtc/api/audio/test/ |
D | echo_canceller3_config_json_unittest.cc | 31 std::string json_string = Aec3ConfigToJsonString(cfg); in TEST() local 32 EchoCanceller3Config cfg_transformed = Aec3ConfigFromJsonString(json_string); in TEST()
|
/external/tensorflow/tensorflow/python/keras/saving/saved_model/ |
D | json_utils.py | 65 def decode(json_string): argument 66 return json.loads(json_string, object_hook=_decode_helper)
|
/external/deqp-deps/SPIRV-Tools/tools/fuzz/ |
D | fuzz.cpp | 637 std::string json_string; in DumpTransformationsJson() local 641 transformations, &json_string, json_options); in DumpTransformationsJson() 644 transformations_json_file << json_string; in DumpTransformationsJson() 768 std::string json_string; in main() local 772 transformations_applied, &json_string, json_options); in main() 781 transformations_json_file << json_string; in main()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/fuzz/ |
D | fuzz.cpp | 637 std::string json_string; in DumpTransformationsJson() local 641 transformations, &json_string, json_options); in DumpTransformationsJson() 644 transformations_json_file << json_string; in DumpTransformationsJson() 768 std::string json_string; in main() local 772 transformations_applied, &json_string, json_options); in main() 781 transformations_json_file << json_string; in main()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/fuzz/ |
D | fuzz.cpp | 694 std::string json_string; in DumpTransformationsJson() local 698 transformations, &json_string, json_options); in DumpTransformationsJson() 701 transformations_json_file << json_string; in DumpTransformationsJson() 826 std::string json_string; in main() local 830 transformations_applied, &json_string, json_options); in main() 839 transformations_json_file << json_string; in main()
|