Searched refs:reply (Results 276 - 300 of 305) sorted by last modified time

<<111213

/haiku/src/libs/libtelnet/
H A Dencrypt.h92 int (*reply)(unsigned char *, int); member in struct:__anon4812
H A Dkerberos5.c625 /* the rest of the reply should contain a krb_ap_rep */
626 krb5_ap_rep_enc_part *reply; local
633 ret = krb5_rd_rep(context, auth_context, &inbuf, &reply);
640 krb5_free_ap_rep_enc_part(context, reply);
H A Dsra.c487 struct pam_response *reply = local
490 if (reply == NULL)
496 reply[i].resp_retcode = PAM_SUCCESS;
497 reply[i].resp = COPY_STRING(cred->uname);
501 reply[i].resp_retcode = PAM_SUCCESS;
502 reply[i].resp = COPY_STRING(cred->pass);
507 reply[i].resp_retcode = PAM_SUCCESS;
508 reply[i].resp = NULL;
511 free(reply);
516 *resp = reply;
[all...]
/haiku/src/bin/mkfs/
H A DFsCreator.cpp163 BString reply; local
166 reply = _ReadLine();
167 if (reply == "")
168 reply = "no"; // silence is dissence
169 } while (reply != "yes" && reply != "no");
171 if (reply != "yes")
/haiku/src/apps/cortex/support/
H A Dobserve.cpp74 BMessage& reply,
81 return target.SendMessage(&m, &reply, timeout);
87 BMessage& reply,
94 return target.SendMessage(&m, &reply, timeout);
71 add_observer( const BMessenger& observer, const BMessenger& target, BMessage& reply, bigtime_t timeout) argument
84 remove_observer( const BMessenger& observer, const BMessenger& target, BMessage& reply, bigtime_t timeout) argument
H A Dobserve.h78 // observer should reply with M_REMOVE_OBSERVER in order
132 BMessage& reply,
138 BMessage& reply,
163 BMessage reply; local
167 reply, timeout);
174 " * target's reply:\n"));
175 reply.PrintToStream();
190 BMessage reply; local
194 reply,
202 " * target's reply
[all...]
/haiku/src/bin/debug/strace/
H A DMemoryReader.cpp39 fReplyPort = create_port(1, "memory reader reply");
41 fprintf(stderr, "Failed to create memory reader reply port: %s\n",
101 // get reply
103 debug_nub_read_memory_reply reply; local
105 ssize_t bytesRead = read_port(fReplyPort, &code, &reply, sizeof(reply));
112 if (reply.error != B_OK)
113 return reply.error;
115 bytesRead = reply.size;
116 memcpy(buffer, reply
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationServer.cpp222 // send the reply
436 // prepare the reply
437 KMessage reply; local
438 reply.AddInt32("error", error);
440 reply.AddBool("cancelled", cancelled);
442 reply.AddString("user", user);
443 reply.AddString("password", password);
446 // send the reply
447 return reply.SendTo(port, token);
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DAuthenticationServer.cpp61 KMessage reply;
62 error = request.SendTo(fServerPort, -1, &reply);
65 // process the reply
67 if (reply.FindInt32("error", &error) != B_OK)
73 if (reply.FindBool("cancelled", &cancelled) != B_OK)
82 if (reply.FindString("user", &foundUser) != B_OK
83 || reply.FindString("password", &foundPassword) != B_OK) {
H A DSendReceiveRequest.h22 Request* reply; local
23 status_t error = connection->SendRequest(request, &reply);
26 *_reply = dynamic_cast<Reply*>(reply);
28 delete reply;
H A DServerConnection.cpp114 InitConnectionReply* reply = dynamic_cast<InitConnectionReply*>(_reply); local
115 if (!reply)
117 if (reply->error != B_OK)
118 return reply->error;
H A DServerVolume.cpp251 OpenQueryReply* reply; local
252 error = SendRequest(connection, &request, &reply);
255 ObjectDeleter<Request> replyDeleter(reply);
256 if (reply->error != B_OK)
257 RETURN_ERROR(reply->error);
260 iterator->SetRemoteCookie(reply->cookie);
284 CloseReply* reply; local
286 serverConnection->GetRequestConnection(), &request, &reply);
288 delete reply;
322 ReadQueryReply* reply; local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/
H A DNetFSServerRoster.cpp142 BMessage reply; local
143 status_t error = _SendRequest(&request, &reply);
148 if (reply.FindMessage("users", users) != B_OK)
168 BMessage reply;
169 status_t error = _SendRequest(&request, &reply);
174 if (reply.FindMessage("statistics", statistics) != B_OK)
231 BMessage reply; local
232 status_t error = _SendRequest(&request, &reply);
237 if (reply.FindMessage("shares", shares) != B_OK)
257 BMessage reply;
338 BMessage reply; local
367 BMessage reply; local
387 _SendRequest(BMessage* request, BMessage* reply) argument
[all...]
H A DNetFSServerRoster.h46 BMessage* reply = NULL);
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DPortConnection.cpp98 // get the server reply
99 ConnectReply reply;
100 error = channel->Receive(&reply, sizeof(ConnectReply));
103 error = reply.error;
106 upStreamChannels = reply.upStreamChannels;
107 downStreamChannels = reply.downStreamChannels;
148 // send the connect reply
149 ConnectReply reply;
150 reply.error = B_OK;
151 reply
[all...]
H A DRequestConnection.cpp163 RequestConnection::SendRequest(Request* request, Request** reply) argument
165 return _SendRequest(request, reply, NULL);
206 // receive the reply
207 Request* reply = NULL; local
209 error = requestChannel.ReceiveRequest(&reply);
210 // handle the reply
213 error = replyHandler->HandleRequest(reply, &requestChannel);
215 *_reply = reply;
217 delete reply;
/haiku/src/add-ons/kernel/network/protocols/icmp/
H A Dicmp.cpp449 // We only reply to echo requests of our local interface; we
450 // don't reply to broadcast requests
456 net_buffer* reply = gBufferModule->duplicate(buffer); local
457 if (reply == NULL)
460 gBufferModule->swap_addresses(reply);
463 NetBufferHeaderReader<icmp_header> newHeader(reply);
471 *ICMPChecksumField(reply) = gBufferModule->checksum(reply, 0,
472 reply->size, true);
474 status_t status = domain->module->send_data(NULL, reply);
[all...]
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DRadeonAddOn.cpp105 // (needed during shutdown where node cannot reply anymore)
350 CRadeonProducer::configuration_msg_reply *reply; local
357 reply = (CRadeonProducer::configuration_msg_reply *)malloc( reply_size );
359 res = read_port( reply_port, &code, reply, reply_size );
364 res = reply->res;
367 res = into_message->Unflatten( &reply->config );
371 free( reply );
H A DRadeonProducer.cpp417 configuration_msg_reply *reply; local
427 reply_size = sizeof( *reply ) + config_size;
428 reply = (configuration_msg_reply *)malloc( reply_size );
429 if( reply == NULL )
432 reply->res = res;
433 reply->config_size = config_size;
434 msg.Flatten( &reply->config, config_size );
437 reply, reply_size, B_TIMEOUT, 0 );
439 free( reply );
/haiku/src/apps/cortex/NodeManager/
H A DAddOnHost.cpp164 BMessage reply(B_NO_REPLY);
167 &reply,
182 if(reply.what == B_NO_REPLY) {
184 "!!! AddOnHost::InstantiateDormantNode(): no reply.\n"));
188 if(reply.what == addon_host::M_INSTANTIATE_COMPLETE) {
192 err = reply.FindInt32("node_id", &nodeID);
195 "!!! AddOnHost::InstantiateDormantNode(): 'node_id' missing from reply.\n"));
214 return (reply.FindInt32("error", &err) == B_OK) ? err : B_ERROR;
242 BMessage reply(B_NO_REPLY);
245 &reply,
[all...]
/haiku/src/add-ons/bluetooth/ResetLocalDevice/
H A DResetLocalDevice.cpp55 BMessage reply; local
62 if (fMessenger->SendMessage(&request, &reply) == B_OK)
63 reply.FindInt8("status", &btStatus);
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py74 "Construct an NBD reply."
95 def reply(self, error, data=''): member in class:nbd_request
108 asock.send(req.reply(error=0,
115 asock.send(req.reply(error=0))
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A DRemoteDisk.cpp144 dprintf("RemoteDisk::FindAnyRemoteDisk(): Got no server reply: %s\n",
148 remote_disk_header* reply = (remote_disk_header*)fPacket; local
160 fServerAddress.sin_port = reply->port;
162 fImageSize = ntohll(reply->offset);
264 remote_disk_header reply; local
267 NULL, &reply, sizeof(reply), &replySize);
272 int16 packetSize = ntohs(reply.size);
350 // check whether the cached packet is indeed a read reply
418 // receive reply
439 remote_disk_header* reply = (remote_disk_header*)receiveBuffer; local
[all...]
/haiku/headers/private/bluetooth/
H A DCommandManager.h85 BMessage reply; local
95 if (messenger->SendMessage(&request, &reply) == B_OK) {
96 reply.FindInt8("status", &bt_status);
98 reply.FindInt32("result", result);
/haiku/headers/private/debug/
H A DDebugContext.h27 void* reply, size_t replySize);

Completed in 144 milliseconds

<<111213