Searched refs:s2_len (Results 1 – 2 of 2) sorted by relevance
402 size_t s1_len = strlen(s1), s2_len = strlen(s2); in ares_striendstr() local405 if (s2_len > s1_len) in ares_striendstr()409 c1_begin = s1+s1_len-s2_len; in ares_striendstr()412 while (c2 < s2+s2_len) in ares_striendstr()
1025 unsigned int s2_len = strlen(s2); in string_distance() local1029 p = malloc(sizeof(unsigned int) * (s2_len + 1)); in string_distance()1030 q = malloc(sizeof(unsigned int) * (s2_len + 1)); in string_distance()1033 for (i = 1; i <= s2_len; i++) in string_distance()1038 for (j = 1; j <= s2_len; j++) { in string_distance()1053 i = p[s2_len]; in string_distance()