Lines Matching refs:utf8_length
315 int utf8_length;
339 * we must use for 'utf8_length'.
341 if ((utf8_length = ASN1_STRING_to_UTF8(&utf8_value, cn)) < 0)
349 while (utf8_length > 0 && utf8_value[utf8_length - 1] == '\0')
350 --utf8_length;
353 if (memchr(utf8_value, 0, utf8_length) != NULL) {
367 for (i = 0; i < utf8_length; ++i) {
377 if (i > 0 && i < utf8_length - 1) {
399 *idlen = (size_t)utf8_length;