| /freebsd/crypto/openssh/regress/unittests/misc/ |
| H A D | test_misc.c | 144 s = strprefix("hello world", "hello", 0); in test_strprefix() 150 s = strprefix("hello world", "world", 0); in test_strprefix() 155 s = strprefix("hello", "hello", 0); in test_strprefix() 161 s = strprefix("", "hello", 0); in test_strprefix() 166 s = strprefix("hello", "", 0); in test_strprefix() 172 s = strprefix("Hello world", "hello", 0); in test_strprefix() 177 s = strprefix("Hello world", "hello", 1); in test_strprefix() 183 s = strprefix("HELLO", "hello", 1); in test_strprefix()
|
| /freebsd/crypto/openssh/ |
| H A D | ssh-keygen.c | 1459 if ((p = strprefix(opts[i], "hashalg=", 1)) != NULL) { in do_print_resource_record() 2006 else if ((p = strprefix(opt, "force-command=", 1)) != NULL) { in add_cert_option() 2012 } else if ((p = strprefix(opt, "source-address=", 1)) != NULL) { in add_cert_option() 2020 } else if (strprefix(opt, "extension:", 1) != NULL || in add_cert_option() 2021 (iscrit = (strprefix(opt, "critical:", 1) != NULL))) { in add_cert_option() 2208 if ((cp = strprefix(cp, "SHA256:", 0)) == NULL) in hash_to_blob() 2647 (p = strprefix(opts[i], "hashalg=", 1)) != NULL) { in sig_process_opts() 2650 (p = strprefix(opts[i], "verify-time=", 1)) != NULL) { in sig_process_opts() 2936 if ((p = strprefix(opts[i], "start=", 0)) != NULL) { in do_moduli_gen() 2940 } else if ((p = strprefix(opts[i], "bits=", 0)) != NULL) { in do_moduli_gen() [all …]
|
| H A D | servconf.c | 882 if (strprefix(attrib, "user=", 1) != NULL || in match_cfg_line() 883 strprefix(attrib, "group=", 1) != NULL || in match_cfg_line() 884 strprefix(attrib, "host=", 1) != NULL || in match_cfg_line() 885 strprefix(attrib, "address=", 1) != NULL || in match_cfg_line() 886 strprefix(attrib, "localaddress=", 1) != NULL || in match_cfg_line() 887 strprefix(attrib, "localport=", 1) != NULL || in match_cfg_line() 888 strprefix(attrib, "rdomain=", 1) != NULL || in match_cfg_line() 889 strprefix(attrib, "version=", 1) != NULL) { in match_cfg_line() 1907 } else if ((q = strprefix(arg, "crash:", 0)) != NULL) { in process_server_config_line_depth() 1909 } else if ((q = strprefix(arg, "authfail:", 0)) != NULL) { in process_server_config_line_depth() [all …]
|
| H A D | misc.h | 59 const char *strprefix(const char *, const char *, int);
|
| H A D | readconf.c | 776 if (strprefix(attrib, "host=", 1) != NULL || in match_cfg_line() 777 strprefix(attrib, "originalhost=", 1) != NULL || in match_cfg_line() 778 strprefix(attrib, "user=", 1) != NULL || in match_cfg_line() 779 strprefix(attrib, "localuser=", 1) != NULL || in match_cfg_line() 780 strprefix(attrib, "localnetwork=", 1) != NULL || in match_cfg_line() 781 strprefix(attrib, "version=", 1) != NULL || in match_cfg_line() 782 strprefix(attrib, "tagged=", 1) != NULL || in match_cfg_line() 783 strprefix(attrib, "command=", 1) != NULL || in match_cfg_line() 784 strprefix(attrib, "exec=", 1) != NULL) { in match_cfg_line()
|
| H A D | ssh_namespace.h | 1039 #define strprefix Fssh_strprefix macro
|
| H A D | misc.c | 107 strprefix(const char *s, const char *prefix, int ignorecase) in strprefix() function
|
| H A D | ssh-agent.c | 2324 else if ((ccp = strprefix(optarg, in main()
|
| H A D | ChangeLog | 7176 upstream: Replace strncmp + byte count with strprefix in Penalty 7302 upstream: Use pointer from strprefix in error message, 7314 with strprefix. nits lucas@, ok lucas@ djm@ 8925 upstream: Use strprefix helper when processing sshd -C test args
|