Searched refs:bytes (Results 76 - 100 of 364) sorted by relevance

1234567891011>>

/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DBoolValueView.cpp99 BoolValueView::KeyDown(const char* bytes, int32 numBytes) argument
103 switch (bytes[0]) {
118 PropertyEditorView::KeyDown(bytes, numBytes);
/haiku/src/apps/webpositive/autocompletion/
H A DTextViewCompleter.cpp105 const char* bytes; local
107 if ((!target || message->FindString("bytes", &bytes) != B_OK
114 switch (bytes[0]) {
/haiku/src/kits/tracker/
H A DMiniMenuField.cpp78 MiniMenuField::KeyDown(const char* bytes, int32 numBytes) argument
80 switch (bytes[0]) {
89 BView::KeyDown(bytes, numBytes);
/haiku/src/kits/game/
H A DGameSoundBuffer.cpp507 size_t bytes = fFrameSize * frames; local
509 if (fPosition + bytes >= fBufferSize) {
515 bytes -= remainder;
521 memcpy(buffer, fBuffer, bytes);
522 fPosition = bytes;
523 bytes = 0;
528 if (bytes > 0) {
533 memset(buffer, middle, bytes);
536 memcpy(buffer, &fBuffer[fPosition], bytes);
537 fPosition += bytes;
567 size_t bytes = fFrameSize * frames; local
[all...]
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DBufferQueue.cpp205 // we might need to update the number of bytes available
284 BufferQueue::Get(net_buffer *buffer, tcp_sequence sequence, size_t bytes) argument
286 TRACE(("BufferQueue@%p::Get(sequence %" B_PRIu32 ", bytes %lu)\n", this,
287 sequence.Number(), bytes));
290 if (bytes == 0)
297 if (tcp_sequence(sequence + bytes) > fLastSequence)
298 bytes = (fLastSequence - sequence).Number();
300 size_t bytesLeft = bytes;
339 /*! Creates a new buffer containing \a bytes bytes fro
344 Get(size_t bytes, bool remove, net_buffer **_buffer) argument
[all...]
/haiku/src/tests/apps/miniterminal/
H A DMiniView.h21 virtual void KeyDown(const char *bytes, int32 numBytes);
/haiku/src/tests/kits/opengl/direct_mode/
H A DGLDirectMode.cpp21 virtual void KeyDown(const char* bytes, int32 numBytes);
252 void SampleGLView::KeyDown(const char *bytes, int32 numBytes) argument
255 switch (bytes[0]) {
266 BView::KeyDown(bytes, numBytes);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Ddevice_info.h55 void (*trace_bytes)(const char *prefix, const uint8 *bytes, size_t bytes_len);
/haiku/src/preferences/screensaver/
H A DScreenCornerSelector.h30 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/servers/mail/
H A DDefaultNotifier.h33 void ReportProgress(uint32 messages, uint64 bytes,
/haiku/src/kits/interface/
H A DTextInput.cpp91 _BTextInput_::KeyDown(const char* bytes, int32 numBytes) argument
93 switch (*bytes) {
110 BView::KeyDown(bytes, numBytes);
114 BTextView::KeyDown(bytes, numBytes);
/haiku/src/apps/icon-o-matic/generic/gui/
H A DInputTextView.h26 virtual void KeyDown(const char* bytes, int32 numBytes);
/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,
H A DKeyboardLayoutView.cpp181 KeyboardLayoutView::KeyDown(const char* bytes, int32 numBytes) argument
188 KeyboardLayoutView::KeyUp(const char* bytes, int32 numBytes) argument
917 KeyboardLayoutView::_SpecialMappedKeySymbol(const char* bytes, size_t numBytes) argument
922 if (bytes[0] == B_TAB)
924 if (bytes[0] == B_ENTER)
926 if (bytes[0] == B_BACKSPACE)
929 if (bytes[0] == B_UP_ARROW)
931 if (bytes[0] == B_LEFT_ARROW)
933 if (bytes[0] == B_DOWN_ARROW)
935 if (bytes[
943 _SpecialMappedKeyLabel(const char* bytes, size_t numBytes, bool abbreviated) argument
1004 char* bytes = NULL; local
1037 char* bytes = NULL; local
[all...]
/haiku/src/apps/cortex/support/
H A DTextControlFloater.cpp85 const char* bytes,
88 if(numBytes == 1 && *bytes == B_ESCAPE) {
84 KeyDown( const char* bytes, int32 numBytes) argument
/haiku/src/tests/kits/interface/
H A DClippingPlusRedraw.cpp15 virtual void KeyDown(const char *bytes, int32 numBytes);
92 ClippingView::KeyDown(const char *bytes, int32 numBytes) argument
/haiku/src/libs/glut/
H A DglutWindow.h26 void KeyDown(const char *bytes, int32 numBytes);
27 void KeyUp(const char *bytes, int32 numBytes);
/haiku/src/servers/input/
H A DBottomlineWindow.cpp104 BString bytes(string + offset, nextOffset - offset);
105 newEvent->AddString("bytes", bytes);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DInode.h33 status_t Append(Transaction&, off_t bytes);
34 status_t SetFileSize(Transaction&, off_t bytes);
/haiku/src/libs/bsd/
H A Dchacha_private.h89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) argument
97 if (!bytes) return;
117 if (bytes < 64) {
118 for (i = 0;i < bytes;++i) tmp[i] = m[i];
188 /* stopping at 2^70 bytes per nonce is user's responsibility */
208 if (bytes <= 64) {
209 if (bytes < 64) {
210 for (i = 0;i < bytes;++i) ctarget[i] = c[i];
216 bytes -= 64;
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentView.h41 virtual void KeyDown(const char* bytes, int32 numBytes);
42 virtual void KeyUp(const char* bytes, int32 numBytes);
/haiku/src/system/kernel/events/
H A Dwait_for_objects.cpp100 uint32 bytes = _howmany(count, NFDBITS) * sizeof(fd_mask); local
101 uint8* allocated = (uint8*)alloc_tracing_buffer(bytes * sets);
105 memcpy(fReadSet, readSet, bytes);
106 allocated += bytes;
110 memcpy(fWriteSet, writeSet, bytes);
111 allocated += bytes;
115 memcpy(fErrorSet, errorSet, bytes);
955 uint32 bytes = _howmany(numFDs, NFDBITS) * sizeof(fd_mask); local
976 BStackOrHeapArray<char, 128> sets(bytes * (
988 nextSet += bytes;
1052 const size_t bytes = numFDs * sizeof(struct pollfd); local
1106 const int bytes = sizeof(object_wait_info) * numInfos; local
[all...]
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp726 //printf("before (insert \"%s\" (%d bytes) at %d):\n\n",key,*_keyLength,*_keyIndex);
743 // "bytes" is the number of bytes written for the new key,
744 // "bytesBefore" are the bytes before that key
745 // "bytesAfter" are the bytes after the new key, if any
746 int32 bytes = 0,bytesBefore = 0,bytesAfter = 0; local
751 if (!bytes)
753 if (in == keyIndex && !bytes) {
754 bytes = *_keyLength;
759 inKeyLengths[in] = bytesAfter + bytesBefore + bytes;
[all...]
/haiku/src/apps/serialconnect/
H A DSerialApp.cpp111 const uint8_t* bytes; local
113 message->FindData("data", B_RAW_TYPE, (const void**)&bytes,
117 if (fFileSender->BytesReceived(bytes, length)) {
127 if (fLogFile->Write(bytes, length) != length) {
141 const char* bytes; local
144 if (message->FindData("data", B_RAW_TYPE, (const void**)&bytes,
146 fSerialPort.Write(bytes, size);
/haiku/src/add-ons/input_server/devices/easypen/
H A DEasyPenInputDevice.cpp225 uint8 bytes[4]; local
242 if (dev->serial->Read(bytes, 4) != 4)
245 if (*(uint32*)bytes & 0x80808080)
250 movements.xpos = (bytes[1] << 7) | bytes[0];
251 movements.ypos = (bytes[3] << 7) | bytes[2];

Completed in 218 milliseconds

1234567891011>>