Home
last modified time | relevance | path

Searched refs:expression (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/common/
H A Dcalculator.js29 function calcSuffixExpression(expression) {
32 while (expression.length) {
33 const element = expression.shift();
68 function toSuffixExpression(expression) {
72 for (let idx = 0; idx < expression.length; idx++) {
73 processElement(operatorStack, suffixExpression, expression[idx]);
86 const expression = [];
90 number && expression.push(number); number = '';
91 expression.push(element);
96 number && expression
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dlog.h29 #define PLUGIN_STATIC_ASSERT(expression) static_assert(!!(expression))
33 #define PLUGIN_ASSERT(expression) \
34 assert(!!(expression) || RENDER_NS::PluginLogAssert(PLUGIN_FILE_INFO, !!(expression), #expression, ""))
35 #define PLUGIN_ASSERT_MSG(expression, ...) \
36 assert(!!(expression) || RENDER_NS::PluginLogAssert(PLUGIN_FILE_INFO, !!(expression), #expression, __VA_ARGS_
176 PluginLogAssert(const BASE_NS::string_view filename, int lineNumber, bool expression, const BASE_NS::string_view expressionString, FORMAT_ATTRIBUTE const char* format, ...) PluginLogAssert() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/
H A Dlog.h31 #define CORE_STATIC_ASSERT(expression) static_assert(expression)
34 #define CORE_ASSERT(expression) \
35 assert(!!(expression) || CORE_NS::LogAssert(__FILE__, __LINE__, !!(expression), #expression, ""))
36 #define CORE_ASSERT_MSG(expression, ...) \
37 assert(!!(expression) || CORE_NS::LogAssert(__FILE__, __LINE__, !!(expression), #expression, __VA_ARGS_
207 LogAssert(const BASE_NS::string_view filename, int lineNumber, bool expression, const BASE_NS::string_view expressionString, FORMAT_ATTRIBUTE const char* format, ...) LogAssert() argument
[all...]
H A Dintf_logger.h106 virtual bool VLogAssert(BASE_NS::string_view filename, int lineNumber, bool expression,
113 virtual FORMAT_FUNC(6, 7) bool LogAssert(BASE_NS::string_view filename, int lineNumber, bool expression,
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_query_test.cpp243 QueryExpression expression; in HWTEST_F() local
245 expression.GreaterThanOrEqualTo("", QueryValueType::VALUE_TYPE_BOOL, value); in HWTEST_F()
246 EXPECT_FALSE(expression.GetErrFlag()); in HWTEST_F()
247 expression.LessThanOrEqualTo("", QueryValueType::VALUE_TYPE_BOOL, value); in HWTEST_F()
248 EXPECT_FALSE(expression.GetErrFlag()); in HWTEST_F()
254 expression.GetQueryExpression(); in HWTEST_F()
255 EXPECT_EQ(expression.RangeParamCheck(), -E_INVALID_ARGS); in HWTEST_F()
256 EXPECT_FALSE(expression.GetErrFlag()); in HWTEST_F()
257 expression.Reset(); in HWTEST_F()
258 EXPECT_TRUE(expression in HWTEST_F()
[all...]
H A Ddistributeddb_interfaces_data_operation_test.cpp1133 QueryExpression expression; in HWTEST_F() local
1134 EXPECT_TRUE(expression.GetErrFlag()); in HWTEST_F()
1135 expression.SetErrFlag(false); in HWTEST_F()
1136 EXPECT_FALSE(expression.GetErrFlag()); in HWTEST_F()
1137 expression.Reset(); in HWTEST_F()
1138 EXPECT_TRUE(expression.GetErrFlag()); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/
H A DLog.h28 #define LUME_STATIC_ASSERT(expression) static_assert(expression)
31 #define LUME_ASSERT(expression) assert(lume::getLogger().logAssert(__FILE__, __LINE__, !!(expression), #expression, ""))
32 #define LUME_ASSERT_MSG(expression, ...) assert(lume::getLogger().logAssert(__FILE__, __LINE__, !!(expression), #expression, __VA_ARGS__))
134 virtual FORMAT_FUNC(6, 7) bool logAssert(const char *aFilename, int aLinenumber, bool expression, const char *expressionString, FORMAT_ATTRIBUTE const char *aFormat, ...) = 0;
/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/
H A Dlogger.cpp143 bool Logger::VLogAssert(const string_view filename, int lineNumber, bool expression, const string_view expressionString, in VLogAssert() argument
146 if (!expression) { in VLogAssert()
174 return expression; in VLogAssert()
194 bool Logger::LogAssert(const string_view filename, int lineNumber, bool expression, const string_view expressionString, in LogAssert() argument
197 if (!expression) { in LogAssert()
200 VLogAssert(filename, lineNumber, expression, expressionString, format, vl); in LogAssert()
203 return expression; in LogAssert()
H A Dlogger.h47 bool VLogAssert(BASE_NS::string_view filename, int lineNumber, bool expression,
55 bool LogAssert(BASE_NS::string_view filename, int lineNumber, bool expression,
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_common.h69 #define CHECK_EXPRESSION_RETURN_VOID(expression) \
70 if (expression) { \
74 #define CHECK_EXPRESSION_RETURN_VALUE(expression, value) \
75 if (expression) { \
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/log/
H A DLogger.cpp85 FORMAT_FUNC(6, 7) bool Logger::logAssert(const char *aFilename, int aLinenumber, bool expression, const char *expressionString, FORMAT_ATTRIBUTE const char *aFormat, ...) in logAssert() argument
87 if (expression) in logAssert()
H A DLogger.h40 FORMAT_FUNC(6, 7) bool logAssert(const char *aFilename, int aLinenumber, bool expression, const char *expressionString, FORMAT_ATTRIBUTE const char *aFormat, ...) override;
/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h33 #define SOFTBUS_TEMP_FAILURE_RETRY(expression) \
37 __result = (long int)(expression); \
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dassert_fault_task_thread.cpp87 (assertFail.expression == nullptr ? "Unknown" : std::string(assertFail.expression)); in AssertCallback()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_expression.h36 double CalculateExp(const std::string& expression, const std::function<double(const Dimension&)>& calcFunc);
H A Dstring_expression.cpp290 double CalculateExp(const std::string& expression, const std::function<double(const Dimension&)>& calcFunc) in CalculateExp() argument
292 std::vector<std::string> rpnexp = ConvertDal2Rpn(expression); in CalculateExp()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_sync_object.h67 explicit QuerySyncObject(const QueryExpression &expression);
H A Dquery_sync_object.cpp100 QuerySyncObject::QuerySyncObject(const DistributedDB::QueryExpression &expression) in QuerySyncObject() argument
101 : QueryObject(expression) in QuerySyncObject()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/
H A Dpasteboard_common.h40 bool CheckExpression(napi_env env, bool expression, MiscServices::JSErrorCode errCode, const char *message);
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.h147 const std::string& expression, std::stack<std::string>& keyStack, const std::unique_ptr<JsonValue>& json);
H A Djs_card_parser.cpp1195 const std::string& expression, std::stack<std::string>& keyStack, const std::unique_ptr<JsonValue>& json) in ParseArrayExpression()
1200 for (char i : expression) { in ParseArrayExpression()
1194 ParseArrayExpression( const std::string& expression, std::stack<std::string>& keyStack, const std::unique_ptr<JsonValue>& json) ParseArrayExpression() argument
/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp156 double CalculateExp(const std::string& expression, const std::function<double(const Dimension&)>& calcFunc); in HWTEST_F()
169 double CalculateExp(const std::string& expression, const std::function<double(const Dimension&)>& calcFunc); in HWTEST_F()

Completed in 16 milliseconds