/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/buffer/ |
H A D | window.rs | 30 pub(crate) fn size_available(&self) -> u32 { in size_available() 38 pub(crate) fn reduce_size(&mut self, size: u32) { in reduce_size() 54 pub(crate) fn send_data(&mut self, size: u32) { in send_data() 79 pub(crate) fn unreleased_size(&self) -> Option<u32> { in unreleased_size() 95 pub(crate) fn notification_available(&self) -> u32 { in notification_available() 103 pub(crate) fn reduce_actual(&mut self, size: u32) { in reduce_actual() 107 pub(crate) fn increase_actual(&mut self, size: u32) { in increase_actual() 111 pub(crate) fn reduce_notification(&mut self, size: u32) { in reduce_notification() 115 pub(crate) fn increase_notification(&mut self, size: u32) { in increase_notification() 136 pub(crate) fn recv_data(&mut self, size: u32) { in recv_data()
|
H A D | settings.rs | 27 pub(crate) fn new(conn_recv_window: u32, conn_send_window: u32) -> Self { in new() 38 pub(crate) fn setup_recv_window(&mut self, size: u32) { in setup_recv_window() 58 pub(crate) fn recv_notification_size_available(&self) -> u32 { in recv_notification_size_available() 62 pub(crate) fn send_data(&mut self, size: u32) { in send_data() 66 pub(crate) fn recv_data(&mut self, size: u32) { in recv_data()
|
/ohos5.0/base/security/asset/interfaces/inner_kits/rs/src/ |
H A D | plugin_interface.rs | 82 fn init(&mut self, user_id: i32) -> Result<(), u32>; in init() argument 85 fn add(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in add() argument 88 fn ce_add(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in ce_add() argument 97 fn query(&mut self, attributes: &ExtDbMap) -> Result<Vec<ExtDbMap>, u32>; in query() argument 100 fn ce_query(&mut self, attributes: &ExtDbMap) -> Result<Vec<ExtDbMap>, u32>; in ce_query() argument 103 fn remove(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in remove() argument 106 fn ce_remove(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in ce_remove() argument 115 fn update(&mut self, attributes: &ExtDbMap, attrs_to_update: &ExtDbMap) -> Result<i32, u32>; in update() argument 118 fn ce_update(&mut self, attributes: &ExtDbMap, attrs_to_update: &ExtDbMap) -> Result<i32, u32>; in ce_update() argument 133 fn init(&self, ctx: Box<dyn IAssetPluginCtx>) -> Result<(), u32>; in init() argument [all …]
|
/ohos5.0/base/hiviewdfx/hicollie/interfaces/rust/src/ |
H A D | lib.rs | 26 timeout: u32, in SetTimerRust() 29 flag: u32, in SetTimerRust() 42 timeout: u32, in set_timer() 45 flag: u32, in set_timer()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
H A D | http.rs | 89 pub(crate) fn set_max_frame_size(&mut self, size: u32) { in set_max_frame_size() 94 pub(crate) fn set_max_header_list_size(&mut self, size: u32) { in set_max_header_list_size() 99 pub(crate) fn set_header_table_size(&mut self, size: u32) { in set_header_table_size() 103 pub(crate) fn set_conn_window_size(&mut self, size: u32) { in set_conn_window_size() 107 pub(crate) fn set_stream_window_size(&mut self, size: u32) { in set_stream_window_size() 120 pub(crate) fn max_frame_size(&self) -> u32 { in max_frame_size() 125 pub(crate) fn max_header_list_size(&self) -> u32 { in max_header_list_size() 130 pub(crate) fn header_table_size(&self) -> u32 { in header_table_size() 138 pub(crate) fn conn_window_size(&self) -> u32 { in conn_window_size() 142 pub(crate) fn stream_window_size(&self) -> u32 { in stream_window_size()
|
/ohos5.0/base/security/asset/services/plugin/src/ |
H A D | asset_plugin.rs | 114 fn get_db_name(attributes: &ExtDbMap, is_ce: bool) -> std::result::Result<String, u32> { in get_db_name() argument 124 fn init(&mut self, user_id: i32) -> std::result::Result<(), u32> { in init() argument 131 fn add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in add() argument 138 fn ce_add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in ce_add() argument 145 …n replace(&mut self, condition: &ExtDbMap, attributes: &ExtDbMap) -> std::result::Result<(), u32> { in replace() argument 159 fn query(&mut self, attributes: &ExtDbMap) -> std::result::Result<Vec<ExtDbMap>, u32> { in query() argument 170 fn ce_query(&mut self, attributes: &ExtDbMap) -> std::result::Result<Vec<ExtDbMap>, u32> { in ce_query() argument 181 fn remove(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in remove() argument 192 fn ce_remove(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in ce_remove() argument 207 ) -> std::result::Result<i32, u32> { in remove_with_specific_cond() argument [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/ |
H A D | streams.rs | 180 recv_window_size: u32, in new() 181 send_window_size: u32, in new() 214 pub(crate) fn apply_max_concurrent_streams(&mut self, num: u32) { in apply_max_concurrent_streams() 309 pub(crate) fn push_back_pending_send(&mut self, id: u32) { in push_back_pending_send() 313 pub(crate) fn push_pending_concurrency(&mut self, id: u32) { in push_pending_concurrency() 317 pub(crate) fn next_pending_stream(&mut self) -> Option<u32> { in next_pending_stream() 360 id: u32, in reassign_stream_send_window() 361 size: u32, in reassign_stream_send_window() 420 id: u32, in poll_read_body() 456 id: u32, in poll_sized_data() [all …]
|
/ohos5.0/build/rust/tests/test_bindgen_test/test_for_hello_world/ |
H A D | main.rs | 25 pub fn add_two_numbers_in_c(a: u32, b: u32) -> u32 { in add_two_numbers_in_c()
|
/ohos5.0/base/msdp/device_status/rust/ipc/service/src/ |
H A D | lib.rs | 60 …fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in add_watch() 65 …fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in set_param() 68 …fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in get_param() 72 …fn control(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borrowe… in control() 75 fn on_remote_request(stub: &dyn IDeviceStatus, code: u32, data: &BorrowedMsgParcel<'_>, in on_remote_request() 149 fn send_request(&self, action: CommonAction, intention: Intention, id: u32, in send_request() 204 fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in add_watch() 210 fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in remove_watch() 216 fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in set_param() 222 fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in get_param() [all …]
|
H A D | identity.rs | 56 pub fn compose_param_id(action: CommonAction, intention: Intention, param: u32) -> u32 in compose_param_id() 76 pub fn split_param(code: u32) -> u32 in split_param()
|
/ohos5.0/base/msdp/device_status/rust/data/sys/src/ |
H A D | plugin_manager.rs | 45 …fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borro… in add_watch() 47 …fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Bo… in remove_watch() 49 …fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borro… in set_param() 51 …fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borro… in get_param() 54 …fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borrowe… in control()
|
/ohos5.0/base/msdp/device_status/rust/modules/drag/server/src/ |
H A D | lib.rs | 108 fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in add_watch() 114 fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in remove_watch() 120 fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in set_param() 126 fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in get_param() 132 fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in control()
|
/ohos5.0/base/security/code_signature/services/key_enable/src/ |
H A D | cert_path_utils.rs | 58 fn from_str(s: &str) -> Result<u32, ()> { in from_str() 86 fn from_str(s: &str) -> Result<u32, ()> { in from_str() 186 F: Fn(&str, &str) -> Result<u32, ()> { in parse_cert_profile() 252 fn path_resolver(cert_mode: &str, cert_type: &str) -> Result<u32, ()> { in path_resolver() 401 fn convert_cert_type(cert_path_type: u32) -> u32 { in convert_cert_type() 421 cert_path_type: u32, in cert_path_operation() 422 path_length: u32, in cert_path_operation() 462 cert_path_type: u32, in add_cert_path_info() 463 path_length: u32, in add_cert_path_info() 479 cert_path_type: u32, in remove_cert_path_info() [all …]
|
/ohos5.0/base/request/request/test/rustest/src/ |
H A D | lib.rs | 117 pub fn pause(&self, task_id: u32) { in pause() 125 pub(crate) fn pause_version(&self, version: u32, task_id: u32) { in pause_version() 138 pub fn query(&self, task_id: u32) { in query() 164 pub fn remove(&self, task_id: u32) { in remove() 172 pub(crate) fn remove_version(&self, version: u32, task_id: u32) { in remove_version() 185 pub fn resume(&self, task_id: u32) { in resume() 197 pub fn start(&self, task_id: u32) { in start() 209 pub fn stop(&self, task_id: u32) { in stop() 221 pub fn show(&self, task_id: u32) { in show() 253 ) -> Vec<u32> { in search() [all …]
|
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/ |
H A D | lib.rs | 126 -> *const ImgHashData<u32> in LoadImgHashData() 216 pub unsafe extern fn check_data_hash(img_hash_data: *const ImgHashData<u32>, in check_data_hash() 217 img_name: *const c_char, start: u32, end: u32, hash_value: *const u8, len: usize) -> bool in check_data_hash() 240 pub unsafe extern fn ReleaseImgHashData(hash_data: *const ImgHashData<u32>) in ReleaseImgHashData()
|
/ohos5.0/base/msdp/device_status/rust/modules/coordination/server/src/ |
H A D | lib.rs | 74 fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in add_watch() 81 fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in remove_watch() 88 fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in set_param() 94 fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in get_param() 101 fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in control()
|
/ohos5.0/base/msdp/device_status/rust/modules/basic/server/src/ |
H A D | lib.rs | 91 fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in add_watch() 97 fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in remove_watch() 103 fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in set_param() 109 fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in get_param() 115 fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in control()
|
/ohos5.0/base/msdp/device_status/rust/ipc/client/src/ |
H A D | lib.rs | 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 Serialize, in get_param() 272 pub fn control(&self, intention: Intention, id: u32, data: &dyn Serialize, in control()
|
/ohos5.0/base/hiviewdfx/hilog/interfaces/rust/src/ |
H A D | lib.rs | 80 pub fn HiLogIsLoggable(domain: u32, tag: *const c_char, level: u32) -> bool; in HiLogIsLoggable() 85 domain: u32, in HiLogPrint() 89 ) -> u32; in HiLogPrint()
|
/ohos5.0/base/request/request/services/src/manage/ |
H A D | query.rs | 23 pub(crate) fn get_task(task_id: u32, token: String) -> Option<TaskConfig> { in get_task() 33 pub(crate) fn search(filter: TaskFilter, method: SearchMethod) -> Vec<u32> { in search() 75 pub(crate) fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch() 97 pub(crate) fn query(&self, task_id: u32, action: Action) -> Option<TaskInfo> { in query() 126 pub(crate) fn search_task(&self, filter: TaskFilter, uid: u64) -> Vec<u32> { in search_task() 132 pub(crate) fn system_search_task(&self, filter: TaskFilter, bundle_name: String) -> Vec<u32> { in system_search_task()
|
/ohos5.0/base/security/asset/services/core_service/src/ |
H A D | stub.rs | 40 code: u32, in on_remote_request() 87 fn on_remote_request(stub: &AssetService, code: u32, data: &mut MsgParcel, reply: &mut MsgParcel) -… in on_remote_request() 128 fn on_extension_request(_stub: &AssetService, code: u32, data: &mut MsgParcel, reply: &mut MsgParce… in on_extension_request()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/ |
H A D | mipi_tx_reg.h | 31 unsigned int u32; member 44 unsigned int u32; member 56 unsigned int u32; member 70 unsigned int u32; member 84 unsigned int u32; member 100 unsigned int u32; member 112 unsigned int u32; member 124 unsigned int u32; member 150 unsigned int u32; member 162 unsigned int u32; member [all …]
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/remote/ |
H A D | stub.rs | 24 fn on_remote_request(&self, code: u32, data: &mut MsgParcel, reply: &mut MsgParcel) -> i32; in on_remote_request() 38 fn on_remote_request(&self, code: u32, data: &mut MsgParcel, reply: &mut MsgParcel) -> i32 { in on_remote_request() 61 fn on_remote_request(&self, code: u32, data: &mut MsgParcel, reply: &mut MsgParcel) -> i32 { in on_remote_request()
|
/ohos5.0/base/msdp/device_status/rust/ipc/server/src/ |
H A D | fusion_ipc_delegator.rs | 139 fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in add_watch() 150 fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in remove_watch() 161 fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in set_param() 172 fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in get_param() 183 fn control(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in control()
|
/ohos5.0/base/request/request/services/src/service/client/ |
H A D | mod.rs | 68 pub(crate) fn subscribe(&self, tid: u32, pid: u64, uid: u64, token_id: u64) -> ErrorCode { in subscribe() 100 pub(crate) fn notify_task_finished(&self, tid: u32) { in notify_task_finished() 123 tid: u32, in send_response() 125 status_code: u32, in send_response() 222 tid: u32, in handle_send_response() 224 status_code: u32, in handle_send_response()
|