Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 23 of 23) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dbase64.c200 int ch; in b64_pton() local
206 while ((ch = *src++) != '\0') { in b64_pton()
210 if (ch == Pad64) in b64_pton()
213 pos = strchr(Base64, ch); in b64_pton()
266 ch = *src++; /* Skip it, get next. */ in b64_pton()
274 for (; ch != '\0'; ch = *src++) in b64_pton()
275 if (!isspace(ch)) in b64_pton()
278 if (ch != Pad64) in b64_pton()
280 ch = *src++; /* Skip the = */ in b64_pton()
289 for (; ch != '\0'; ch = *src++) in b64_pton()
[all …]
H A Dbsd-snprintf.c182 char ch; in dopr() local
199 ch = *format++; in dopr()
202 if (ch == '\0') in dopr()
207 if (ch == '%') in dopr()
211 ch = *format++; in dopr()
214 switch (ch) { in dopr()
217 ch = *format++; in dopr()
221 ch = *format++; in dopr()
225 ch = *format++; in dopr()
275 switch (ch) { in dopr()
[all …]
H A Dreadpassphrase.c58 char ch, *p, *end; in readpassphrase() local
132 while ((nr = read(input, &ch, 1)) == 1 && ch != '\n' && ch != '\r') { in readpassphrase()
135 ch &= 0x7f; in readpassphrase()
136 if (isalpha((unsigned char)ch)) { in readpassphrase()
138 ch = (char)tolower((unsigned char)ch); in readpassphrase()
140 ch = (char)toupper((unsigned char)ch); in readpassphrase()
142 *p++ = ch; in readpassphrase()
H A Dglob.c1039 g_strchr(const Char *str, int ch) argument
1042 if (*str == ch)
/openssh-portable/
H A Dmonitor_fdpass.c64 char ch = '\0'; in mm_send_fd() local
83 vec.iov_base = &ch; in mm_send_fd()
125 char ch; in mm_receive_fd() local
130 vec.iov_base = &ch; in mm_receive_fd()
H A Dscp.c402 int ch, fflag, tflag, status, n; in main() local
434 while ((ch = getopt(argc, argv, in main()
436 switch (ch) { in main()
448 addargs(&args, "-%c", ch); in main()
449 addargs(&remote_remote_args, "-%c", ch); in main()
461 addargs(&args, "-%c", ch); in main()
1291 if (atomicio(read, remin, &ch, sizeof(ch)) != sizeof(ch))
1293 *cp++ = ch;
1315 if (ch == '\n')
1574 if (atomicio(read, remin, &ch, sizeof(ch)) != sizeof(ch))
[all …]
H A Dsftp.c390 int ch; in parse_getput_flags() local
397 switch (ch) { in parse_getput_flags()
425 int ch; in parse_link_flags() local
432 switch (ch) { in parse_link_flags()
449 int ch; in parse_rename_flags() local
456 switch (ch) { in parse_rename_flags()
473 int ch; in parse_ls_flags() local
480 switch (ch) { in parse_ls_flags()
526 int ch; in parse_df_flags() local
553 int ch; in parse_ch_flags() local
[all …]
H A Dssh-add.c665 int r, i, ch, deleting = 0, ret = 0, key_only = 0, do_download = 0; in main() local
695 while ((ch = getopt(argc, argv, "vkKlLcdDTxXE:e:M:m:qs:S:t:")) != -1) { in main()
696 switch (ch) { in main()
718 lflag = ch; in main()
724 xflag = ch; in main()
H A Dssh-pkcs11-helper.c321 int r, ch, in, out, log_stderr = 0; in main() local
335 while ((ch = getopt(argc, argv, "v")) != -1) { in main()
336 switch (ch) { in main()
H A Dssh-sk-helper.c276 int in, out, ch, r, vflag = 0; in main() local
283 while ((ch = getopt(argc, argv, "v")) != -1) { in main()
284 switch (ch) { in main()
H A Dclientloop.c948 u_char ch; in process_escapes() local
961 ch = buf[i]; in process_escapes()
969 switch (ch) { in process_escapes()
995 if (ch == 'Z' - 64) in process_escapes()
998 snprintf(b, sizeof b, "%c", ch); in process_escapes()
1044 efc->escape_char, ch)) != 0) in process_escapes()
1048 if (ch == 'V' && options.log_level > in process_escapes()
1051 if (ch == 'v' && options.log_level < in process_escapes()
1056 efc->escape_char, ch, in process_escapes()
1118 if (ch != efc->escape_char) { in process_escapes()
[all …]
H A D.skipped-commit-ids50 1bd41cba06a7752de4df304305a8153ebfb6b0ac rsa.[ch] already removed
H A Dservconf.c903 char *host, *arg, *oarg, ch; in process_permitopen_list() local
921 ch = '\0'; in process_permitopen_list()
922 host = hpdelim2(&arg, &ch); in process_permitopen_list()
923 if (host == NULL || ch == '/') in process_permitopen_list()
1258 char ch, *cp, ***chararrayptr, **charptr, *arg, *arg2, *p; in process_server_config_line_depth() local
1361 ch = '\0'; in process_server_config_line_depth()
1362 p = hpdelim2(&arg, &ch); in process_server_config_line_depth()
1363 if (p == NULL || ch == '/') in process_server_config_line_depth()
2164 ch = '\0'; in process_server_config_line_depth()
2165 p = hpdelim2(&arg, &ch); in process_server_config_line_depth()
[all …]
H A Dmisc.c907 int ch; in urldecode() local
918 (ch = hexchar(src + 1)) == -1) { in urldecode()
922 *dst++ = ch; in urldecode()
951 char *uridup, *cp, *tmp, ch; in parse_uri() local
992 if ((cp = hpdelim2(&tmp, &ch)) == NULL || *cp == '\0') in parse_uri()
999 if (ch == ':') { in parse_uri()
H A Dssh-agent.c1375 int sock, ch, result, saved_errno; in main() local
1408 while ((ch = getopt(ac, av, "cDdksE:a:O:P:t:")) != -1) { in main()
1409 switch (ch) { in main()
H A Dssh.c1894 char *addr, *arg, *oarg, ch; in ssh_init_forward_permissions() local
1911 ch = '\0'; in ssh_init_forward_permissions()
1912 addr = hpdelim2(&arg, &ch); in ssh_init_forward_permissions()
1913 if (addr == NULL || ch == '/') in ssh_init_forward_permissions()
H A DCREDITS92 Tobias Oetiker <oetiker@ee.ethz.ch> - Bugfixes
H A Dsftp-server.c1650 int i, r, in, out, max, ch, skipargs = 0, log_stderr = 0; in sftp_server_main() local
1664 while (!skipargs && (ch = getopt(argc, argv, in sftp_server_main()
1666 switch (ch) { in sftp_server_main()
H A Dreadconf.c918 char *s, **charptr, *endofnumber, *keyword, *arg, *arg2, *p, ch; in process_config_line_depth() local
1506 ch = '\0'; in process_config_line_depth()
1507 p = hpdelim2(&arg, &ch); in process_config_line_depth()
1508 if (p == NULL || ch == '/') { in process_config_line_depth()
/openssh-portable/regress/
H A Dmodpipe.c84 int ch; in main() local
91 while ((ch = getopt(argc, argv, "wm:")) != -1) { in main()
92 switch (ch) { in main()
H A Dcheck-perm.c163 int ch, mode = -1; in main() local
168 while ((ch = getopt(argc, argv, "hm:")) != -1) { in main()
169 switch (ch) { in main()
H A Dnetcat.c151 int ch, s, ret, socksv; in main() local
171 while ((ch = getopt(argc, argv, in main()
173 switch (ch) { in main()
1017 char ch = '\0'; in fdpass() local
1036 vec.iov_base = &ch; in fdpass()
/openssh-portable/regress/unittests/test_helper/
H A Dtest_helper.c129 int ch; in main() local
149 while ((ch = getopt(argc, argv, "Ffvqd:")) != -1) { in main()
150 switch (ch) { in main()