/haiku/src/kits/tracker/ |
H A D | FSUtils.cpp | 1482 ssize_t bytes = srcFile.Read(buffer, bufsize); local 1484 if (bytes > 0) { 1486 if (bytes > 32* 1024) { 1489 updateBytes = bytes / 2; 1493 loopControl->ChecksumChunk(buffer, (size_t)bytes); 1495 ssize_t result = destFile.Write(buffer, (size_t)bytes); 1496 if (result != bytes) { 1506 loopControl->UpdateStatus(NULL, ref, bytes - updateBytes, 1508 } else if (bytes < 0) { 1510 throw (status_t)bytes; 1578 ssize_t bytes; local 1985 ssize_t bytes; local [all...] |
H A D | Tracker.cpp | 500 ssize_t bytes; local 502 (const void**)&itemNode, &bytes) == B_OK) {
|
H A D | PoseView.cpp | 6628 BPoseView::KeyDown(const char* bytes, int32 count) argument 6630 char key = bytes[0]; 6723 _inherited::KeyDown(bytes, count); 6829 fFilterStrings.LastItem()->AppendChars(bytes, 1); 6830 fCountView->AddFilterCharacter(bytes); 6856 sMatchString.AppendChars(bytes, 1); 6858 sMatchString.SetToChars(bytes, 1);
|
/haiku/src/apps/softwareupdater/ |
H A D | UpdateManager.cpp | 250 float completionValue, off_t bytes, off_t totalBytes) 249 ProgressPackageDownloadActive(const char* packageName, float completionValue, off_t bytes, off_t totalBytes) argument
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_socket.cpp | 1204 // TODO: - returning a NULL buffer when received 0 bytes 1382 size_t bytes = length; local 1383 if (buffer->size + bytes > socket->send.buffer_size) 1384 bytes = socket->send.buffer_size - buffer->size; 1386 if (gNetBufferModule.append(buffer, data, bytes) < B_OK) { 1391 if (bytes != length) { 1393 vecOffset = bytes;
|
H A D | datalink.cpp | 199 atomic_add64((int64*)&device->stats.send.bytes, packetSize); 370 //dprintf("send buffer (%ld bytes) to interface %s (route flags %lx)\n",
|
/haiku/headers/private/net/ |
H A D | NetBufferUtilities.h | 115 void Remove(size_t bytes) argument 118 Module::Get()->remove_header(this->fBuffer, bytes);
|
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | pcm.c | 285 /* lower nybble = bytes per sample */ 757 ((sv_timing *)data)->bytes = port->rd_total; 773 ((sv_timing *)data)->bytes = port->wr_total; 1414 case 0x11: /* bytes */ 1459 int to_write = *nwritten; /* in play bytes, not input bytes! */ 1537 case 0x11: /* bytes */
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 1826 // bytes left of the current iovec 1837 // actually available bytes 1849 fssh_size_t bytes = size; local 1852 tempCount, &bytes); 1855 tempCount, &bytes); 1860 totalSize += bytes; 1865 if (size != bytes || vecIndex >= vecCount) { 1866 // there are no more bytes or iovecs, let's bail out
|
/haiku/src/bin/pkgman/ |
H A D | PackageManager.cpp | 192 float completionPercentage, off_t bytes, off_t totalBytes) 194 if (bytes == totalBytes) 200 if (bytes <= fLastBytes || (system_time() - fLastRateCalcTime) < 500000) 205 fDownloadRate = (bytes - fLastBytes) * 1000000 209 fLastBytes = bytes; 233 string_for_size(bytes, byteBuffer, sizeof(byteBuffer)), 191 ProgressPackageDownloadActive(const char* packageName, float completionPercentage, off_t bytes, off_t totalBytes) argument
|
H A D | PackageManager.h | 51 off_t bytes, off_t totalBytes);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 283 size_t bytes = bytesLeft; local 285 fileVecCount, vecs, count, &vecIndex, &vecOffset, &bytes); 289 pos += bytes; 290 bytesLeft -= bytes; 1106 INFORM("\tblock size: %u bytes\n", (unsigned)super.BlockSize()); 1107 INFORM("\tsector size: %u bytes\n", (unsigned)super.SectorSize());
|
/haiku/src/preferences/filetypes/ |
H A D | IconView.h | 97 virtual void KeyDown(const char* bytes, int32 numBytes);
|
H A D | IconView.cpp | 958 IconView::KeyDown(const char* bytes, int32 numBytes) argument 961 switch (bytes[0]) { 973 BControl::KeyDown(bytes, numBytes);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 3430 zero_iovecs(const iovec* vecs, size_t vecCount, size_t bytes) argument 3432 for (size_t i = 0; i < vecCount && bytes > 0; i++) { 3433 size_t length = std::min(vecs[i].iov_len, bytes); 3435 bytes -= length; 3539 // bytes left of the current iovec 3550 // actually available bytes 3562 size_t bytes = size; local 3570 zero_iovecs(tempVecs, tempCount, bytes); 3575 tempVecs, tempCount, &bytes); 3578 tempVecs, tempCount, &bytes); [all...] |
/haiku/src/apps/terminal/ |
H A D | TermViewStates.cpp | 109 TermView::State::KeyDown(const char* bytes, int32 numBytes) argument 197 TermView::DefaultState::KeyDown(const char* bytes, int32 numBytes) argument 215 const char* bytes; local 225 bytes = (const char*)&rawChar; 228 bytes = &fView->fKeymapChars[(*keymapTable)[key]]; 229 numBytes = *(bytes++); 238 const char* toWrite = bytes; 243 char byte = *bytes | 0x80; 268 convert_from_utf8(fView->fEncoding, bytes, &numBytes, destBuffer, 276 fView->fShell->Write(bytes, numByte [all...] |
/haiku/src/apps/webpositive/ |
H A D | URLInputGroup.cpp | 154 virtual void KeyDown(const char* bytes, int32 numBytes); 269 URLInputGroup::URLTextView::KeyDown(const char* bytes, int32 numBytes) argument 271 switch (bytes[0]) { 273 BView::KeyDown(bytes, numBytes); 289 BTextView::KeyDown(bytes, numBytes);
|
/haiku/src/apps/deskcalc/ |
H A D | ExpressionTextView.cpp | 73 ExpressionTextView::KeyDown(const char* bytes, int32 numBytes) argument 76 if (bytes[0] == B_UP_ARROW) { 80 if (bytes[0] == B_DOWN_ARROW) { 87 if (bytes[0] == '=') 89 else if (bytes[0] != B_TAB) 90 InputTextView::KeyDown(bytes, numBytes); 93 if (fKeypadLabels.FindFirst(bytes[0]) >= 0) 94 fCalcView->FlashKey(bytes, numBytes); 95 else if (bytes[0] == B_BACKSPACE) 355 const char bytes[ local [all...] |
H A D | CalcView.cpp | 665 CalcView::KeyDown(const char* bytes, int32 numBytes) argument 670 //printf("Key pressed: %c\n", bytes[0]); 672 switch (bytes[0]) { 707 if (fKeypad[i].keymap[0] == bytes[0]) { 971 CalcView::FlashKey(const char* bytes, int32 numBytes) argument 974 temp.Append(bytes, numBytes);
|
H A D | CalcView.h | 60 virtual void KeyDown(const char* bytes, int32 numBytes); 83 void FlashKey(const char* bytes, int32 numBytes);
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 173 virtual void KeyDown(const char* bytes, int32 numBytes); 1900 TIconView::KeyDown(const char* /*bytes*/, int32 /*numBytes*/)
|
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 483 size_t bytes = area_page_protections_size(area->Size()); local 484 area->page_protections = (uint8*)malloc_etc(bytes, 494 bytes); 543 size_t bytes = area_page_protections_size(areaSize); local 544 return (uint8*)realloc_etc(pageProtections, bytes, allocationFlags); 767 size_t bytes = area_page_protections_size(area->Size()); local 768 memcpy(newProtections, area->page_protections, bytes); 2807 size_t bytes = area_page_protections_size(source->Size()); local 2808 targetPageProtections = (uint8*)malloc_etc(bytes, 2815 memcpy(targetPageProtections, source->page_protections, bytes); 5437 size_t bytes = area_page_protections_size(newSize); local 6186 addr_t bytes = min_c(numBytes - offset, B_PAGE_SIZE); local [all...] |
/haiku/src/kits/interface/ |
H A D | Menu.cpp | 510 BMenu::KeyDown(const char* bytes, int32 numBytes) argument 513 switch (bytes[0]) { 523 _SelectNextItem(fSelected, bytes[0] == B_DOWN_ARROW); 577 int32 deltaY = bytes[0] == B_PAGE_UP ? -1 : 1; 608 uint32 trigger = BUnicodeChar::FromUTF8(&bytes);
|
/haiku/src/bin/listusb/ |
H A D | usb_audio.cpp | 403 return freq.bytes[0] | freq.bytes[1] << 8 | freq.bytes[2] << 16;
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | AudioStreamingInterface.cpp | 119 return freq.bytes[0] | freq.bytes[1] << 8 | freq.bytes[2] << 16; 128 freq.bytes[i] = 0xFF & samplingRate >> 8 * i;
|