/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/ |
H A D | percent_encoding.rs | 59 remaining: origin.chars(), in parse() 62 let remaining = encoder.parse_double_slash(remaining)?; in parse() localVariable 63 let remaining = encoder.parse_userinfo(remaining)?; in parse() localVariable 64 let remaining = encoder.parse_authority(remaining)?; in parse() localVariable 65 let remaining = encoder.parse_path(remaining)?; in parse() localVariable 149 Ok(remaining) in parse_userinfo() 205 remaining = chars; in parse_query_and_fragment() 209 remaining = origin; in parse_query_and_fragment() 294 remaining: Chars<'a>, field 304 self.remaining in first_valid() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/ |
H A D | read_buf.rs | 93 let rsize = std::cmp::min(n, self.remaining()); in take() 138 pub fn remaining(&self) -> usize { in remaining() method 150 let remaining = self.remaining(); in initialize_unfilled_to() localVariable 151 …assert!(n <= remaining, "overflowed: try to initialize more bytes than the buffer's capacity, n: {… in initialize_unfilled_to() 169 self.initialize_unfilled_to(self.remaining()) in initialize_unfilled() 231 let remaining = self.remaining(); in append() localVariable 233 buf.len() <= remaining, in append() 236 remaining in append()
|
H A D | stdio.rs | 59 let len = cmp::min(buf.remaining(), MAX_BUF); in set_len() 75 let n = cmp::min(self.len(), buf.remaining()); in clone_into()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/process_group/src/ |
H A D | process_group_util.cpp | 85 ssize_t remaining = sb.st_size; in ReadFileToString() local 89 while (remaining > 0) { in ReadFileToString() 90 ssize_t n = read(fd, p, remaining); in ReadFileToString() 96 remaining -= n; in ReadFileToString() 138 size_t remaining = content.size(); in WriteStringToFile() local 139 while (remaining > 0) { in WriteStringToFile() 140 ssize_t n = write(fd, p, remaining); in WriteStringToFile() 145 remaining -= n; in WriteStringToFile()
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/ |
H A D | main.cpp | 67 size_t remaining = content.size(); in WriteStringToFile() local 68 while (remaining > 0) { in WriteStringToFile() 69 ssize_t n = write(fd, p, remaining); in WriteStringToFile() 74 remaining -= static_cast<size_t>(n); in WriteStringToFile()
|
H A D | log_compress.cpp | 162 size_t const remaining = ZSTD_compressStream2(cctx, &output, &input, mode); in Compress() local 167 finished = flag ? (remaining == 0) : (input.pos == input.size); in Compress()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
H A D | file_buf.rs | 33 pub(crate) fn remaining(&self) -> usize { in remaining() method 38 let n = std::cmp::min(self.remaining(), buf.remaining()); in append_to()
|
/ohos5.0/docs/en/application-dev/task-management/ |
H A D | transient-task.md | 15 …nymore. The system also provides an API for an application to query the remaining duration of a tr… 38 | getRemainingDelayTime(requestId: number): Promise<number> | Obtains the remaining time of a… 72 …remaining time of the transient task. Based on the remaining time, the application determines whet… 79 console.info('Succeeded in getting remaining delay time.'); 81 … console.error(`Failed to get remaining delay time. Code: ${err.code}, message: ${err.message}`);
|
H A D | native-transient-task.md | 15 …emainingDelayTime(int32_t requestId, int32_t *delayTime); | Obtains the remaining time of a transi… 49 // Obtain the remaining time. 137 Button('Obtain remaining time').onClick(event =>{ 185 3. Touch the **Obtain remaining time** button. The console prints a log. The following is an exampl…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-renderfit.md | 50 …en there is remaining space in the width direction of the component, the content is left-aligned w… 51 …en there is remaining space in the width direction of the component, the content is right-aligned … 53 …is remaining space in the width direction, the content is left-aligned with the component, so that… 54 …s remaining space in the width direction, the content is right-aligned with the component, so that…
|
H A D | ts-universal-attributes-flex-layout.md | 30 Sets the percentage of the parent container's remaining space that is allocated to the component. 42 | value | number | Yes | Percentage of the parent container's remaining space that is allocated t… 110 // flexGrow() indicates the percentage of the remaining space allocated to the component. 113 ….flexGrow(2) // The width allocated to the Text component is 2/3 of the remaining width of the par… 118 ….flexGrow(1) // The width allocated to the Text component is 1/3 of the remaining width of the par…
|
/ohos5.0/base/update/updater/utils/ |
H A D | utils.cpp | 310 size_t remaining = size; in ReadFully() local 311 while (remaining > 0) { in ReadFully() 312 ssize_t sread = read(fd, p, remaining); in ReadFully() 322 remaining -= static_cast<size_t>(sread); in ReadFully() 336 while (remaining > 0) { in ReadFileToString() 337 n = read(fd, p, remaining); in ReadFileToString() 342 remaining -= static_cast<size_t>(n); in ReadFileToString() 350 size_t remaining = content.size(); in WriteStringToFile() local 351 while (remaining > 0) { in WriteStringToFile() 352 ssize_t n = write(fd, p, remaining); in WriteStringToFile() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/ |
H A D | downloader.cpp | 282 int64_t remaining = static_cast<int64_t>(currentRequest_->headerInfo_.fileContentLen) - in HandleRetOK() local 284 if (currentRequest_->headerInfo_.fileContentLen > 0 && remaining <= 0) { // 检查是否播放结束 in HandleRetOK() 294 if (currentRequest_->headerInfo_.fileContentLen == 0 && remaining <= 0) { in HandleRetOK() 303 if (remaining < PER_REQUEST_SIZE) { in HandleRetOK() 304 currentRequest_->requestSize_ = remaining; in HandleRetOK()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | key_backup.cpp | 635 ssize_t remaining = sb.st_size; in ReadFileToString() local 639 while (remaining > 0) { in ReadFileToString() 640 ssize_t n = read(fd, p, remaining); in ReadFileToString() 646 remaining -= n; in ReadFileToString() 666 size_t remaining = content.size(); in WriteStringToFd() local 667 while (remaining > 0) { in WriteStringToFd() 668 ssize_t n = write(fd, p, remaining); in WriteStringToFd() 673 remaining -= n; in WriteStringToFd()
|
/ohos5.0/docs/zh-cn/application-dev/task-management/ |
H A D | transient-task.md | 78 console.info('Succeeded in getting remaining delay time.'); 80 … console.error(`Failed to get remaining delay time. Code: ${err.code}, message: ${err.message}`);
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-basic-softtimer.md | 24 - Obtaining the number of remaining ticks of a software timer 73 | Obtaining remaining ticks of a software timer| **LOS_SwtmrTimeGet**: obtains the remaining ticks … 91 4. Call **LOS_SwtmrTimeGet** to obtain the remaining number of ticks of the software timer. 163 …LOS_SwtmrTimeGet(id1, &uwTick); // Obtain the number of remaining ticks of the one-short software …
|
H A D | kernel-mini-basic-soft.md | 22 - Obtaining the number of remaining ticks of a software timer 71 | Obtaining remaining ticks of a software timer| **LOS_SwtmrTimeGet**: obtains the remaining ticks … 89 4. Call **LOS_SwtmrTimeGet** to obtain the remaining number of ticks of the software timer.
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-system-battery.md | 3 The **battery** module allows you to query the charging status and remaining power of a device. 59 Defines a response that returns the charging status and remaining power of the device.
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/ |
H A D | drawing_playback.cpp | 75 ssize_t remaining = static_cast<ssize_t>(str.size()); in WriteStringToFilefd() local 76 while (remaining > 0) { in WriteStringToFilefd() 77 ssize_t n = write(fd, p, remaining); in WriteStringToFilefd() 82 remaining -= n; in WriteStringToFilefd()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/ |
H A D | downloader.cpp | 609 int64_t remaining = 0; in HandleRetOK() local 611 remaining = static_cast<int64_t>(currentRequest_->headerInfo_.fileContentLen) - in HandleRetOK() 614 remaining = currentRequest_->endPos_ - currentRequest_->startPos_ + 1; in HandleRetOK() 616 …if (currentRequest_->headerInfo_.fileContentLen > 0 && remaining <= 0) { // Check whether the play… in HandleRetOK() 622 if (currentRequest_->headerInfo_.fileContentLen == 0 && remaining <= 0) { in HandleRetOK() 628 if (remaining < PER_REQUEST_SIZE) { in HandleRetOK() 629 currentRequest_->requestSize_ = remaining; in HandleRetOK()
|
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/ |
H A D | _transient_task.md | 48 …ainingdelaytime) (int32_t requestId, int32_t \*delayTime) | Obtains the remaining time of a transi… 164 Obtains the remaining time of a transient task. 175 | time | Pointer to the remaining time. |
|
H A D | transient__task__api_8h.md | 25 …ainingdelaytime) (int32_t requestId, int32_t \*delayTime) | Obtains the remaining time of a transi…
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/buffered/ |
H A D | async_buf_reader.rs | 186 if self.filled == self.pos && buf.remaining() >= self.buf.len() { in poll_read() 192 let r_len = cmp::min(rem.len(), buf.remaining()); in poll_read()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/ |
H A D | http2.rs | 253 let unfilled_len = buf.remaining(); in match_channel_message() 313 let unfilled_len = buf.remaining(); in read_remaining_data() 352 if buf.remaining() == 0 || text_io.is_closed { in poll_read() 355 while buf.remaining() != 0 { in poll_read()
|
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/ |
H A D | raw__file_8h.md | 43 …nglength) (const [RawFile](rawfile.md#rawfile) \*rawFile) | Obtains the remaining length of the ra… 51 …th64) (const [RawFile64](rawfile.md#rawfile64) \*rawFile) | Obtains the remaining length of a larg…
|