Home
last modified time | relevance | path

Searched refs:expression (Results 1 – 25 of 107) sorted by relevance

12345

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/pages/index/
H A Dindex.js22 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 Dcalculator.js29 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 Dlog.h29 #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 Dlog.h31 #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 Dintf_logger.h106 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 Dscript_param.cpp31 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 Dscript_yacc.y168 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 Dscript_expression.cpp26 …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 Dscript_param.h38 void AddParams(UScriptExpression *expression);
44 static ScriptParams* CreateParams(UScriptExpression *expression);
45 static ScriptParams* AddParams(ScriptParams *params, UScriptExpression *expression);
H A Dscript_function.cpp57 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 Dscript_expression.h149 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 Dscript_statement.h99 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 Ddistributeddb_interfaces_query_test.cpp243 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 DLog.h28 #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 Dlogger.cpp143 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 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,
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_common.h69 #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 DPatchGztest_new.gz1[==========] Running 25 tests from 7 test ...
H A DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-declarative-ui-description.md53 …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 Dintroduction-to-arkts.md178 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:
370expression 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 Dapp-uri-config.md16 - **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 Dsoftbus_socket.h33 #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 DLogger.cpp91 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 Dsubsys-power-battery-uevent-customization.md49 …| 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…

12345