Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Dbuilder.rs81 let total_bytes = reader.total_bytes(); in multipart() localVariable
85 config: UploadConfig { total_bytes }, in multipart()
188 pub fn total_bytes(mut self, total_bytes: Option<u64>) -> Self { in total_bytes() method
189 self.state.config.total_bytes = total_bytes; in total_bytes()
H A Dmod.rs147 this.config.total_bytes, in poll_read()
188 total_bytes: Option<u64>, field
H A Dmultipart.rs100 pub fn total_bytes(&self) -> Option<u64> { in total_bytes() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Dbuilder.rs82 let total_bytes = reader.total_bytes(); in multipart() localVariable
86 config: UploadConfig { total_bytes }, in multipart()
192 pub fn total_bytes(mut self, total_bytes: Option<u64>) -> Self { in total_bytes() method
193 self.state.config.total_bytes = total_bytes; in total_bytes()
H A Dmod.rs147 this.config.total_bytes, in poll_read()
188 total_bytes: Option<u64>, field
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/
H A Dmod.rs220 .progress(info.downloaded_bytes, info.total_bytes) in show_progress()
228 pub(crate) total_bytes: Option<u64>,
232 fn new(total_bytes: Option<u64>) -> Self { in new()
236 total_bytes, in new()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dmod.rs219 .progress(info.downloaded_bytes, info.total_bytes) in show_progress()
227 pub(crate) total_bytes: Option<u64>,
231 fn new(total_bytes: Option<u64>) -> Self { in new()
235 total_bytes, in new()
/ohos5.0/base/web/webview/interfaces/kits/napi/protos/
H A Dweb_download.proto39 optional int64 total_bytes = 4; field
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
H A Dsimple.rs100 pub fn total_bytes(&self) -> Option<u64> { in total_bytes() method
686 assert_eq!(mp.total_bytes(), Some(2 + mp.boundary().len() as u64 + 4)); in ut_multipart_set()
696 mp.total_bytes(), in ut_multipart_set()
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Drequest.rs212 if let Some(size) = body.as_ref().total_bytes() { in multipart()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Drequest.rs221 if let Some(size) = multipart.multipart().total_bytes() { in body()
/ohos5.0/base/request/request/services/src/task/
H A Dupload.rs166 .total_bytes(Some(upload_length)) in build_stream_request()
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_web_download_item.cpp765 webDownloadItem->totalBytes = webDownloadPb.total_bytes(); in JS_Deserialize()