Searched refs:common_len (Results 1 – 2 of 2) sorted by relevance
1110 radix_strlen_t common_len = 0, l1 = 0, l2 = 0; in ldns_radix_array_split() local1111 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 …]
397 static int common_len(const char *a, const char *b) in common_len() function412 int same = common_len(c[0], c[i]); in max_common_length()