Searched refs:ParseJson (Results 1 – 10 of 10) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 79 Assert.AreEqual(expected, TestAllTypes.Parser.ParseJson(json)); in OriginalFieldNameAccepted() 195 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited() 202 Assert.AreEqual(new TestAllTypes(), TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullOverallValueAllowed() 211 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited() 218 Assert.AreEqual(new TestMap(), TestMap.Parser.ParseJson(json)); in MapField_NullOverallValueAllowed() 224 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes() 225 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes() 227 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes() 248 var parsed = TestAllTypes.Parser.ParseJson(json); in StringToInt32_Valid() 267 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | MessageParser.cs | 133 public IMessage ParseJson(string json) in ParseJson() method in Google.Protobuf.MessageParser 260 public new T ParseJson(string json) in ParseJson() method in Google.Protobuf.MessageParser
|
/external/v8/src/ |
D | json-parser.h | 45 JsonParser(isolate, source).ParseJson(), Object); in Parse() 58 MaybeHandle<Object> ParseJson();
|
D | json-parser.cc | 157 MaybeHandle<Object> JsonParser<seq_one_byte>::ParseJson() { in ParseJson() function in v8::internal::JsonParser
|
/external/grpc-grpc/test/cpp/qps/ |
D | parse_json.h | 28 void ParseJson(const grpc::string& json, const grpc::string& type,
|
D | parse_json.cc | 30 void ParseJson(const grpc::string& json, const grpc::string& type, in ParseJson() function
|
D | qps_json_driver.cc | 206 ParseJson(json.c_str(), "grpc.testing.Scenarios", &scenarios); in QpsDriver()
|
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
D | bigquery_table_accessor.cc | 34 Status ParseJson(StringPiece json, Json::Value* result) { in ParseJson() function 189 TF_RETURN_IF_ERROR(ParseJson(response_piece, &root)); in ReadRow() 268 TF_RETURN_IF_ERROR(ParseJson(response_piece, &root)); in ReadSchema()
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ios/TFLiteBenchmark/TFLiteBenchmark/ |
D | BenchmarkViewController.mm | 36 NSDictionary* ParseJson() { 51 NSDictionary* param_dict = ParseJson();
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.cc | 235 Status ParseJson(StringPiece json, Json::Value* result) { in ParseJson() function 243 Status ParseJson(const std::vector<char>& json, Json::Value* result) { in ParseJson() function 244 return ParseJson(StringPiece{json.data(), json.size()}, result); in ParseJson() 1088 TF_RETURN_IF_ERROR(ParseJson(output_buffer, &root)); in UncachedStatForObject() 1178 TF_RETURN_IF_ERROR(ParseJson(result_buffer, &result)); in GetBucketLocation() 1322 TF_RETURN_IF_ERROR(ParseJson(output_buffer, &root)); in GetChildrenBounded() 1543 TF_RETURN_IF_ERROR(ParseJson(output_buffer, &root)); in RenameObject()
|