/third_party/protobuf/src/google/protobuf/util/ |
D | json_util_test.cc | 70 std::string ToJson(const Message& message, const JsonPrintOptions& options) { in ToJson() function in google::protobuf::util::__anon4f7e94fe0111::JsonUtilTest 93 EXPECT_EQ("{\"messageValue\":{}}", ToJson(m, options)); in TEST_F() 99 ToJson(m, options)); in TEST_F() 105 EXPECT_EQ("{}", ToJson(m, options)); in TEST_F() 130 ToJson(m, options)); in TEST_F() 158 ToJson(m, options)); in TEST_F() 186 ToJson(m, options)); in TEST_F() 195 EXPECT_EQ("{\"message_value\":{}}", ToJson(m, options)); in TEST_F() 208 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F() 232 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | DurationPartial.cs | 197 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Duration 241 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
|
D | TimestampPartial.cs | 199 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Timestamp 341 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
|
D | FieldMaskPartial.cs | 59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.FieldMask 103 return ToJson(Paths, true); in ToDiagnosticString()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/common/ |
D | shard_pybind.h | 31 void ToJson(json *j, const py::object &obj);
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 519 writer.Write(Timestamp.ToJson(seconds, nanos, DiagnosticOnly)); in WriteTimestamp() 527 writer.Write(Duration.ToJson(seconds, nanos, DiagnosticOnly)); in WriteDuration() 533 writer.Write(FieldMask.ToJson(paths, DiagnosticOnly)); in WriteFieldMask()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/ |
D | pybind_conversion.h | 84 Status ToJson(const py::handle &padded_sample, nlohmann::json *const padded_sample_json,
|
D | pybind_conversion.cc | 229 Status ToJson(const py::handle &padded_sample, nlohmann::json *const padded_sample_json, in ToJson() function
|
/third_party/grpc/test/cpp/util/ |
D | grpc_tool.cc | 98 bool ToJson(int argc, const char** argv, const CliCredentials& cred, 251 {"tojson", BindWith5Args(&GrpcTool::ToJson), 2, 3}, 921 bool GrpcTool::ToJson(int argc, const char** argv, const CliCredentials& cred, in ToJson() function in grpc::testing::GrpcTool
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/ |
D | bindings.cc | 220 THROW_IF_ERROR(ToJson(padded_sample, &padded_sample_json, &sample_bytes)); in __anon9c4d722b1a02() 232 THROW_IF_ERROR(ToJson(padded_sample, &padded_sample_json, &sample_bytes)); in __anon9c4d722b1a02()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/ |
D | shard_pybind.cc | 358 void adl_serializer<py::object>::ToJson(json *j, const py::object &obj) { in ToJson() function in nlohmann::adl_serializer::object
|