/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,
|
D | json_file_value_serializer.h | 93 int ReadFileToString(std::string* json_string);
|
/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 | 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/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()
|
D | service_config.h | 103 ServiceConfig(UniquePtr<char> json_string, grpc_json* json_tree);
|
/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()
|
D | report.cc | 167 grpc::string json_string = in ReportQPS() local 170 output_file << json_string; in ReportQPS()
|
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
D | gcs_config_ops.cc | 86 string json_string; in Compute() local 87 OP_REQUIRES_OK(ctx, ParseScalarArgument<string>(ctx, "json", &json_string)); in Compute() 91 std::stringstream json_stream(json_string); in Compute() 93 errors::InvalidArgument("Could not parse json: ", json_string)); in Compute()
|
/external/tensorflow/tensorflow/python/keras/saving/ |
D | model_config.py | 82 def model_from_json(json_string, custom_objects=None): argument 94 config = json.loads(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/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/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | json_token.h | 51 const char* json_string);
|
D | json_token.cc | 120 const char* json_string) { in grpc_auth_json_key_create_from_string() argument 121 char* scratchpad = gpr_strdup(json_string); in grpc_auth_json_key_create_from_string()
|
/external/v8/src/inspector/build/ |
D | generate_protocol_externs.py | 99 json_string = input_file.read() 100 parsed_json = json.loads(json_string)
|
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.h | 42 const char* json_string);
|
D | oauth2_credentials.cc | 77 const char* json_string) { in grpc_auth_refresh_token_create_from_string() argument 78 char* scratchpad = gpr_strdup(json_string); in grpc_auth_refresh_token_create_from_string()
|
/external/autotest/client/cros/enterprise/ |
D | enterprise_policy_base.py | 1044 def decode_json_string(json_string): argument 1081 result = json.loads(json_string, encoding='ascii', 1088 logging.warning('Could not unload: %s (%s)', json_string, e) 1089 return json_string
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.models.pbtxt | 25 …argspec: "args=[\'json_string\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'Non…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.models.pbtxt | 25 …argspec: "args=[\'json_string\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'Non…
|
/external/python/oauth2client/tests/contrib/ |
D | test_devshell.py | 65 json_string = json.dumps( 67 info_response = devshell.CredentialInfoResponse(json_string)
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 149 const std::string& json_string) { in DecodeListValueFromJSON() argument 152 base::JSONReader::ReadAndReturnError(json_string, in DecodeListValueFromJSON()
|