Home
last modified time | relevance | path

Searched defs:usize (Results 1 – 25 of 38) sorted by relevance

12

/base/update/updater/services/rust/hash_signed_data/src/
Devp.rs20 pub fn get_b64_decode_len(in_data: &[u8]) -> Result<(usize, usize), String> in get_b64_decode_len() argument
Dlib.rs69 out: *mut u8, out_len: usize, file_name: *const c_char) -> usize in GetSigFromHashData()
/base/request/request/services/src/manage/scheduler/qos/
Drss.rs53 pub(crate) fn m1(&self) -> usize { in m1()
57 pub(crate) fn m2(&self) -> usize { in m2()
61 pub(crate) fn m3(&self) -> usize { in m3()
/base/request/request/services/src/task/
Dupload.rs160 index: usize, in build_stream_request()
195 index: usize, in build_multipart_request()
239 _index: usize, in build_batch_multipart_request()
287 _index: usize, in build_request_common()
343 async fn prepare_batch_upload(&self, start: usize, size: usize) -> bool { in prepare_batch_upload()
486 index: usize, in upload_one_file()
510 index: usize, in upload_one_file_inner()
Doperator.rs98 skip_size: usize, in poll_write_file()
99 ) -> Poll<Result<usize, HttpClientError>> { in poll_write_file()
Dnotify.rs83 index: usize, in create_each_file_status()
Ddownload.rs45 ) -> Poll<Result<usize, HttpClientError>> { in poll_download()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_buffer.rs133 fn unread_size(&self) -> usize { in unread_size()
152 pub(crate) fn size(&self) -> usize { in size()
158 fn get_available_buf_size(&self) -> usize { in get_available_buf_size()
340 fn r_count(&self) -> usize { in r_count()
343 fn w_count(&self) -> usize { in w_count()
346 fn w_pos(&self) -> usize { in w_pos()
349 fn r_pos(&self) -> usize { in r_pos()
358 fn set_r_pos(&mut self, r_pos: usize) { in set_r_pos()
/base/request/request/services/src/service/command/
Dmod.rs42 pub(crate) fn set_code_with_index(vec: &mut [ErrorCode], index: usize, code: ErrorCode) { in set_code_with_index()
52 index: usize, in set_code_with_index_other()
/base/request/request/frameworks/native/cache_core/src/data/
Dram.rs139 pub fn size(&self) -> usize { in size()
149 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> { in write()
/base/request/request/frameworks/native/cache_download/src/download/
Dtask.rs56 seq: usize, in new()
166 pub fn state(&self) -> usize { in state()
220 seq: usize, in download_inner()
Dcallback.rs61 seq: usize, in new()
170 F: FnOnce() -> Option<usize>, in common_data_receive()
/base/request/request/services/src/service/run_count/
Dmanager.rs72 pub(crate) fn notify_run_count(&self, new_count: usize) { in notify_run_count()
143 fn change_run_count(&mut self, new_count: usize) { in change_run_count()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
Dnet_packet.rs96 fn size(&self) -> usize { in size()
99 pub(super) fn get_packet_length(&self) -> usize { in get_packet_length()
Dffi.rs77 pub unsafe extern "C" fn StreamBufferSize(object: *const StreamBuffer) -> usize { in StreamBufferSize()
/base/request/request/services/src/manage/scheduler/
Dmod.rs109 pub(crate) fn running_tasks(&self) -> usize { in running_tasks()
284 task_count: &mut HashMap<u64, (usize, usize)>, in task_cancel() argument
387 task_count: &mut HashMap<u64, (usize, usize)>, in reduce_task_count() argument
/base/request/request/frameworks/native/cache_core/src/
Dupdate.rs56 F: FnOnce() -> Option<usize>, in cache_receive()
Dmanage.rs97 size: usize, in apply_cache()
/base/request/request/common/utils/tests/ut/
Dut_lru.rs26 pub(crate) fn add(&mut self, num: usize) { in add()
/base/request/request/services/src/service/notification_bar/
Dnotify_flow.rs106 pub(crate) fn successful(&self) -> usize { in successful()
110 pub(crate) fn failed(&self) -> usize { in failed()
114 pub(crate) fn total(&self) -> usize { in total()
/base/msdp/device_status/rust/modules/scheduler/sys/src/
Dlib.rs78 pub fn id(&self) -> usize in id()
/base/request/request/services/src/utils/
Dmod.rs54 pub(crate) fn build_vec<A, B, C>(ptr: *const A, len: usize, func: C) -> Vec<B> in build_vec()
/base/security/asset/services/core_service/src/operations/common/
Dargument_check.rs58 fn check_array_size(tag: &Tag, value: &Value, min: usize, max: usize) -> Result<()> { in check_array_size()
/base/request/request/common/utils/src/
Dlru.rs186 pub fn len(&self) -> usize { in len()
/base/request/request/common/netstack_rs/src/
Dwrapper.rs175 size: usize, in on_data_receive()
257 size: usize, in on_data_receive()
300 unsafe fn SetBody(request: Pin<&mut HttpClientRequest>, data: *const u8, length: usize); in SetBody()

12