/openbsd/regress/usr.bin/ssh/misc/sk-dummy/ |
H A D | sk-dummy.c | 118 response->public_key, response->public_key_len, NULL) == 0) { in pack_key_ecdsa() 136 memcpy(response->key_handle, privptr, response->key_handle_len); in pack_key_ecdsa() 231 if ((response = calloc(1, sizeof(*response))) == NULL) { in sk_enroll() 257 response = NULL; in sk_enroll() 265 free(response); in sk_enroll() 355 if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL || in sig_ecdsa() 443 memcpy(response->sig_r, sig, response->sig_r_len); in sig_ed25519() 444 dump("sig_r", response->sig_r, response->sig_r_len); in sig_ed25519() 476 if ((response = calloc(1, sizeof(*response))) == NULL) { in sk_sign() 503 response = NULL; in sk_sign() [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerCommon.cpp | 180 StreamString response; in Handle_qHostInfo() local 290 response.PutChar(';'); in Handle_qHostInfo() 563 StreamString response; in Handle_vFile_Close() local 564 response.PutChar('F'); in Handle_vFile_Close() 612 response.PutChar('F'); in Handle_vFile_pWrite() 717 StreamString response; in Handle_vFile_symlink() local 729 StreamString response; in Handle_vFile_unlink() local 969 StreamString response; in Handle_qLaunchSuccess() local 970 response.PutChar('E'); in Handle_qLaunchSuccess() 1132 response.PutChar(';'); in Handle_qModuleInfo() [all …]
|
H A D | GDBRemoteCommunicationClient.cpp | 229 if (response.IsOKResponse()) in GetListThreadsInStopReplySupported() 810 if (!response.IsOKResponse()) in LaunchProcess() 818 if (response.IsOKResponse()) in LaunchProcess() 1154 if (response.GetChar() == 'Q' && response.GetChar() == 'C') { in GetDefaultThreadId() 1398 return response.GetError(); in SendStdinNotification() 2888 if ((response.IsUnsupportedResponse() || response.IsNormalResponse()) && in GetCurrentProcessAndThreadIDs() 3039 response.SetFilePos(0); in ParseHostIOPacketResponse() 3165 while (response.Peek()) { in AutoCompleteDiskFileOrDirectory() 3247 const char next = (response.Peek() ? *response.Peek() : 0); in ReadFile() 3407 if (response.Peek() && *response.Peek() == 'x') in CalculateMD5() [all …]
|
H A D | GDBRemoteClientBase.cpp | 41 StringExtractorGDBRemote &response) { in SendContinuePacketAndWaitForResponse() argument 43 response.Clear(); in SendContinuePacketAndWaitForResponse() 94 if (response.Empty()) in SendContinuePacketAndWaitForResponse() 97 const char stop_type = response.GetChar(); in SendContinuePacketAndWaitForResponse() 99 response.GetStringRef().data()); in SendContinuePacketAndWaitForResponse() 114 response.GetHexByteString(inferior_stdout); in SendContinuePacketAndWaitForResponse() 129 response.SetFilePos(0); in SendContinuePacketAndWaitForResponse() 204 response.PeekChar() == 'O') { in ReadPacketWithOutputSupport() 205 response.GetChar(); in ReadPacketWithOutputSupport() 207 if (response.GetHexByteString(output)) in ReadPacketWithOutputSupport() [all …]
|
H A D | GDBRemoteCommunicationServerLLGS.cpp | 805 StreamString response; in PrepareStopReplyPacketForThread() local 809 return response; in PrepareStopReplyPacketForThread() 818 response.PutChar('T'); in PrepareStopReplyPacketForThread() 832 response.PutChar(';'); in PrepareStopReplyPacketForThread() 994 return response; in PrepareStopReplyPacketForThread() 1006 if (response.Empty()) in SendStopReplyPacketForThread() 1196 StreamString response; in SendONotification() local 1197 response.PutChar('O'); in SendONotification() 3073 response.Indent(); in BuildTargetXml() 3098 response.Indent(); in BuildTargetXml() [all …]
|
H A D | GDBRemoteCommunicationServerPlatform.cpp | 268 StreamGDBRemote response; in Handle_qLaunchGDBServer() local 275 response.PutChar(';'); in Handle_qLaunchGDBServer() 302 StreamGDBRemote response; in Handle_qQueryGDBServer() local 402 StreamString response; in Handle_qProcessInfo() local 424 StreamString response; in Handle_qPathComplete() local 425 response.PutChar('M'); in Handle_qPathComplete() 429 response << separator; in Handle_qPathComplete() 447 StreamString response; in Handle_qGetWorkingDir() local 474 StreamString response; in Handle_qC() local 514 StreamString response; in Handle_jSignalsInfo() local [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn30/ |
H A D | dcn30_clk_mgr_smu_msg.c | 112 uint32_t response = 0; in dcn30_smu_test_message() local 142 uint32_t response = 0; in dcn30_smu_check_driver_if_version() local 161 uint32_t response = 0; in dcn30_smu_check_msg_header_version() local 212 uint32_t response = 0; in dcn30_smu_set_hard_min_by_freq() local 224 return response; in dcn30_smu_set_hard_min_by_freq() 230 uint32_t response = 0; in dcn30_smu_set_hard_max_by_freq() local 242 return response; in dcn30_smu_set_hard_max_by_freq() 261 uint32_t response = 0; in dcn30_smu_get_dpm_freq_by_index() local 273 return response; in dcn30_smu_get_dpm_freq_by_index() 279 uint32_t response = 0; in dcn30_smu_get_dc_mode_max_dpm_freq() local [all …]
|
/openbsd/usr.bin/ssh/ |
H A D | sk-usbhid.c | 527 response->public_key, response->public_key_len, NULL) == 0) { in pack_public_key_ecdsa() 535 memset(response->public_key, 0, response->public_key_len); in pack_public_key_ecdsa() 837 if ((response = calloc(1, sizeof(*response))) == NULL) { in sk_enroll() 885 response = NULL; in sk_enroll() 895 free(response); in sk_enroll() 921 if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL || in pack_sig_ecdsa() 922 (response->sig_s = calloc(1, response->sig_s_len)) == NULL) { in pack_sig_ecdsa() 955 if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL) { in pack_sig_ed25519() 1091 if ((response = calloc(1, sizeof(*response))) == NULL) { in sk_sign() 1102 response = NULL; in sk_sign() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/ |
H A D | 030_response.t | 22 my $response = join $CRLF, 'HTTP/1.1 200 OK', 'Foo: Foo', 'Bar: Bar', '', ''; 23 my $fh = tmpfile($response); 30 my $response = join $LF, 'HTTP/1.1 200 OK', 'Foo: Foo', 'Bar: Bar', '', ''; 31 my $fh = tmpfile($response); 40 my $fh = tmpfile($response); 48 my $response = join $LF, "HTTP/2.0 200 Okish", 'Foo: Foo', 'Bar: Bar', '', ''; 49 my $fh = tmpfile($response); 58 my $response = join $LF, 'HTTP/1.1 200 ', 'Foo: Foo', 'Bar: Bar', '', ''; 59 my $fh = tmpfile($response); 68 my $response = join $LF, 'HTTP/1.1 200', 'Foo: Foo', 'Bar: Bar', '', ''; [all …]
|
H A D | 100_get.t | 52 my $response = $http->get(@call_args); 71 is( $response->{status}, $rc, "$label response code $rc" ) 72 or diag $response->{content}; 75 ok( $response->{success}, "$label success flag true" ); 78 ok( ! $response->{success}, "$label success flag false" ); 81 is ( $response->{url}, $url, "$label response URL" ); 85 is_deeply($response->{headers}, \%expected, "$label expected headers"); 105 is ( $response->{content}, '', "$label resp content empty" ); 108 $check_expected->( $response->{content}, "$label content" ); 111 ok ( ! exists $response->{redirects}, "$label redirects array doesn't exist") [all …]
|
/openbsd/regress/lib/libradius/ |
H A D | test10.c | 12 RADIUS_PACKET *response; in test10() local 23 response = radius_new_response_packet(RADIUS_CODE_ACCESS_ACCEPT, request); in test10() 24 radius_put_string_attr(response, 10, "foobarbaz"); in test10() 25 radius_set_response_authenticator(response, "sharedsecret"); in test10() 34 CHECK(radius_get_length(response) == sizeof(responsedata)); in test10() 35 CHECK(memcmp(radius_get_data(response), responsedata, sizeof(responsedata)) == 0); in test10() 36 CHECK(radius_check_response_authenticator(response, "sharedsecret") == 0); in test10() 38 radius_set_raw_attr(response, 10, "zapzapzap", 9); in test10() 39 CHECK(radius_check_response_authenticator(response, "sharedsecret") != 0); in test10()
|
H A D | test23.c | 12 RADIUS_PACKET *response; in test23() local 40 response = radius_new_response_packet(RADIUS_CODE_ACCESS_ACCEPT, packet); in test23() 41 radius_put_string_attr(response, 10, "foobarbaz"); in test23() 42 radius_put_message_authenticator(response, "sharedsecret"); in test23() 44 radius_get_authenticator(response, responsedata + 4); in test23() 53 CHECK(radius_get_length(response) == sizeof(responsedata)); in test23() 54 CHECK(memcmp(radius_get_data(response), responsedata, sizeof(responsedata)) == 0); in test23() 55 CHECK(radius_check_message_authenticator(response, "sharedsecret") == 0); in test23() 59 radius_set_raw_attr(response, 10, "zapzapzap", 9); in test23() 60 CHECK(radius_check_message_authenticator(response, "sharedsecret") != 0); in test23()
|
/openbsd/gnu/usr.bin/perl/cpan/libnet/lib/Net/ |
H A D | FTP.pm | 166 unless ($ftp->response() == CMD_OK) { 242 $ftp->response(); 250 $ftp->response(); 400 $ok = $ftp->response() 525 $ftp->response(); 1150 if (CMD_INFO == $ftp->response()) { 1182 $ok = CMD_INFO == $ftp->response(); 1218 sub response { subroutine 1272 $dftp->response(); 1289 my $dres = $ftp->response(); [all …]
|
H A D | NNTP.pm | 107 unless ($obj->response() == CMD_OK) { 213 && $nntp->command($user, $pass)->response == CMD_OK; 714 sub _AUTHINFO { shift->command('AUTHINFO', @_)->response } 716 sub _DATE { shift->command('DATE')->response == CMD_INFO } 718 sub _HEAD { shift->command('HEAD', @_)->response == CMD_OK } 721 sub _LAST { shift->command('LAST')->response == CMD_OK } 722 sub _LIST { shift->command('LIST', @_)->response == CMD_OK } 726 sub _NEXT { shift->command('NEXT')->response == CMD_OK } 728 sub _QUIT { shift->command('QUIT', @_)->response == CMD_OK } 731 sub _STAT { shift->command('STAT', @_)->response == CMD_OK } [all …]
|
H A D | POP3.pm | 101 unless ($obj->response() == CMD_OK) { 361 sub _STAT { shift->command('STAT' )->response() == CMD_OK } 362 sub _LIST { shift->command('LIST', @_)->response() == CMD_OK } 363 sub _RETR { shift->command('RETR', $_[0])->response() == CMD_OK } 364 sub _DELE { shift->command('DELE', $_[0])->response() == CMD_OK } 365 sub _NOOP { shift->command('NOOP' )->response() == CMD_OK } 366 sub _RSET { shift->command('RSET' )->response() == CMD_OK } 367 sub _QUIT { shift->command('QUIT' )->response() == CMD_OK } 377 sub _STLS { shift->command("STLS", )->response() == CMD_OK } 402 sub response { subroutine [all …]
|
H A D | SMTP.pm | 105 unless ($obj->response() == CMD_OK) { 527 && $me->response() == CMD_OK; 543 && $me->response() == CMD_OK; 597 sub _EHLO { shift->command("EHLO", @_)->response() == CMD_OK } 598 sub _HELO { shift->command("HELO", @_)->response() == CMD_OK } 599 sub _MAIL { shift->command("MAIL", @_)->response() == CMD_OK } 600 sub _RCPT { shift->command("RCPT", @_)->response() == CMD_OK } 607 sub _RSET { shift->command("RSET")->response() == CMD_OK } 608 sub _NOOP { shift->command("NOOP")->response() == CMD_OK } 609 sub _QUIT { shift->command("QUIT")->response() == CMD_OK } [all …]
|
/openbsd/gnu/llvm/lldb/tools/lldb-vscode/ |
H A D | lldb-vscode.cpp | 591 llvm::json::Object response; in request_attach() local 752 llvm::json::Object response; in request_continue() local 798 llvm::json::Object response; in request_configurationDone() local 853 llvm::json::Object response; in request_disconnect() local 896 llvm::json::Object response; in request_exceptionInfo() local 1050 llvm::json::Object response; in request_completions() local 1206 llvm::json::Object response; in request_evaluate() local 1305 llvm::json::Object response; in request_compileUnits() local 1355 llvm::json::Object response; in request_modules() local 1465 llvm::json::Object response; in request_initialize() local [all …]
|
/openbsd/usr.bin/talk/ |
H A D | invite.c | 67 CTL_RESPONSE response; in invite_remote() local 114 ctl_transact(my_machine_addr, msg, DELETE, &response); in invite_remote() 116 ctl_transact(his_machine_addr, msg, DELETE, &response); in invite_remote() 171 CTL_RESPONSE response; in announce_invite() local 174 ctl_transact(his_machine_addr, msg, ANNOUNCE, &response); in announce_invite() 175 remote_id = response.id_num; in announce_invite() 176 if (response.answer != SUCCESS) in announce_invite() 177 quit(response.answer < NANSWERS ? answers[response.answer] : NULL, 0); in announce_invite() 179 ctl_transact(my_machine_addr, msg, LEAVE_INVITE, &response); in announce_invite() 180 local_id = response.id_num; in announce_invite()
|
H A D | look_up.c | 47 CTL_RESPONSE response; in check_local() local 58 if (!look_for_invite(&response)) in check_local() 66 if (ntohs(response.addr.sa_family) != AF_INET) in check_local() 69 if (connect(sockt, (struct sockaddr *)&response.addr, in check_local() 70 sizeof (response.addr)) != -1) in check_local() 81 ctl_transact(his_machine_addr, msg, DELETE, &response); in check_local()
|
/openbsd/libexec/talkd/ |
H A D | talkd.c | 90 CTL_RESPONSE response; in main() local 91 socklen_t len = sizeof(response.addr); in main() 96 memset(&response, 0, sizeof(response)); in main() 98 sizeof(request), 0, (struct sockaddr *)&response.addr, in main() 118 process_request(&request, &response); in main() 120 cc = sendto(STDOUT_FILENO, (char *)&response, in main() 121 sizeof(response), 0, &ctl_addr, sizeof(ctl_addr)); in main() 122 if (cc != sizeof(response)) in main()
|
/openbsd/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/ |
H A D | lldbvscode_testcase.py | 34 if response is None: 36 breakpoints = response['body']['breakpoints'] 50 if response is None: 153 if response: 271 response = self.vscode.request_attach( 278 if not (response and response['success']): 279 self.assertTrue(response['success'], 305 response = self.vscode.request_launch( 329 return response 331 if not (response and response['success']): [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/HTTP-Tiny/lib/HTTP/ |
H A D | Tiny.pm | 338 $response->{success} ||= $response->{status} eq '304'; 340 return $response; 459 my $response; 475 $response = { 488 return $response; 668 my $response; 699 $response->{success} = substr( $response->{status}, 0, 1 ) eq '2'; 700 $response->{url} = $url; 711 return $response; 806 my $response; [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/HTTP/ |
H A D | Client.pm | 39 my ($response, %headers); 42 $response = $http->mirror( $uri, $path, {headers => \%headers} ); 43 if ( $response->{status} eq '401' ) { 46 elsif ( $response->{status} eq '407' ) { 47 last unless $self->_get_auth_params( $response, 'proxy' ); 58 return $response; 96 my ($self, $response, $mode) = @_; 99 if ( ! $response->{success} ) { # auth failed 105 $self->_get_challenge( $response, "${prefix}-Authenticate"); 111 my ($self, $response, $auth_header) = @_; [all …]
|
/openbsd/libexec/login_skey/ |
H A D | login_skey.c | 59 char challenge[SKEY_MAX_CHALLENGE+17], response[SKEY_MAX_PW_LEN+1]; in main() local 140 if (!readpassphrase(challenge, response, sizeof(response), 0)) in main() 142 if (response[0] == '\0') in main() 144 response, sizeof(response), RPP_ECHO_ON); in main() 194 cp = response; in main() 195 ep = response + sizeof(response); in main() 224 if (haskey && skeyverify(&skey, response) == 0) { in main()
|
/openbsd/gnu/usr.bin/perl/cpan/Term-ReadKey/example/ |
H A D | test.pl | 107 my $response; 113 $response = 118 $response = 123 $response = 128 $response = 133 $response = "Term::ReadKey is using Win32 functions.\n"; 137 $response = 146 print $response if $interactive;
|