Searched refs:matchlen (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/sendmail/libsm/ |
H A D | config.c | 42 int matchlen, envlen = 0; variable 54 matchlen = strlen(str); 56 matchlen = (int) (tmp - str); 57 ++matchlen; 68 if (strncmp(str, *current, matchlen) == 0)
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | fnmatch.c | 302 int matchlen = 0; in fnmatch() local 383 for (matchptr = pattern, matchlen = 0; 1; ++matchlen) { in fnmatch() 394 if (string + matchlen > strendseg) in fnmatch() 397 string = strendseg - matchlen; in fnmatch() 409 if (string + matchlen > strendseg) in fnmatch() 467 if (string + matchlen > strendseg) in fnmatch()
|
/freebsd/contrib/tnftp/src/ |
H A D | complete.c | 91 size_t matchlen, wordlen; in complete_ambiguous() local 109 matchlen = 0; in complete_ambiguous() 111 matchlen = strlen(lastmatch); in complete_ambiguous() 116 if (j < matchlen) in complete_ambiguous() 117 matchlen = j; in complete_ambiguous() 119 if (matchlen > wordlen) { in complete_ambiguous() 121 lastmatch + wordlen, matchlen - wordlen); in complete_ambiguous()
|
/freebsd/lib/libc/net/ |
H A D | name6.c | 205 static int matchlen(struct sockaddr *, struct sockaddr *); 785 int matchlen, bestmatchlen = -1; in match_addrselectpolicy() local 808 matchlen = 0; in match_addrselectpolicy() 819 matchlen += 8; in match_addrselectpolicy() 822 matchlen++; in match_addrselectpolicy() 829 if (matchlen > bestmatchlen) { in match_addrselectpolicy() 831 bestmatchlen = matchlen; in match_addrselectpolicy() 882 aio->aio_matchlen = matchlen(&aio->aio_srcsa, (struct sockaddr *)&ss); in set_source() 904 matchlen(struct sockaddr *src, struct sockaddr *dst) in matchlen() function
|
H A D | getaddrinfo.c | 287 static int matchlen(struct sockaddr *, struct sockaddr *); 785 int matchlen, bestmatchlen = -1; in match_addrselectpolicy() local 808 matchlen = 0; in match_addrselectpolicy() 819 matchlen += 8; in match_addrselectpolicy() 822 matchlen++; in match_addrselectpolicy() 829 if (matchlen > bestmatchlen) { in match_addrselectpolicy() 831 bestmatchlen = matchlen; in match_addrselectpolicy() 899 aio->aio_matchlen = matchlen(&aio->aio_srcsa, aio->aio_ai->ai_addr); in set_source() 921 matchlen(struct sockaddr *src, struct sockaddr *dst) in matchlen() function
|
/freebsd/sys/netinet6/ |
H A D | in6_src.c | 1078 int matchlen, bestmatchlen = -1; in match_addrsel_policy() local 1082 matchlen = 0; in match_addrsel_policy() 1094 matchlen += 8; in match_addrsel_policy() 1097 matchlen++; in match_addrsel_policy() 1105 matchlen > bestmatchlen) { in match_addrsel_policy() 1107 bestmatchlen = matchlen; in match_addrsel_policy()
|
/freebsd/usr.bin/bsdiff/bsdiff/ |
H A D | bsdiff.c | 53 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize) in matchlen() function 69 x=matchlen(old+I[st],oldsize-I[st],new,newsize); in search() 70 y=matchlen(old+I[en],oldsize-I[en],new,newsize); in search()
|
/freebsd/usr.sbin/bsdconfig/share/ |
H A D | sysrc.subr | 483 matchlen = RSTART + RLENGTH - 1 486 value = substr($0, matchlen + 1, length($0) - matchlen) 519 printf "%s%c%s%c%s\n", substr($0, 0, matchlen), \
|
/freebsd/crypto/openssh/ |
H A D | sftp.c | 1876 u_int y, matchlen = strlen(list[0]); in complete_ambiguous() local 1882 for (x = 0; x < matchlen; x++) in complete_ambiguous() 1886 matchlen = x; in complete_ambiguous() 1889 if (matchlen > strlen(word)) { in complete_ambiguous() 1892 tmp[matchlen] = '\0'; in complete_ambiguous()
|