Home
last modified time | relevance | path

Searched refs:statements (Results 1 – 25 of 77) sorted by relevance

1234

/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-rendering-control-overview.md4statements in the [@Builder decorator](arkts-builder.md) to build the corresponding UI. In declara…
H A Darkts-rendering-control-ifelse.md4 …endering. It supports the use of the **if**, **else**, and **else if** statements to display diffe…
12 - The **if**, **else**, and **else if** statements are supported.
14 - The condition statements following the **if** or **else if** statement can use state variables or…
16 - Conditional statements can be used within a container component to build different child componen…
18statements are "transparent" when it comes to the parent-child relationship of components. Rules a…
22 …itional statements are used in such components, these restrictions also apply to the components to…
191 The nesting of **if** statements makes no difference to the rule about the parent component.
H A Dintroduction-to-arkts.md115 Usually variables of this type are used in conditional statements:
298 …ement is used to execute a sequence of statements when a logical condition is `true`, or another s…
300 The `else` part can also contain more `if` statements.
358 If there is no `break`, then the next statements in the `switch` are executed.
387 statements
395 3. The statements of the `for` body are executed.
410 `for-of` statements are used to iterate over an array or string.
416 statements
436 statements
459 statements
[all …]
/ohos5.0/base/update/updater/services/script/script_interpreter/
H A Dscript_statement.h143 UScriptIfStatement(UScriptExpression *expression, UScriptStatementList *statements) in UScriptIfStatement() argument
144 … : UScriptStatement(STATEMENT_TYPE_IF), expression_(expression), trueStatements_(statements) {} in UScriptIfStatement()
148 void AddFalseStatementList(UScriptStatementList *statements) in AddFalseStatementList() argument
150 falseStatements_ = statements; in AddFalseStatementList()
167 UScriptStatementList *statements) : UScriptStatement(STATEMENT_TYPE_FOR), before_(before), in UScriptForStatement() argument
168 condition_(condition), after_(after), statements_(statements) {} in UScriptForStatement()
182 UScriptWhileStatement(UScriptExpression *condition, UScriptStatementList *statements) in UScriptWhileStatement() argument
183 : UScriptStatement(STATEMENT_TYPE_WHILE), condition_(condition), statements_(statements) {} in UScriptWhileStatement()
223 UScriptStatementList *statements);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_multi_ver_transaction.cpp303 GetEntriesStatements statements; in GetEntries() local
305 int errCode = PrepareForGetEntries(keyPrefix, statements); in GetEntries()
318 errCode = SQLiteUtils::StepWithRetry(statements.getEntriesStatement); in GetEntries()
320 stepResult = GetOneEntry(statements, lastKey, entry, errCode); in GetEntries()
347 innerCode = ReleaseGetEntriesStatements(statements); in GetEntries()
1301 int SQLiteMultiVerTransaction::GetOneEntry(const GetEntriesStatements &statements, in GetOneEntry() argument
1345 errCode = SQLiteUtils::StepWithRetry(statements.hashFilterStatement); in GetOneEntry()
1462 errCode = BindQueryEntriesArgs(statements.getEntriesStatement, keyPrefix); in PrepareForGetEntries()
1468 innerCode = ReleaseGetEntriesStatements(statements); in PrepareForGetEntries()
1478 SQLiteUtils::ResetStatement(statements.getEntriesStatement, true, errCode); in ReleaseGetEntriesStatements()
[all …]
H A Dsqlite_multi_ver_transaction.h147 …int GetOneEntry(const GetEntriesStatements &statements, const Key &lastKey, Entry &entry, int &err…
156 int PrepareForGetEntries(const Key &keyPrefix, GetEntriesStatements &statements) const;
158 int ReleaseGetEntriesStatements(GetEntriesStatements &statements) const;
/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/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/provider/src/
H A Dext_special_controller.cpp113 int ExtSpecialController::ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResul… in ExecuteBatch() argument
125 return proxy->ExecuteBatch(statements, result); in ExecuteBatch()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/
H A Ddatashare_stub.cpp476 std::vector<OperationStatement> statements; in CmdExecuteBatch() local
478 if (!ITypesUtil::Unmarshal(data, statements)) { in CmdExecuteBatch()
482 auto ret = ExecuteBatch(statements, result); in CmdExecuteBatch()
515 int DataShareStub::ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResultSet &r… in ExecuteBatch() argument
H A Ddatashare_ext_ability.cpp123 int DataShareExtAbility::ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResult… in ExecuteBatch() argument
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dintroduction-to-arkts.md385 statements
412 statements
426 只要`condition`为真值(转换后为`true`的值),`while`语句就会执行`statements`语句。示例如下:
430 statements
447 如果`condition`的值为真值(转换后为`true`的值),那么`statements`语句会重复执行。示例如下:
451 statements
489 // statements
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/provider/include/
H A Dext_special_controller.h42 int ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResultSet &result);
/ohos5.0/foundation/communication/dsoftbus/
H A D.clang-format17 # case statements indent one layer
/ohos5.0/base/inputmethod/imf/
H A D.clang-format17 # case statements indent one layer
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-dialog.md79 …t that needs to be confirmed by users. The content can be questions or statements. Try not to prov…
92 - Use statements to describe the specific items that need to be notified to users. For example, no …
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Didatashare.h60 …virtual int ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResultSet &result)…
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-c-coding-style-guide.md491 ### Rule 2.6 Use braces for conditional statements.
493 Use braces to enclose conditional statements, even if there is only one statement.
529 ### Rule 2.8 Use braces for loop statements.
531 Use braces to enclose the `for` and `while` statements, even if there is only one loop.
622 ### Rule 2.10 Do not write multiple variable definitions or assignment statements in one line.
634 int maxCount = 10; bool isCompleted = false; // Bad: Multiple initialization statements are placed …
640 pointX = 1; pointY = 2; // Bad: Multiple variable assignment statements are placed in one line.
831 Loops and conditional statements:
1379 Using `guard clauses` can effectively reduce the nesting layers of the `if` statements. Example:
1767 …e="r6-2"></a>Rule 6.2 Place implementation statements of function-like macros that contain multipl…
[all …]
H A Dlicense-and-copyright-specifications.md4 … members in the OpenHarmony community handle the license and copyright statements of repositories …
25 …g information in plain text in this file: name, version, rights holder statements, and license inf…
30 …ource repository must contain appropriate copyright and license header statements, except in the f…
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/provider/include/
H A Ddatashare_ext_ability.h199 …virtual int ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResultSet &result);
H A Ddatashare_stub.h56 …virtual int ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResultSet &result)…
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/include/
H A Ddatashare_proxy.h56 …virtual int ExecuteBatch(const std::vector<OperationStatement> &statements, ExecResultSet &result)…
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Drelational__store_8h.md123 …d) \*store, const char \*sql) | Queries data in an RDB store based on the SQL statements executed.|
124 …ore](_o_h___rdb___store.md) \*store) | Starts the transaction before executing the SQL statements.|
125 …) ([OH_Rdb_Store](_o_h___rdb___store.md) \*store) | Rolls back the SQL statements that have been e…
126 …rdb_commit) ([OH_Rdb_Store](_o_h___rdb___store.md) \*store) | Commits the executed SQL statements.|
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Dmediadatashare_unit_test.cpp1286 std::vector<DataShare::OperationStatement> statements; variable
1297 statements.emplace_back(statement1);
1308 statements.emplace_back(statement2);
1311 auto ret = helper->ExecuteBatch(statements, resultSet);
1443 std::vector<DataShare::OperationStatement> statements; variable
1454 statements.emplace_back(statement1);
1465 statements.emplace_back(statement2);
1468 auto ret = helper->ExecuteBatch(statements, resultSet);
/ohos5.0/docs/en/application-dev/database/
H A Dapp-data-persistence-overview.md17 …eleting, modifying, and querying data. You can also define and use SQL statements for complex serv…

1234