Searched refs:bytes (Results 101 - 125 of 364) sorted by relevance

1234567891011>>

/haiku/src/tests/apps/miniterminal/
H A DMiniView.cpp234 MiniView::KeyDown(const char *bytes, int32 numBytes) argument
240 char c = bytes[0] | 0x80;
243 switch (bytes[0]) {
257 write(fMasterFD, bytes, numBytes);
261 write(fMasterFD, bytes, numBytes);
350 char bytes[2] = { B_TAB, 0 }; local
351 view->KeyDown(bytes, 1);
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp160 static status_t remove_header(net_buffer* _buffer, size_t bytes);
161 static status_t remove_trailer(net_buffer* _buffer, size_t bytes);
163 uint32 offset, size_t bytes);
859 /*! Tries to allocate \a size bytes from the free space in the header.
1023 /*! Appends up to \a size bytes from the data of the \a from net_buffer to the
1802 /*! Removes bytes from the beginning of the buffer.
1805 remove_header(net_buffer* _buffer, size_t bytes) argument
1809 T(RemoveHeader(buffer, bytes));
1813 if (bytes > buffer->size)
1816 TRACE(("%d: remove_header(buffer %p, %ld bytes)\
1879 remove_trailer(net_buffer* buffer, size_t bytes) argument
1941 append_cloned_data(net_buffer* _buffer, net_buffer* _source, uint32 offset, size_t bytes) argument
2109 restore_header(net_buffer* _buffer, uint32 offset, void* data, size_t bytes) argument
2144 append_restored_header(net_buffer* buffer, net_buffer* _source, uint32 offset, size_t bytes) argument
2232 size_t bytes = min_c(size, node->used - offset); local
[all...]
H A Dsimple_net_buffer.cpp68 static status_t remove_header(net_buffer *_buffer, size_t bytes);
69 static status_t remove_trailer(net_buffer *_buffer, size_t bytes);
358 Removes bytes from the beginning of the buffer.
361 remove_header(net_buffer *_buffer, size_t bytes) argument
365 if (bytes > buffer->size)
367 if (bytes == 0)
370 buffer->size -= bytes;
371 memmove(buffer->data, buffer->data + bytes, buffer->size);
379 Removes bytes from the end of the buffer.
382 remove_trailer(net_buffer *buffer, size_t bytes) argument
414 append_cloned_data(net_buffer *_buffer, net_buffer *_source, uint32 offset, size_t bytes) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Demulation.cpp110 USB devices usually don't like 10 bytes either
325 SHOW_FLOW(0, "fixing MODE SENSE(6) (%d bytes)", transfer_size_6);
333 // two bytes, whereas in the 6 byte header it ignores only one byte)
459 size - number of bytes to copy
485 // remaining bytes we are allowed to copy from/to request
490 size_t bytes; local
492 bytes = min_c(size, req_size);
493 bytes = min_c(bytes, sg_list->size);
495 SHOW_FLOW(0, "buffer = %p, virt_addr = %#" B_PRIxPHYSADDR ", bytes
[all...]
/haiku/src/tests/kits/app/common/
H A DAppRunner.cpp227 ssize_t bytes = read_port(port, &code, buffer, sizeof(buffer) - 1); local
228 if (bytes > 0) {
232 fOutput.Write(buffer, bytes);
234 } else if (bytes < 0)
235 error = bytes;
H A DPipedAppRunner.cpp154 size_t bytes = fread(buffer, 1, sizeof(buffer), pipe); local
155 if (bytes > 0) {
158 fOutput.Write(buffer, bytes);
/haiku/src/add-ons/input_server/methods/t9/
H A DDictionaryInputServerMethod.cpp133 BString bytes; local
142 if (message->FindString("bytes", &bytes) < B_OK)
144 if (bytes.Length() == 1) {
H A DT9InputServerMethod.cpp134 BString bytes; local
143 if (message->FindString("bytes", &bytes) < B_OK)
145 if (bytes.Length() == 1) {
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATARequest.cpp177 ATARequest::AdvanceSG(uint32 bytes) argument
180 if (bytesLeft <= bytes) {
185 fCurrentSGOffset += bytes;
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DOptionValueView.cpp163 OptionValueView::KeyDown(const char* bytes, int32 numBytes) argument
167 switch (bytes[0]) {
185 PropertyEditorView::KeyDown(bytes, numBytes);
/haiku/src/apps/switcher/
H A DCaptureWindow.cpp30 virtual void KeyDown(const char* bytes, int32 numBytes);
117 CaptureView::KeyDown(const char* bytes, int32 numBytes) argument
125 switch (bytes[0]) {
/haiku/headers/private/shared/
H A DDateTimeEdit.h38 virtual void KeyDown(const char* bytes, int32 numBytes);
87 virtual void KeyDown(const char* bytes, int32 numBytes);
133 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/bin/pkgman/
H A DPackageManager.cpp192 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
/haiku/src/system/kernel/arch/x86/32/
H A Dbios.cpp64 uint8 *bytes = (uint8 *)base; local
68 sum += bytes[i];
/haiku/src/apps/activitymonitor/
H A DSystemInfo.cpp174 fBytesReceived += stats.receive.bytes;
175 fBytesSent += stats.send.bytes;
/haiku/src/bin/bfs_tools/
H A Dbfsinfo.cpp48 "** node at offset: %" B_PRIuADDR "\n** used: %" B_PRId32 " bytes"
68 int32 bytes = node->data.indirect.length * disk.BlockSize();
69 int32 count = bytes / sizeof(block_run);
75 (uint8 *)runs, bytes);
76 if (bytesRead < bytes) {
109 int32 bytes = node->data.double_indirect.length * disk.BlockSize();
110 int32 count = bytes / sizeof(block_run);
116 (uint8*)runs, bytes);
117 if (bytesRead < bytes) {
298 printf(" Block Size:%*" B_PRIu32 " bytes\
[all...]
/haiku/src/servers/mail/
H A DDefaultNotifier.cpp103 DefaultNotifier::ReportProgress(uint32 messages, uint64 bytes, argument
106 fSizeDone += bytes;
/haiku/src/apps/icon-o-matic/generic/gui/stateview/
H A DStateView.h39 virtual void KeyDown(const char* bytes, int32 numBytes);
40 virtual void KeyUp(const char* bytes, int32 numBytes);
/haiku/src/apps/deskcalc/
H A DCalcView.h60 virtual void KeyDown(const char* bytes, int32 numBytes);
83 void FlashKey(const char* bytes, int32 numBytes);
/haiku/src/kits/shared/
H A DDateTimeEdit.cpp55 TimeEdit::KeyDown(const char* bytes, int32 numBytes) argument
59 SectionEdit::KeyDown(bytes, numBytes);
62 int32 number = atoi(bytes);
63 if (number < 0 || bytes[0] < '0')
413 DateEdit::KeyDown(const char* bytes, int32 numBytes) argument
417 SectionEdit::KeyDown(bytes, numBytes);
420 int32 number = atoi(bytes);
421 if (number < 0 || bytes[0] < '0')
892 SectionEdit::KeyDown(const char* bytes, int32 numbytes) argument
899 switch (bytes[
[all...]
/haiku/src/apps/serialconnect/
H A DTermView.cpp202 TermView::KeyDown(const char* bytes, int32 numBytes) argument
205 switch (bytes[0]) {
208 bytes = "\x1B[A";
212 bytes = "\x1B[B";
216 bytes = "\x1B[C";
220 bytes = "\x1B[D";
224 bytes = "\x7F";
228 bytes = fLineTerminator.String();
232 // Send the bytes to the serial port
234 keyEvent->AddData("data", B_RAW_TYPE, bytes, numByte
283 PushBytes(const char* bytes, size_t length) argument
[all...]
/haiku/headers/private/firewire/
H A Diec68113.h96 uint8_t bytes[3]; member in union:ciphdr::__anon722
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dcmedia_pci.h106 bigtime_t bytes; member in struct:__anon1505
/haiku/src/apps/people/
H A DPictureView.h41 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.h27 void usb_scsi_trace_bytes(const char *prefix, const uint8 *bytes, size_t bytes_len);

Completed in 161 milliseconds

1234567891011>>