Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 42) 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.c61 parse_prime(int linenum, char *line, struct dhgroup *dhg) in parse_prime() argument
69 cp = line; in parse_prime()
162 char *line = NULL; in choose_dh() local
175 while (getline(&line, &linesize, f) != -1) { in choose_dh()
177 if (!parse_prime(linenum, line, &dhg)) in choose_dh()
193 free(line); in choose_dh()
194 line = NULL; in choose_dh()
208 while (getline(&line, &linesize, f) != -1) { in choose_dh()
210 if (!parse_prime(linenum, line, &dhg)) in choose_dh()
221 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 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 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 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 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 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 Dlog.c424 sshlog(const char *file, const char *func, int line, int showfunc, in sshlog() argument
430 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshlog()
435 sshlogdie(const char *file, const char *func, int line, int showfunc, in sshlogdie() argument
441 sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_INFO, in sshlogdie()
448 sshsigdie(const char *file, const char *func, int line, int showfunc, in sshsigdie() argument
454 sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL, in sshsigdie()
461 sshlogv(const char *file, const char *func, int line, int showfunc, in sshlogv() argument
470 (cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line, in sshlogv()
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()
868 free(line); in sshsig_check_allowed_keys()
983 char *line = NULL; in sshsig_find_principals() local
996 while (getline(&line, &linesize, f) != -1) { in sshsig_find_principals()
1000 free(line); in sshsig_find_principals()
1001 line = NULL; in sshsig_find_principals()
[all …]
H A Dssh-keyscan.c637 sshfatal(const char *file, const char *func, int line, int showfunc, in sshfatal() argument
643 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshfatal()
663 char *tname, *cp, *line = NULL; in main() local
791 while (getline(&line, &linesize, fp) != -1) { in main()
793 if ((cp = strchr(line, '#')) == NULL) in main()
794 cp = line + strlen(line) - 1; in main()
795 while (cp >= line) { in main()
804 if (*line == '\0') in main()
807 do_host(line); in main()
815 free(line); in main()
H A Dhostfile.c255 hostkeys->entries[hostkeys->num_entries].line = l->linenum; in record_hostkey()
559 fprintf(ctx->out, "%s\n", l->line); in host_delete()
581 fprintf(ctx->out, "%s\n", l->line); in host_delete()
752 char *line = NULL, ktype[128]; in hostkeys_foreach_file() local
765 while (getline(&line, &linesize, f) != -1) { in hostkeys_foreach_file()
767 line[strcspn(line, "\n")] = '\0'; in hostkeys_foreach_file()
769 free(lineinfo.line); in hostkeys_foreach_file()
774 lineinfo.line = xstrdup(line); in hostkeys_foreach_file()
781 for (cp = line; *cp == ' ' || *cp == '\t'; cp++) in hostkeys_foreach_file()
913 free(lineinfo.line); in hostkeys_foreach_file()
[all …]
H A Dhostfile.h28 u_long line; member
96 char *line; /* Entire key line; mutable by callback */ member
H A Dservconf.c1007 "not exist", line, user); in match_cfg_line_group()
1010 "at line %d", user, line); in match_cfg_line_group()
1013 user, grps, line); in match_cfg_line_group()
1016 grps, line); in match_cfg_line_group()
1131 line); in match_cfg_line()
1272 if ((len = strlen(line)) == 0) in process_server_config_line_depth()
1277 line[len] = '\0'; in process_server_config_line_depth()
1280 cp = line; in process_server_config_line_depth()
2444 char *line = NULL, *cp; in load_server_config() local
2468 cp = line + strspn(line, " \t\r"); in load_server_config()
[all …]
H A Dfixpaths15 die $0: error in command line arguments.
H A Dssh_config6 # or on the command line.
9 # 1. command line options
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.c2048 char **argv, *line, quote; in complete() local
2060 line = xmalloc(cursor + 1); in complete()
2062 line[cursor] = '\0'; in complete()
2064 free(line); in complete()
2068 line = xmalloc(len + 1); in complete()
2070 line[len] = '\0'; in complete()
2074 if (line[cursor] != ' ' && line[cursor] != '\0' && in complete()
2075 line[cursor] != '\n') { in complete()
2076 free(line); in complete()
2104 free(line); in complete()
[all …]
/openssh-portable/contrib/hpux/
H A Dsshd2 # SSHD_ARGS: Command line arguments to pass to sshd
H A Degd2 # EGD_ARGS: Command line arguments to pass to egd
/openssh-portable/regress/misc/sk-dummy/
H A Dfatal.c13 sshfatal(const char *file, const char *func, int line, int showfunc, in sshfatal() argument
/openssh-portable/contrib/cygwin/
H A Dsshd-inetd2 # To do so, the line below should be uncommented.

12