/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | prop_n_exporter.cpp | 597 NVal::DeclareNapiFunction("chmodSync", Chmod::Sync), in ExportSync() 598 NVal::DeclareNapiFunction("chownSync", Chown::Sync), in ExportSync() 599 NVal::DeclareNapiFunction("closeSync", Close::Sync), in ExportSync() 602 NVal::DeclareNapiFunction("fchmodSync", Fchmod::Sync), in ExportSync() 606 NVal::DeclareNapiFunction("fstatSync", Fstat::Sync), in ExportSync() 607 NVal::DeclareNapiFunction("fsyncSync", Fsync::Sync), in ExportSync() 610 NVal::DeclareNapiFunction("linkSync", Link::Sync), in ExportSync() 611 NVal::DeclareNapiFunction("lseekSync", Lseek::Sync), in ExportSync() 612 NVal::DeclareNapiFunction("lstatSync", Lstat::Sync), in ExportSync() 615 NVal::DeclareNapiFunction("openSync", Open::Sync), in ExportSync() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | single_kvstore.h | 157 virtual Status Sync(const std::vector<std::string> &devices, SyncMode mode, uint32_t delay) = 0; 173 …virtual Status Sync(const std::vector<std::string> &devices, SyncMode mode, const DataQuery &query, in Sync() function 176 return Sync(devices, mode, query, syncCallback, 0); in Sync() 194 …virtual Status Sync(const std::vector<std::string> &devices, SyncMode mode, const DataQuery &query, in Sync() function 203 API_EXPORT inline Status Sync(const std::vector<std::string> &devices, SyncMode mode) in Sync() function 205 return Sync(devices, mode, 0); in Sync() 214 …API_EXPORT inline Status Sync(const std::vector<std::string> &devices, SyncMode mode, const DataQu… in Sync() function 216 return Sync(devices, mode, query, nullptr); in Sync()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/ |
H A D | mod.rs | 101 type Error: Into<Box<dyn Error + Send + Sync>>; 222 type Error: Into<Box<dyn Error + Send + Sync>>; 405 pub trait ReusableReader: AsyncRead + Sync { 409 ) -> Pin<Box<dyn Future<Output = std::io::Result<()>> + Send + Sync + 'a>> in reuse() 417 ) -> Pin<Box<dyn Future<Output = std::io::Result<()>> + Send + Sync + 'a>> in reuse() 430 ) -> Pin<Box<dyn Future<Output = std::io::Result<()>> + Send + Sync + 'a>> in reuse() 497 pub struct FromAsyncReader<T: AsyncRead + Unpin + Send + Sync> { 501 impl<T: AsyncRead + Unpin + Send + Sync> FromAsyncReader<T> { 507 impl<T: AsyncRead + Unpin + Send + Sync> Deref for FromAsyncReader<T> { 515 impl<T: AsyncRead + Unpin + Send + Sync> DerefMut for FromAsyncReader<T> {
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_task_merge_test.cpp | 276 ASSERT_EQ(delegate_->Sync(option, nullptr), OK); 296 ASSERT_EQ(delegate_->Sync(option, callback1), OK); 303 ASSERT_EQ(delegate_->Sync(option, nullptr), OK); 307 ASSERT_EQ(delegate_->Sync(option, nullptr), OK); 339 ASSERT_EQ(delegate_->Sync(option, nullptr), OK); in __anonb94ae3c60502() 343 ASSERT_EQ(delegate_->Sync(option, nullptr), OK); in __anonb94ae3c60602() 357 ASSERT_EQ(delegate_->Sync(option, callback3), OK); in __anonb94ae3c60802() 372 ASSERT_EQ(delegate_->Sync(option, callback4), OK); in __anonb94ae3c60a02() 387 ASSERT_EQ(delegate_->Sync(option, callback5), OK); in __anonb94ae3c60c02() 421 ASSERT_EQ(delegate_->Sync(option, nullptr), OK); in __anonb94ae3c60d02() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | prop_n_exporter.cpp | 782 NVal::DeclareNapiFunction("closeSync", Close::Sync), in ExportSync() 784 NVal::DeclareNapiFunction("fsyncSync", Fsync::Sync), in ExportSync() 785 NVal::DeclareNapiFunction("lstatSync", Lstat::Sync), in ExportSync() 788 NVal::DeclareNapiFunction("openSync", Open::Sync), in ExportSync() 790 NVal::DeclareNapiFunction("renameSync", Rename::Sync), in ExportSync() 791 NVal::DeclareNapiFunction("rmdirSync", Rmdirent::Sync), in ExportSync() 792 NVal::DeclareNapiFunction("statSync", Stat::Sync), in ExportSync() 795 NVal::DeclareNapiFunction("utimes", Utimes::Sync), in ExportSync() 804 NVal::DeclareNapiFunction("dup", Dup::Sync), in ExportSync() 807 NVal::DeclareNapiFunction("lseek", Lseek::Sync), in ExportSync() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/task_handler_wrap_test/ |
H A D | task_handler_wrap_test.cpp | 63 taskHandle.Sync(); 79 taskHandle.Sync(); 122 taskHandle.Sync(); 138 taskHandle.Sync(); 154 taskHandle.Sync();
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/encode/ |
H A D | part.rs | 259 Sync, in ut_mime_part_encoder_body_from_owned() 278 Sync, in ut_mime_part_encoder_body_from_bytes() 297 Sync, in ut_mime_part_encoder_body_from_reader() 318 Sync, in ut_mime_part_encoder_data_common() 338 Sync, in ut_mime_part_encoder_data_noheaders() 357 Sync, in ut_mime_part_encoder_data_nobody() 367 Sync, in ut_mime_part_encoder_data_nobody() 384 Sync, in ut_mime_part_encoder_data_noheaders_nobody()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | mix.rs | 32 Reader(Box<dyn Read + Send + Sync>), 34 AsyncReader(Box<dyn AsyncRead + Send + Sync + Unpin>), 71 T: Read + Send + Sync + 'static, in set_reader() 78 T: AsyncRead + Send + Sync + Unpin + 'static, in set_async_reader() 258 Sync, 343 Sync, in ut_mix_new() 361 Sync, in ut_mix_set_owned() 377 Sync, in ut_mix_set_bytes() 394 Sync, in ut_mix_set_reader() 412 Sync, in ut_mix_set_async_reader_then_sync_data()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_sync_test.cpp | 407 errCode = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 432 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 439 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 446 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 474 errCode = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 480 errCode = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 726 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 786 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PULL_ONLY, query, 825 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, 874 status = delegate->Sync(devices, SyncMode::SYNC_MODE_PULL_ONLY, query, [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/properties/ |
H A D | prop_n_exporter.cpp | 38 NapiValue::DeclareNapiFunction("createChecksumSync", CreateChecksum::Sync), in Export() 40 NapiValue::DeclareNapiFunction("createZipSync", CreateZip::Sync), in Export() 42 NapiValue::DeclareNapiFunction("createGZipSync", CreateGZip::Sync), in Export()
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | Readme-EN.md | 14 - Distributed Application Data Sync 15 - [Distributed Application Data Sync Overview](sync-app-data-across-devices-overview.md) 16 - [Cross-Device Sync of KV Stores](data-sync-of-kv-store.md) 17 - [Cross-Device Sync of RDB Stores](data-sync-of-rdb-store.md) 18 - [Cross-Device Sync of Distributed Data Objects](data-sync-of-distributed-data-object.md)
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/dns/ |
H A D | resolver.rs | 27 pub type Addrs = Box<dyn Iterator<Item = SocketAddr> + Sync + Send>; 30 pub type StdError = Box<dyn std::error::Error + Send + Sync>; 32 pub type SocketFuture = Pin<Box<dyn Future<Output = Result<Addrs, StdError>> + Sync + Send>>; 36 pub trait Resolver: Send + Sync + 'static {
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_draw_frame.cpp | 59 Sync(); in RenderFrame() 150 void RSDrawFrame::Sync() in Sync() function in OHOS::Rosen::RSDrawFrame 153 RSMainThread::Instance()->GetContext().GetGlobalRootRenderNode()->Sync(); in Sync() 159 node->Sync(); in Sync() 167 unirenderInstance_.Sync(std::move(stagingRenderThreadParams_)); in Sync()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_single_ver_p2p_sync_check_test.cpp | 834 Sync(g_kvDelegatePtr, devices, targetStatus); in Sync() 911 Sync(devices, TIME_OUT); in PrepareWaterMarkError() 1848 Sync(devices, OK); 1860 Sync(devices, OK); 1885 Sync(devices, OK); 1909 Sync(delegate2, devices, OK); 1936 Sync(devices, OK); 1968 Sync(devices, OK); 2127 Sync(devices, OK); 2134 Sync(devices, OK); [all …]
|
H A D | generic_virtual_device.h | 43 virtual int Sync(SyncMode mode, bool wait); 44 virtual int Sync(SyncMode mode, const Query &query, bool wait); 45 …virtual int Sync(SyncMode mode, const Query &query, const SyncOperation::UserCallback &callBack, b…
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
H A D | relational_store_delegate_impl.h | 32 DBStatus Sync(const std::vector<std::string> &devices, SyncMode mode, 53 DBStatus Sync(const std::vector<std::string> &devices, SyncMode mode, const Query &query, 68 DBStatus Sync(const CloudSyncOption &option, const SyncProcessCallback &onProcess) override; 85 …DBStatus Sync(const CloudSyncOption &option, const SyncProcessCallback &onProcess, uint64_t taskId…
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/ |
H A D | core.rs | 33 C: Consumer<P> + Send + Sync, in core() argument 82 C: Consumer<P> + Send + Sync, in recur() argument 134 C: Consumer<P> + Send + Sync, in spawn_task() argument 159 C: Consumer<P> + Send + Sync, in recur_ffrt() argument 196 C: Consumer<P> + Send + Sync, in spawn_task_ffrt() argument
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | kv_adapter_test.cpp | 340 EXPECT_EQ(DP_KV_DB_PTR_NULL, kvStore->Sync(deviceList, SyncMode::PUSH)); 352 EXPECT_EQ(DP_INVALID_PARAMS, kvStore->Sync(deviceList, SyncMode::PUSH)); 357 EXPECT_EQ(DP_INVALID_PARAMS, kvStore->Sync(deviceList, SyncMode::PUSH)); 371 kvStore->Sync(deviceList, mode); 374 EXPECT_EQ(DP_INVALID_PARAMS, kvStore->Sync(deviceList, mode)); 377 EXPECT_EQ(DP_INVALID_PARAMS, kvStore->Sync(deviceList, mode));
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/ |
H A D | sys_event_manager.rs | 280 F1: Fn(&[HiSysEventRecord]) + Send + Sync + 'static, in new() 281 F2: Fn(i32, i32) + Send + Sync + 'static, in new() 310 F: Fn(&[HiSysEventRecord]) + Send + Sync + 'static, in on_query_callback() 333 F: Fn(i32, i32) + Send + Sync + 'static, in on_complete_callback() 440 F1: Fn(HiSysEventRecord) + Send + Sync + 'static, in new() 441 F2: Fn() + Send + Sync + 'static, in new() 469 F: Fn(HiSysEventRecord) + Send + Sync + 'static, in on_event() 484 F: Fn() + Send + Sync + 'static, in on_service_died()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | state_variable_dfx_pratice.md | 156 |--Sync peers: { 163 ① Sync peers表示uiStyle在自定义组件SpecialImage中存在@Link/@Consume类型的状态变量specialImageUiStyle订阅数据变化。 243 |--Sync peers: { 249 |--Sync peers: none 329 3、打印自定义组件的状态变量信息,每条信息包含该变量的所属组件、Sync peers(同步对象)和Dependent components(关联组件)。当该状态变量改变时,它的Dependent c… 338 |--Sync peers: { 346 - Sync peers: 要同步的其他状态变量和其所属的组件。
|
/ohos5.0/foundation/ability/ability_runtime/services/common/include/ |
H A D | task_handler_wrap.h | 45 void Sync() const; 129 Sync(); in ~AutoSyncTaskHandle() 135 void Sync() in Sync() function 140 handle.Sync(); in Sync()
|
/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-convert-string-data-to-asym-key-pair.md | 100 console.info('[Sync]: convert pem key pair success'); 102 console.error("[Sync]: convert pem key pair result fail!"); 108 console.info("[Sync]TestPkcs1ToPkcs8BySync priString output is " + priString); 109 console.info("[Sync]TestPkcs1ToPkcs8BySync pubString output is " + pubString); 111 console.error(`Sync error, ${e.code}, ${e.message}`);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/relational/ |
H A D | relational_store_delegate.h | 50 DB_API virtual DBStatus Sync(const std::vector<std::string> &devices, SyncMode mode, 69 DB_API virtual DBStatus Sync(const std::vector<std::string> &devices, SyncMode mode, 86 …DB_API virtual DBStatus Sync(const CloudSyncOption &option, const SyncProcessCallback &onProcess) … 104 DB_API virtual DBStatus Sync([[gnu::unused]] const CloudSyncOption &option,
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | rwlock.rs | 66 unsafe impl<T: ?Sized + Send + Sync> Sync for RwLock<T> {} 253 unsafe impl<T: ?Sized + Sync> Sync for RwLockReadGuard<'_, T> {} 298 unsafe impl<T: ?Sized + Sync> Sync for RwLockWriteGuard<'_, T> {}
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | request.rs | 259 Stream(Box<dyn ReusableReader + Send + Sync + Unpin>), 260 Multipart(Box<dyn MultiPartBase + Send + Sync + Unpin>), 308 T: ReusableReader + Send + Sync + Unpin + 'static, in stream() 311 Box::new(stream) as Box<dyn ReusableReader + Send + Sync + Unpin> in stream() 331 T: MultiPartBase + Send + Sync + Unpin + 'static, in multipart() 334 Box::new(stream) as Box<dyn MultiPartBase + Send + Sync + Unpin> in multipart()
|