/base/msdp/device_status/rust/ipc/client/src/ |
H A D | lib.rs | 40 pub struct FusionIpcClient(RemoteObjRef<dyn IDeviceStatus>); 48 match <dyn IDeviceStatus as FromRemoteObj>::try_from(obj) { in connect() 81 pub fn enable(&self, intention: Intention, data: &dyn Serialize, in enable() 104 pub fn disable(&self, intention: Intention, data: &dyn Serialize, in disable() 127 pub fn start(&self, intention: Intention, data: &dyn Serialize, in start() 150 pub fn stop(&self, intention: Intention, data: &dyn Serialize, in stop() 175 pub fn add_watch(&self, intention: Intention, id: u32, data: &dyn Serialize, in add_watch() 198 pub fn remove_watch(&self, intention: Intention, id: u32, data: &dyn Serialize, in remove_watch() 223 pub fn set_param(&self, intention: Intention, id: u32, data: &dyn Serialize, in set_param() 247 pub fn get_param(&self, intention: Intention, id: u32, data: &dyn Serializ [all...] |
/base/msdp/device_status/rust/plugin_manager/src/ |
H A D | lib.rs | 50 pub unsafe extern "C" fn _create_plugin() -> *mut dyn IPlugin { 92 fn do_load_plugin(&mut self, intention: Intention) -> Option<Box<dyn IPlugin>> { in do_load_plugin() 100 loader.get::<libloading::Symbol<unsafe extern "C" fn() -> *mut dyn IPlugin>>(b"_create_plugin") in do_load_plugin() 128 pub fn load_plugin(&mut self, intention: Intention) -> Option<Box<dyn IPlugin>> in load_plugin()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_elf_parser.cpp | 253 DynType *dyn = (DynType *)(dynamicOffset_ + static_cast<char*>(mmap_->Get())); in ParseElfDynamic() local 254 if (dyn == nullptr) { in ParseElfDynamic() 257 for (; dyn->d_tag != DT_NULL; ++dyn) { in ParseElfDynamic() 258 if (dyn->d_tag == DT_PLTGOT) { in ParseElfDynamic() 260 dtPltGotAddr_ = dyn->d_un.d_ptr; in ParseElfDynamic() 262 } else if (dyn->d_tag == DT_STRTAB) { in ParseElfDynamic() 263 dtStrtabAddr_ = dyn->d_un.d_ptr; in ParseElfDynamic() 264 } else if (dyn->d_tag == DT_STRSZ) { in ParseElfDynamic() 265 dtStrtabSize_ = dyn in ParseElfDynamic() [all...] |
H A D | dfx_elf.cpp | 930 ElfW(Dyn) *dyn = (ElfW(Dyn) *)(pDynamic->p_vaddr + loadBase);
in DlPhdrCb() 931 if (dyn == nullptr) {
in DlPhdrCb() 934 for (; dyn->d_tag != DT_NULL; ++dyn) {
in DlPhdrCb() 935 if (dyn->d_tag == DT_PLTGOT) {
in DlPhdrCb() 936 uti->gp = dyn->d_un.d_ptr;
in DlPhdrCb()
|
/base/request/request/services/src/task/ |
H A D | client.rs | 35 ) -> Result<Client, Box<dyn Error + Send + Sync>> { 123 fn build_task_proxy(config: &TaskConfig) -> Result<Option<Proxy>, Box<dyn Error + Send + Sync>> { in build_task_proxy() 136 ) -> Result<Option<PubKeyPins>, Box<dyn Error + Send + Sync>> { in build_task_certificate_pins() 153 ) -> Result<Option<Proxy>, Box<dyn Error + Send + Sync>> { in build_system_proxy() 175 fn build_task_certs(config: &TaskConfig) -> Result<Vec<Certificate>, Box<dyn Error + Send + Sync>> { in build_task_certs()
|
H A D | upload.rs | 114 ) -> Pin<Box<dyn Future<Output = std::io::Result<()>> + Send + Sync + 'a>> in reuse()
|
/base/msdp/device_status/rust/modules/scheduler/sys/src/ |
H A D | scheduler.rs | 68 raw: Arc<dyn IEpollHandler>, 75 fn new(raw: Arc<dyn IEpollHandler>, handle: ylong_runtime::task::JoinHandle<()>) -> Self in new() 92 fn raw_handler(&self) -> Arc<dyn IEpollHandler> in raw_handler() 272 -> FusionResult<Arc<dyn IEpollHandler>> in add_epoll_handler() 287 fn remove_epoll_handler(&self, fd: RawFd) -> FusionResult<Arc<dyn IEpollHandler>> in remove_epoll_handler() 318 fn dispatch_inner(&self, fd: RawFd, waker: &Waker) -> Option<(Arc<dyn IEpollHandler>, u32)> in dispatch_inner() 505 pub(crate) fn add_epoll_handler(&self, handler: Arc<dyn IEpollHandler>) 506 -> FusionResult<Arc<dyn IEpollHandler>> 516 pub(crate) fn remove_epoll_handler(&self, handler: Arc<dyn IEpollHandler>) 517 -> FusionResult<Arc<dyn IEpollHandle [all...] |
/base/request/request/pre_download/netstack_rs/src/ |
H A D | wrapper.rs | 22 inner: Box<dyn RequestCallback>,
|
/base/request/request/services/src/utils/ |
H A D | common_event.rs | 19 inner: Box<dyn CommonEventSubscriber>, 24 fn new(inner: Box<dyn CommonEventSubscriber>) -> Self { in new()
|
H A D | mod.rs | 103 Box::new(fut) as Box<dyn Future<Output = ()> + Send + Sync>
|
/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/ |
H A D | dsoftbus.rs | 116 impl Hash for Box<dyn IDSoftbufCallback> { 118 let raw_ptr = self.as_ref() as *const dyn IDSoftbufCallback; in hash() 123 impl PartialEq for Box<dyn IDSoftbufCallback> { 125 let self_data_ptr = self.as_ref() as *const dyn IDSoftbufCallback as *const (); in eq() 126 let other_data_ptr = other.as_ref() as *const dyn IDSoftbufCallback as *const (); in eq() 131 impl Eq for Box<dyn IDSoftbufCallback> {} 151 callback: HashSet<Box<dyn IDSoftbufCallback>>, 778 fn register_callback(&mut self, callback: Box<dyn IDSoftbufCallback>) { in register_callback() 1215 pub fn register_callback(&self, callback: Box<dyn IDSoftbufCallback>) { in register_callback()
|
/base/msdp/device_status/rust/utils/src/ |
H A D | macros.rs | 91 log: Box<dyn Fn(&str, &str)>, 97 pub fn new(log: Box<dyn Fn(&str, &str)>, func_name: &'a str) -> Self { in new()
|
/base/security/code_signature/services/key_enable/src/ |
H A D | profile_utils.rs | 116 ) -> Result<(String, String, u32), Box<dyn Error>> { in parse_pkcs7_data() 126 ) -> Result<Vec<u8>, Box<dyn Error>> { in verify_pkcs7_signature() 137 ) -> Result<(), Box<dyn Error>> { in validate_bundle_and_distribution_type() 172 ) -> Result<JsonValue, Box<dyn Error>> { in parse_and_validate_profile() 178 fn get_cert_details(profile_json: &JsonValue) -> Result<(String, String, u32), Box<dyn Error>> { in get_cert_details() 228 ) -> Result<(), Box<dyn Error>> { in verify_signers()
|
/base/msdp/device_status/rust/ipc/service/src/ |
H A D | lib.rs | 75 fn on_remote_request(stub: &dyn IDeviceStatus, code: u32, data: &BorrowedMsgParcel<'_>, in on_remote_request() 129 fn transfer_data(&self, src: &dyn IMsgParcel, target: &mut dyn IMsgParcel) -> FusionResult<()> in transfer_data()
|
/base/msdp/device_status/rust/subsystem/device_profile/sys/src/ |
H A D | device_profile.rs | 126 instance: Arc<dyn IProfileEventCallback>, 195 impl From<Arc<dyn IProfileEventCallback>> for ProfileEventCallback { 196 fn from(value: Arc<dyn IProfileEventCallback>) -> Self { in from() 242 event_callback: &Arc<dyn IProfileEventCallback>, in subscribe_profile_events() 300 event_callback: &Arc<dyn IProfileEventCallback>, in unsubscribe_profile_events() 345 _sync_callback: &Arc<dyn IProfileEventCallback>) -> FusionResult<()> in sync_device_profile()
|
H A D | adapter.rs | 47 callback: Arc<dyn Fn(&str, bool)>,
|
/base/msdp/device_status/rust/ipc/server/src/ |
H A D | fusion_ipc_delegator.rs | 70 fn load_plugin(&self, intention: Intention) -> FusionResult<Box<dyn IPlugin>> { in load_plugin()
|
/base/security/asset/services/plugin/src/ |
H A D | asset_plugin.rs | 57 pub fn load_plugin(&self) -> Result<Box<dyn IAssetPlugin>> { in load_plugin() 76 .get::<libloading::Symbol<unsafe extern "C" fn() -> *mut dyn IAssetPlugin>>(b"_create_plugin") in load_plugin()
|