Home
last modified time | relevance | path

Searched refs:FromJson (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc76 bool FromJson(const std::string& json, Message* message, in FromJson() function in google::protobuf::util::__anon2f76a2fc0111::JsonUtilTest
81 bool FromJson(const std::string& json, Message* message) { in FromJson() function in google::protobuf::util::__anon2f76a2fc0111::JsonUtilTest
82 return FromJson(json, message, JsonParseOptions()); in FromJson()
212 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
236 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
259 ASSERT_TRUE(FromJson(input, &m, options)); in TEST_F()
277 ASSERT_TRUE(FromJson(ToJson(message, print_options), &other, parse_options)); in TEST_F()
289 ASSERT_TRUE(FromJson(ToJson(message, print_options), &other, parse_options)); in TEST_F()
308 EXPECT_TRUE(FromJson("{\"unknownName\":0}", &m, options)); in TEST_F()
315 EXPECT_FALSE(FromJson("{\"unknownName\":0}", &m, options)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/angle2/src/feature_support_util/
Dfeature_support_util.cpp136 static StringPart FromJson(const Json::Value &parent, const char *key) in FromJson() function in angle::StringPart
164 static IntegerPart FromJson(const Json::Value &parent, const char *key) in FromJson() function in angle::IntegerPart
278 static Version FromJson(const Json::Value &jObject) in FromJson() function in angle::Version
281 version.mMajor = IntegerPart::FromJson(jObject, kJsonVerMajor); in FromJson()
288 version.mMinor = IntegerPart::FromJson(jObject, kJsonVerMinor); in FromJson()
294 version.mSubminor = IntegerPart::FromJson(jObject, kJsonVerSubMinor); in FromJson()
300 version.mPatch = IntegerPart::FromJson(jObject, kJsonVerPatch); in FromJson()
365 static bool FromJson(const Json::Value &jObject, Application *out) in FromJson() function in angle::Application
368 auto name = StringPart::FromJson(jObject, kJsonAppName); in FromJson()
373 auto version = Version::FromJson(jObject); in FromJson()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dconfig_manager.cc84 Status ConfigManager::FromJson(const nlohmann::json &j) { in FromJson() function in mindspore::dataset::ConfigManager
109 rc = FromJson(js); in LoadFile()
Dconfig_manager.h267 Status FromJson(const nlohmann::json &j);
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/common/
Dshard_pybind.h29 py::object FromJson(const json &j);
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_pybind.cc356 py::object adl_serializer<py::object>::FromJson(const json &j) { return detail::FromJsonImpl(j); } in FromJson() function in nlohmann::adl_serializer::object