Searched refs:bytes (Results 151 - 175 of 364) sorted by last modified time

1234567891011>>

/haiku/src/kits/package/hpkg/
H A DWriterImplBase.cpp767 uint8 bytes[10]; local
772 bytes[count++] = byte | (value != 0 ? 0x80 : 0);
775 fHeapWriter->AddDataThrows(bytes, count);
/haiku/src/servers/app/drawing/
H A DHWInterface.cpp671 int32 bytes = (right - x + 1) * 4; local
673 if (bytes > 0) {
678 // bytes is guaranteed to be multiple of 4
679 memcpy(dst, src, bytes);
/haiku/headers/os/interface/
H A DMenu.h70 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/kits/storage/
H A DResourceFile.cpp86 throw Exception("%s Read too few bytes (%ld/%lu).", errorMessage,
89 throw Exception("Read too few bytes (%ld/%lu).", read, size);
103 throw Exception("%s Wrote too few bytes (%ld/%lu).", errorMessage,
106 throw Exception("Wrote too few bytes (%ld/%lu).", written, size);
128 int32 bytes = std::min((int32)4, (int32)(dataEnd - current)); local
129 for (int32 i = 0; i < bytes; i++)
387 // read the first four bytes, and check, if they identify a resource file
989 // Check, if the correct number of bytes are remaining.
993 "table: %" B_PRIu32 " bytes are remaining.", bytesLeft);
/haiku/src/apps/diskprobe/
H A DDataView.cpp84 // not enough bytes in multibyte char
1152 DataView::KeyDown(const char *bytes, int32 numBytes) argument
1160 switch (bytes[0]) {
1173 switch (bytes[0]) {
1333 uint8 c = bytes[0];
1357 if (fEditor.Replace(fOffset + fStart, (const uint8 *)bytes,
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.h46 virtual void KeyDown(const char* bytes, int32 numBytes);
47 virtual void KeyUp(const char* bytes, int32 numBytes);
76 const char* _SpecialMappedKeySymbol(const char* bytes,
78 const char* _SpecialMappedKeyLabel(const char* bytes,
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.c275 \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/translators/raw/
H A DLibRAW.h52 uint32 bytes; member in struct:image_data_info
H A DLibRAW.cpp316 info.bytes = S.raw_pitch;
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAPrivate.h301 void AdvanceSG(uint32 bytes);
/haiku/src/apps/charactermap/
H A DCharacterWindow.cpp85 const char* bytes; local
86 if (message->FindString("bytes", &bytes) != B_OK)
89 if (bytes[0] == B_UP_ARROW
90 || bytes[0] == B_DOWN_ARROW)
111 const char* bytes; local
113 || message->FindString("bytes", &bytes) != B_OK
114 || bytes[0] != B_ESCAPE)
/haiku/headers/private/kernel/util/
H A Dfs_trim_support.h35 size_t bytes = (count - 1) * sizeof(uint64) * 2 + sizeof(fs_trim_data);
36 if (bytes > size)
39 void* trimBuffer = malloc(bytes);
43 if (user_memcpy(trimBuffer, buffer, bytes) != B_OK) {
/haiku/src/tests/kits/net/service/
H A Dtestserver.py306 def write(self, bytes):
318 def write(self, bytes):
319 self.buf.write(bytes)
333 def write(self, bytes):
334 self.compressor.write(bytes)
345 def write(self, bytes):
346 self.raw.write(bytes)
/haiku/src/apps/haikudepot/packagemanagement/
H A DPackageManager.h82 off_t bytes, off_t totalBytes);
H A DPackageManager.cpp384 float completionPercentage, off_t bytes, off_t totalBytes)
383 ProgressPackageDownloadActive(const char* packageName, float completionPercentage, off_t bytes, off_t totalBytes) argument
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaRoutingView.cpp382 const char *bytes,
387 switch (bytes[0])
411 DiagramView::KeyDown(bytes, numBytes);
381 KeyDown( const char *bytes, int32 numBytes) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300.h1383 extern void ar9300_wowoffload_download_acer_magic(struct ath_hal *ah, HAL_BOOL valid, u_int8_t* datap, u_int32_t bytes);
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DBufferQueue.h32 size_t bytes);
33 status_t Get(size_t bytes, bool remove,
84 // Max bytes is a soft limit, so it can be lower than the actual amount of
/haiku/src/system/libroot/posix/sys/
H A Duio.c19 ssize_t bytes; local
24 bytes = _kern_readv(fd, -1, vecs, count);
26 RETURN_AND_SET_ERRNO(bytes);
33 ssize_t bytes; local
38 bytes = _kern_readv(fd, pos, vecs, count);
40 RETURN_AND_SET_ERRNO(bytes);
47 ssize_t bytes; local
52 bytes = _kern_writev(fd, -1, vecs, count);
54 RETURN_AND_SET_ERRNO(bytes);
61 ssize_t bytes; local
[all...]
/haiku/src/system/runtime_loader/
H A Dheap.cpp184 /*! 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/apps/mandelbrot/
H A DMandelbrot.cpp634 const char* bytes; local
637 && message->FindString("bytes", &bytes) == B_OK
639 if (bytes[0] == B_FUNCTION_KEY) {
/haiku/src/kits/storage/mime/
H A DDatabaseLocation.cpp146 /*! Reads up to \c length bytes of the given data from the given attribute
155 \param length The maximum number of bytes to read.
158 \return If successful, the number of bytes read is returned, otherwise, an
254 /*! Writes \c len bytes of the given data to the given attribute
262 \param length The number of bytes to write.
307 ssize_t bytes;
308 result = message.Flatten(&data, &bytes);
/haiku/src/apps/haikudepot/textview/
H A DTextEditor.cpp239 if (event.bytes != NULL && event.length > 0) {
241 BString text(event.bytes, event.length);
/haiku/src/kits/game/
H A DFileGameSound.cpp37 FillBuffer(_gs_ramp* ramp, T* dest, const T* src, size_t* bytes) argument
39 size_t samples = *bytes / sizeof(T);
47 *bytes = sample * sizeof(T);
198 size_t bytes = fBufferSize - fPlayPosition; local
200 if (bytes > inByteCount)
201 bytes = inByteCount;
212 (uint8*)&fBuffer[fPlayPosition], &bytes);
218 (int16*)&fBuffer[fPlayPosition], &bytes);
224 (int32*)&fBuffer[fPlayPosition], &bytes);
230 (float*)&fBuffer[fPlayPosition], &bytes);
418 Read(void* buffer, size_t bytes) argument
[all...]
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistListView.cpp382 PlaylistListView::KeyDown(const char* bytes, int32 numBytes) argument
393 switch (bytes[0]) {
432 DragSortableListView::KeyDown(bytes, numBytes);

Completed in 170 milliseconds

1234567891011>>