| H A D | sec_comp_base.cpp | 66 bool SecCompBase::ParseDimension(const nlohmann::json& json, const std::string& tag, DimensionT& res) in ParseDimension() argument 68 if ((json.find(tag) == json.end()) || !json.at(tag).is_number_float()) { in ParseDimension() 69 SC_LOG_ERROR(LABEL, "json: %{public}s tag invalid.", tag.c_str()); in ParseDimension() 73 res = json.at(tag).get<double>(); in ParseDimension() 77 bool SecCompBase::ParseColor(const nlohmann::json& json, const std::string& tag, SecCompColor& res) in ParseColor() argument 79 if ((json in ParseColor() 88 ParseBool(const nlohmann::json& json, const std::string& tag, bool& res) ParseBool() argument 99 ParseString(const nlohmann::json& json, const std::string& tag, std::string& res) ParseString() argument 110 ParsePadding(const nlohmann::json& json, const std::string& tag, PaddingSize& res) ParsePadding() argument 133 ParseColors(const nlohmann::json& json, const std::string& tag) ParseColors() argument 152 ParseBorders(const nlohmann::json& json, const std::string& tag) ParseBorders() argument 162 ParseSize(const nlohmann::json& json, const std::string& tag) ParseSize() argument 189 ParseParent(const nlohmann::json& json, const std::string& tag) ParseParent() argument 220 ParseRect(const nlohmann::json& json, const std::string& tag, SecCompRect& rect) ParseRect() argument 360 nlohmann::json json; ToJsonStr() local 390 ParseStyle(const nlohmann::json& json, const std::string& tag) ParseStyle() argument [all...] |