/haiku/src/kits/interface/ |
H A D | Control.cpp | 282 BControl::KeyDown(const char* bytes, int32 numBytes) argument 284 if (*bytes == B_ENTER || *bytes == B_SPACE) { 291 BView::KeyDown(bytes, numBytes);
|
H A D | AbstractSpinner.cpp | 194 virtual void KeyDown(const char* bytes, int32 numBytes); 560 SpinnerTextView::KeyDown(const char* bytes, int32 numBytes) argument 563 BTextView::KeyDown(bytes, numBytes); 567 switch (bytes[0]) { 574 fParent->KeyDown(bytes, numBytes); 583 BTextView::KeyDown(bytes, numBytes); 590 BTextView::KeyDown(bytes, numBytes); 599 BTextView::KeyDown(bytes, numBytes); 606 BTextView::KeyDown(bytes, numBytes); 610 BTextView::KeyDown(bytes, numByte [all...] |
H A D | RadioButton.cpp | 166 BRadioButton::KeyDown(const char* bytes, int32 numBytes) argument 171 switch (bytes[0]) { 184 BControl::KeyDown(bytes, numBytes);
|
/haiku/src/apps/haikudepot/packagemanagement/ |
H A D | PackageManager.h | 82 off_t bytes, off_t totalBytes);
|
/haiku/src/system/kernel/fs/ |
H A D | fifo.cpp | 183 void NotifyBytesRead(size_t bytes); 185 void NotifyBytesWritten(size_t bytes); 379 /*! Writes the specified data bytes to the inode's ring buffer. The 395 TRACE("Inode %p::WriteDataToBuffer(data = %p, bytes = %zu)\n", this, data, 398 // A request up to VFS_FIFO_ATOMIC_WRITE_SIZE bytes shall not be 549 Inode::NotifyBytesRead(size_t bytes) argument 553 if (bytes > 0) { 555 if (writable == bytes) { 568 && minWriteCount > writable - bytes) { 589 Inode::NotifyBytesWritten(size_t bytes) argument [all...] |
/haiku/headers/os/interface/ |
H A D | PictureButton.h | 52 virtual void KeyDown(const char* bytes, int32 numBytes);
|
H A D | Slider.h | 70 virtual void KeyDown(const char* bytes, int32 numBytes); 71 virtual void KeyUp(const char* bytes, int32 numBytes);
|
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | Stream.cpp | 146 // bytes from disk, i.e. the small data region is not in memory. 393 int32 bytes = run.Length() << blockShift; local 394 length -= bytes; 395 bytesRead += bytes; 399 pos += bytes;
|
/haiku/src/system/boot/loader/file_systems/fat/ |
H A D | Stream.cpp | 328 int32 bytes = fVolume.BlockSize(); local 329 length -= bytes; 330 bytesRead += bytes; 334 pos += bytes;
|
/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;
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BPlusTree.cpp | 245 // Since BFS supports block sizes of 1024 bytes or greater, and the node size 246 // is hard-coded to 1024 bytes, that's not an issue now. 1440 // "bytes" is the number of bytes written for the new key, 1441 // "bytesBefore" are the bytes before that key 1442 // "bytesAfter" are the bytes after the new key, if any 1443 int32 bytes = 0, bytesBefore = 0, bytesAfter = 0; local 1451 if (in == keyIndex && !bytes) { 1452 bytes = *_keyLength; 1463 if (key_align(sizeof(bplustree_node) + bytes [all...] |
/haiku/src/system/kernel/debug/ |
H A D | gdb.cpp | 145 gdb_memreply(char const* bytes, int numbytes) argument 153 sprintf(sReply + 1 + 2 * i, "%02x", (uint8)bytes[i]); 260 // number of bytes.
|
/haiku/src/tests/system/boot/heap/ |
H A D | heapTest.cpp | 92 test_malloc(size_t bytes) argument 94 return heap_malloc(bytes); 125 printf("* random allocations (up to %ld bytes)\n", maxSize); 137 printf( "%ld. allocating %ld bytes failed (%ld bytes total allocated, " 148 printf("\t%ld bytes allocated\n", total); 175 puts("* simple allocation of 100 * 128 bytes"); 222 printf("\tallocation %ld failed - could allocate %ld bytes (64th should fail).\n", i + 1, (kHeapSize / 64) * (i + 1));
|
/haiku/src/system/runtime_loader/ |
H A D | heap.cpp | 184 /*! Returns the amount of bytes that can be allocated 286 grow_heap(size_t bytes) argument 288 return add_area(align(align(sizeof(Chunk)) + bytes, kHeapGrowthAlignment)); 333 // align the size requirement to a kAlignment bytes boundary
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | tracing.c | 275 \param cmd: array of bytes to be traced. typically pointer SCSI command buffer 292 usb_scsi_trace_bytes(prefix, cmd, len); /* append command bytes to log */ 296 \param bytes:array of bytes to be traced. 297 \param bytes_len: size of buffer in bytes parameter 298 traces buffer bytes one by one into debug output target. 301 usb_scsi_trace_bytes(const char *prefix, const uint8 *bytes, size_t bytes_len) argument 312 sprintf(p, " %02x", bytes[i]); 321 "memory for tracing %d bytes\n", len); 351 TRACE_ALWAYS("usb_scsi_trace_sgb:error allocate sgb for %d bytes\ [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | win32_io.c | 52 char data4[8]; /* The first two bytes are the third group of four 53 hexadecimal digits. The remaining six bytes are the 752 u64 bytes; local 779 (void*)&bytes, sizeof(bytes)); 781 fd->geo_size = bytes; 782 fd->geo_sectors = bytes/geo.BytesPerSector; 810 DWORD bytes; local 815 &bytes, (LPOVERLAPPED)NULL); 1325 * @count: how many bytes shoul 1345 s64 bytes; local 1971 DWORD bytes; local [all...] |
/haiku/src/tests/add-ons/kernel/network/ |
H A D | userland_ipc.c | 213 ssize_t bytes = read_port(cookie->localPort,&index,NULL,0); local 214 if (bytes < B_OK) 538 ssize_t bytes = read_port(gStackPort, &msg, &port, sizeof(port_id)); local 539 if (bytes < B_OK) 540 return bytes;
|
/haiku/src/add-ons/translators/stxt/ |
H A D | STXTTranslator.cpp | 216 least DATA_BUFFER_SIZE bytes large) 217 \param nread number of bytes that have already been read from the stream 362 // text_data_size, number of bytes in data section 425 // text_size, size in bytes of the text in 596 size_t bytes; local 599 bytes = bytesLeft; 601 status = codec.Decode(pos, bytes, 616 pos += bytes; 617 bytesLeft -= bytes;
|
/haiku/src/apps/mail/ |
H A D | AddressTextControl.cpp | 51 virtual void KeyDown(const char* bytes, int32 numBytes); 221 AddressTextControl::TextView::KeyDown(const char* bytes, int32 numBytes) argument 223 switch (bytes[0]) { 225 BView::KeyDown(bytes, numBytes); 239 BTextView::KeyDown(bytes, numBytes);
|
/haiku/src/servers/mail/ |
H A D | MailDaemonApplication.cpp | 55 bytes = 0; 59 off_t bytes; member in struct:send_mails_info 560 if (info.bytes == 0) 563 protocol->SendMessages(info.files, info.bytes); 870 info.bytes += size;
|
/haiku/src/apps/debugger/user_interface/gui/inspector_window/ |
H A D | MemoryView.cpp | 330 MemoryView::KeyDown(const char* bytes, int32 numBytes) argument 342 switch(bytes[0]) { 401 if (fEditMode && isxdigit(bytes[0])) 404 if (isdigit(bytes[0])) 405 value = bytes[0] - '0'; 407 value = (int)strtol(bytes, NULL, 16); 458 BView::KeyDown(bytes, numBytes);
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 201 static int on_text(const char bytes[], size_t len, void *user) argument 215 !(bytes[eaten] & 0x80) ? &state->encoding[state->gl_set] : 221 bytes, &eaten, len); 575 static int on_escape(const char *bytes, size_t len, void *user) argument 582 switch(bytes[0]) { 587 switch(bytes[1]) { 605 switch(bytes[1]) { 650 int setnum = bytes[0] - 0x28; 651 VTermEncoding *newenc = vterm_lookup_encoding(ENC_SINGLE_94, bytes[1]);
|
/haiku/src/preferences/locale/ |
H A D | LanguageListView.cpp | 494 LanguageListView::KeyDown(const char* bytes, int32 numBytes) argument 496 if (bytes[0] == B_DELETE && fDeleteMessage != NULL) { 501 BOutlineListView::KeyDown(bytes, numBytes);
|
/haiku/src/apps/installer/ |
H A D | CopyEngine.cpp | 94 // TODO: One could subtract the bytes/items which were added to the 466 // we have read 0 bytes! 515 off_t bytes = 0; local 517 bytes = fBytesRead - fLastBytesRead; 521 fProgressReporter->ItemsWritten(items, bytes, fCurrentItem,
|
/haiku/src/tests/kits/app/broster/ |
H A D | GetRecentTester.cpp | 205 ssize_t bytes = node.WriteAttr(kSigAttr, B_MIME_STRING_TYPE, 0, sig, strlen(sig)+1); local 206 if (bytes >= 0) 207 err = bytes == (ssize_t)strlen(sig)+1 ? B_OK : B_FILE_ERROR; 209 err = bytes; 219 ssize_t bytes = node.WriteAttr(kFlagsAttr, kFlagsType, 0, flags, sizeof(int32)); local 220 if (bytes >= 0) 221 err = bytes == sizeof(int32) ? B_OK : B_FILE_ERROR; 223 err = bytes; 1404 ssize_t bytes = file.WriteAttr(kTypeAttr, B_MIME_STRING_TYPE, 0, local 1406 if (bytes > [all...] |