Searched refs:tok_len (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dlogin_access.c231 int tok_len; local
248 if ((str_len = strlen(string)) > (tok_len = strlen(tok))
249 && strcasecmp(tok, string + str_len - tok_len) == 0)
254 } else if (tok[(tok_len = strlen(tok)) - 1] == '.' /* network */
255 && strncmp(tok, string, tok_len) == 0) {
/freebsd-10-stable/crypto/heimdal/appl/rsh/
H A Dlogin_access.c231 int tok_len; local
248 if ((str_len = strlen(string)) > (tok_len = strlen(tok))
249 && strcasecmp(tok, string + str_len - tok_len) == 0)
254 } else if (tok[(tok_len = strlen(tok)) - 1] == '.' /* network */
255 && strncmp(tok, string, tok_len) == 0) {
/freebsd-10-stable/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c202 int tok_len; local
219 if ((str_len = strlen(string)) > (tok_len = strlen(tok))
220 && strcasecmp(tok, string + str_len - tok_len) == 0)
225 } else if (tok[(tok_len = strlen(tok)) - 1] == '.' /* network */
226 && strncmp(tok, string, tok_len) == 0) {

Completed in 157 milliseconds