Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 34) sorted by relevance

12

/openssh-portable/regress/unittests/test_helper/
H A Dtest_helper.c293 ssl_err_check(const char *file, int line) in ssl_err_check() argument
305 file, line); in ssl_err_check()
344 file, line, test_number, active_test_name, in test_header()
473 test_header(file, line, a1, a2, "INT", pred); in assert_int()
506 test_header(file, line, a1, a2, "LONG", pred); in assert_long()
530 test_header(file, line, a1, a2, "CHAR", pred); in assert_char()
543 test_header(file, line, a1, a2, "U8", pred); in assert_u8()
554 test_header(file, line, a1, a2, "U16", pred); in assert_u16()
565 test_header(file, line, a1, a2, "U32", pred); in assert_u32()
576 test_header(file, line, a1, a2, "U64", pred); in assert_u64()
[all …]
H A Dtest_helper.h56 void assert_bignum(const char *file, int line,
63 void assert_mem(const char *file, int line,
69 void assert_int(const char *file, int line,
75 void assert_u_int(const char *file, int line,
78 void assert_long(const char *file, int line,
84 void assert_char(const char *file, int line,
87 void assert_ptr(const char *file, int line,
90 void assert_u8(const char *file, int line,
93 void assert_u16(const char *file, int line,
96 void assert_u32(const char *file, int line,
[all …]
/openssh-portable/
H A Dmdoc2man.awk37 line=""
52 line=line "\n"
53 line=line str
H A Ddh.c49 parse_prime(int linenum, char *line, struct dhgroup *dhg) in parse_prime() argument
57 cp = line; in parse_prime()
150 char *line = NULL; in choose_dh() local
163 while (getline(&line, &linesize, f) != -1) { in choose_dh()
165 if (!parse_prime(linenum, line, &dhg)) in choose_dh()
181 free(line); in choose_dh()
182 line = NULL; in choose_dh()
195 while (getline(&line, &linesize, f) != -1) { in choose_dh()
197 if (!parse_prime(linenum, line, &dhg)) in choose_dh()
208 free(line); in choose_dh()
[all …]
H A Dloginrec.c382 if (line) in login_init_entry()
383 line_fullname(li->line, line, sizeof(li->line)); in login_init_entry()
1230 line_fullname(li->line, ut.ut_line, in wtmp_get_entry()
1393 line_fullname(li->line, utx.ut_line, sizeof(li->line)); in wtmpx_get_entry()
1433 char line[UT_LINESIZE]; in syslogin_perform_logout() local
1435 (void)line_stripname(line, li->line, sizeof(line)); in syslogin_perform_logout()
1437 if (!logout(line)) in syslogin_perform_logout()
1441 logwtmp(line, "", ""); in syslogin_perform_logout()
1580 line_fullname(li->line, ll->ll_line, sizeof(li->line)); in lastlog_get_entry()
1605 line_fullname(li->line, last.ll_line, sizeof(li->line)); in lastlog_get_entry()
[all …]
H A Dlog.c336 do_log(const char *file, const char *func, int line, LogLevel level, in do_log() argument
402 tmp_handler(file, func, line, level, fmtbuf, log_handler_ctx); in do_log()
423 sshlog(const char *file, const char *func, int line, int showfunc, in sshlog() argument
429 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshlog()
434 sshlogdie(const char *file, const char *func, int line, int showfunc, in sshlogdie() argument
440 sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_INFO, in sshlogdie()
447 sshsigdie(const char *file, const char *func, int line, int showfunc, in sshsigdie() argument
453 sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL, in sshsigdie()
460 sshlogv(const char *file, const char *func, int line, int showfunc, in sshlogv() argument
469 (cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line); in sshlogv()
[all …]
H A Daudit.c150 const char *t = li->line ? li->line : "(no tty)"; in audit_session_open()
166 const char *t = li->line ? li->line : "(no tty)"; in audit_session_close()
H A Dauthfile.c209 char *line = NULL, *cp; in sshkey_try_load_public() local
223 while (getline(&line, &linesize, f) != -1) { in sshkey_try_load_public()
224 cp = line; in sshkey_try_load_public()
249 free(line); in sshkey_try_load_public()
256 free(line); in sshkey_try_load_public()
380 char *line = NULL, *cp; in sshkey_in_file() local
391 while (getline(&line, &linesize, f) != -1) { in sshkey_in_file()
394 cp = line; in sshkey_in_file()
429 free(line); in sshkey_in_file()
H A Dlogintest.c76 li->pid, li->uid, li->line, in dump_logininfo()
136 line_stripname(stripline, li1->line, sizeof(stripline)); in testAPI()
221 testLineName(char *line) in testLineName() argument
231 line_fullname(full, line, sizeof(full)-1); in testLineName()
234 printf("%s: %s, %s, %s\n", line, full, strip, abbrev); in testLineName()
H A Dloginrec.h70 char line[LINFO_LINESIZE]; /* tty/pty name */ member
92 const char *hostname, const char *line);
97 const char *hostname, const char *line);
H A Dsshsig.c700 cp = line; in parse_principals_key_and_options()
836 char *line = NULL; in sshsig_check_allowed_keys() local
850 while (getline(&line, &linesize, f) != -1) { in sshsig_check_allowed_keys()
854 free(line); in sshsig_check_allowed_keys()
855 line = NULL; in sshsig_check_allowed_keys()
867 free(line); in sshsig_check_allowed_keys()
982 char *line = NULL; in sshsig_find_principals() local
995 while (getline(&line, &linesize, f) != -1) { in sshsig_find_principals()
999 free(line); in sshsig_find_principals()
1000 line = NULL; in sshsig_find_principals()
[all …]
H A Dfatal.c37 sshfatal(const char *file, const char *func, int line, int showfunc, in sshfatal() argument
43 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshfatal()
H A Dssh-keyscan.c638 sshfatal(const char *file, const char *func, int line, int showfunc, in sshfatal() argument
644 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshfatal()
664 char *tname, *cp, *line = NULL; in main() local
792 while (getline(&line, &linesize, fp) != -1) { in main()
794 if ((cp = strchr(line, '#')) == NULL) in main()
795 cp = line + strlen(line) - 1; in main()
796 while (cp >= line) { in main()
805 if (*line == '\0') in main()
808 do_host(line); in main()
816 free(line); in main()
H A Dhostfile.c259 hostkeys->entries[hostkeys->num_entries].line = l->linenum; in record_hostkey()
546 fprintf(ctx->out, "%s\n", l->line); in host_delete()
568 fprintf(ctx->out, "%s\n", l->line); in host_delete()
740 char *line = NULL, ktype[128]; in hostkeys_foreach() local
756 while (getline(&line, &linesize, f) != -1) { in hostkeys_foreach()
758 line[strcspn(line, "\n")] = '\0'; in hostkeys_foreach()
760 free(lineinfo.line); in hostkeys_foreach()
765 lineinfo.line = xstrdup(line); in hostkeys_foreach()
771 for (cp = line; *cp == ' ' || *cp == '\t'; cp++) in hostkeys_foreach()
903 free(lineinfo.line); in hostkeys_foreach()
[all …]
H A Dservconf.c1017 "not exist", line, user); in match_cfg_line_group()
1020 "at line %d", user, line); in match_cfg_line_group()
1023 user, grps, line); in match_cfg_line_group()
1026 grps, line); in match_cfg_line_group()
1141 line); in match_cfg_line()
1282 if ((len = strlen(line)) == 0) in process_server_config_line_depth()
1287 line[len] = '\0'; in process_server_config_line_depth()
1290 cp = line; in process_server_config_line_depth()
2411 char *line = NULL, *cp; in load_server_config() local
2435 cp = line + strspn(line, " \t\r"); in load_server_config()
[all …]
H A Dhostfile.h28 u_long line; member
89 char *line; /* Entire key line; mutable by callback */ member
H A Dssh-keygen.c611 line[0] = '\0'; in get_line()
636 char line[1024]; in do_convert_from_ssh2() local
646 while ((blen = get_line(fp, line, sizeof(line))) != -1) { in do_convert_from_ssh2()
964 cp = line; in do_fingerprint()
967 cp = line + strspn(line, " \t"); in do_fingerprint()
983 free(line); in do_fingerprint()
1030 free(line); in do_fingerprint()
2146 cp = line + strspn(line, " \t"); in do_show_cert()
2166 free(line); in do_show_cert()
2248 cp = line + strspn(line, " \t"); in update_krl_from_file()
[all …]
H A Dssh-add.c135 char *line = NULL, *cp; in delete_stdin() local
140 while (getline(&line, &linesize, stdin) != -1) { in delete_stdin()
144 line[strcspn(line, "\n")] = '\0'; in delete_stdin()
145 cp = line + strspn(line, " \t"); in delete_stdin()
158 free(line); in delete_stdin()
H A Dsftp.c2096 char **argv, *line, quote; in complete() local
2108 line = xmalloc(cursor + 1); in complete()
2110 line[cursor] = '\0'; in complete()
2112 free(line); in complete()
2116 line = xmalloc(len + 1); in complete()
2118 line[len] = '\0'; in complete()
2122 if (line[cursor] != ' ' && line[cursor] != '\0' && in complete()
2123 line[cursor] != '\n') { in complete()
2124 free(line); in complete()
2152 free(line); in complete()
[all …]
H A Dfixpaths15 die $0: error in command line arguments.
H A Dauth2-pubkey.c378 char loc[256], *line = NULL, *cp, *ep; in process_principals() local
386 while (getline(&line, &linesize, f) != -1) { in process_principals()
393 for (cp = line; *cp == ' ' || *cp == '\t'; cp++) in process_principals()
405 free(line); in process_principals()
717 char *cp, *line = NULL, loc[256]; in check_authkeys_file() local
725 while (getline(&line, &linesize, f) != -1) { in check_authkeys_file()
732 cp = line; in check_authkeys_file()
740 free(line); in check_authkeys_file()
H A Daudit-linux.c89 li->line, 1) == 0) in audit_session_open()
H A Dauth.c496 found->host, found->file, found->line); in check_key_in_hostfiles()
509 char line[1024]; in auth_openfile() local
537 safe_path_fd(fileno(f), file, pw, line, sizeof(line)) != 0) { in auth_openfile()
539 logit("Authentication refused: %s", line); in auth_openfile()
540 auth_debug_add("Ignored %s: %s", file_type, line); in auth_openfile()
H A Dsshconnect.c974 host_found->file, host_found->line); in check_host_key()
1151 host_found->file, host_found->line); in check_host_key()
1174 ip_found->file, ip_found->line); in check_host_key()
1182 host_found->file, host_found->line); in check_host_key()
1274 type, host, ip, ip_found->file, ip_found->line); in check_host_key()
1279 host_found->file, host_found->line); in check_host_key()
1517 found->host, found->file, found->line, in show_other_keys()
/openssh-portable/regress/misc/sk-dummy/
H A Dfatal.c12 void sshfatal(const char *file, const char *func, int line, int showfunc,
16 sshfatal(const char *file, const char *func, int line, int showfunc, in sshfatal() argument

Completed in 141 milliseconds

12