/haiku/src/tests/system/kernel/ |
H A D | port_wakeup_test_9.cpp | 37 int32 code; local 45 size = read_port(id, &code, data, sizeof(data)); 46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
|
H A D | wait_for_objects_test.cpp | 27 int32 code; local 28 read_port(sPort2, &code, &code, sizeof(code)); 125 int32 code; local 126 ssize_t bytesRead = read_port_etc(object, &code,
|
/haiku/src/apps/haikudepot/model/ |
H A D | LanguageModel.h | 35 const char* code, 39 const char* code, 46 const char* code,
|
/haiku/src/tests/kits/app/messaging/ |
H A D | PortLinkTest.cpp | 14 int32 code; local 15 if (link.GetNextMessage(code) != B_OK) { 19 if (code != expectedCode) { 20 fprintf(stderr, "code is wrong (%ld)!\n", code); 98 int32 code; local 99 status = receiver.GetNextMessage(code, 0);
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | CC.cpp | 207 int code, channel, character; local 210 if (!DecodeBits(fChannel == C_RADEON_CC1 || fChannel == C_RADEON_CC2 ? buffer0 : buffer1, code)) 214 code = ((code << 8) & 0xff00) | ((code >> 8) & 0x00ff); 218 if ((code & (0x0001 << bit)) != 0) 219 code ^= 0x0080; 220 if ((code & (0x0100 << bit)) != 0) 221 code ^= 0x8000; 223 if ((code 491 const int code = fText[row][column]; local 671 const int code = (fDisplayText[row][column] >> 0) & 0xff; local [all...] |
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | KPPPUtils.h | 36 extern status_t send_data_with_timeout(thread_id thread, int32 code, void *buffer, 38 extern status_t receive_data_with_timeout(thread_id *sender, int32 *code,
|
H A D | KPPPLCPExtension.h | 19 KPPPLCPExtension(const char *name, uint8 code, KPPPInterface& interface, 45 //! Returns the LCP packet code this extension can handle. 53 //! Must be overridden. Called when an LCP packet with your code is received. 54 virtual status_t Receive(net_buffer *packet, uint8 code) = 0;
|
H A D | KPPPConfigurePacket.h | 30 KPPPConfigurePacket(uint8 code); 34 bool SetCode(uint8 code); 35 //! Returns this packet's code value.
|
/haiku/src/tests/servers/input/comm/ |
H A D | port.cpp | 19 int32 code; local 21 if ((newsize = read_port(port, &code, buffer, size))==size) {
|
/haiku/src/system/libroot/os/ |
H A D | port.c | 26 write_port(port_id port, int32 code, const void *buffer, size_t bufferSize) argument 28 return _kern_write_port_etc(port, code, buffer, bufferSize, 0, 0); 33 read_port(port_id port, int32 *code, void *buffer, size_t bufferSize) argument 35 return _kern_read_port_etc(port, code, buffer, bufferSize, 0, 0); 40 write_port_etc(port_id port, int32 code, const void *buffer, size_t bufferSize, argument 43 return _kern_write_port_etc(port, code, buffer, bufferSize, flags, timeout); 48 read_port_etc(port_id port, int32 *code, void *buffer, size_t bufferSize, argument 51 return _kern_read_port_etc(port, code, buffer, bufferSize, flags, timeout);
|
/haiku/src/apps/codycam/ |
H A D | FtpClient.cpp | 42 int code, codeType; local 52 if (_GetReply(replyString, code, codeType) == true) { 66 int code, codeType, numRead; local 72 _GetReply(replyString, code, codeType); 78 if (_GetReply(replyString, code, codeType)) { 88 if (_GetReply(replyString, code, codeType)) { 109 int code, codeType; local 115 if (_GetReply(replyString, code, codeType) == true) { 136 int code, codeType; local 152 if (_GetReply(replyString, code, codeTyp 200 int code, codeType, rlen, slen, i; local 283 int code, codeType, rlen, slen, i; local 365 int code, codeType; local 390 int code, codeType; local 596 int i, code, codeType; local [all...] |
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPUtils.cpp | 30 send_data_with_timeout(thread_id thread, int32 code, void *buffer, argument 41 return send_data(thread, code, buffer, buffer_size); 48 receive_data_with_timeout(thread_id *sender, int32 *code, void *buffer, argument 60 *code = receive_data(sender, buffer, buffer_size);
|
H A D | KPPPConfigurePacket.cpp | 24 \param code The code value (e.g.: PPP_CONFIGURE_REQUEST) of this packet. 26 KPPPConfigurePacket::KPPPConfigurePacket(uint8 code) argument 27 : fCode(code), 43 if (!SetCode(header.code)) 75 //! Sets the packet's code value (e.g.: PPP_CONFIGURE_REQUEST). 77 KPPPConfigurePacket::SetCode(uint8 code) argument 80 if (code < PPP_CONFIGURE_REQUEST || code > PPP_CONFIGURE_REJECT) 83 fCode = code; [all...] |
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | keyboard.cpp | 46 switch (key.code.ascii) {
|
/haiku/src/servers/notification/ |
H A D | AppUsage.cpp | 42 AppUsage::AllowsTypeCode(type_code code) const 44 return code == kTypeCode; 90 AppUsage::Unflatten(type_code code, const void* buffer, argument 93 if (code != kTypeCode)
|
/haiku/src/servers/app/ |
H A D | MessageLooper.cpp | 89 \param code ID code of the message to post 92 MessageLooper::PostMessage(int32 code, bigtime_t timeout) argument 95 link.StartMessage(code); 134 MessageLooper::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link) argument 145 int32 code; local 146 status_t status = receiver.GetNextMessage(code); 158 if (code == kMsgQuitLooper) 161 _DispatchMessage(code, receiver);
|
H A D | MessageLooper.h | 25 status_t PostMessage(int32 code, 41 virtual void _DispatchMessage(int32 code,
|
/haiku/src/tests/kits/app/bmessenger/ |
H A D | SMRemoteTargetApp.cpp | 55 int32 code; local 56 ssize_t readSize = read_port(localPort, &code, buffer, sizeof(buffer)); 59 DBG(OUT("REMOTE: read port: %.4s\n", (char*)&code)); 60 switch (code) { 86 if (code != SMRT_QUIT)
|
/haiku/src/tests/apps/fake_app_server/ |
H A D | ServerApp.cpp | 149 \param code ID code of the message to post 152 ServerApp::PostMessage(int32 code) argument 155 link.StartMessage(code); 204 int32 code; local 209 err = reader.GetNextMessage(code, B_INFINITE_TIMEOUT); 221 switch (code) { 252 app->DispatchMessage(code, reader); 263 \param code Identifier code fo 271 DispatchMessage(int32 code, BPrivate::LinkReceiver &link) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | IdMap.cpp | 71 IdMap::_GetValue(const char* buffer, int32 code) argument 85 int32 code; local 87 result = read_port(fReplyPort, &code, &value, sizeof(T)); 94 if (code != MsgReply) 104 IdMap::_GetBuffer(T value, int32 code) argument 108 status_t result = write_port(fRequestPort, code, &value, sizeof(value)); 122 int32 code; local 128 size = read_port(fReplyPort, &code, buffer, size); 135 if (code != MsgReply)
|
H A D | IdMap.h | 34 void* _GetBuffer(T value, int32 code); 37 T _GetValue(const char* buffer, int32 code);
|
/haiku/headers/os/bluetooth/HCI/ |
H A D | btHCI_transport.h | 155 #define GET_PORTCODE_TYPE(code) ((code & 0xFF000000) >> 24) 156 #define GET_PORTCODE_HID(code) ((code & 0x00FF0000) >> 16) 157 #define GET_PORTCODE_DATA(code) ((code & 0x0000FFFF))
|
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | PPPInterfaceListener.cpp | 14 - "code" [\c int32]: the report code 39 int32 code; local 44 code = receive_data(&sender, &report, sizeof(report)); 46 if (code == kCodeQuitReportThread) 48 else if (code != PPP_REPORT_CODE) 56 message.AddInt32("code", report.code); 60 && report.code == PPP_REPORT_INTERFACE_CREATED)
|
/haiku/headers/private/notification/ |
H A D | NotificationReceived.h | 22 virtual bool AllowsTypeCode(type_code code) const; 27 virtual status_t Unflatten(type_code code, const void *buffer,
|
H A D | AppUsage.h | 28 virtual bool AllowsTypeCode(type_code code) const; 33 virtual status_t Unflatten(type_code code, const void* buffer,
|