Home
last modified time | relevance | path

Searched refs:rpnexp (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_expression.cpp256 bool CalculateExpImpl(const std::vector<std::string>& rpnexp, const std::function<double(const Dimension&)>& calcFunc, in CalculateExpImpl() argument
260 for (auto& i : rpnexp) { in CalculateExpImpl()
292 std::vector<std::string> rpnexp = ConvertDal2Rpn(expression); in CalculateExp() local
295 auto ret = CalculateExpImpl(rpnexp, calcFunc, result, opRes); in CalculateExp()
H A Dstring_expression.h44 bool CalculateExpImpl(const std::vector<std::string>& rpnexp, const std::function<double(const Dimension&)>& calcFunc,
/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp1233 std::vector<std::string> rpnexp = { "2", "3", "*", "2", "3", "+", "5", "6", "/" }; in HWTEST_F() local
1237 rpnexp, [](const Dimension& dim) -> double { return dim.Value(); }, result, opRes)); in HWTEST_F()
1238 rpnexp = { "2_invalid", "*", "3" }; in HWTEST_F()
1240 rpnexp, [](const Dimension& dim) -> double { return dim.Value(); }, result, opRes)); in HWTEST_F()
1242 rpnexp = { "2", "*", "3", "-", "(", "2", "3", "+", "5", "6", "/" }; in HWTEST_F()
1244 rpnexp, [](const Dimension& dim) -> double { return dim.Value(); }, result, opRes)); in HWTEST_F()

Completed in 4 milliseconds