Searched refs:msg (Results 1 - 25 of 599) sorted by relevance

1234567891011>>

/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_redir_err.c4 const char msg[] = "something"; local
5 write(2, msg, sizeof(msg));
/haiku/src/tests/system/network/
H A Dufunc.h6 void err(int error, char *msg);
7 void test_banner(char *msg);
/haiku/src/tests/kits/interface/menu/menuworld/
H A Dstddlg.h17 void ierror(const char* msg);
H A Dstddlg.cpp21 void ierror(const char* msg) argument
24 fullMsg << msg; local
/haiku/src/tests/kits/app/bmessage/
H A DMessageEasyFindTest.cpp27 BMessage msg; local
28 CPPUNIT_ASSERT(msg.FindRect("data") == r);
29 CPPUNIT_ASSERT(msg.FindPoint("data") == p);
30 CPPUNIT_ASSERT(msg.FindString("data") == NULL);
31 CPPUNIT_ASSERT(msg.FindInt8("data") == 0);
32 CPPUNIT_ASSERT(msg.FindInt16("data") == 0);
33 CPPUNIT_ASSERT(msg.FindInt32("data") == 0);
34 CPPUNIT_ASSERT(msg.FindInt64("data") == 0);
35 CPPUNIT_ASSERT(msg.FindBool("data") == false);
36 CPPUNIT_ASSERT(msg
[all...]
H A DMessageConstructTest.cpp30 BMessage msg; local
31 CPPUNIT_ASSERT(msg.what == 0);
32 ConfirmNullConstruction(msg);
43 BMessage msg(1234);
44 CPPUNIT_ASSERT(msg.what == 1234);
45 ConfirmNullConstruction(msg);
49 BMessage(const BMessage& msg)
51 @params msg a default constructed BMessage instance
52 @results what == msg.what and ConfirmNullConstruction is good
75 void TMessageConstructTest::ConfirmNullConstruction(BMessage& msg) argument
[all...]
H A DMessagePointerItemTest.h24 static status_t Add(BMessage& msg, const char* name, const void* val) argument
25 { return msg.AddPointer(name, val); }
26 static status_t AddData(BMessage& msg, const char* name, type_code type, argument
28 { return msg.AddData(name, type, data, size); }
29 static status_t Find(BMessage& msg, const char* name, int32 index, argument
31 { return msg.FindPointer(name, index, (void**)val); }
32 static status_t ShortFind(BMessage& msg, const char* name, const void** val) argument
33 { return msg.FindPointer(name, (void**)val); }
34 static const void* QuickFind(BMessage& msg, const char* name, int32 index) argument
37 msg
40 Has(BMessage& msg, const char* name, int32 index) argument
42 Replace(BMessage& msg, const char* name, int32 index, const void* val) argument
45 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument
[all...]
/haiku/src/kits/media/
H A DNotifications.cpp64 BMessage msg(MEDIA_ROSTER_REQUEST_NOTIFICATIONS);
65 msg.AddInt32(NOTIFICATION_PARAM_WHAT, notification);
66 msg.AddMessenger(NOTIFICATION_PARAM_MESSENGER, notifyHandler);
67 return BPrivate::media::dataexchange::SendToRoster(&msg);
70 BMessage msg(MEDIA_SERVER_REQUEST_NOTIFICATIONS);
71 msg.AddInt32(NOTIFICATION_PARAM_WHAT, notification);
72 msg.AddInt32(NOTIFICATION_PARAM_TEAM, BPrivate::current_team());
73 msg.AddMessenger(NOTIFICATION_PARAM_MESSENGER, notifyHandler);
74 msg.AddData("node", B_RAW_TYPE, &node, sizeof(node));
76 return BPrivate::media::dataexchange::SendToServer(&msg);
114 BMessage msg; local
[all...]
/haiku/src/add-ons/print/transports/lpr/
H A DLpr.cpp22 init_transport(BMessage *msg) argument
26 gTransport = new LprTransport(msg);
32 if (msg)
33 msg->what = 'okok';
/haiku/src/servers/notification/
H A DAppUsage.cpp51 BMessage msg; local
52 msg.AddString("name", fAppName);
53 msg.AddString("signature", fSignature);
54 msg.AddBool("allow", fAllow);
56 if (numBytes < msg.FlattenedSize())
59 return msg.Flatten((char*)buffer, numBytes);
66 BMessage msg; local
67 msg.AddString("name", fAppName);
68 msg.AddString("signature", fSignature);
69 msg
[all...]
H A DNotificationReceived.cpp57 BMessage msg; local
58 msg.AddString("notify_title", fTitle);
59 msg.AddInt32("notify_type", (int32)fType);
60 msg.AddInt32("notify_lastreceived", (int32)fLastReceived);
61 msg.AddBool("notify_enabled", fEnabled);
63 if (numBytes < msg.FlattenedSize())
66 return msg.Flatten((char*)buffer, numBytes);
73 BMessage msg; local
74 msg.AddString("notify_title", fTitle);
75 msg
[all...]
/haiku/src/add-ons/accelerants/matrox/
H A DGetAccelerantHook.c136 char *msg = ""; local
142 msg = "B_OVERLAY_COUNT";
145 msg = "B_OVERLAY_SUPPORTED_SPACES";
148 msg = "B_OVERLAY_SUPPORTED_FEATURES";
151 msg = "B_ALLOCATE_OVERLAY_BUFFER";
154 msg = "B_RELEASE_OVERLAY_BUFFER";
157 msg = "B_GET_OVERLAY_CONSTRAINTS";
160 msg = "B_ALLOCATE_OVERLAY";
163 msg = "B_RELEASE_OVERLAY";
166 msg
188 char *msg = ""; local
[all...]
/haiku/src/add-ons/print/transports/hp_jetdirect/
H A Dprint_transport.cpp42 extern "C" _EXPORT BDataIO * init_transport(BMessage *msg) argument
44 if (msg == NULL)
50 const char* printer_name = msg->FindString("printer_file");
56 HPJetDirectPort * transport = new HPJetDirectPort(&printer, msg);
60 if (msg)
61 msg->what = 'okok';
/haiku/src/bin/pkgman/
H A Dpkgman.h18 #define DIE(result, msg...) \
20 fprintf(stderr, "*** " msg); \
25 #define ERROR(result, msg...) \
27 fprintf(stderr, "*** " msg); \
31 #define WARN(result, msg...) \
33 fprintf(stderr, "* " msg); \
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dhashes.cpp53 uint32 keyed_hash(const signed char *msg, int len) argument
70 a = (uint32)msg[ 0] |
71 (uint32)msg[ 1] << 8 |
72 (uint32)msg[ 2] << 16|
73 (uint32)msg[ 3] << 24;
74 b = (uint32)msg[ 4] |
75 (uint32)msg[ 5] << 8 |
76 (uint32)msg[ 6] << 16|
77 (uint32)msg[ 7] << 24;
78 c = (uint32)msg[
179 yura_hash(const signed char *msg, int len) argument
214 r5_hash(const signed char *msg, int len) argument
[all...]
H A Dhashes.h40 uint32 keyed_hash(const signed char *msg, int len);
41 uint32 yura_hash(const signed char *msg, int len);
42 uint32 r5_hash(const signed char *msg, int len);
/haiku/src/add-ons/accelerants/neomagic/
H A DGetAccelerantHook.c135 char *msg = ""; local
141 msg = "B_OVERLAY_COUNT";
144 msg = "B_OVERLAY_SUPPORTED_SPACES";
147 msg = "B_OVERLAY_SUPPORTED_FEATURES";
150 msg = "B_ALLOCATE_OVERLAY_BUFFER";
153 msg = "B_RELEASE_OVERLAY_BUFFER";
156 msg = "B_GET_OVERLAY_CONSTRAINTS";
159 msg = "B_ALLOCATE_OVERLAY";
162 msg = "B_RELEASE_OVERLAY";
165 msg
186 char *msg = ""; local
[all...]
/haiku/src/add-ons/accelerants/via/
H A DGetAccelerantHook.c136 char *msg = ""; local
142 msg = "B_OVERLAY_COUNT";
145 msg = "B_OVERLAY_SUPPORTED_SPACES";
148 msg = "B_OVERLAY_SUPPORTED_FEATURES";
151 msg = "B_ALLOCATE_OVERLAY_BUFFER";
154 msg = "B_RELEASE_OVERLAY_BUFFER";
157 msg = "B_GET_OVERLAY_CONSTRAINTS";
160 msg = "B_ALLOCATE_OVERLAY";
163 msg = "B_RELEASE_OVERLAY";
166 msg
185 char *msg = ""; local
[all...]
/haiku/headers/private/mail/
H A Dcrypt.h12 char *get_passwd(const BMessage *msg,const char *name);
13 bool set_passwd(BMessage *msg,const char *name,const char *password);
/haiku/src/apps/patchbay/
H A DPatchApp.cpp34 PatchApp::MessageReceived(BMessage* msg) argument
36 BApplication::MessageReceived(msg);
/haiku/src/add-ons/accelerants/skeleton/
H A DGetAccelerantHook.c136 char *msg = ""; local
142 msg = "B_OVERLAY_COUNT";
145 msg = "B_OVERLAY_SUPPORTED_SPACES";
148 msg = "B_OVERLAY_SUPPORTED_FEATURES";
151 msg = "B_ALLOCATE_OVERLAY_BUFFER";
154 msg = "B_RELEASE_OVERLAY_BUFFER";
157 msg = "B_GET_OVERLAY_CONSTRAINTS";
160 msg = "B_ALLOCATE_OVERLAY";
163 msg = "B_RELEASE_OVERLAY";
166 msg
181 char *msg = ""; local
[all...]
/haiku/src/libs/print/libprint/
H A DPrintUtils.cpp55 SetBool(BMessage* msg, const char* name, bool value) argument
57 if (msg->HasBool(name)) {
58 msg->ReplaceBool(name, value);
60 msg->AddBool(name, value);
66 SetFloat(BMessage* msg, const char* name, float value) argument
68 if (msg->HasFloat(name)) {
69 msg->ReplaceFloat(name, value);
71 msg->AddFloat(name, value);
77 SetInt32(BMessage* msg, const char* name, int32 value) argument
79 if (msg
88 SetString(BMessage* msg, const char* name, const char* value) argument
99 SetRect(BMessage* msg, const char* name, const BRect& rect) argument
110 SetString(BMessage* msg, const char* name, const BString& value) argument
[all...]
/haiku/src/kits/print/
H A DPrintTransportAddOn.cpp6 extern "C" _EXPORT BDataIO *init_transport(BMessage *msg) argument
8 if (msg == NULL || gTransport != NULL)
11 const char *spool_path = msg->FindString("printer_file");
17 gTransport = instantiate_transport(&printer, msg);
/haiku/src/add-ons/media/media-add-ons/videowindow/
H A DVideoWindow.cpp26 VideoWindow::MessageReceived(BMessage *msg) argument
28 if (msg)
29 BWindow::MessageReceived(msg);
/haiku/src/apps/glteapot/
H A DTeapotApp.cpp33 TeapotApp::MessageReceived(BMessage* msg) argument
35 switch (msg->what) {
38 BApplication::MessageReceived(msg);

Completed in 167 milliseconds

1234567891011>>