Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 38) sorted by relevance

12

/openssh-portable/openbsd-compat/
H A Dgetrrsetbyname-ldns.c67 int result; in getrrsetbyname() local
81 result = ERRSET_INVAL; in getrrsetbyname()
87 result = ERRSET_INVAL; in getrrsetbyname()
93 result = ERRSET_INVAL; in getrrsetbyname()
101 result = ERRSET_FAIL; in getrrsetbyname()
116 result = ERRSET_FAIL; in getrrsetbyname()
123 result = ERRSET_NOMEMORY; in getrrsetbyname()
130 result = ERRSET_NODATA; in getrrsetbyname()
137 result = ERRSET_NOMEMORY; in getrrsetbyname()
238 result = ERRSET_SUCCESS; in getrrsetbyname()
[all …]
H A Dfnmatch.c194 result = 0; in fnmatch_ch()
226 result = 0; in fnmatch_ch()
235 result = 0; in fnmatch_ch()
243 result = 0; in fnmatch_ch()
248 result = 0; in fnmatch_ch()
257 result = FNM_NOMATCH; in fnmatch_ch()
262 result = 0; in fnmatch_ch()
270 result = 0; in fnmatch_ch()
275 result = 0; in fnmatch_ch()
280 return result; in fnmatch_ch()
[all …]
H A Dfmt_scaled.c76 scan_scaled(char *scaled, long long *result) in scan_scaled() argument
163 *result = whole; in scan_scaled()
204 *result = whole; in scan_scaled()
219 fmt_scaled(long long number, char *result) in fmt_scaled() argument
261 strlcpy(result, "0B", FMT_SCALED_STRSIZE); in fmt_scaled()
269 (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld%c", in fmt_scaled()
272 (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld.%1lld%c", in fmt_scaled()
287 long long ninput = 10483892, result; in main() local
289 if (scan_scaled(cinput, &result) == 0) in main()
290 printf("\"%s\" -> %lld\n", cinput, result); in main()
H A Dgetrrsetbyname.c191 int result; in getrrsetbyname() local
202 result = ERRSET_INVAL; in getrrsetbyname()
208 result = ERRSET_INVAL; in getrrsetbyname()
214 result = ERRSET_INVAL; in getrrsetbyname()
220 result = ERRSET_FAIL; in getrrsetbyname()
240 result = ERRSET_NONAME; in getrrsetbyname()
243 result = ERRSET_NODATA; in getrrsetbyname()
246 result = ERRSET_FAIL; in getrrsetbyname()
254 result = ERRSET_FAIL; in getrrsetbyname()
259 result = ERRSET_FAIL; in getrrsetbyname()
[all …]
H A Dport-aix.c180 int r, authsuccess = 0, expired, reenter, result; in sys_auth_passwd() local
183 result = authenticate((char *)name, (char *)password, &reenter, in sys_auth_passwd()
186 debug3("AIX/authenticate result %d, authmsg %.100s", result, in sys_auth_passwd()
191 result = -1; in sys_auth_passwd()
193 if (result == 0) { in sys_auth_passwd()
244 int r, result, permitted = 0; in sys_auth_allowed_user() local
257 result = loginrestrictions(pw->pw_name, S_RLOGIN, NULL, &msg); in sys_auth_allowed_user()
258 if (result == 0) in sys_auth_allowed_user()
265 if (result == -1 && errno == EPERM && stat(_PATH_NOLOGIN, &st) == 0) in sys_auth_allowed_user()
274 debug3("AIX/loginrestrictions returned %d msg %.100s", result, msg); in sys_auth_allowed_user()
H A Dport-uw.c58 int result; in sys_auth_passwd() local
79 result = ((strcmp(bigcrypt(password, salt), pw_password) == 0) in sys_auth_passwd()
84 result = (strcmp(xcrypt(password, salt), pw_password) == 0); in sys_auth_passwd()
90 return(result); in sys_auth_passwd()
H A Dstrptime.c380 int result = 0; in _conv_num() local
388 result *= 10; in _conv_num()
389 result += *(*buf)++ - '0'; in _conv_num()
391 } while ((result * 10 <= ulim) && rulim && **buf >= '0' && **buf <= '9'); in _conv_num()
393 if (result < llim || result > ulim) in _conv_num()
396 *dest = result; in _conv_num()
H A Dbsd-misc.c434 localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument
437 *result = *tm; in localtime_r()
438 return result; in localtime_r()
H A Dbsd-snprintf.c632 LDOUBLE result = value; in abs_val() local
635 result = -value; in abs_val()
637 return result; in abs_val()
642 LDOUBLE result = 1; in POW10() local
645 result *= 10; in POW10()
649 return result; in POW10()
/openssh-portable/.github/
H A Drun_test.sh11 result=$?
14 result=$?
22 result="${result2}"
26 if [ "$result" -ne "0" ]; then
/openssh-portable/contrib/
H A Dgnome-ssh-askpass1.c72 int result, i, grab_server, grab_pointer; in passphrase_dialog() local
118 result = gnome_dialog_run(GNOME_DIALOG(dialog)); in passphrase_dialog()
130 if (result == 0) in passphrase_dialog()
138 return (result == 0 ? 0 : -1); in passphrase_dialog()
159 int result; in main() local
169 result = passphrase_dialog(message); in main()
171 return (result); in main()
H A Dgnome-ssh-askpass2.c154 int result, grab_tries, grab_server, grab_pointer; in passphrase_dialog() local
262 result = gtk_dialog_run(GTK_DIALOG(dialog)); in passphrase_dialog()
275 if (result == GTK_RESPONSE_OK) { in passphrase_dialog()
294 if (result != GTK_RESPONSE_OK && result != GTK_RESPONSE_YES) in passphrase_dialog()
319 int result, prompt_type = PROMPT_ENTRY; in main() local
337 result = passphrase_dialog(message, prompt_type); in main()
340 return (result); in main()
H A Dgnome-ssh-askpass3.c138 int result, grab_tries, grab_server, grab_pointer; in passphrase_dialog() local
235 result = gtk_dialog_run(GTK_DIALOG(dialog)); in passphrase_dialog()
244 if (result == GTK_RESPONSE_OK) { in passphrase_dialog()
263 if (result != GTK_RESPONSE_OK && result != GTK_RESPONSE_YES) in passphrase_dialog()
283 int result, prompt_type = PROMPT_ENTRY; in main() local
301 result = passphrase_dialog(message, prompt_type); in main()
304 return (result); in main()
/openssh-portable/openbsd-compat/regress/
H A Dopensslvertest.c25 int result; member
48 fail(long hver, long lver, int result) in fail() argument
50 fprintf(stderr, "opensslver: header %lx library %lx != %d \n", hver, lver, result); in fail()
64 res = version_tests[i].result; in main()
/openssh-portable/regress/
H A Dcfgmatch.sh153 result=`${SUDO} ${SSHD} -f $OBJ/sshd_config -T -C "$spec" | \
155 if [ "$result" != "$expected" ]; then
156 fail "match $config expected $expected got $result"
H A Daddrmatch.sh14 result=`${SSHD} -f $OBJ/sshd_proxy -T \
17 if [ "$result" != "$expected" ]; then
18 fail "failed '$descr' expected $expected got $result"
H A Dkeygen-knownhosts.sh59 ${SSHKEYGEN} "$@" -f $OBJ/kh.invalid -F $_host > $OBJ/kh.result
60 if ! diff -w $OBJ/kh.expect $OBJ/kh.result ; then
120 sed "s/^[^ ]*/$_host/" > $OBJ/kh.result
121 if ! diff -w $OBJ/kh.expect $OBJ/kh.result ; then
H A Dkrl.sh161 result=$?
162 if test "x$EXPECT_REVOKED" = "xy" -a $result -eq 0 ; then
164 elif test "x$EXPECT_REVOKED" = "xn" -a $result -ne 0 ; then
/openssh-portable/regress/unittests/match/
H A Dtests.c108 char *result = match_filter_denylist((string), (filter)); \ in tests()
109 ASSERT_STRING_EQ(result, expected); \ in tests()
110 free(result); \ in tests()
/openssh-portable/
H A Ddns.c211 int result; in verify_host_key_dns() local
235 result = getrrsetbyname(hostname, DNS_RDATACLASS_IN, in verify_host_key_dns()
237 if (result) { in verify_host_key_dns()
238 verbose("DNS lookup error: %s", dns_result_totext(result)); in verify_host_key_dns()
H A Dauth-passwd.c81 int result, ok = authctxt->valid; in auth_password() local
125 result = sys_auth_passwd(ssh, password); in auth_password()
128 return (result && ok); in auth_password()
H A Dsntrup761.c504 small result; in R3_mult() local
508 result = 0; in R3_mult()
509 for (j = 0;j <= i;++j) result = F3_freeze(result+f[j]*g[i-j]); in R3_mult()
510 fg[i] = result; in R3_mult()
513 result = 0; in R3_mult()
515 fg[i] = result; in R3_mult()
578 Fq result; in Rq_mult_small() local
582 result = 0; in Rq_mult_small()
584 fg[i] = result; in Rq_mult_small()
587 result = 0; in Rq_mult_small()
[all …]
H A Ddefines.h497 #define timersub(a, b, result) \ argument
499 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
500 (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
501 if ((result)->tv_usec < 0) { \
502 --(result)->tv_sec; \
503 (result)->tv_usec += 1000000; \
H A Dumac.c667 static void nh_final(nh_ctx *hc, UINT8 *result) in nh_final() argument
692 ((UINT64 *)result)[0] = ((UINT64 *)hc->state)[0] + nbits; in nh_final()
694 ((UINT64 *)result)[1] = ((UINT64 *)hc->state)[1] + nbits; in nh_final()
697 ((UINT64 *)result)[2] = ((UINT64 *)hc->state)[2] + nbits; in nh_final()
700 ((UINT64 *)result)[3] = ((UINT64 *)hc->state)[3] + nbits; in nh_final()
708 UINT32 unpadded_len, UINT8 *result) in nh() argument
719 ((UINT64 *)result)[0] = nbits; in nh()
721 ((UINT64 *)result)[1] = nbits; in nh()
724 ((UINT64 *)result)[2] = nbits; in nh()
727 ((UINT64 *)result)[3] = nbits; in nh()
[all …]
H A Dservconf.c1017 result = 1; in match_cfg_line_group()
1021 return result; in match_cfg_line_group()
1069 result = 0; in match_cfg_line()
1075 result = 0; in match_cfg_line()
1081 result = 0; in match_cfg_line()
1090 result = 0; in match_cfg_line()
1094 result = 0; in match_cfg_line()
1100 result = 0; in match_cfg_line()
1109 result = 0; in match_cfg_line()
1121 result = 0; in match_cfg_line()
[all …]

12