/haiku/docs/develop/kits/storage/resources/ |
H A D | ResourcesFormat.tex | 542 not dividable by four, the remaining bytes are interpreted as the lower
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | simple_net_buffer.cpp | 187 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/cortex/addons/common/ |
H A D | RawBuffer.cpp | 247 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;
|
H A D | AudioBuffer.cpp | 219 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...] |
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | parser.c | 341 size_t remaining = len - (string_start - bytes); local 342 append_strbuffer(vt, string_start, remaining);
|
/haiku/src/bin/unzip/ |
H A D | fileio.c | 457 * 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/app/ |
H A D | LinkReceiver.cpp | 80 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/kits/debugger/files/ |
H A D | FileManager.cpp | 403 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/interface/ |
H A D | Layout.cpp | 204 int32 remaining = BView::Private(child).CountLayoutItems(); local 205 for (int32 i = CountItems() - 1; i >= 0 && remaining > 0; i--) { 215 remaining--;
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | BlockAllocator.cpp | 269 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/add-ons/kernel/busses/usb/ |
H A D | xhci.cpp | 991 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/add-ons/kernel/drivers/disk/nvme/ |
H A D | nvme_disk.cpp | 602 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/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_manage.c | 232 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/shared/ |
H A D | BaseTranslator.cpp | 544 uint32 remaining = B_BENDIAN_TO_HOST_INT32(bitsHeader.dataSize); local 551 remaining -= static_cast<uint32>(writ); 553 remaining)); 556 if (remaining > 0)
|
/haiku/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 477 // 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 D | ValControlDigitSegment.cpp | 174 float remaining = distance; local 177 remaining = fmod(distance, dragScaleFactor()); 197 return remaining;
|
/haiku/src/bin/network/telnetd/ |
H A D | state.c | 315 * 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/debugger/dwarf/ |
H A D | AbbreviationTable.cpp | 92 off_t remaining = abbrevReader.BytesRemaining(); local 122 AbbreviationTableEntry(code, fSize - remaining, 123 remaining - abbrevReader.BytesRemaining());
|
H A D | DwarfFile.cpp | 264 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/kits/network/libnetservices/ |
H A D | HttpAuthentication.cpp | 334 int8 remaining = tmpString.Length(); local 348 switch (remaining) {
|
/haiku/src/kits/network/libnetservices2/ |
H A D | NetServicesMisc.cpp | 190 int8 remaining = tmpString.Length(); local 204 switch (remaining) {
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 3804 _ring_peek_one(struct ifmp_ring *r, int cidx, int offset, int remaining) argument 3814 if (remaining > 1) {
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_haiku.cpp | 207 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/servers/net/ |
H A D | DHCPClient.cpp | 460 bigtime_t remaining = (stateMaxTime - now) / 2 + 1; 461 timeout = std::max(remaining, bigtime_t(AS_USECS(60)));
|
/haiku/src/system/kernel/vm/ |
H A D | vm_page.cpp | 2815 // * 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);
|