Lines Matching defs:len
255 int len;
258 len = g_unichar_to_utf8 (a, utf8);
259 len += g_unichar_to_utf8 (b, utf8 + len);
260 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC);
261 len = g_utf8_strlen (normalized, -1);
262 if (unlikely (!len))
265 if (len == 1) {
292 int len;
295 len = g_unichar_to_utf8 (ab, utf8);
296 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD);
297 len = g_utf8_strlen (normalized, -1);
298 if (unlikely (!len))
301 if (len == 1) {
305 } else if (len == 2) {
322 gchar *end = g_utf8_offset_to_pointer (normalized, len - 1);