Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A Dmipi_tx_reg.h31 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 …]
H A Dmipi_tx_hi35xx.c670 genPldData.u32 = g_mipiTxRegsVa->GEN_PLD_DATA.u32; in MipiTxDrvSetPayloadData()
682 g_mipiTxRegsVa->GEN_PLD_DATA.u32 = genPldData.u32; in MipiTxDrvSetPayloadData()
741 genHdr.u32 = g_mipiTxRegsVa->GEN_HDR.u32; in MipiTxDrvSetCmdInfo()
766 g_mipiTxRegsVa->GEN_HDR.u32 = genHdr.u32; in MipiTxDrvSetCmdInfo()
790 intSt1.u32 = g_mipiTxRegsVa->INT_ST1.u32; in MipiTxWaitReadFifoNotEmpty()
791 intSt0.u32 = g_mipiTxRegsVa->INT_ST0.u32; in MipiTxWaitReadFifoNotEmpty()
794 intSt1.u32, intSt0.u32); in MipiTxWaitReadFifoNotEmpty()
816 intSt1.u32 = g_mipiTxRegsVa->INT_ST1.u32; in MipiTxWaitReadFifoEmpty()
840 g_mipiTxRegsVa->GEN_HDR.u32 = genHdr.u32; in MipiTxSendShortPacket()
859 pldData.u32 = g_mipiTxRegsVa->GEN_PLD_DATA.u32; in MipiTxGetReadFifoData()
[all …]
/ohos5.0/base/request/request/services/src/service/
H A Dinterface.rs17 pub const CONSTRUCT: u32 = 0;
19 pub const PAUSE: u32 = 1;
21 pub const QUERY: u32 = 2;
25 pub const REMOVE: u32 = 4;
27 pub const RESUME: u32 = 5;
29 pub const START: u32 = 6;
31 pub const STOP: u32 = 7;
33 pub const SHOW: u32 = 8;
35 pub const TOUCH: u32 = 9;
37 pub const SEARCH: u32 = 10;
[all …]
H A Dstub.rs115 reply.write(&(tf.common_data.action as u32))?; in serialize_task_info()
116 reply.write(&(tf.common_data.mode as u32))?; in serialize_task_info()
117 reply.write(&(tf.common_data.reason as u32))?; in serialize_task_info()
131 reply.write(&(tf.form_items.len() as u32))?; in serialize_task_info()
137 reply.write(&(tf.file_specs.len() as u32))?; in serialize_task_info()
147 reply.write(&(index as u32))?; in serialize_task_info()
158 reply.write(&(tf.extras.len() as u32))?; in serialize_task_info()
167 reply.write(&(item.reason.repr as u32))?; in serialize_task_info()
196 reply.write(&(config.headers.len() as u32))?; in serialize_task_config()
204 reply.write(&(config.extras.len() as u32))?; in serialize_task_config()
[all …]
/ohos5.0/base/security/asset/services/plugin/src/
H A Dasset_plugin.rs118 construct_splited_db_name(owner_type, owner, is_ce).map_err(|e| e.code as u32) in get_db_name()
124 fn init(&mut self, user_id: i32) -> std::result::Result<(), u32> { in init() argument
125 create_user_de_dir(user_id).map_err(|e| e.code as u32)?; in init()
131 fn add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in add() argument
134 db.insert_datas(attributes).map_err(|e| e.code as u32) in add()
138 fn ce_add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in ce_add() argument
141 db.insert_datas(attributes).map_err(|e| e.code as u32) in ce_add()
148 db.replace_datas(condition, false, attributes).map_err(|e| e.code as u32) in replace()
155 db.replace_datas(condition, false, attributes).map_err(|e| e.code as u32) in ce_replace()
207 ) -> std::result::Result<i32, u32> { in remove_with_specific_cond() argument
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
H A Dhttp.rs59 const DEFAULT_MAX_FRAME_SIZE: u32 = 16 * 1024;
60 const DEFAULT_HEADER_TABLE_SIZE: u32 = 4096;
61 const DEFAULT_MAX_HEADER_LIST_SIZE: u32 = 16 * 1024;
72 max_frame_size: u32,
73 max_header_list_size: u32,
74 header_table_size: u32,
75 init_conn_window_size: u32,
76 init_stream_window_size: u32,
120 pub(crate) fn max_frame_size(&self) -> u32 { in max_frame_size() argument
130 pub(crate) fn header_table_size(&self) -> u32 { in header_table_size() argument
[all …]
/ohos5.0/base/msdp/device_status/rust/ipc/service/src/
H A Didentity.rs47 const PARAMBITS: u32 = 12;
48 const PARAMMASK: u32 = (1u32 << PARAMBITS) - 1u32;
49 const INTENTIONSHIFT: u32 = PARAMBITS;
50 const INTENTIONBITS: u32 = 8;
51 const INTENTIONMASK: u32 = (1u32 << INTENTIONBITS) - 1u32;
52 const ACTIONSHIFT: u32 = INTENTIONSHIFT + INTENTIONBITS;
53 const ACTIONBITS: u32 = 4;
54 const ACTIONMASK: u32 = (1u32 << ACTIONBITS) - 1u32;
56 pub fn compose_param_id(action: CommonAction, intention: Intention, param: u32) -> u32 in compose_param_id() argument
59 ((action as u32 & ACTIONMASK) << ACTIONSHIFT) | in compose_param_id()
[all …]
/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dcert_path_utils.rs126 pub max_certs_path: u32,
128 pub cert_path_type: u32,
344 pub path_len: u32,
346 pub path_type: u32,
401 fn convert_cert_type(cert_path_type: u32) -> u32 { in convert_cert_type() argument
421 cert_path_type: u32, in cert_path_operation() argument
422 path_length: u32, in cert_path_operation() argument
462 cert_path_type: u32, in add_cert_path_info() argument
463 path_length: u32, in add_cert_path_info() argument
479 cert_path_type: u32, in remove_cert_path_info() argument
[all …]
/ohos5.0/base/security/asset/test/unittest/module_test/src/
H A Dasset_system_api_test.cpp285 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = -1 },
293 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = 0 },
312 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = -1 },
318 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = 0 },
337 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = -1 },
347 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = 0 },
367 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = -1 }
372 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = 0 }
388 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = -1 }
393 { .tag = SEC_ASSET_TAG_USER_ID, .value.u32 = 0 }
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/buffer/
H A Dwindow.rs30 pub(crate) fn size_available(&self) -> u32 { in size_available() argument
34 self.size as u32 in size_available()
38 pub(crate) fn reduce_size(&mut self, size: u32) { in reduce_size() argument
54 pub(crate) fn send_data(&mut self, size: u32) { in send_data() argument
79 pub(crate) fn unreleased_size(&self) -> Option<u32> { in unreleased_size() argument
85 Some(unreleased as u32) in unreleased_size()
95 pub(crate) fn notification_available(&self) -> u32 { in notification_available() argument
99 self.notification as u32 in notification_available()
103 pub(crate) fn reduce_actual(&mut self, size: u32) { in reduce_actual() argument
107 pub(crate) fn increase_actual(&mut self, size: u32) { in increase_actual() argument
[all …]
/ohos5.0/base/security/asset/interfaces/inner_kits/rs/src/
H A Dplugin_interface.rs82 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/security/asset/services/crypto_manager/src/
H A Dcrypto.rs50 valid_time: u32,
84 _ => Err(transfer_error_code(ErrCode::try_from(ret as u32)?)), in init_key()
94 let aad = HksBlob { size: aad.len() as u32, data: aad.as_ptr() }; in exec_crypt()
97 let in_data = HksBlob { size: cipher.len() as u32, data: cipher.as_ptr() }; in exec_crypt()
112 _ => Err(transfer_error_code(ErrCode::try_from(ret as u32)?)), in exec_crypt()
120 let aad_data = HksBlob { size: aad.len() as u32, data: aad.as_ptr() }; in encrypt()
121 let in_data = HksBlob { size: msg.len() as u32, data: msg.as_ptr() }; in encrypt()
135 _ => Err(transfer_error_code(ErrCode::try_from(ret as u32)?)), in encrypt()
147 let aad_data = HksBlob { size: aad.len() as u32, data: aad.as_ptr() }; in decrypt()
162 _ => Err(transfer_error_code(ErrCode::try_from(ret as u32)?)), in decrypt()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/
H A Dstreams.rs27 pub(crate) const INITIAL_MAX_SEND_STREAM_ID: u32 = u32::MAX >> 1;
28 pub(crate) const INITIAL_MAX_RECV_STREAM_ID: u32 = u32::MAX >> 1;
130 pub(crate) max_send_id: u32,
132 pub(crate) max_recv_id: u32,
180 recv_window_size: u32, in new() argument
181 send_window_size: u32, in new() argument
360 id: u32, in reassign_stream_send_window() argument
361 size: u32, in reassign_stream_send_window() argument
420 id: u32, in poll_read_body() argument
456 id: u32, in poll_sized_data() argument
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dwinapi.rs36 pub type WIN32_ERROR = u32;
46 reserved: u32,
51 dwError: u32,
52 cbTransferred: u32,
54 dwFlags: u32,
166 cbInBuffer: u32, in WSAIoctl() argument
214 pub Offset: u32,
215 pub OffsetHigh: u32,
291 pub S_addr: u32,
346 pub Value: u32,
[all …]
H A Dafd.rs31 pub const POLL_RECEIVE: u32 = 0x0001;
33 pub const POLL_SEND: u32 = 0x0004;
34 pub const POLL_DISCONNECT: u32 = 0x0008;
35 pub const POLL_ABORT: u32 = 0x0010;
36 pub const POLL_LOCAL_CLOSE: u32 = 0x0020;
37 pub const POLL_ACCEPT: u32 = 0x0080;
40 pub const ALL_EVENTS: u32 = POLL_RECEIVE
68 const IOCTL_AFD_POLL: u32 = 0x00012024;
239 pub number_of_handles: u32,
240 pub exclusive: u32,
[all …]
/ohos5.0/base/request/request/test/rustest/src/
H A Dlib.rs117 pub fn pause(&self, task_id: u32) { in pause() argument
125 pub(crate) fn pause_version(&self, version: u32, task_id: u32) { in pause_version() argument
138 pub fn query(&self, task_id: u32) { in query() argument
172 pub(crate) fn remove_version(&self, version: u32, task_id: u32) { in remove_version() argument
209 pub fn stop(&self, task_id: u32) { in stop() argument
221 pub fn show(&self, task_id: u32) { in show() argument
253 ) -> Vec<u32> { in search() argument
408 index: u32,
420 pub status: u32,
495 impl Take<u32> for &[u8] {
[all …]
/ohos5.0/base/security/asset/services/common/src/
H A Dprocess_info.rs27 app_id_len: u32,
33 uid: u32,
38 user_id: u32,
39 owner_type: u32,
42 process_name_len: u32,
49 fn init(user_id: u32, uid: u32, process_name: &mut Vec<u8>, app_id: &mut Vec<u8>) -> Self { in init() argument
54 process_name_len: process_name.len() as u32, in init()
62 fn GetCallingProcessInfo(userId: u32, uid: u64, ownerInfo: *mut ProcessInfoFfi) -> i32; in GetCallingProcessInfo() argument
81 pub uid: u32,
100 pub user_id: u32,
[all …]
/ohos5.0/base/security/asset/frameworks/utils/src/
H A Dhasher.rs18 const LOWER_BYTES_MASK: u32 = 0xff;
24 const SHA256_H: [u32; 8] =
27 const SHA256_K: [u32; 64] = [
42 *item = ((plain_chunk[offset] as u32) << 24)
43 | ((plain_chunk[offset + 1] as u32) << 16)
44 | ((plain_chunk[offset + 2] as u32) << 8)
45 | (plain_chunk[offset + 3] as u32);
61 fn compress_chunk(expanded_chunk: [u32; 64]) -> [u32; 8] {
62 let mut compressed_chunk: [u32; 8] = SHA256_H;
92 fn compress(input_bytes: &[u8]) -> [u32; 8] { in compress() argument
[all …]
/ohos5.0/base/security/asset/frameworks/ipc/src/
H A Dlib.rs29 pub const IPC_SUCCESS: u32 = 0;
31 const MAX_MAP_CAPACITY: u32 = 64;
32 const MAX_VEC_CAPACITY: u32 = 0x10000;
56 if map.len() as u32 > MAX_MAP_CAPACITY { in serialize_map()
59 parcel.write(&(map.len() as u32)).map_err(ipc_err_handle)?; in serialize_map()
69 parcel.write(&(tag as u32)).map_err(ipc_err_handle)?; in serialize_map()
81 let len = parcel.read::<u32>().map_err(ipc_err_handle)?; in deserialize_map()
87 let tag = parcel.read::<u32>().map_err(ipc_err_handle)?; in deserialize_map()
109 if vec.len() as u32 > MAX_VEC_CAPACITY { in serialize_maps()
112 parcel.write::<u32>(&(vec.len() as u32)).map_err(ipc_err_handle)?; in serialize_maps()
[all …]
/ohos5.0/base/request/request/services/src/service/client/
H A Dmod.rs30 const REQUEST_MAGIC_NUM: u32 = 0x43434646;
32 const POSITION_OF_LENGTH: u32 = 10;
38 Unsubscribe(u32, Sender<ErrorCode>),
39 TaskFinished(u32),
41 SendResponse(u32, String, u32, String, Headers),
123 tid: u32, in send_response() argument
125 status_code: u32, in send_response() argument
142 pub(crate) message_id: u32,
222 tid: u32, in handle_send_response() argument
224 status_code: u32, in handle_send_response() argument
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/examples/audio_rust_sa/src/
H A Dinterface.rs14 pub const START_REASON_TEST: u32 = 0;
15 pub const IDLE_REASON_TEST: u32 = 1;
16 pub const ACTIVE_REASON_TEST: u32 = 2;
17 pub const ADD_TEST: u32 = 3;
18 pub const REMOVE_TEST: u32 = 4;
19 pub const STOP_REASON_TEST: u32 = 5;
20 pub const STOP_REASON_TEST_GET: u32 = 6;
/ohos5.0/base/security/asset/interfaces/inner_kits/c/src/
H A Dlib.rs24 const MAX_MAP_CAPACITY: u32 = 64;
27 fn AssetMalloc(size: u32) -> *mut c_void; in AssetMalloc()
30 fn into_map(attributes: *const AssetAttr, attr_cnt: u32) -> Option<AssetMap> { in into_map()
114 query_cnt: u32, in update_asset() argument
116 update_cnt: u32, in update_asset() argument
235 tag: u32,
243 size: u32,
268 uint32: u32,
288 count: u32,
310 (*attr).tag = *tag as u32; in try_from()
[all …]
/ohos5.0/base/request/request/services/src/manage/events/
H A Dmod.rs128 Show(u32, u64, Sender<Option<TaskInfo>>),
134 Pause(u64, u32, Sender<ErrorCode>),
135 Start(u64, u32, Sender<ErrorCode>),
136 Stop(u64, u32, Sender<ErrorCode>),
137 Remove(u64, u32, Sender<ErrorCode>),
138 Resume(u64, u32, Sender<ErrorCode>),
145 Completed(u32, u64, Mode),
146 Failed(u32, u64, Reason, Mode),
147 Offline(u32, u64, Mode),
148 Running(u32, u64, Mode),
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dframe.rs104 HeaderTableSize(u32),
108 MaxConcurrentStreams(u32),
110 InitialWindowSize(u32),
112 MaxFrameSize(u32),
114 MaxHeaderListSize(u32),
141 stream_dependency: u32,
150 error_code: u32,
175 error_code: u32,
184 window_size_increment: u32,
192 promised_stream_id: u32,
[all …]
/ohos5.0/base/request/request/services/src/service/command/
H A Dconstruct.rs41 let action: u32 = data.read()?; in construct()
44 let version: u32 = data.read()?; in construct()
47 let mode: u32 = data.read()?; in construct()
50 let bundle_type: u32 = data.read()?; in construct()
54 let network: u32 = data.read()?; in construct()
67 let index: u32 = data.read()?; in construct()
77 let priority: u32 = data.read()?; in construct()
113 let form_size: u32 = data.read()?; in construct()
126 let file_size: u32 = data.read()?; in construct()
168 let header_size: u32 = data.read()?; in construct()
[all …]

12345678910>>...12