Searched refs:bytes (Results 151 - 175 of 364) sorted by relevance

1234567891011>>

/haiku/src/kits/mail/
H A DMailComponent.cpp605 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 Dpages_io_test.cpp297 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 DKeymap.cpp372 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 DEnclosures.cpp390 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 DKLSI.cpp143 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 Dstdatomic.c427 } 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 Dvterm_internal.h151 /* 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 DOldAudioModule.h75 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 DOldAudioModule.cpp259 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 DOldBufferStreamManager.cpp76 BBufferStreamManager::SetBufferSize(int32 bytes) argument
/haiku/headers/os/interface/
H A DChannelSlider.h50 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 DMailProtocol.h40 virtual void ReportProgress(uint32 items, uint64 bytes,
86 void ReportProgress(uint32 items, uint64 bytes,
/haiku/src/apps/terminal/
H A DTermViewStates.h35 virtual void KeyDown(const char* bytes, int32 numBytes);
69 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/headers/private/net/
H A DNetBufferUtilities.h115 void Remove(size_t bytes) argument
118 Module::Get()->remove_header(this->fBuffer, bytes);
/haiku/src/apps/cortex/TransportView/
H A DTransportView.h90 const char* bytes,
/haiku/src/preferences/locale/
H A DLanguageListView.h87 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/apps/cortex/Persistence/
H A DExportContext.cpp307 err << written << " of " << length << " bytes written.\n";
/haiku/src/apps/haikudepot/textview/
H A DTextEditor.h20 const char* bytes; member in class:KeyEvent
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DAlphaSlider.cpp130 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 Dinet_net_pton.c61 * "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 DUpdateManager.h55 off_t bytes, off_t totalBytes);
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistListView.h35 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/add-ons/translators/raw/
H A DLibRAW.h52 uint32 bytes; member in struct:image_data_info
/haiku/headers/posix/net/
H A Dif.h22 uint64_t bytes; member in struct:ifreq_stream_stats
/haiku/src/apps/icon-o-matic/generic/gui/stateview/
H A DStateView.cpp294 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);

Completed in 142 milliseconds

1234567891011>>