Lines Matching refs:ext
609 struct bin_str ext; /* The extension we're looking for */ member
2741 struct color_ext_type *ext; /* Extension we are working on */ in parse_ls_color() local
2755 ext = nullptr; in parse_ls_color()
2782 ext = xmalloc (sizeof *ext); in parse_ls_color()
2783 ext->next = color_ext_list; in parse_ls_color()
2784 color_ext_list = ext; in parse_ls_color()
2785 ext->exact_match = false; in parse_ls_color()
2788 ext->ext.string = buf; in parse_ls_color()
2790 state = (get_funky_string (&buf, &p, true, &ext->ext.len) in parse_ls_color()
2838 ext->seq.string = buf; in parse_ls_color()
2839 state = (get_funky_string (&buf, &p, false, &ext->seq.len) in parse_ls_color()
2886 if (e2->ext.len < SIZE_MAX && e1->ext.len == e2->ext.len) in parse_ls_color()
2888 if (memcmp (e1->ext.string, e2->ext.string, e1->ext.len) == 0) in parse_ls_color()
2889 e2->ext.len = SIZE_MAX; /* Ignore */ in parse_ls_color()
2890 else if (c_strncasecmp (e1->ext.string, e2->ext.string, in parse_ls_color()
2891 e1->ext.len) == 0) in parse_ls_color()
2895 e2->ext.len = SIZE_MAX; /* Ignore */ in parse_ls_color()
2901 e2->ext.len = SIZE_MAX; /* Ignore */ in parse_ls_color()
4978 struct color_ext_type *ext; /* Color extension */ in get_color_indicator() local
5055 ext = nullptr; in get_color_indicator()
5062 for (ext = color_ext_list; ext != nullptr; ext = ext->next) in get_color_indicator()
5064 if (ext->ext.len <= len) in get_color_indicator()
5066 if (ext->exact_match) in get_color_indicator()
5068 if (STREQ_LEN (name - ext->ext.len, ext->ext.string, in get_color_indicator()
5069 ext->ext.len)) in get_color_indicator()
5074 if (c_strncasecmp (name - ext->ext.len, ext->ext.string, in get_color_indicator()
5075 ext->ext.len) == 0) in get_color_indicator()
5090 = ext ? &(ext->seq) : &color_indicator[type]; in get_color_indicator()