/haiku/src/kits/mail/ |
H A D | MailComponent.cpp | 605 int32 bytes; 606 if ((bytes = raw_data->Read(buffer, raw_length)) < 0) 609 char* string = decoded.LockBuffer(bytes + 1); 610 bytes = decode(encoding, string, buffer, bytes, 0); 615 // for UTF-16 because \r takes up two bytes rather than one. 618 char* end = string + bytes; 624 bytes = decoded.Length(); // Might have shrunk a bit. 639 int32 destLength = bytes * 3 /* in case it grows */ + 1 /* +1 so it isn't zero which crashes */; 641 mail_convert_to_utf8(charset, decoded.String(), &bytes, strin [all...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | pages_io_test.cpp | 297 const iovec *vecs, size_t count, size_t *bytes, bool kernel) 299 printf("read offset %lld, length %lu\n", offset, *bytes); 310 const iovec *vecs, size_t count, size_t *bytes, bool kernel) 312 printf("write offset %lld, length %lu\n", offset, *bytes); 566 // bytes left of the current iovec 577 // actually available bytes 589 size_t bytes = size; local 592 fileOffset, tempVecs, tempCount, &bytes, false); 595 fileOffset, tempVecs, tempCount, &bytes, false); 600 totalSize += bytes; 296 vfs_read_pages(void *device, void *cookie, off_t offset, const iovec *vecs, size_t count, size_t *bytes, bool kernel) argument 309 vfs_write_pages(void *device, void *cookie, off_t offset, const iovec *vecs, size_t count, size_t *bytes, bool kernel) argument [all...] |
/haiku/src/preferences/keymap/ |
H A D | Keymap.cpp | 372 const char* bytes, int32 numBytes) 379 numBytes = strlen(bytes); 383 if (_SetChars(offset, bytes, numBytes)) { 419 Keymap::_SetChars(int32 offset, const char* bytes, int32 numBytes) 424 && !memcmp(&fChars[offset + 1], bytes, numBytes)) { 461 memcpy(&fChars[offset + 1], bytes, numBytes);
|
/haiku/src/apps/mail/ |
H A D | Enclosures.cpp | 390 TListView::KeyDown(const char *bytes, int32 numBytes) argument 392 BListView::KeyDown(bytes,numBytes); 394 if (numBytes == 1 && *bytes == B_DELETE) 474 off_t bytes; local 475 file.GetSize(&bytes); 477 string_for_size(bytes, size, sizeof(size));
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | KLSI.cpp | 143 size_t bytes = B_LENDIAN_TO_HOST_INT16(*(uint16 *)(*buffer)); local 144 *numBytes = MIN(bytes, *numBytes - 2);
|
/haiku/src/system/libroot/os/arch/arm/ |
H A D | stdatomic.c | 427 } bytes; local 430 bytes.in = val; 431 r->v8[offset] = bytes.out[0]; 432 r->v8[offset + 1] = bytes.out[1]; 442 } bytes; local 445 bytes.in[0] = r->v8[offset]; 446 bytes.in[1] = r->v8[offset + 1]; 447 return (bytes.out);
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | vterm_internal.h | 151 /* len == malloc()ed size; cur == number of valid bytes */ 168 const char bytes[], size_t *pos, size_t len); 179 void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len);
|
/haiku/src/kits/media/legacy/ |
H A D | OldAudioModule.h | 75 static bool _WriteDAC(void* arg, char* buf, uint32 bytes, void* header); 129 static bool _ReadADC(void* arg, char* buf, uint32 bytes, void* header);
|
H A D | OldAudioModule.cpp | 259 BDACRenderer::_WriteDAC(void *arg, char *buf, uint32 bytes, void *header) argument 419 BADCSource::_ReadADC(void *arg, char *buf, uint32 bytes, void *header) argument
|
H A D | OldBufferStreamManager.cpp | 76 BBufferStreamManager::SetBufferSize(int32 bytes) argument
|
/haiku/headers/os/interface/ |
H A D | ChannelSlider.h | 50 virtual void KeyDown(const char* bytes, int32 numBytes); 51 virtual void KeyUp(const char* bytes, int32 numBytes);
|
/haiku/headers/os/add-ons/mail_daemon/ |
H A D | MailProtocol.h | 40 virtual void ReportProgress(uint32 items, uint64 bytes, 86 void ReportProgress(uint32 items, uint64 bytes,
|
/haiku/src/apps/terminal/ |
H A D | TermViewStates.h | 35 virtual void KeyDown(const char* bytes, int32 numBytes); 69 virtual void KeyDown(const char* bytes, int32 numBytes);
|
/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/apps/cortex/TransportView/ |
H A D | TransportView.h | 90 const char* bytes,
|
/haiku/src/preferences/locale/ |
H A D | LanguageListView.h | 87 virtual void KeyDown(const char* bytes, int32 numBytes);
|
/haiku/src/apps/cortex/Persistence/ |
H A D | ExportContext.cpp | 307 err << written << " of " << length << " bytes written.\n";
|
/haiku/src/apps/haikudepot/textview/ |
H A D | TextEditor.h | 20 const char* bytes; member in class:KeyEvent
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | AlphaSlider.cpp | 130 AlphaSlider::KeyDown(const char* bytes, int32 numBytes) argument 133 BControl::KeyDown(bytes, numBytes); 137 switch (bytes[0]) { 155 BControl::KeyDown(bytes, numBytes);
|
/haiku/src/system/libnetwork/netresolv/inet/ |
H A D | inet_net_pton.c | 61 * "size" is in bytes and describes "dst". 285 size_t bytes; local 379 bytes = (bits + 7) / 8; 380 if (bytes > size) 382 memcpy(dst, tmp, bytes); 399 * "size" is in bytes and describes "dst".
|
/haiku/src/apps/softwareupdater/ |
H A D | UpdateManager.h | 55 off_t bytes, off_t totalBytes);
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistListView.h | 35 virtual void KeyDown(const char* bytes, int32 numBytes);
|
/haiku/src/add-ons/translators/raw/ |
H A D | LibRAW.h | 52 uint32 bytes; member in struct:image_data_info
|
/haiku/headers/posix/net/ |
H A D | if.h | 22 uint64_t bytes; member in struct:ifreq_stream_stats
|
/haiku/src/apps/icon-o-matic/generic/gui/stateview/ |
H A D | StateView.cpp | 294 StateView::KeyDown(const char* bytes, int32 numBytes) argument 305 BView::KeyDown(bytes, numBytes); 310 StateView::KeyUp(const char* bytes, int32 numBytes) argument 321 BView::KeyUp(bytes, numBytes);
|