Lines Matching refs:len
112 unsigned int len; member
133 static void add_to_hashtable(const char *name, int len, unsigned int hash, in add_to_hashtable() argument
138 aux = xmalloc(sizeof(*aux) + len); in add_to_hashtable()
139 memcpy(aux->name, name, len); in add_to_hashtable()
140 aux->len = len; in add_to_hashtable()
150 static bool in_hashtable(const char *name, int len, struct item *hashtab[]) in in_hashtable() argument
153 unsigned int hash = strhash(name, len); in in_hashtable()
156 if (aux->hash == hash && aux->len == len && in in_hashtable()
157 memcmp(aux->name, name, len) == 0) in in_hashtable()
161 add_to_hashtable(name, len, hash, hashtab); in in_hashtable()
242 static int is_ignored_file(const char *s, int len) in is_ignored_file() argument
244 return str_ends_with(s, len, "include/generated/autoconf.h"); in is_ignored_file()
248 static int is_no_parse_file(const char *s, int len) in is_no_parse_file() argument
251 return str_ends_with(s, len, ".rlib") || in is_no_parse_file()
252 str_ends_with(s, len, ".rmeta") || in is_no_parse_file()
253 str_ends_with(s, len, ".so"); in is_no_parse_file()