bin/cp/cp.c
249
if ((p = strrchr(path, '/')) == NULL)
bin/ksh/edit.c
227
if ((rcp = strrchr(ed, '/')))
bin/ksh/history.c
662
if ((cp = strrchr(c, '\n')) != NULL)
bin/ksh/main.c
837
if ((p = strrchr(name, '/')))
bin/ksh/misc.c
361
((p = strrchr(argv[0], '/')) && *++p == '-'));
bin/md5/md5.c
832
p = strrchr(filename, ')');
bin/mkdir/mkdir.c
94
slash = strrchr(*argv, '\0');
bin/mv/cp.c
191
if ((p = strrchr(path, '/')) == NULL)
bin/mv/mv.c
126
if ((p = strrchr(current_arg, '/')) == NULL)
bin/mv/rm.c
135
p = strrchr (*t, '\0');
bin/mv/rm.c
140
if ((p = strrchr(*t, '/')) != NULL)
bin/pax/sel_subs.c
363
if ((flgpt = strrchr(str, '/')) != NULL)
bin/ps/print.c
72
return ((cp = strrchr(arg0, '/')) != NULL ? cp + 1 : arg0);
bin/rm/rm.c
417
p = strrchr(*t, '\0');
bin/rm/rm.c
422
if ((p = strrchr(*t, '/')) != NULL)
distrib/special/more/termcap.c
130
if ((cp = strrchr(bp, ':')) != NULL)
games/atc/log.c
171
cp = strrchr(file, '/');
games/atc/main.c
237
p = strrchr(line, '#');
games/atc/main.c
269
p = strrchr(line, '#');
games/atc/main.c
311
p = strrchr(line, '#');
games/fortune/fortune/fortune.c
589
if ((sp = strrchr(offensive, '/')) == NULL)
games/fortune/fortune/fortune.c
683
if ((sp = strrchr(file, '/')) == NULL)
games/fortune/fortune/fortune.c
691
if ((sp = strrchr(sp, '.')) != NULL) {
games/hack/hack.objnam.c
467
p = strrchr(cp, '(');
games/hack/hack.u_init.c
416
if ((p = strrchr(plname, '-'))) {
games/hunt/hunt/hunt.c
438
cp = strrchr(s, '\n');
games/robots/main.c
114
sp = strrchr(Scorefile, '/');
include/string.h
87
char *strrchr(const char *, int);
lib/libagentx/ax.c
814
p = strrchr(p, ' ');
lib/libagentx/ax.c
824
p = strrchr(buf, ' ');
lib/libagentx/ax.c
893
p = strrchr(p, ' ');
lib/libagentx/ax.c
903
p = strrchr(buf, ' ');
lib/libc/dlfcn/init.c
233
const char *p = strrchr(*argv, '/');
lib/libc/gen/authenticate.c
308
auth_call(as, approve, strrchr(approve, '/') + 1, "--", name,
lib/libc/gen/fts.c
194
if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) {
lib/libc/gen/setprogname.c
26
tmpn = strrchr(progname, '/');
lib/libc/gen/ttyslot.c
49
if ((p = strrchr(name, '/')))
lib/libc/hidden/string.h
70
PROTO_NORMAL(strrchr);
lib/libc/locale/_get_locname.c
65
if ((cp = strrchr(locname, '.')) == NULL)
lib/libc/net/rcmdsh.c
136
p = strrchr(rshprog, '/');
lib/libc/net/rcmdsh.c
145
p = strrchr(rshprog, '/');
lib/libc/net/rcmdsh.c
172
if ((p = strrchr(argv[0], '/')) != NULL)
lib/libc/nls/catopen.c
92
dot = strrchr(lang, '.');
lib/libc/string/strrchr.c
33
__weak_alias(rindex, strrchr);
lib/libc/string/strrchr.c
48
DEF_STRONG(strrchr);
lib/libcrypto/asn1/asn_moid.c
122
p = strrchr(value, ',');
lib/libcrypto/bio/b_sock.c
150
if ((p = strrchr(str, ':')) == NULL) {
lib/libcrypto/conf/conf_mod.c
261
p = strrchr(name, '.');
lib/libcurses/tinfo/access.c
113
const char *test = strrchr(path, '/');
lib/libcurses/tinfo/access.c
116
test = strrchr(path, '\\');
lib/libcurses/tinfo/access.c
83
if ((s = strrchr(result, '.')) != 0) {
lib/libedit/filecomplete.c
129
temp = strrchr(text, '/');
lib/libedit/readline.c
754
if ((aptr = strrchr(tmp, '/')) != NULL)
lib/libedit/readline.c
757
if ((aptr = strrchr(tmp, '/')) != NULL) {
lib/libedit/readline.c
763
if ((aptr = strrchr(tmp, '.')) != NULL)
lib/libedit/readline.c
766
if ((aptr = strrchr(tmp, '.')) != NULL) {
lib/libssl/ssl_lib.c
1751
if ((end = strrchr(buf, ':')) != NULL)
lib/libutil/passwd.c
60
const char *p = strrchr(nm, '/');
libexec/fingerd/fingerd.c
186
if ((lp = strrchr(prog, '/')))
libexec/ftpd/ftpd.c
2537
cp = strrchr(local, '/');
libexec/getty/main.c
554
slash = strrchr(ttyn, '/');
libexec/ld.so/ldconfig/sod.c
239
char *edir = strrchr(path, '/');
libexec/login_chpass/login_chpass.c
101
argv[0] = strrchr(_PATH_LOGIN_LCHPASS, '/') + 1;
libexec/login_radius/login_radius.c
137
if ((style = strrchr(__progname, '/')))
libexec/login_token/init.c
87
if ((p = strrchr(path, '/')) && p[1] != '\0')
libexec/spamd/grey.c
238
cp = strrchr(buf, '>');
libexec/tradcpp/main.c
1054
progname = strrchr(argv[0], '/');
libexec/tradcpp/place.c
73
s = strrchr(name, '/');
regress/lib/libc/glob/globtest.c
65
if ((cp = strrchr(buf + 1, ']')) == NULL)
regress/lib/libc/strchr/strchrtest.c
42
assert(strrchr(buf, 'a') == NULL);
regress/lib/libc/strchr/strchrtest.c
43
assert(strrchr(buf, '\0') == buf);
regress/lib/libc/strchr/strchrtest.c
50
assert(strrchr(buf, 'a') == buf + 5);
regress/lib/libc/strchr/strchrtest.c
51
assert(strrchr(buf, '\xcf') == buf + 8);
regress/lib/libc/strchr/strchrtest.c
52
assert(strrchr(buf, 0x3cf) == buf + 8);
regress/lib/libc/strchr/strchrtest.c
53
assert(strrchr(buf, '\0') == buf + 10);
regress/lib/libc/strchr/strchrtest.c
61
assert(strrchr(buf, 'b') == buf + bufsize - 2);
regress/lib/libc/strchr/strchrtest.c
62
assert(strrchr(buf, 'c') == NULL);
regress/lib/libc/strchr/strchrtest.c
63
assert(strrchr(buf, '\0') == buf + bufsize - 1);
regress/lib/libcrypto/mlkem/parse_test_file.c
703
if ((p->fn = strrchr(fn, '/')) != NULL)
regress/lib/libcrypto/test/test.c
146
if ((filename = strrchr(file, '/')) != NULL)
regress/lib/libz/minigzip.c
500
bname = strrchr(argv[0], '/');
regress/sbin/ifconfig/ifaddr.c
1431
if (strchr(dst, ':') == NULL || strchr(dst, ':') != strrchr(dst, ':')) {
regress/sbin/ifconfig/ifaddr.c
1616
if (which == ADDR && strrchr(s, '/') != NULL &&
regress/sys/kern/realpath/realpath3.c
164
q = strrchr(resolved, '/') + 1;
regress/sys/kern/realpath/realpath3.c
215
q = strrchr(resolved, '/') + 1;
regress/sys/kern/sosplice/perf/relay.c
290
relayname = strrchr(argv[0], '/');
regress/usr.bin/mandoc/db/mlinks/mlinks.c
67
ep = strrchr(fp, '/');
regress/usr.bin/mandoc/db/mlinks/mlinks.c
71
ep = strrchr(fp, '.');
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
74
if ((p = strrchr(ps, '/')) != NULL) {
regress/usr.sbin/syslogd/ttylog.c
93
if ((tty = strrchr(ptyname, '/')) == NULL)
sbin/dhcpleased/parse.y
816
if ((val = strrchr(s, '=')) == NULL)
sbin/disklabel/editor.c
1525
if ((p = strrchr(specname, '/')) == NULL || *(++p) != 'r')
sbin/dump/main.c
665
char *dp = strrchr(cp, '/');
sbin/dump/traverse.c
240
if ((p = strrchr(path, '/')) == NULL)
sbin/fsck/fsutil.c
165
if ((dp = strrchr(name, '/')) == NULL)
sbin/fsck/fsutil.c
183
if ((dp = strrchr(name, '/')) == NULL)
sbin/ifconfig/ifconfig.c
3767
if (srcport == NULL || srcport != strrchr(src, ':')) {
sbin/ifconfig/ifconfig.c
3783
if (dstport == NULL || dstport != strrchr(dst, ':')) {
sbin/ifconfig/ifconfig.c
3840
if (srcport == NULL || srcport != strrchr(src, ':')) {
sbin/ifconfig/ifconfig.c
6485
if (which == ADDR && strrchr(s, '/') != NULL &&
sbin/iked/chap_ms.c
161
if ((name = strrchr(username, '\\')) == NULL)
sbin/iked/parse.y
2129
if ((val = strrchr(s, '=')) == NULL)
sbin/init/init.c
574
p = strrchr(altshell, '/');
sbin/ipsecctl/ike.c
662
if ((p = strrchr(network, '/')) != NULL)
sbin/ipsecctl/ike.c
686
if ((p = strrchr(src->name, '/')) != NULL)
sbin/ipsecctl/ike.c
698
if ((p = strrchr(src->srcnat->name, '/')) != NULL)
sbin/ipsecctl/ike.c
710
if ((p = strrchr(dst->name, '/')) != NULL)
sbin/ipsecctl/parse.y
1509
if ((val = strrchr(s, '=')) == NULL)
sbin/ipsecctl/parse.y
1654
if ((p = strrchr(s, '/')) != NULL) {
sbin/ipsecctl/parse.y
1748
if (strrchr(s, '/') != NULL) {
sbin/ipsecctl/parse.y
1769
if (strrchr(s, '/') != NULL)
sbin/isakmpd/monitor.c
712
enddir = strrchr(new_path, '/');
sbin/isakmpd/monitor.c
720
enddir = strrchr(path, '/');
sbin/ncheck_ffs/ncheck_ffs.c
482
if ((p = strrchr(name, '/')) == NULL)
sbin/newfs_msdos/newfs_msdos.c
722
if ((s2 = strrchr(s1, '/')))
sbin/pfctl/parse.y
3291
while ((p = strrchr($2, ':')) != NULL) {
sbin/pfctl/parse.y
6077
if ((val = strrchr(s, '=')) == NULL)
sbin/pfctl/parse.y
994
if ((p = strrchr($2, '/')) != NULL) {
sbin/pfctl/pfctl.c
1255
if ((p = strrchr(anchorname, '/')) != NULL &&
sbin/pfctl/pfctl.c
1336
(((p = strrchr(pr.anchor_call, '/')) ?
sbin/pfctl/pfctl.c
2126
if ((p = strrchr(anchorname, '/')) != NULL) {
sbin/pfctl/pfctl.c
817
if ((sbs = strchr(s, '[')) != NULL && (sbe = strrchr(s, ']')) != NULL) {
sbin/pfctl/pfctl_parser.c
1742
while ((p = strrchr(ps, ':')) != NULL) {
sbin/pfctl/pfctl_parser.c
1828
if ((p = strrchr(ps, ':')) != NULL && !strcmp(p, ":0")) {
sbin/pfctl/pfctl_parser.c
775
p = strrchr(anchor_call, '/');
sbin/restore/symtab.c
171
tailindex = strrchr(name, '/');
sbin/restore/symtab.c
239
np->e_name = savename(strrchr(name, '/') + 1);
sbin/restore/symtab.c
320
cp = strrchr(newname, '/') + 1;
sbin/savecore/savecore.c
576
if ((sl = strrchr(s, '/')) == NULL || sl[1] == '0') {
sbin/tunefs/tunefs.c
322
if ((p = strrchr(fs->fs_spec, '/')) != NULL) {
sbin/unwind/libunbound/services/authzone.c
3742
strchr(master->host, '/') == strrchr(master->host, '/') &&
sbin/unwind/libunbound/services/authzone.c
6618
strchr(master->host, '/') == strrchr(master->host, '/')) {
sbin/unwind/libunbound/services/listen_dnsport.c
1724
if((atsign=strrchr(search_ifa, '@')) != NULL) {
sbin/unwind/libunbound/util/config_file.c
2647
char* sp = strrchr(str, ' ');
sbin/unwind/libunbound/util/config_file.c
2648
char* tab = strrchr(str, '\t');
sbin/unwind/libunbound/util/config_file.c
2831
if(strrchr(dirbuf, '\\')) {
sbin/unwind/libunbound/util/config_file.c
2832
(strrchr(dirbuf, '\\'))[0] = 0;
sbin/unwind/parse.y
894
if ((val = strrchr(s, '=')) == NULL)
sys/arch/macppc/stand/hfs.c
50
cp = strrchr(bootpath, ',');
sys/arch/macppc/stand/main.c
162
p = strrchr(line, ':');
sys/arch/macppc/stand/ofdev.c
66
cp = strrchr(str, ':');
sys/arch/octeon/octeon/autoconf.c
93
base = strrchr(p, '/');
sys/dev/microcode/siop/ncr53cxxx.c
1488
base = strrchr(fn, '.');
sys/dev/pci/drm/i915/gem/i915_gem_context.c
1526
s = strrchr(ctx->name, '[');
sys/dev/pv/hypervic.c
1111
if ((p = strrchr(*key, '/')) == NULL)
sys/lib/libkern/libkern.h
168
char *strrchr(const char *, int);
sys/net/pf_ruleset.c
147
leaf = strrchr(p, '/');
sys/net/pf_ruleset.c
342
if ((p = strrchr(path, '/')) != NULL)
sys/net/pf_ruleset.c
353
if ((p = strrchr(path, '/')) != NULL && !strcmp(p, "/*")) {
sys/net/pf_ruleset.c
392
if ((p = strrchr(a, '/')) == NULL)
usr.bin/apply/apply.c
209
if ((name = strrchr(shell, '/')) == NULL)
usr.bin/aucat/afile.c
819
ext = strrchr(path, '.');
usr.bin/cdio/cddb.c
186
last = strrchr(host_port, ':');
usr.bin/chpass/util.c
91
if ((p = strrchr(sh, '/')) && strcmp(name, p + 1) == 0)
usr.bin/compress/main.c
400
p = strrchr(entry->fts_accpath, '.');
usr.bin/compress/main.c
705
char *cp = strrchr(out, '/');
usr.bin/compress/main.c
858
if ((suf = strrchr(infile, *sep)) == NULL)
usr.bin/csplit/csplit.c
366
if ((pofs = strrchr(ecopy, *expr)) == NULL || pofs[-1] == '\\')
usr.bin/ctags/ctags.c
194
if ((cp = strrchr(file, '.'))) {
usr.bin/ctags/tree.c
66
if (!(fp = strrchr(curfile, '/')))
usr.bin/ctags/tree.c
71
fp = strrchr(nbuf, '.');
usr.bin/cvs/client.c
168
p = strrchr(module_repo_root, '/');
usr.bin/cvs/client.c
722
p = strrchr(rpath, '/');
usr.bin/cvs/client.c
881
if ((filename = strrchr(rpath, '/')) == NULL)
usr.bin/cvs/client.c
904
if ((filename = strrchr(rpath, '/')) == NULL)
usr.bin/cvs/config.c
45
if ((val = strrchr(opt, '=')) == NULL)
usr.bin/cvs/init.c
168
if (strcmp(strrchr(CVS_PATH_HISTORY, '/'), strrchr(path, '/')) == 0 ||
usr.bin/cvs/init.c
169
strcmp(strrchr(CVS_PATH_VALTAGS, '/'), strrchr(path, '/')) == 0) {
usr.bin/cvs/rcs.c
907
if ((sp = strrchr(filename, '.')) == NULL)
usr.bin/cvs/rcsnum.c
275
if ((s = strrchr(str, '.')) != NULL) {
usr.bin/cvs/repository.c
120
if ((s = strrchr(fpath, ',')) != NULL)
usr.bin/cvs/repository.c
175
if ((s = strrchr(fpath, ',')) != NULL &&
usr.bin/cvs/server.c
780
if ((p = strrchr(cf->file_rpath, ',')) != NULL)
usr.bin/diff/diffreg.c
490
if ((tail = strrchr(file, '/')) == NULL)
usr.bin/find/function.c
866
if ((p = strrchr(entry->fts_accpath, '/')))
usr.bin/finger/net.c
59
if (!(host = strrchr(name, '@')))
usr.bin/ftp/cmds.c
977
namep = strrchr(shellp, '/');
usr.bin/ftp/complete.c
160
if ((file = strrchr(word, '/')) == NULL) {
usr.bin/ftp/complete.c
216
if ((file = strrchr(word, '/')) == NULL) {
usr.bin/ftp/complete.c
247
tcp = strrchr(cp, '/');
usr.bin/ftp/fetch.c
1426
cp = strrchr(dir, '/');
usr.bin/ftp/fetch.c
1723
if (*host == '[' && (hosttail = strrchr(host, ']')) != NULL &&
usr.bin/ftp/fetch.c
1730
port = strrchr(hosttail, ':'); /* find portnum */
usr.bin/ftp/fetch.c
498
if (*host == '[' && (hosttail = strrchr(host, ']')) != NULL &&
usr.bin/ftp/fetch.c
509
portnum = strrchr(hosttail, ':'); /* find portnum */
usr.bin/ftp/fetch.c
931
loctail = strrchr(locbase, '/');
usr.bin/ftp/ftp.c
1966
char *cp = strrchr(local, '/');
usr.bin/ftp/ftp.c
938
dir = strrchr(local, '/');
usr.bin/hexdump/hexdump.c
58
if (!(p = strrchr(argv[0], 'o')) || strcmp(p, "od"))
usr.bin/login/login.c
298
if ((tty = strrchr(ttyn, '/')))
usr.bin/login/login.c
341
shell = strrchr(script, '/') + 1;
usr.bin/login/login.c
702
(void)strlcpy(tbuf + 1, (p = strrchr(shell, '/')) ?
usr.bin/mail/util.c
368
cp2 = strrchr(cp, '!');
usr.bin/mail/util.c
562
cp2 = strrchr(namebuf, '!') + 1;
usr.bin/make/arch.c
534
cp = strrchr(member, '/');
usr.bin/make/arch.c
727
cp = strrchr(member, '/');
usr.bin/make/dir.c
564
temp = strrchr(file, '/');
usr.bin/make/parse.c
1110
slash = strrchr(fname, '/');
usr.bin/make/suff.c
1272
if ((ptr = strrchr(gn->path, '/')) !=
usr.bin/make/suff.c
1286
if ((ptr = strrchr(gn->path, '/')) !=
usr.bin/make/suff.c
837
cp = strrchr(s->name, '/');
usr.bin/make/targequiv.c
94
gn->basename = strrchr(gn->name, '/');
usr.bin/mandoc/cgi.c
1199
if ((name = strrchr(path, '/')) == NULL)
usr.bin/mandoc/cgi.c
1205
sec = strrchr(name, '.');
usr.bin/mandoc/cgi.c
390
cp = strrchr(file, '/');
usr.bin/mandoc/cgi.c
392
cp = strrchr(name, '.');
usr.bin/mandoc/mandocdb.c
1051
if (NULL != (bufp = strrchr(buf, '.')))
usr.bin/mandoc/mandocdb.c
2277
*strrchr(tfn, '/') = '\0';
usr.bin/mandoc/mandocdb.c
616
fsec = strrchr(ff->fts_name, '.');
usr.bin/mandoc/mandocdb.c
926
p = strrchr(start, '\0');
usr.bin/mandoc/mandocdb.c
940
if ((p = strrchr(start, '/')) != NULL) {
usr.bin/mandoc/read.c
572
(cp = strrchr(filename, '.')) != NULL &&
usr.bin/mandoc/read.c
632
cp = strrchr(file, '.');
usr.bin/mandoc/tbl_html.c
230
if ((ccp = strrchr(dp->string,
usr.bin/mg/dir.c
124
slash = strrchr(path, '\0');
usr.bin/mg/dired.c
250
if ((slash = strrchr(dname, '/')) != NULL) {
usr.bin/mg/dired.c
279
if ((slash = strrchr(dname, '/')) != NULL) {
usr.bin/mg/dired.c
724
cp = strrchr(buf, *bp->b_nlchr);
usr.bin/mg/echo.c
689
cp = strrchr(buf, '/');
usr.bin/mg/fileio.c
477
file = strrchr(dir, '/');
usr.bin/mg/fileio.c
488
cp = strrchr(prefixx, '/');
usr.bin/mg/region.c
506
if ((argv[0] = strrchr(shellp, '/')) != NULL)
usr.bin/mktemp/mktemp.c
79
base = strrchr(template, '/');
usr.bin/nc/netcat.c
510
proxyport = strrchr(proxy, ':');
usr.bin/newsyslog/newsyslog.c
507
if ((working->logbase = strrchr(working->log, '/')) != NULL)
usr.bin/newsyslog/newsyslog.c
513
(group = strrchr(q, '.')) != NULL) {
usr.bin/newsyslog/newsyslog.c
938
if ((base = strrchr(COMPRESS, '/')) == NULL)
usr.bin/openssl/apps.c
194
p = strrchr(in, '/');
usr.bin/openssl/s_socket.c
287
p = strrchr(str, '/'); /* IPv6 host/port */
usr.bin/openssl/s_socket.c
289
p = strrchr(str, ':');
usr.bin/patch/util.c
116
if ((simplename = strrchr(bakname, '/')) != NULL)
usr.bin/patch/util.c
325
char *s = strrchr(tmpbuf, '/');
usr.bin/pkgconf/cli/main.c
1010
i = strrchr(argv0, '/');
usr.bin/pkgconf/cli/main.c
1015
i = strrchr(argv0, '\\');
usr.bin/pkgconf/libpkgconf/personality.c
66
p = strrchr(namebuf, '/');
usr.bin/pkgconf/libpkgconf/pkg.c
134
pathbuf = strrchr(buf, PKG_DIR_SEP_S);
usr.bin/pkgconf/libpkgconf/pkg.c
136
pathbuf = strrchr(buf, '/');
usr.bin/pkgconf/libpkgconf/pkg.c
287
pathiter = strrchr(buf, PKG_DIR_SEP_S);
usr.bin/pkgconf/libpkgconf/pkg.c
289
pathiter = strrchr(buf, '/');
usr.bin/pkgconf/libpkgconf/pkg.c
293
pathiter = strrchr(buf, PKG_DIR_SEP_S);
usr.bin/pkgconf/libpkgconf/pkg.c
295
pathiter = strrchr(buf, '/');
usr.bin/pkgconf/libpkgconf/pkg.c
305
pathiter = strrchr(buf, PKG_DIR_SEP_S);
usr.bin/pkgconf/libpkgconf/pkg.c
307
pathiter = strrchr(buf, '/');
usr.bin/pkgconf/libpkgconf/pkg.c
516
if ((idptr = strrchr(pkg->filename, PKG_DIR_SEP_S)) != NULL)
usr.bin/pkgconf/libpkgconf/pkg.c
527
if ((mungeptr = strrchr(idptr, '/')) != NULL)
usr.bin/pkgconf/libpkgconf/pkg.c
532
idptr = strrchr(pkg->id, '.');
usr.bin/pkgconf/libpkgconf/pkg.c
538
idptr = strrchr(pkg->id, '-');
usr.bin/pr/egetopt.c
135
if (!(p = strrchr(*nargv, '/')))
usr.bin/pr/egetopt.c
151
if (!(p = strrchr(*nargv, '/')))
usr.bin/pr/egetopt.c
188
if (!(p = strrchr(*nargv, '/')))
usr.bin/rcs/rcs.c
1584
(tmpf = strrchr(rcsfile, '/')) == NULL)
usr.bin/rcs/rcsnum.c
306
if ((s = strrchr(str, '.')) != NULL) {
usr.bin/rcs/rcsprog.c
562
if ((rnum = strrchr(symname, ':')) != NULL) {
usr.bin/rcs/rcstime.c
62
if ((m = strrchr(tz, ':')) != NULL)
usr.bin/rcs/rcsutil.c
168
if ((ptr = strrchr(rcspath, '/')) != NULL)
usr.bin/rcs/rcsutil.c
185
if ((ptr = strrchr(filename, '/')) == NULL) {
usr.bin/rcs/rcsutil.c
219
if ((p = strrchr(rcspath, ',')) != NULL) {
usr.bin/rcs/rcsutil.c
624
if ((p = strrchr(filename, ',')) != NULL) {
usr.bin/rcs/rlog.c
377
if ((p = strrchr(workfile, ',')) != NULL)
usr.bin/rdist/client.c
111
cp = strrchr(path, '/');
usr.bin/rdist/client.c
124
if ((p = strrchr(src, '/')))
usr.bin/rdist/client.c
1274
rname = strrchr(target, '/');
usr.bin/rdist/common.c
808
if ((cp = strrchr(path, '/')) != NULL)
usr.bin/rdistd/filesys.c
111
if ((p = strrchr(file, '/')) != NULL) {
usr.bin/rdistd/filesys.c
150
if ((p = strrchr(file, '/')) && *p+1) {
usr.bin/rdistd/server.c
1457
file = strrchr(target, '/');
usr.bin/rdistd/server.c
646
cp = strrchr(name, '/');
usr.bin/rpcgen/rpc_main.c
214
if ((file = strrchr(path, '/')) == NULL)
usr.bin/rpcgen/rpc_main.c
225
p = strrchr(file, '.');
usr.bin/rpcgen/rpc_main.c
439
filename = strrchr(pathname, '/'); /* find last component */
usr.bin/rpcgen/rpc_svcout.c
859
s = strrchr(infile, '.');
usr.bin/rsync/flist.c
557
if ((f->wpath = strrchr(f->path, '/')) == NULL)
usr.bin/rsync/flist.c
883
if ((cp = strrchr(root, '/')) != NULL)
usr.bin/rsync/mktemp.c
291
if (recursive && (cp = strrchr(path, '/')) != NULL) {
usr.bin/rsync/rules.c
415
basename = strrchr(path, '/');
usr.bin/signify/signify.c
357
pos = strrchr(seckeyfile, '/');
usr.bin/signify/signify.c
367
pos = strrchr(pubkeyfile, '/');
usr.bin/signify/signify.c
490
if (!(p = strrchr(pubkeyfile, '-')))
usr.bin/sndioctl/sndioctl.c
687
pos = strrchr(line, '/');
usr.bin/snmp/snmpc.c
1277
if ((port = strrchr(hostname, ':')) != NULL)
usr.bin/ssh/auth2-pubkeyfile.c
196
if ((ep = strrchr(cp, ' ')) != NULL ||
usr.bin/ssh/auth2-pubkeyfile.c
197
(ep = strrchr(cp, '\t')) != NULL) {
usr.bin/ssh/channels.c
5171
if (sscanf(strrchr(display, ':') + 1, "%u",
usr.bin/ssh/hostfile.c
508
if ((p = strrchr(filename, '/')) == NULL)
usr.bin/ssh/log.c
424
(cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line,
usr.bin/ssh/match.c
237
if ((p = strrchr(pattern, '@')) != NULL &&
usr.bin/ssh/match.c
246
if (strrchr(pattern, '@') == NULL)
usr.bin/ssh/match.c
250
p = strrchr(pat, '@');
usr.bin/ssh/misc.c
884
tmp = strrchr(sdup, '@');
usr.bin/ssh/misc.c
942
if ((cp = strrchr(tmp, '@')) != NULL) {
usr.bin/ssh/readconf.c
3469
if ((cp = strrchr(sdup, ',')) == NULL)
usr.bin/ssh/readconf.c
3508
if (orig != NULL && (cp = strrchr(orig, ',')) != NULL) {
usr.bin/ssh/scp.c
1385
if ((last = strrchr(name, '/')) == NULL)
usr.bin/ssh/scp.c
1462
last = strrchr(name, '/');
usr.bin/ssh/scp.c
930
if ((cp2 = strrchr(cp, '/')) != NULL)
usr.bin/ssh/session.c
1316
if ((shell0 = strrchr(shell, '/')) != NULL)
usr.bin/ssh/session.c
2183
strlcat(buf, strrchr(s->tty, '/') + 1, sizeof buf);
usr.bin/ssh/sftp-client.c
1564
if ((progresspath = strrchr(path, '/')) == NULL)
usr.bin/ssh/sftp-realpath.c
142
q = strrchr(resolved, '/') + 1;
usr.bin/ssh/sftp-realpath.c
181
q = strrchr(resolved, '/') + 1;
usr.bin/ssh/ssh-add.c
701
if ((host = strrchr(os, '@')) == NULL)
usr.bin/ssh/ssh-keygen.c
1821
if ((cp = strrchr(tmp, '.')) != NULL && strcmp(cp, ".pub") == 0)
usr.bin/ssh/ssh.c
1089
cp = strrchr(p, '@');
usr.bin/su/su.c
260
if ((p = strrchr(shell, '/')))
usr.bin/systat/swap.c
184
p = strrchr(sep->se_path, '/');
usr.bin/tftp/main.c
343
if (strrchr(argv[argc - 1], ':')) {
usr.bin/tftp/main.c
351
targ = strrchr(cp, ':');
usr.bin/tftp/main.c
432
if (strrchr(argv[n], ':') == 0) {
usr.bin/tftp/main.c
438
src = strrchr(argv[n], ':');
usr.bin/tftp/main.c
564
s = strrchr(filename, '/');
usr.bin/tmux/spawn.c
453
cp = strrchr(new_wp->shell, '/');
usr.bin/tmux/tmux.c
100
if ((ptr = strrchr(shell, '/')) != NULL)
usr.bin/tmux/tmux.c
248
slash = strrchr(shell, '/');
usr.bin/tmux/tmux.c
513
if (strrchr(s, '/') != NULL)
usr.bin/tmux/tmux.c
514
s = strrchr(s, '/') + 1;
usr.bin/unifdef/unifdef.c
797
if (strrchr(tline, '\n') == strrchr(tline, '\r') + 1)
usr.bin/usbhidaction/usbhidaction.c
351
*strrchr(coll, '.') = 0;
usr.bin/uudecode/uudecode.c
257
p = strrchr(q, '/');
usr.bin/vacation/vacation.c
361
if ((p = strrchr(from, '!')))
usr.bin/vi/common/recover.c
372
if ((p = strrchr(t, '/')) == NULL)
usr.bin/vi/ex/ex_argv.c
497
if ((p = strrchr(path, '/')) == NULL) {
usr.bin/vi/ex/ex_argv.c
591
if ((sh = strrchr(sh_path, '/')) == NULL)
usr.bin/vi/ex/ex_filter.c
168
if ((name = strrchr(O_STR(sp, O_SHELL), '/')) == NULL)
usr.bin/vi/ex/ex_script.c
161
if ((sh = strrchr(sh_path, '/')) == NULL)
usr.bin/vi/ex/ex_shell.c
117
if ((name = strrchr(O_STR(sp, O_SHELL), '/')) == NULL)
usr.bin/vi/ex/ex_tag.c
1130
stat(name, &sb) && (p = strrchr(tfp->name, '/')) != NULL) {
usr.bin/vi/ex/ex_tag.c
423
if ((t = strrchr(p, '/')) == NULL)
usr.bin/vi/ex/ex_tag.c
896
if ((p = strrchr(search, '(')) != NULL) {
usr.bin/vi/vi/v_txt.c
2131
if ((p = strrchr(argv[0]->bp, '/')) == NULL)
usr.bin/vi/vi/vs_split.c
577
if ((p = strrchr(nsp->frp->name, '/')) == NULL)
usr.bin/who/who.c
79
if ((t = strrchr(mytty, '/')))
usr.bin/whois/whois.c
302
else if ((qhead = strrchr(name, '.')) == NULL) {
usr.bin/write/write.c
79
if ((cp = strrchr(mytty, '/')))
usr.bin/xinstall/xinstall.c
240
(p = strrchr(from_name, '/')) ? ++p : from_name);
usr.bin/xinstall/xinstall.c
628
if ((p = strrchr(temp, '/')) != NULL)
usr.bin/yacc/main.c
202
if ((suffix = strrchr(output_file_name, '.')) != 0 &&
usr.sbin/acme-client/parse.y
950
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/amd/amd/info_passwd.c
114
q = strrchr(p, '/');
usr.sbin/amd/amd/info_passwd.c
96
user = strrchr(dir, '/');
usr.sbin/amd/amd/mapc.c
635
while (error && (subp = strrchr(wildname, '/'))) {
usr.sbin/amd/amd/opts.c
533
vptr = strrchr(val, '/');
usr.sbin/amd/amd/opts.c
539
vptr = strrchr(val, '/');
usr.sbin/amd/amd/util.c
588
dp = strrchr(xdp, '/');
usr.sbin/apmd/apmd.c
738
prog = strrchr(file, '/');
usr.sbin/bgpctl/ometric.c
87
suffix = strrchr(name, '_');
usr.sbin/bgpctl/parser.c
1012
if ((p = strrchr(word, '/')) != NULL) {
usr.sbin/bgpd/config.c
533
if ((p = strrchr(ps, '/')) != NULL) {
usr.sbin/bgpd/parse.y
4290
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/bgplgd/qs.c
148
if ((p = strrchr(str, '/')) != NULL) {
usr.sbin/config/files.c
116
tail = strrchr(path, '/');
usr.sbin/config/files.c
121
dotp = strrchr(tail, '.');
usr.sbin/config/main.c
251
last_component = strrchr(conffile, '/');
usr.sbin/crunchgen/crunchgen.c
198
if ((p = strrchr(infilename, '/')) != NULL)
usr.sbin/crunchgen/crunchgen.c
202
if ((p = strrchr(confname, '.')) != NULL && !strcmp(p, ".conf"))
usr.sbin/dvmrpctl/parser.c
286
if (strrchr(word, '/') != NULL) {
usr.sbin/dvmrpd/parse.y
839
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/eeprom/main.c
125
if ((arg = strrchr(keyword, '=')) != NULL)
usr.sbin/eeprom/main.c
91
if ((cp = strrchr(line, '\n')) != NULL)
usr.sbin/eigrpctl/parser.c
464
if ((p = strrchr(word, '/')) != NULL) {
usr.sbin/eigrpd/parse.y
1099
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/eigrpd/parse.y
1284
if ((p = strrchr(s, '/')) != NULL) {
usr.sbin/hostapd/parse.y
1676
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/httpd/parse.y
2036
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ifstated/parse.y
876
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/inetd/inetd.c
1065
hostdelim = strrchr(arg, ':');
usr.sbin/inetd/inetd.c
1212
if ((arg = strrchr(sep->se_server, '/')) != NULL)
usr.sbin/iscsictl/parse.y
744
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ldapd/parse.y
924
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ldapd/validate.c
115
sup_dn = strrchr(copy, '\0');
usr.sbin/ldpd/parse.y
1413
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/lpd/parse.y
687
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/lpd/printer.c
1215
cp = strrchr(lp->lp_of, '/');
usr.sbin/lpd/printer.c
645
prog = strrchr(lp->lp_if, '/');
usr.sbin/lpd/printer.c
969
if ((cp = strrchr(_PATH_SENDMAIL, '/')))
usr.sbin/lpr/lpd/printjob.c
1128
if ((cp = strrchr(_PATH_SENDMAIL, '/')) != NULL)
usr.sbin/lpr/lpd/printjob.c
1384
if ((cp = strrchr(OF, '/')) == NULL)
usr.sbin/lpr/lpd/printjob.c
699
if ((av[0] = strrchr(prog, '/')) != NULL)
usr.sbin/lpr/lpr/lpr.c
295
jobname = (arg = strrchr(argv[0], '/')) ?
usr.sbin/lpr/lpr/lpr.c
455
if ((cp = strrchr(buf, '/')) != NULL)
usr.sbin/lpr/lpr/lpr.c
590
if ((cp = strrchr(file, '/')) == NULL) {
usr.sbin/makefs/msdos/mkfs_msdos.c
753
if ((s2 = strrchr(s1, '/')))
usr.sbin/npppd/common/net_utils.c
104
servp = strrchr(nodep, ':');
usr.sbin/npppd/common/net_utils.c
109
slash = strrchr(servp, '/');
usr.sbin/npppd/npppd/chap.c
949
if ((lastbackslash = strrchr(username, '\\')) != NULL)
usr.sbin/npppd/npppd/chap_ms.c
156
if ((name = strrchr(username, '\\')) == NULL)
usr.sbin/npppd/npppd/npppd_auth.c
458
if ((atmark = strrchr(u1, '@')) != NULL)
usr.sbin/nsd/nsd.c
876
char* argv0 = (argv0 = strrchr(argv[0], '/')) ? argv0 + 1 : argv[0];
usr.sbin/nsd/options.c
2712
if((p=strrchr(ip, '@'))!=0) {
usr.sbin/nsd/options.c
2997
if((atsign=strrchr(search_ifa, '@')) != NULL) {
usr.sbin/nsd/options.c
578
char* space = strrchr(buf+4, ' ');
usr.sbin/nsd/options.c
604
char* mem_idnm = strrchr(nm, ' '), *patnm;
usr.sbin/nsd/options.c
612
patnm = strrchr(nm, ' ');
usr.sbin/nsd/remote.c
1216
char* as = strrchr(arg, ' ');
usr.sbin/nsd/remote.c
1240
as = strrchr(arg, ' ');
usr.sbin/ospf6ctl/parser.c
362
if ((p = strrchr(word, '/')) != NULL) {
usr.sbin/ospf6d/parse.y
1134
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ospf6d/parse.y
1306
if ((p = strrchr(s, '/')) != NULL) {
usr.sbin/ospfctl/parser.c
358
if (strrchr(word, '/') != NULL) {
usr.sbin/ospfd/parse.y
1327
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ospfd/parse.y
1498
if (strrchr(s, '/') != NULL) {
usr.sbin/pppd/sys-bsd.c
1418
if ((p = strrchr(dev, '/')) != NULL)
usr.sbin/pwd_mkdb/pwd_mkdb.c
485
if ((p = strrchr(path, '/')) != NULL)
usr.sbin/quot/quot.c
587
if ((nm = strrchr(mp->f_mntfromname, '/'))) {
usr.sbin/quotaon/quotaon.c
71
whoami = strrchr(*argv, '/') + 1;
usr.sbin/rad/parse.y
1043
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/radiusctl/chap_ms.c
156
if ((name = strrchr(username, '\\')) == NULL)
usr.sbin/radiusd/chap_ms.c
156
if ((name = strrchr(username, '\\')) == NULL)
usr.sbin/radiusd/radiusd_ipcp.c
2081
else if (*(end + 1) == '[' && (sb = strrchr(end + 2, ']'))
usr.sbin/radiusd/radiusd_ipcp.c
2087
(sb = strrchr(sb0 + 1, ']')) != NULL && sb0 < sb) {
usr.sbin/radiusd/radiusd_ipcp.c
2093
(colon = strrchr(str, ':')) != NULL && colon0 == colon) {
usr.sbin/radiusd/radiusd_standard.c
243
(ch = strrchr(username, '@')) != NULL) {
usr.sbin/radiusd/util.c
46
servp = strrchr(nodep, ':');
usr.sbin/radiusd/util.c
51
slash = strrchr(servp, '/');
usr.sbin/rbootd/rmpproto.c
329
if ((filename = strrchr(filepath,'/')) != NULL)
usr.sbin/relayd/parse.y
3102
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ripctl/parser.c
293
if (strrchr(word, '/') != NULL) {
usr.sbin/ripd/parse.y
866
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ripd/parse.y
930
if (strrchr(s, '/') != NULL) {
usr.sbin/rpki-client/cert.c
809
mftfilename = strrchr(cert->mft, '/');
usr.sbin/rpki-client/filemode.c
251
filename = strrchr(tal->uri[0], '/');
usr.sbin/rpki-client/filemode.c
474
if ((gz_ext = strrchr(file, '.')) == NULL) {
usr.sbin/rpki-client/http.c
1418
loctail = strrchr(locbase, '/');
usr.sbin/rpki-client/http.c
435
if ((hosttail = strrchr(host, ']')) == NULL)
usr.sbin/rpki-client/http.c
444
if ((port = strrchr(host, ':')) != NULL)
usr.sbin/rpki-client/main.c
491
nfile = strrchr(tal->uri[0], '/');
usr.sbin/rpki-client/main.c
563
file = strrchr(uri, '/');
usr.sbin/rpki-client/mft.c
408
crlfile = strrchr(cert->crl, '/');
usr.sbin/rpki-client/ometric.c
87
suffix = strrchr(name, '_');
usr.sbin/rpki-client/repo.c
279
slash = strrchr(file, '/');
usr.sbin/rpki-client/repo.c
361
file = strrchr(tr->uri[0], '/');
usr.sbin/rpki-client/tal.c
108
f = strrchr(line, '/') + 1; /* can not fail */
usr.sbin/rpki-client/tal.c
176
d = strrchr(fn, '/');
usr.sbin/slowcgi/slowcgi.c
934
path = strrchr(c->script_name, '/');
usr.sbin/smtpd/parse.y
3243
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/smtpd/queue_fs.c
140
*strrchr(queuedir, '/') = '\0';
usr.sbin/smtpd/smtpc.c
288
c = strrchr(p, '@');
usr.sbin/smtpd/smtpctl.c
1287
char *gzcat_argv0 = strrchr(PATH_GZCAT, '/') + 1;
usr.sbin/smtpd/to.c
66
hostname = strrchr(username, '@');
usr.sbin/snmpd/ax.c
1042
p = strrchr(p, ' ');
usr.sbin/snmpd/ax.c
1052
p = strrchr(buf, ' ');
usr.sbin/snmpd/ax.c
963
p = strrchr(p, ' ');
usr.sbin/snmpd/ax.c
973
p = strrchr(buf, ' ');
usr.sbin/snmpd/parse.y
2004
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/syslogd/syslogd.c
3067
*port = strrchr(str, ':');
usr.sbin/tcpdrop/tcpdrop.c
81
port1 = strrchr(addr1, ':');
usr.sbin/tcpdrop/tcpdrop.c
82
dot = strrchr(addr1, '.');
usr.sbin/tcpdrop/tcpdrop.c
93
port2 = strrchr(addr2, ':');
usr.sbin/tcpdrop/tcpdrop.c
94
dot = strrchr(addr2, '.');
usr.sbin/tcpdump/tcpdump.c
220
if ((cp = strrchr(argv[0], '/')) != NULL)
usr.sbin/unbound/daemon/unbound.c
820
log_ident_default = strrchr(argv[0],'/')?strrchr(argv[0],'/')+1:argv[0];
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
555
if(strrchr(buf, '\t')) *strrchr(buf, '\t')=' ';
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
557
if(strrchr(buf, '\t')) *strrchr(buf, '\t')=' ';
usr.sbin/unbound/ipset/ipset.c
95
p = strrchr(setname, '/');
usr.sbin/unbound/services/authzone.c
3742
strchr(master->host, '/') == strrchr(master->host, '/') &&
usr.sbin/unbound/services/authzone.c
6618
strchr(master->host, '/') == strrchr(master->host, '/')) {
usr.sbin/unbound/services/listen_dnsport.c
1724
if((atsign=strrchr(search_ifa, '@')) != NULL) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
570
rev = strrchr(fname, '/');
usr.sbin/unbound/testcode/petal.c
200
if(!e) e = strrchr(buf, ' ');
usr.sbin/unbound/testcode/petal.c
201
if(!e) e = strrchr(buf, '\t');
usr.sbin/unbound/testcode/petal.c
343
if(strrchr(host, ':'))
usr.sbin/unbound/testcode/petal.c
344
*strrchr(host, ':') = 0;
usr.sbin/unbound/util/config_file.c
2647
char* sp = strrchr(str, ' ');
usr.sbin/unbound/util/config_file.c
2648
char* tab = strrchr(str, '\t');
usr.sbin/unbound/util/config_file.c
2831
if(strrchr(dirbuf, '\\')) {
usr.sbin/unbound/util/config_file.c
2832
(strrchr(dirbuf, '\\'))[0] = 0;
usr.sbin/vmctl/main.c
459
if ((ext = strrchr(s, '.')) != NULL && *(++ext) != '\0') {
usr.sbin/vmctl/vmctl.c
748
else if ((tty = strrchr(vir->vir_ttyname,
usr.sbin/vmd/parse.y
1290
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/vmd/parse.y
1430
if ((p = strrchr(ps, '/')) != NULL) {
usr.sbin/vmd/parse.y
1496
if ((p = strrchr(ps, '/')) != NULL) {
usr.sbin/ypldap/parse.y
1019
if ((val = strrchr(s, '=')) == NULL)
usr.sbin/ypserv/makedbm/makedbm.c
190
slash = strrchr(database, '/');
usr.sbin/ypserv/mkalias/mkalias.c
206
slash = strrchr(output, '/');