Home
last modified time | relevance | path

Searched refs:common_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ldns/
H A Dradix.c1110 radix_strlen_t common_len = 0, l1 = 0, l2 = 0; in ldns_radix_array_split() local
1111 common_len = ldns_radix_str_common(array->str, array->len, in ldns_radix_array_split()
1113 assert(common_len < array->len); in ldns_radix_array_split()
1114 assert(common_len < strlen_to_add); in ldns_radix_array_split()
1120 if (array->len - common_len > 1) { in ldns_radix_array_split()
1121 if (!ldns_radix_prefix_remainder(common_len+1, in ldns_radix_array_split()
1127 if (strlen_to_add - common_len > 1) { in ldns_radix_array_split()
1128 if (!ldns_radix_prefix_remainder(common_len+1, in ldns_radix_array_split()
1136 if (common_len > 0) { in ldns_radix_array_split()
1137 common_str = LDNS_XMALLOC(uint8_t, common_len); in ldns_radix_array_split()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dedit.c397 static int common_len(const char *a, const char *b) in common_len() function
412 int same = common_len(c[0], c[i]); in max_common_length()