/foundation/arkui/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/common/ |
H A D | calculator.js | 29 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 D | log.h | 29 #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 D | log.h | 31 #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 D | intf_logger.h | 106 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 D | distributeddb_interfaces_query_test.cpp | 243 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 D | distributeddb_interfaces_data_operation_test.cpp | 1133 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 D | Log.h | 28 #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 D | logger.cpp | 143 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 D | logger.h | 47 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 D | auth_common.h | 69 #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 D | Logger.cpp | 85 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 D | Logger.h | 40 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 D | softbus_socket.h | 33 #define SOFTBUS_TEMP_FAILURE_RETRY(expression) \ 37 __result = (long int)(expression); \
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | assert_fault_task_thread.cpp | 87 (assertFail.expression == nullptr ? "Unknown" : std::string(assertFail.expression)); in AssertCallback()
|
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | string_expression.h | 36 double CalculateExp(const std::string& expression, const std::function<double(const Dimension&)>& calcFunc);
|
H A D | string_expression.cpp | 290 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 D | query_sync_object.h | 67 explicit QuerySyncObject(const QueryExpression &expression);
|
H A D | query_sync_object.cpp | 100 QuerySyncObject::QuerySyncObject(const DistributedDB::QueryExpression &expression) in QuerySyncObject() argument 101 : QueryObject(expression) in QuerySyncObject()
|
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | pasteboard_common.h | 40 bool CheckExpression(napi_env env, bool expression, MiscServices::JSErrorCode errCode, const char *message);
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.h | 147 const std::string& expression, std::stack<std::string>& keyStack, const std::unique_ptr<JsonValue>& json);
|
H A D | js_card_parser.cpp | 1195 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 D | base_utils_test.cpp | 156 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()
|