Searched refs:reply (Results 76 - 100 of 305) sorted by path

1234567891011>>

/haiku/src/kits/app/
H A DHandler.cpp198 BMessage reply(B_REPLY);
237 err = reply.AddMessenger("result", this);
240 err = GetSupportedSuites(&reply);
243 err = reply.AddString("result", Name());
248 reply.AddInt32("error", B_OK);
249 message->SendReply(&reply);
258 reply.AddInt32("error", GetSupportedSuites(&reply));
259 message->SendReply(&reply);
477 BMessage reply(B_MESSAGE_NOT_UNDERSTOO
[all...]
H A DMessageRunner.cpp68 BMessage reply; local
70 result = BRoster::Private().SendTo(&request, &reply, false);
72 // ignore the reply, we can't do anything anyway
108 BMessage reply; local
110 result = BRoster::Private().SendTo(&request, &reply, false);
112 // evaluate the reply
114 if (reply.what == B_REG_SUCCESS) {
117 if (reply.FindInt32("count", &_count) == B_OK) {
125 if (reply.FindInt64("interval", &_interval) == B_OK) {
131 if (reply
256 BMessage reply; local
319 BMessage reply; local
[all...]
H A DMessenger.cpp192 BMessenger::SendMessage(uint32 command, BMessage* reply) const
196 return SendMessage(&message, reply);
201 BMessenger::SendMessage(BMessage* message, BMessage* reply, argument
204 if (message == NULL || reply == NULL)
208 fHandlerToken, reply, deliveryTimeout, replyTimeout);
H A DRosterPrivate.cpp47 If \a reply is not \c NULL, the function waits for a reply.
50 \param reply A pointer to a pre-allocated BMessage into which the reply
61 BRoster::Private::SendTo(BMessage *message, BMessage *reply, bool mime) argument
73 return reply != NULL
74 ? messenger.SendMessage(message, reply)
/haiku/src/kits/debug/
H A DDebugContext.cpp49 size_t messageSize, void* reply, size_t replySize)
52 reply, replySize);
95 debug_nub_set_breakpoint_reply reply; local
97 sizeof(message), &reply, sizeof(reply));
99 return error == B_OK ? reply.error : error;
123 debug_nub_set_watchpoint_reply reply; local
125 sizeof(message), &reply, sizeof(reply));
127 return error == B_OK ? reply
48 SendDebugMessage(int32 messageCode, const void *message, size_t messageSize, void* reply, size_t replySize) argument
[all...]
/haiku/src/kits/debugger/debugger_interface/local/
H A DLocalDebuggerInterface.cpp443 debug_nub_set_breakpoint_reply reply; local
446 B_DEBUG_MESSAGE_SET_BREAKPOINT, &message, sizeof(message), &reply,
447 sizeof(reply));
448 return error == B_OK ? reply.error : error;
475 debug_nub_set_watchpoint_reply reply; local
478 B_DEBUG_MESSAGE_SET_WATCHPOINT, &message, sizeof(message), &reply,
479 sizeof(reply));
480 return error == B_OK ? reply.error : error;
741 debug_nub_write_core_file_reply reply; local
748 B_DEBUG_WRITE_CORE_FILE, &message, sizeof(message), &reply,
993 debug_nub_get_cpu_state_reply reply; local
[all...]
/haiku/src/kits/interface/
H A DChannelSlider.cpp199 BMessage reply(B_REPLY);
219 reply.AddInt32("result", (int32)Orientation());
225 reply.AddInt32("error", status);
226 message->SendReply(&reply);
H A DControl.cpp204 BMessage reply(B_REPLY);
214 reply.AddString("result", fLabel);
221 reply.AddInt32("error", B_OK);
227 reply.AddInt32("result", fValue);
234 reply.AddInt32("error", B_OK);
240 reply.AddBool("result", fEnabled);
247 reply.AddInt32("error", B_OK);
255 message->SendReply(&reply);
H A DInput.cpp30 BMessage reply; local
34 status_t err = _control_input_server_(&command, &reply);
46 reply.FindString("device", &device);
47 reply.FindInt32("type", &type);
61 BMessage reply; local
63 status_t err = _control_input_server_(&command, &reply);
72 while (reply.FindString("device", i, &name) == B_OK) {
73 reply.FindInt32("type", i++, &type);
90 BMessage reply; local
95 return _control_input_server_(&command, &reply);
126 BMessage reply; local
141 BMessage reply; local
156 BMessage reply; local
171 BMessage reply; local
192 BMessage reply; local
204 BMessage reply; local
216 BMessage reply; local
257 _control_input_server_(BMessage *command, BMessage *reply) argument
[all...]
H A DPrintJob.cpp342 BMessage reply; local
343 printServer.SendMessage(&request, &reply);
505 BMessage reply;
507 printServer.SendMessage(&message, &reply);
510 if (reply.FindInt32("color", &type) != B_OK)
680 BMessage reply; local
682 if (printServer.SendMessage(&message, &reply) == B_OK)
683 reply.FindString("printer_name", &printerName);
700 BMessage* reply = new BMessage; local
702 printServer.SendMessage(&message, reply);
871 BMessage reply; local
[all...]
H A DShelf.cpp229 BMessage reply(B_REPLY);
230 reply.AddInt32("id", uniqueID);
231 reply.AddInt32("error", status);
232 message->SendReply(&reply);
613 BMessage reply; local
618 err = _GetProperty(&specifier, &reply);
620 err = reply.FindInt32("index", &i);
762 BMessage reply; local
763 status_t err = _GetProperty(specifier, &reply);
767 err = reply
1476 _GetProperty(BMessage *msg, BMessage *reply) argument
[all...]
H A DStringView.cpp329 BMessage reply(B_REPLY);
333 reply.AddString("result", fText);
339 reply.AddInt32("error", B_OK);
345 reply.AddInt32("result", (int32)fAlign);
351 reply.AddInt32("error", B_OK);
358 message->SendReply(&reply);
H A DToolTipManager.cpp344 BMessage reply(B_REPLY);
345 reply.AddPointer("current", tip);
346 reply.AddPointer("owner", fOwner);
348 if (message->SendReply(&reply) == B_OK)
392 BMessage reply; local
393 if (fWindow.SendMessage(kMsgCurrentToolTip, &reply) == B_OK) {
394 reply.FindPointer("current", (void**)&current);
395 reply.FindPointer("owner", &currentOwner);
/haiku/src/kits/mail/
H A DMailDaemon.cpp82 BMessage reply;
88 fDaemon.SendMessage(&first, &reply);
90 return reply.FindInt32("num_new_messages");
120 BMessage reply; local
121 return fDaemon.SendMessage(&message, &reply);
/haiku/src/kits/media/
H A DBufferProducer.cpp158 producer_format_suggestion_requested_reply reply; local
160 request->quality, &reply.format);
161 request->SendReply(status, &reply, sizeof(reply));
169 producer_format_proposal_reply reply; local
170 reply.format = request->format;
171 status_t status = FormatProposal(request->output, &reply.format);
172 request->SendReply(status, &reply, sizeof(reply));
180 producer_prepare_to_connect_reply reply; local
195 producer_connect_reply reply; local
207 producer_disconnect_reply reply; local
218 producer_get_initial_latency_reply reply; local
229 producer_set_play_rate_reply reply; local
239 producer_get_latency_reply reply; local
249 producer_get_next_output_reply reply; local
261 producer_dispose_output_cookie_reply reply; local
482 consumer_accept_format_reply reply; local
507 consumer_format_changed_reply reply; local
528 consumer_get_latency_for_reply reply; local
553 consumer_seek_tag_requested_reply reply; local
[all...]
H A DControllable.cpp59 // small data transfer uses buffer in reply
208 controllable_get_parameter_data_reply reply; local
210 ReceiveTransfer transfer(request, reply.raw_data);
212 request.SendReply(transfer.InitCheck(), &reply, sizeof(reply));
216 reply.size = request.request_size;
218 &reply.last_change, transfer.Data(), &reply.size);
220 request.SendReply(status, &reply, sizeof(reply));
229 controllable_set_parameter_data_reply reply; local
257 controllable_get_parameter_web_reply reply; local
307 controllable_start_control_panel_reply reply; local
[all...]
H A DDataExchange.cpp106 QueryServer(BMessage& request, BMessage& reply) argument
108 status_t status = sMediaServerMessenger.SendMessage(&request, &reply,
113 DEBUG_ONLY(reply.PrintToStream());
128 reply_data* reply, size_t replySize)
130 return QueryPort(sMediaServerPort, msgCode, request, requestSize, reply,
145 reply_data* reply, size_t replySize)
148 reply, replySize);
186 size_t requestSize, reply_data* reply, size_t replySize)
215 status = read_port_etc(request->reply_port, &code, reply, replySize,
222 return status < B_OK ? status : reply
127 QueryServer(int32 msgCode, request_data* request, size_t requestSize, reply_data* reply, size_t replySize) argument
144 QueryAddOnServer(int32 msgCode, request_data* request, size_t requestSize, reply_data* reply, size_t replySize) argument
185 QueryPort(port_id requestPort, int32 msgCode, request_data* request, size_t requestSize, reply_data* reply, size_t replySize) argument
[all...]
H A DDormantNodeManager.cpp211 server_register_add_on_reply reply; local
213 &reply, sizeof(reply));
221 reply.add_on_id);
223 return reply.add_on_id;
250 server_get_add_on_ref_reply reply; local
252 sizeof(request), &reply, sizeof(reply));
256 entry_ref ref = reply.ref;
H A DFileInterface.cpp61 fileinterface_set_ref_reply reply; local
64 reply.duration = request->duration;
66 rv = SetRef(ref, request->create, &reply.duration);
68 request->SendReply(rv, &reply, sizeof(reply));
75 fileinterface_get_ref_reply reply; local
77 rv = GetRef(&resultRef, reply.mimetype);
79 reply.device = resultRef.device;
80 reply.directory = resultRef.directory;
81 strcpy(reply
90 fileinterface_sniff_ref_reply reply; local
104 fileinterface_get_formats_reply reply; local
[all...]
H A DFormatManager.cpp24 // 5 seconds timeout for sending the reply
165 FormatManager::GetFormats(bigtime_t lastUpdate, BMessage& reply) argument
171 reply.AddBool("need_update", false);
177 reply.AddBool("need_update", true);
178 reply.AddInt64("timestamp", system_time());
183 reply.AddData("formats", MEDIA_META_FORMAT_TYPE, format,
H A DFormatManager.h24 void GetFormats(bigtime_t lastUpdate, BMessage& reply);
H A DMediaFiles.cpp47 server_get_media_types_reply reply; local
49 sizeof(request), &reply, sizeof(reply));
56 const char* types = (const char*)reply.address;
57 for (int32 i = 0; i < reply.count; i++)
60 delete_area(reply.area);
98 server_get_media_items_reply reply; local
100 sizeof(request), &reply, sizeof(reply));
107 const char* items = (const char*)reply
151 server_get_ref_for_reply reply; local
176 server_get_item_audio_gain_reply reply; local
200 server_set_ref_for_reply reply; local
222 server_set_item_audio_gain_reply reply; local
244 server_invalidate_item_reply reply; local
265 server_remove_media_item_reply reply; local
[all...]
H A DMediaFormats.cpp371 BMessage reply; local
372 FormatManager::GetInstance()->GetFormats(sLastFormatsUpdate, reply);
376 if (reply.FindBool("need_update", &needUpdate) < B_OK)
384 if (reply.FindInt64("timestamp", &sLastFormatsUpdate) < B_OK
385 || reply.GetInfo("formats", &code, &count) < B_OK)
396 if (reply.FindData("formats", MEDIA_META_FORMAT_TYPE, index,
406 if (reply.FindData("formats", MEDIA_META_FORMAT_TYPE, index,
H A DParameterWeb.cpp1299 controllable_get_parameter_data_reply reply; local
1314 data = reply.raw_data;
1322 &request, sizeof(request), &reply, sizeof(reply));
1325 if (reply.size < size)
1326 size = reply.size;
1332 *_size = reply.size;
1334 *_when = reply.last_change;
1371 controllable_set_parameter_data_reply reply; local
1395 &request, sizeof(request), &reply, sizeo
[all...]
/haiku/src/kits/media/legacy/
H A DDeprecated.cpp36 BMediaRoster::ParseCommand(BMessage& reply) argument

Completed in 126 milliseconds

1234567891011>>