/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/pages/index/ |
H A D | index.js | 22 expression: '', 33 this.expression = ''; 41 const size = this.expression.length; 45 this.expression = this.expression.slice(0, -1); 52 this.expression += value; 55 this.expression = value; 58 this.expression += value; 64 this.expression = ''; 68 this.expression = this.expression.slice(0, -1); 69 if (!this.expression.length) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/common/ |
H A D | calculator.js | 29 function calcSuffixExpression(expression) { argument 32 while (expression.length) { 33 const element = expression.shift(); 46 function toSuffixExpression(expression) { argument 51 const element = expression[idx]; 90 const expression = []; 95 expression.push(number); 98 expression.push(element); 104 expression.push(number); 117 expression.push(number); [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | log.h | 29 #define PLUGIN_STATIC_ASSERT(expression) static_assert(!!(expression)) argument 33 #define PLUGIN_ASSERT(expression) \ argument 34 …assert(!!(expression) || RENDER_NS::PluginLogAssert(PLUGIN_FILE_INFO, !!(expression), #expression,… 35 #define PLUGIN_ASSERT_MSG(expression, ...) \ argument 36 …assert(!!(expression) || RENDER_NS::PluginLogAssert(PLUGIN_FILE_INFO, !!(expression), #expression,… 176 …NC(5, 6) bool PluginLogAssert(const BASE_NS::string_view filename, int lineNumber, bool expression, in PluginLogAssert() argument 179 if (!expression) { in PluginLogAssert() 183 logger->VLogAssert(filename, lineNumber, expression, expressionString, format, vl); in PluginLogAssert() 187 return expression; in PluginLogAssert()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ |
H A D | log.h | 31 #define CORE_STATIC_ASSERT(expression) static_assert(expression) argument 34 #define CORE_ASSERT(expression) \ argument 35 … assert(!!(expression) || CORE_NS::LogAssert(__FILE__, __LINE__, !!(expression), #expression, "")) 36 #define CORE_ASSERT_MSG(expression, ...) \ argument 37 …assert(!!(expression) || CORE_NS::LogAssert(__FILE__, __LINE__, !!(expression), #expression, __VA_… 207 …MAT_FUNC(5, 6) bool LogAssert(const BASE_NS::string_view filename, int lineNumber, bool expression, in LogAssert() argument 210 if (!expression) { in LogAssert() 214 logger->VLogAssert(filename, lineNumber, expression, expressionString, format, vl); in LogAssert() 218 return expression; in LogAssert()
|
H A D | intf_logger.h | 106 virtual bool VLogAssert(BASE_NS::string_view filename, int lineNumber, bool expression, in CORE_BEGIN_NAMESPACE() 113 …al FORMAT_FUNC(6, 7) bool LogAssert(BASE_NS::string_view filename, int lineNumber, bool expression, in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A D | script_param.cpp | 31 ScriptParams* ScriptParams::CreateParams(UScriptExpression *expression) in CreateParams() argument 38 params->AddParams(expression); in CreateParams() 42 ScriptParams* ScriptParams::AddParams(ScriptParams *params, UScriptExpression *expression) in AddParams() argument 51 params->AddParams(expression); in AddParams() 55 void ScriptParams::AddParams(UScriptExpression *expression) in AddParams() argument 57 expressionList_.push_back(expression); in AddParams()
|
H A D | script_yacc.y | 168 expression_statement:expression SEMICOLON 173 expression: value_expression 177 |IDENTIFIER ASSIGN expression 181 |IDENTIFIER COMMA IDENTIFIER ASSIGN expression 186 |IDENTIFIER COMMA IDENTIFIER COMMA IDENTIFIER ASSIGN expression 192 |IDENTIFIER COMMA IDENTIFIER COMMA IDENTIFIER COMMA IDENTIFIER ASSIGN expression 272 |LP expression RP 338 |expression 353 if_statement: IF LP expression RP block 357 | IF LP expression RP block ELSE if_statement [all …]
|
H A D | script_expression.cpp | 26 …on* AssignExpression::CreateExpression(const std::string identifier, UScriptExpression *expression) in CreateExpression() argument 28 return new AssignExpression(identifier, expression); in CreateExpression() 35 UScriptExpression* AssignExpression::AddIdentifier(UScriptExpression *expression, const std::string… in AddIdentifier() argument 37 auto assign = reinterpret_cast<AssignExpression*>(expression); in AddIdentifier() 83 int32_t IdentifierExpression::GetIdentifierName(UScriptExpression *expression, std::string &name) in GetIdentifierName() argument 85 if (expression == nullptr) { in GetIdentifierName() 88 if (expression->GetExpressType() != EXPRESSION_TYPE_IDENTIFIER) { in GetIdentifierName() 91 auto identifier = reinterpret_cast<IdentifierExpression*>(expression); in GetIdentifierName()
|
H A D | script_param.h | 38 void AddParams(UScriptExpression *expression); 44 static ScriptParams* CreateParams(UScriptExpression *expression); 45 static ScriptParams* AddParams(ScriptParams *params, UScriptExpression *expression);
|
H A D | script_function.cpp | 57 for (auto expression : inputParams->GetParams()) { in Execute() local 58 UScriptValuePtr var = expression->Execute(inter, context); in Execute() 83 for (auto expression : params_->GetParams()) { in GetParamNames() local 85 ret = IdentifierExpression::GetIdentifierName(expression, varName); in GetParamNames()
|
H A D | script_expression.h | 149 static int32_t GetIdentifierName(UScriptExpression *expression, std::string &name); 173 AssignExpression(const std::string identifier, UScriptExpression *expression) in AssignExpression() argument 175 expression_(expression) {} in AssignExpression() 183 …c UScriptExpression* CreateExpression(const std::string identifier, UScriptExpression *expression); 184 …static UScriptExpression* AddIdentifier(UScriptExpression *expression, const std::string identifie…
|
H A D | script_statement.h | 99 static UScriptStatement* CreateExpressionStatement(UScriptExpression *expression); 133 explicit UScriptExpressionStatement(UScriptExpression *expression) in UScriptExpressionStatement() argument 134 : UScriptStatement(STATEMENT_TYPE_EXPRESSION), expression_(expression) {} in UScriptExpressionStatement() 143 UScriptIfStatement(UScriptExpression *expression, UScriptStatementList *statements) in UScriptIfStatement() argument 144 … : UScriptStatement(STATEMENT_TYPE_IF), expression_(expression), trueStatements_(statements) {} in UScriptIfStatement()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_query_test.cpp | 243 QueryExpression expression; variable 246 EXPECT_FALSE(expression.GetErrFlag()); 248 EXPECT_FALSE(expression.GetErrFlag()); 254 expression.GetQueryExpression(); 255 EXPECT_EQ(expression.RangeParamCheck(), -E_INVALID_ARGS); 256 EXPECT_FALSE(expression.GetErrFlag()); 257 expression.Reset(); 258 EXPECT_TRUE(expression.GetErrFlag()); 264 EXPECT_EQ(expression.GetExpressionStatus(), E_OK); 266 expression.From(tableName1); [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/ |
H A D | Log.h | 28 #define LUME_STATIC_ASSERT(expression) static_assert(expression) argument 31 #define LUME_ASSERT(expression) assert(lume::getLogger().logAssert(__FILE__, __LINE__, !!(expressio… argument 32 #define LUME_ASSERT_MSG(expression, ...) assert(lume::getLogger().logAssert(__FILE__, __LINE__, !!(… argument 135 …FUNC(6, 7) bool logAssert(const char *aFilename, int aLinenumber, bool expression, const char *exp…
|
/ohos5.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_v… 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_vi… 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,
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_common.h | 69 #define CHECK_EXPRESSION_RETURN_VOID(expression) \ argument 70 if (expression) { \ 74 #define CHECK_EXPRESSION_RETURN_VALUE(expression, value) \ argument 75 if (expression) { \
|
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/ |
H A D | PatchGztest_new.gz | 1[==========] Running 25 tests from 7 test ... |
H A D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-declarative-ui-description.md | 53 …essions to assign values to parameters. The result type returned by an expression must meet the pa… 54 For example, to set a variable or expression to construct the **Image** and **Text** components: 110 - Example of using an arrow function expression to configure the event of a component: 119 - Example of using an arrow function expression to configure the event of a component (**() => {...… 139 - Example of using an arrow function expression for a declaration, where **this** binding is not ne…
|
H A D | introduction-to-arkts.md | 178 A constant expression can be used to explicitly set the value of an `enum` constant. 335 switch (expression) { 362 The conditional expression `? :` uses the `boolean` value of the first expression to decide which o… 364 A conditional expression looks as follows: 370 …expression is truthy(a value that is considered `true`), then the first expression is used as the … 393 1. An `init` expression is executed, if any. This expression usually initializes one or more loop c… 396 4. If there is an `update` expression, then the `update` expression is executed. 415 for (forVar of expression) { 613 Another form contains an expression that specifies a default value. 1236 …teral is an expression that can be used to create a class instance and provide some initial values… [all …]
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | app-uri-config.md | 16 - **pathRegex**: regular expression of the directory or file path on the DNS. It is used for regula… 28 - **Full path expression**: scheme://host:port/path 29 - **Prefix expression**: scheme://host:port/pathStartWith 30 - **Regular expression**: scheme://host:port/pathRegex
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/ |
H A D | softbus_socket.h | 33 #define SOFTBUS_TEMP_FAILURE_RETRY(expression) \ argument 37 __result = (long int)(expression); \
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/log/ |
H A D | Logger.cpp | 91 FORMAT_FUNC(6, 7) bool Logger::logAssert(const char *aFilename, int aLinenumber, bool expression, c… in logAssert() argument 93 if (expression) in logAssert()
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-power-battery-uevent-customization.md | 49 …| BATTERY_UNDER_VOLTAGE=1 | uevent (regular expression supported) indicating that the battery volt… 50 …| BATTERY_UNDER_CURRENT=2 | uevent (regular expression supported) indicating that the battery volt… 51 …| BATTERY_UNDER_VOLTAGE=3 | uevent (regular expression supported) indicating that the battery volt…
|