Home
last modified time | relevance | path

Searched refs:finally (Results 1 – 25 of 84) sorted by relevance

1234

/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-coding-style-guide.md713 ### 在`finally`代码块中,不要使用`return`、`break`、`continue`或抛出异常,避免`finally`块非正常结束
719finally`代码块中,直接使用`return`、`break`、`continue`、`throw`语句,或由于调用方法的异常未处理,会导致`finally`代码块无法正常结束。非正常结束的`
731 } finally {
747 } finally {
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_oneway/target_ts/
H A Dfoo_ts_proxy.ts.txt54 }).finally(() => {
77 }).finally(() => {
100 }).finally(() => {
123 }).finally(() => {
146 }).finally(() => {
169 }).finally(() => {
192 }).finally(() => {
215 }).finally(() => {
238 }).finally(() => {
261 }).finally(() => {
[all …]
/ohos5.0/foundation/ability/idl_tool/test/sa_test/type_single/target_ts/
H A Dfoo_ts_proxy.ts.txt53 }).finally(() => {
86 }).finally(() => {
119 }).finally(() => {
152 }).finally(() => {
185 }).finally(() => {
218 }).finally(() => {
251 }).finally(() => {
284 }).finally(() => {
317 }).finally(() => {
353 }).finally(() => {
[all …]
/ohos5.0/foundation/ability/idl_tool/test/sa_test/type_array/target_ts/
H A Dfoo_ts_proxy.ts.txt53 }).finally(() => {
86 }).finally(() => {
119 }).finally(() => {
152 }).finally(() => {
185 }).finally(() => {
218 }).finally(() => {
251 }).finally(() => {
284 }).finally(() => {
317 }).finally(() => {
376 }).finally(() => {
[all …]
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DSceneJS.cpp108 virtual bool finally(napi_env env) = 0;
177 if (data->finally(env)) { in MakePromise()
278 bool finally(napi_env env) override in Load() function
669 bool finally(napi_env env) override in CreateEnvironment() function
681 data->finally(ctx); in CreateEnvironment()
691 bool finally(napi_env env) override in CreateCamera() function
706 data->finally(ctx); in CreateCamera()
717 bool finally(napi_env env) override in CreateLight() function
753 data->finally(ctx); in CreateLight()
763 bool finally(napi_env env) override in CreateNode() function
[all …]
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md129 **【正例】**(finally代码块)
141 } finally {
172 **【正例】**(finally代码块)
184 } finally {
335 } finally {
766 } finally {
774 以上例子,在临时文件使用完毕之后,finally语句里对其进行了彻底删除。
1433 } finally {
1977 try-finally也常用于`lock()`和`unlock()`等场景。
2049 } finally {
[all …]
H A DOpenHarmony-Application-Typescript-JavaScript-coding-guide.md577 ## 不要使用return、break、continue或抛出异常使finally块非正常结束
583finally代码块中,直接使用return、break、continue、throw语句,或由于调用方法的异常未处理,会导致finally代码块无法正常结束。非正常结束的finally代码块会影…
595 } finally {
611 } finally {
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_import_dir/target_ts/
H A Dfoo_proxy.ts.txt61 }).finally(() => {
94 }).finally(() => {
125 }).finally(() => {
156 }).finally(() => {
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.2/
H A Dchangelogs-arkui.md25 …ntally until it reaches 16 fp, then text is wrapped onto a new line, and finally an ellipsis (...)…
31 …ntally until it reaches 12 fp, then text is wrapped onto a new line, and finally an ellipsis (...)…
71 …ntally until it reaches 16 fp, then text is wrapped onto a new line, and finally an ellipsis (...)…
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_status.c250 goto finally; in ReadFile()
256 goto finally; in ReadFile()
263 goto finally; in ReadFile()
269 goto finally; in ReadFile()
272 finally: in ReadFile()
419 goto finally; in WriteStatus()
435 finally: in WriteStatus()
493 finally: in CertManagerStatusInit()
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
H A Dcert_manager_status.h54 (rc) = (f); if ((rc)) { CM_LOG_W("Failed: %s, %d\n", #f, (rc)); goto finally; }} while (0)
63 CM_LOG_W("Failed: %s, %d\n", #f, (_rc)); (rc) = CM_ERROR((_rc)); goto finally; }} while (0)
/ohos5.0/foundation/ability/idl_tool/test/sa_test/type_map/target_ts/
H A Dfoo_proxy.ts.txt53 }).finally(() => {
112 }).finally(() => {
171 }).finally(() => {
230 }).finally(() => {
289 }).finally(() => {
348 }).finally(() => {
407 }).finally(() => {
466 }).finally(() => {
525 }).finally(() => {
590 }).finally(() => {
[all …]
/ohos5.0/docs/zh-cn/application-dev/media/image/
H A Dimage-encoding.md78 }).finally(()=>{
95 }).finally(()=>{
/ohos5.0/docs/zh-cn/contribute/style-guide/
H A Dstyle-guide-language-style.md146 …多(more)、较好(better)、基本地(basically)、决定性的(decisively)、最后的  ( finally )、很(very)、可能…
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A DphotoEditorExtensionAbility.md118 } finally {
242 } finally {
324 } finally {
374 } finally {
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-coding-style-guide.md713 ### Do Not Use return, break, continue, or throw in a finally Code Block
719finally** code block or an exception that arise during method calling are not handled, the **final…
731 } finally {
747 } finally {
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-ArkTS-coding-style-guide.md729 ## Do Not Use `return`, `break`, `continue`, or `throw` in a `finally` Code Block
735finally` code block or an exception that arise during method calling are not handled, the `finally
747 } finally {
763 } finally {
H A DOpenHarmony-Java-secure-coding-guide.md129 **\[Compliant Code Example]** (**finally** Block)
141 } finally {
172 **\[Compliant Code Example]** (**finally** Block)
184 } finally {
335 } finally {
762 } finally {
1425 } finally {
1967 #### Release resources in **try-with-resource** or **finally** during I/O operations
1975 **try-finally** is also used in scenarios such as `lock()` and `unlock()`.
2047 } finally {
[all …]
/ohos5.0/docs/en/application-dev/media/image/
H A Dimage-encoding.md79 }).finally(()=>{
96 }).finally(()=>{
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-beta/
H A Dchangelog-v3.1-beta.md58 .finally(() => {
/ohos5.0/docs/en/release-notes/api-diff/v3.1-beta/
H A Dchangelog-v3.1-beta.md58 .finally(() => {
/ohos5.0/docs/en/release-notes/release-definitions/
H A DRelease-version-definitions.md14 … This branch is compiled, built, and tested in a centralized manner, and finally reviewed and rele…
18 … This branch is compiled, built, and tested in a centralized manner, and finally reviewed and rele…
/ohos5.0/docs/en/application-dev/application-models/
H A DphotoEditorExtensionAbility.md118 } finally {
242 } finally {
324 } finally {
374 } finally {
/ohos5.0/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/pages/
H A DUsbDialog.ets50 } finally {
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/formmenu/source/
H A Dformmenu.ets48 } finally {

1234