Searched refs:tok_len (Results 1 – 3 of 3) sorted by relevance
231 int tok_len; in from_match() local248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()254 } else if (tok[(tok_len = strlen(tok)) - 1] == '.' /* network */ in from_match()255 && strncmp(tok, string, tok_len) == 0) { in from_match()
247 int tok_len; in from_match() local264 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()265 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()270 } else if (tok[(tok_len = strlen(tok)) - 1] == '.' /* network */ in from_match()271 && strncmp(tok, string, tok_len) == 0) { in from_match()