Searched refs:remaining (Results 1 - 25 of 26) sorted by relevance

12

/haiku/src/tests/system/kernel/file_corruption/fs/
H A DBlockAllocator.cpp269 uint64 remaining = count; local
290 remaining = count - allocated;
307 while (remaining > 0 && base < searchEnd) {
308 uint64 toAllocate = std::min(remaining, kBlocksPerGroup - groupOffset);
316 remaining -= allocated;
325 if (remaining == count)
328 _allocatedCount = count - remaining;
377 uint64 remaining = count; local
390 || allocated == remaining) {
399 remaining
553 uint32 remaining = count; local
599 uint64 remaining = count; local
640 uint64 remaining = count; local
682 uint32 remaining = count; local
[all...]
/haiku/src/apps/cortex/addons/common/
H A DAudioBuffer.cpp219 uint32 remaining = toCopy; local
224 for(; remaining; remaining -= sampleSize) {
286 size_t remaining = frameCount * channels; local
304 remaining;
305 remaining--, n++, pCur += bytesPerSample) {
339 size_t remaining = frameCount * channels; local
357 remaining;
358 remaining--, n++, pCur += bytesPerSample) {
392 size_t remaining local
449 size_t remaining = frameCount * channels; local
[all...]
H A DRawBuffer.cpp247 uint32 remaining = toCopy; local
250 while(remaining) {
255 if(targetChunk > remaining)
256 targetChunk = remaining;
281 // figure remaining portion of target area to fill
283 remaining -= sourceChunk;
/haiku/src/kits/debugger/dwarf/
H A DAbbreviationTable.cpp92 off_t remaining = abbrevReader.BytesRemaining(); local
122 AbbreviationTableEntry(code, fSize - remaining,
123 remaining - abbrevReader.BytesRemaining());
H A DDwarfFile.cpp264 uint64 remaining = length; local
273 --remaining;
282 remaining -= dataReader.Offset() - offset + 1;
288 --remaining;
301 if (remaining != 0 || dataReader.HasOverflow()) {
304 "%" B_PRIu64 " bytes.\n", length, length - remaining);
1310 TRACE_DIE("remaining bytes in unit: %" B_PRIdOFF "\n",
1361 TRACE_DIE("remaining bytes in unit: %" B_PRIdOFF "\n",
2376 uint64 remaining = lengthOffset + length - dataReader.Offset();
2377 if (remaining <
[all...]
/haiku/src/system/libroot/posix/libstdthreads/
H A Dthrd.c118 thrd_sleep(const struct timespec *duration, struct timespec *remaining) argument
121 return (nanosleep(duration, remaining));
/haiku/src/kits/debugger/files/
H A DFileManager.cpp403 const char* remaining = path.String(); local
405 while (*remaining != '\0') {
407 if (*remaining == '/') {
409 remaining++;
410 while (*remaining == '/')
411 remaining++;
414 if (*remaining == '\0') {
422 if (*remaining == '.') {
423 if (remaining[1] == '\0')
426 if (remaining[
[all...]
/haiku/src/kits/network/libnetservices2/
H A DNetServicesMisc.cpp190 int8 remaining = tmpString.Length(); local
204 switch (remaining) {
/haiku/src/kits/app/
H A DLinkReceiver.cpp80 int32 remaining = fDataSize - (fRecvStart + fReplySize); local
81 STRACE(("info: LinkReceiver GetNextReply() reports %ld bytes remaining in buffer.\n", remaining));
85 if (remaining <= 0) {
89 remaining = fDataSize;
98 if (remaining < (int32)sizeof(message_header)) {
100 STRACE(("error info: LinkReceiver remaining %ld bytes is less than header size.\n", remaining));
106 if (fReplySize > remaining || fReplySize < (int32)sizeof(message_header)) {
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_manage.c232 u16 remaining, i, j, prev_bytes; local
256 remaining = length & 0x3;
257 length -= remaining;
274 if (remaining) {
276 if (j < remaining)
/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp477 // writes complete strips of data plus one strip of remaining data.
514 uint32 remaining = dataSize; local
543 remaining -= inBufferSize;
544 read = inSource->Read(inBuffer, min_c(inBufferSize, remaining));
546 // write the rest of the remaining rows
548 //printf("writing remaining bytes: %ld\n", read);
555 remaining -= read;
578 remaining -= inBufferSize;
579 read = inSource->Read(inBuffer, min_c(inBufferSize, remaining));
581 // write the rest of the remaining row
[all...]
/haiku/src/apps/cortex/ValControl/
H A DValControlDigitSegment.cpp174 float remaining = distance; local
177 remaining = fmod(distance, dragScaleFactor());
197 return remaining;
/haiku/src/add-ons/translators/shared/
H A DBaseTranslator.cpp544 uint32 remaining = B_BENDIAN_TO_HOST_INT32(bitsHeader.dataSize); local
551 remaining -= static_cast<uint32>(writ);
553 remaining));
556 if (remaining > 0)
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_haiku.cpp207 uint16 remaining = ireq.i_len, offset = 0; local
208 for (int i = 0; remaining > 0; i++) {
228 if (remaining < roundedSize)
253 remaining -= sr->isr_len;
/haiku/src/bin/network/telnetd/
H A Dstate.c315 * then treat remaining stream as
1614 int remaining, copied; local
1616 remaining = BUFSIZ - (nfrontp - netobuf);
1619 if ((len > BUFSIZ ? BUFSIZ : len) > remaining) {
1621 remaining = BUFSIZ - (nfrontp - netobuf);
1625 copied = remaining > len ? len : remaining;
1629 remaining -= copied;
/haiku/src/kits/interface/
H A DLayout.cpp204 int32 remaining = BView::Private(child).CountLayoutItems(); local
205 for (int32 i = CountItems() - 1; i >= 0 && remaining > 0; i--) {
215 remaining--;
/haiku/src/add-ons/kernel/network/stack/
H A Dsimple_net_buffer.cpp187 size_t remaining = from->size - offset;
188 uint8* tailData = (uint8*)malloc(remaining);
194 memcpy(tailData, from->data + offset, remaining);
202 from->size = remaining;
/haiku/src/apps/serialconnect/libvterm/src/
H A Dparser.c341 size_t remaining = len - (string_start - bytes); local
342 append_strbuffer(vt, string_start, remaining);
/haiku/src/bin/unzip/
H A Dfileio.c457 * If you need to check the number of bytes remaining in the current
875 extent remaining = rawbuf+(unsigned)size-p; variable
878 if (G.VMS_line_length < remaining) {
879 remaining = G.VMS_line_length;
884 if (remaining >= outroom) {
885 remaining -= outroom;
903 G.VMS_line_length -= remaining;
904 for (;remaining > 0; p++, remaining--)
1360 size = (ulg)(p - q); /* remaining tex
[all...]
/haiku/src/kits/network/libnetservices/
H A DHttpAuthentication.cpp334 int8 remaining = tmpString.Length(); local
348 switch (remaining) {
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp602 TRACE("%p: status %s, remaining bytes %" B_PRIuGENADDR "\n", request,
759 int32 remaining = nvme_request.iovec_count; local
760 while (remaining > 0) {
761 nvme_request.iovec_count = min_c(remaining,
783 remaining -= nvme_request.iovec_count;
/haiku/src/servers/net/
H A DDHCPClient.cpp460 bigtime_t remaining = (stateMaxTime - now) / 2 + 1;
461 timeout = std::max(remaining, bigtime_t(AS_USECS(60)));
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp991 size_t remaining = transfer->FragmentLength(); local
993 int32 trbLength = (remaining < trbSize) ? remaining : trbSize;
994 remaining -= trbLength;
997 // remaining maximum-size *packets* in this TD, *not* including the
999 // than 31 packets remaining in the TD. (XHCI 1.2 �� 4.11.2.4 p218.)
1000 int32 tdSize = (remaining + maxPacketSize - 1) / maxPacketSize;
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp2815 // * The remaining pages are cachable. Thus, if unmodified they go to
3558 uint32 remaining = reserve_pages(count, priority, true); local
3559 if (remaining == 0) {
3565 unreserve_pages(count - remaining);
/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex542 not dividable by four, the remaining bytes are interpreted as the lower

Completed in 683 milliseconds

12