/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | remove_abnormal.rs | 23 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_alias() 26 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_alias() 34 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_accessibility() 41 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_auth_type() 44 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_auth_type() 52 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_sync_type() 61 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_label() 64 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_label() 74 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_bool_tag_with_unmatched_type() 77 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_bool_tag_with_unmatched_type() [all …]
|
H A D | remove.rs | 28 …expect_error_eq(ErrCode::NotFound, asset_sdk::Manager::build().unwrap().remove(&delete_condition).… in remove_condition_non_exist() 42 condition.remove(&Tag::Alias); in remove_condition_exist_and_query() 43 condition.remove(&Tag::Secret); in remove_condition_exist_and_query() 44 asset_sdk::Manager::build().unwrap().remove(&condition).unwrap(); in remove_condition_exist_and_query()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
H A D | linked_list.rs | 280 assert!(list.remove(node1_ptr).is_some()); in ut_link_list_remove() 281 assert!(list.remove(node1_ptr).is_none()); in ut_link_list_remove() 284 assert!(list.remove(node2_ptr).is_some()); in ut_link_list_remove() 285 assert!(list.remove(node2_ptr).is_none()); in ut_link_list_remove() 286 assert!(list.remove(node3_ptr).is_some()); in ut_link_list_remove() 287 assert!(list.remove(node3_ptr).is_none()); in ut_link_list_remove() 294 assert!(list.remove(node2_ptr).is_some()); in ut_link_list_remove() 295 assert!(list.remove(node2_ptr).is_none()); in ut_link_list_remove() 298 assert!(list.remove(node1_ptr).is_some()); in ut_link_list_remove() 299 assert!(list.remove(node1_ptr).is_none()); in ut_link_list_remove() [all …]
|
H A D | slots.rs | 166 pub fn remove(&mut self, key: usize) -> Result<T, SlotsError> { in remove() method 359 let res = slots.remove(index); in ut_slots_push_back() 379 let res = slots.remove(index); in ut_slots_push_back() 433 assert_eq!(slots.remove(0), Ok(0)); in ut_slots_remove() 488 let res = slots.remove(remove_index); in ut_slots_huge_data_remove() 520 let res = slots.remove(index); in ut_slots_remove_and_pop() 525 let res = slots.remove(remove_index); in ut_slots_remove_and_pop() 530 let res = slots.remove(remove_index); in ut_slots_remove_and_pop()
|
/ohos5.0/base/startup/appspawn/test/unittest/hnp_test/ |
H A D | hnp_pack_test.cpp | 86 remove("./hnp_out/sample.hnp"); 88 remove("hnp_sample/hnp.json"); 123 EXPECT_EQ(remove("./hnp_out/sample.hnp"), 0); 165 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0); 215 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0); 275 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0); 328 EXPECT_EQ(remove("./hnp_sample/a.out"), 0); 329 EXPECT_EQ(remove("./hnp_out/sample.hnp"), 0); 332 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0); 394 EXPECT_EQ(remove("./hnp_sample/a.out"), 0); [all …]
|
H A D | hnp_installer_test.cpp | 246 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HnpUnInstall() 264 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); 313 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); 374 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); 427 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); 605 remove("hnp_out/sample.hnp"); 606 remove("hnp_sample/bin/out"); 671 remove("hnp_out/sample.hnp"); 672 remove("hnp_sample/bin/out"); 724 remove("hnp_out/sample.hnp"); [all …]
|
/ohos5.0/build/toolchain/ |
H A D | mini_debug_info.py | 82 os.remove(tmp_file1) 83 os.remove(tmp_file2) 100 os.remove(tmp_file1) 101 os.remove(tmp_file2) 119 os.remove(dynsyms_path) 120 os.remove(funcsysms_path) 121 os.remove(keep_path) 122 os.remove(debug_path) 123 os.remove(mini_debug_path + ".xz")
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/compilation/ |
H A D | compilation_test.cpp | 956 EXPECT_EQ(0, remove("0.nncache")); 957 EXPECT_EQ(0, remove("1.nncache")); 979 EXPECT_EQ(0, remove("0.nncache")); 980 EXPECT_EQ(0, remove("1.nncache")); 1001 EXPECT_EQ(0, remove("0.nncache")); 1002 EXPECT_EQ(0, remove("1.nncache")); 1023 EXPECT_EQ(0, remove("0.nncache")); 1024 EXPECT_EQ(0, remove("1.nncache")); 1077 EXPECT_EQ(0, remove("0.nncache")); 1078 EXPECT_EQ(0, remove("1.nncache")); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/compilation/ |
H A D | compilation_test.cpp | 956 EXPECT_EQ(0, remove("0.nncache")); 957 EXPECT_EQ(0, remove("1.nncache")); 979 EXPECT_EQ(0, remove("0.nncache")); 980 EXPECT_EQ(0, remove("1.nncache")); 1001 EXPECT_EQ(0, remove("0.nncache")); 1002 EXPECT_EQ(0, remove("1.nncache")); 1023 EXPECT_EQ(0, remove("0.nncache")); 1024 EXPECT_EQ(0, remove("1.nncache")); 1077 EXPECT_EQ(0, remove("0.nncache")); 1078 EXPECT_EQ(0, remove("1.nncache")); [all …]
|
/ohos5.0/base/update/packaging_tools/test/ |
H A D | test_utils.py | 56 os.remove(target_package) 69 os.remove(target_package) 71 os.remove('test.file') 94 os.remove("./updater_specified_config_repeats.xml") 126 os.remove(VERSION_MBN_PATH) 142 os.remove(VERSION_MBN_PATH) 144 os.remove(BOARD_LIST_PATH) 159 os.remove("./partition_file_conversion_failed.xml")
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_helper.cpp | 46 if (IsFileExist(dbFilePath) && std::remove(dbFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 51 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 56 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 61 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 66 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 71 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 76 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed() 232 std::remove(filePath.c_str()); in DeletePreferences() 233 std::remove(backupPath.c_str()); in DeletePreferences() 234 std::remove(brokenPath.c_str()); in DeletePreferences() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notificationSubscribe-sys.md | 354 ## notificationSubscribe.remove 400 console.info("remove success"); 416 ## notificationSubscribe.remove 472 console.info("remove success"); 478 ## notificationSubscribe.remove 522 console.info("remove success"); 529 ## notificationSubscribe.remove 576 console.info("remove success"); 582 ## notificationSubscribe.remove<sup>10+</sup> 625 console.info("remove success"); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsStateManagement.js | 53 static remove(keyOrType) { method in AppStorageV2 54 AppStorageV2.appStorageV2Impl_.remove(keyOrType); 118 static remove(keyOrType) { method in PersistenceV2 119 PersistenceV2.persistenceV2Impl_.remove(keyOrType);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-hashset.md | 183 ### remove subsection 185 remove(value: T): boolean 212 | 10200011 | The remove method cannot be bound. | 220 let result = hashSet.remove("sparrow"); 335 // 不建议在forEach中使用set、remove方法,会导致死循环等不可预知的风险,可使用for循环来进行插入和删除。 341 hashSet.remove("sparrow" + i); 383 // 不建议在entries中使用set、remove方法,会导致死循环等不可预知的风险,可使用for循环来进行插入和删除。 389 hashSet.remove("sparrow" + i); 439 // 不建议在Symbol.iterator中使用set、remove方法,会导致死循环等不可预知的风险,可使用for循环来进行插入和删除。 445 hashSet.remove("sparrow" + i);
|
H A D | js-apis-hashmap.md | 291 ### remove subsection 293 remove(key: K): V 319 | 10200011 | The remove method cannot be bound. | 327 let result = hashMap.remove("sparrow"); 521 // 不建议在forEach中使用set、remove方法,会导致死循环等不可预知的风险,可使用for循环来进行插入和删除。 528 hashMap.remove("sparrow" + i); 571 // 不建议在entries中使用set、remove方法,会导致死循环等不可预知的风险,可使用for循环来进行插入和删除。 578 hashMap.remove("sparrow" + i); 629 // 不建议在Symbol.iterator中使用set、remove方法,会导致死循环等不可预知的风险,可使用for循环来进行插入和删除。 636 hashMap.remove("sparrow" + i);
|
/ohos5.0/foundation/window/window_manager/snapshot/test/unittest/ |
H A D | snapshot_display_test.cpp | 94 remove(imgPath.c_str()); in TakeScreenshotBySpecifiedParam() 100 remove(imgPath.c_str()); in TakeScreenshotBySpecifiedParam() 119 remove(imgPath[i].c_str()); 127 remove(imgPath[i].c_str()); 148 remove(imgPath[i].c_str()); 157 remove(imgPath[i].c_str());
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/test/object_collector/ |
H A D | object_collector_test.cpp | 52 bool remove = false; variable 54 remove = true; 56 ASSERT_EQ(remove, true);
|
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/ |
H A D | asset-store-kit-overview.md | 45 …1. 业务主动调用remove删除关键资产时,删除符合条件的数据。详见删除关键资产[ArkTS](asset-js-remove.md)、[C/C++](asset-native-remove.m…
|
H A D | asset-js-remove.md | 5 可通过API文档查询删除关键资产的异步接口[remove(query: AssetMap)](../../reference/apis-asset-store-kit/js-apis-asset.m… 56 asset.remove(query).then(() => { 59 console.error(`Failed to remove Asset. Code is ${err.code}, message is ${err.message}`); 63 console.error(`Failed to remove Asset. Code is ${err.code}, message is ${err.message}`);
|
/ohos5.0/base/update/updater/test/fuzztest/applypatch_fuzzer/ |
H A D | applypatch_fuzzer.cpp | 61 if (remove(bspatchPath) != 0 || remove(imgpatchPath) != 0 || remove(oldFilePath)) { in FuzzApplyPatch()
|
/ohos5.0/base/request/request/ |
H A D | README.md | 263 5. Enable listening for the remove event. 267 downloadTask.on('remove', () => { 316 downloadTask.off('remove', () => { 317 console.info("delete remove notification"); 327 console.info("remove fail notification error:" + error); 336 downloadTask.remove().then((result) => { 347 downloadTask.remove((err, result) => { 594 uploadTask.remove().then((result) => { 596 console.info('Success to remove the upload task.(promise) '); 598 console.error('Failed to remove the upload task.(promise) '); [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notificationSubscribe-sys.md | 354 ## notificationSubscribe.remove 400 console.info("remove success"); 416 ## notificationSubscribe.remove 472 console.info("remove success"); 478 ## notificationSubscribe.remove 522 console.info("remove success"); 529 ## notificationSubscribe.remove 576 console.info("remove success"); 582 ## notificationSubscribe.remove<sup>10+</sup> 625 console.info("remove success"); [all …]
|
/ohos5.0/foundation/graphic/surface_lite/frameworks/ |
H A D | buffer_queue.cpp | 208 freeList_.remove(buffer); in Detach() 209 dirtyList_.remove(buffer); in Detach() 210 allBuffers_.remove(buffer); in Detach() 285 dirtyList_.remove(tmpBuffer); in Reset() 286 allBuffers_.remove(tmpBuffer); in Reset() 315 dirtyList_.remove(tmpBuffer); in SetQueueSize() 316 allBuffers_.remove(tmpBuffer); in SetQueueSize()
|
/ohos5.0/commonlibrary/rust/ylong_json/src/value/array/ |
H A D | vec.rs | 218 pub fn remove(&mut self, index: usize) -> Option<JsonValue> { in remove() method 222 Some(self.inner.remove(index)) in remove() 357 assert_eq!(array.remove(3), None); in ut_array_remove() 358 assert_eq!(array.remove(0), Some(JsonValue::new_number(1.into()))); in ut_array_remove()
|
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/ |
H A D | asset-js-remove.md | 5 …remove(query: AssetMap)](../../reference/apis-asset-store-kit/js-apis-asset.md#assetremove), an as… 33 | REQUIRE_ATTR_ENCRYPTED<sup>14+</sup> | Type: bool| No| Whether to remove the customized asset att… 54 …stringToArray('demo_alias')); // Specify the asset alias to remove a single asset. To remove all a… 56 asset.remove(query).then(() => { 59 console.error(`Failed to remove Asset. Code is ${err.code}, message is ${err.message}`); 63 console.error(`Failed to remove Asset. Code is ${err.code}, message is ${err.message}`);
|