Lines Matching refs:len
186 size_t len; member
433 size_t len = strlen (s); in unquote() local
435 es->s = xmalloc (len); in unquote()
436 es->escaped = xcalloc (len, sizeof es->escaped[0]); in unquote()
534 es->len = j; in unquote()
543 look_up_char_class (char const *class_str, size_t len) in look_up_char_class() argument
548 if (STREQ_LEN (class_str, char_class_name[i], len) in look_up_char_class()
549 && strlen (char_class_name[i]) == len) in look_up_char_class()
582 make_printable_str (char const *s, size_t len) in make_printable_str() argument
586 char *printable_buf = xnmalloc (len + 1, 4); in make_printable_str()
589 for (size_t i = 0; i < len; i++) in make_printable_str()
688 char const *char_class_str, size_t len) in append_char_class() argument
690 enum Char_class char_class = look_up_char_class (char_class_str, len); in append_char_class()
728 char const *equiv_class_str, size_t len) in append_equiv_class() argument
730 if (len != 1) in append_equiv_class()
752 for (size_t i = start_idx; i < es->len - 1; i++) in find_closing_delim()
777 affirm (start_idx + 1 < es->len); in find_bracketed_repeat()
781 for (size_t i = start_idx + 2; i < es->len && !es->escaped[i]; i++) in find_bracketed_repeat()
831 for (size_t i = idx + 1; i < es->len; i++) in star_digits_closebracket()
861 for (i = 0; i + 2 < es->len; /* empty */) in build_spec_list()
981 for (; i < es->len; i++) in build_spec_list()
1247 count len = 0; in get_spec_stats() local
1253 len = 1; in get_spec_stats()
1258 len = p->u.range.last_char - p->u.range.first_char + 1; in get_spec_stats()
1265 ++len; in get_spec_stats()
1280 ++len; in get_spec_stats()
1286 len = p->u.repeated_char.repeat_count; in get_spec_stats()
1302 new_length = length + len; in get_spec_stats()