Lines Matching refs:Set

228 struct Set {  struct
246 assert_cc(sizeof(Hashmap) == sizeof(Set));
269 .head_size = sizeof(Set),
387 static struct set_entry *set_bucket_at(Set *h, unsigned idx) { in set_bucket_at()
816 Set *_set_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) { in _set_new()
817 … return (Set*) hashmap_base_new(hash_ops, HASHMAP_TYPE_SET HASHMAP_DEBUG_PASS_ARGS); in _set_new()
845 int _set_ensure_allocated(Set **s, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) { in _set_ensure_allocated()
1251 int set_put(Set *s, const void *key) { in set_put()
1268 int _set_ensure_put(Set **s, const struct hash_ops *hash_ops, const void *key HASHMAP_DEBUG_PARAMS… in _set_ensure_put()
1278 int _set_ensure_consume(Set **s, const struct hash_ops *hash_ops, void *key HASHMAP_DEBUG_PARAMS) { in _set_ensure_consume()
1465 int set_remove_and_put(Set *s, const void *old_key, const void *new_key) { in set_remove_and_put()
1614 int set_merge(Set *s, Set *other) { in set_merge()
1748 r = set_merge((Set*)copy, (Set*)h); in _hashmap_copy()
1798 int set_consume(Set *s, void *value) { in set_consume()
1845 int _set_put_strdup_full(Set **s, const struct hash_ops *hash_ops, const char *p HASHMAP_DEBUG_PAR… in _set_put_strdup_full()
1866 int _set_put_strdupv_full(Set **s, const struct hash_ops *hash_ops, char **l HASHMAP_DEBUG_PARAMS)… in _set_put_strdupv_full()
1882 int set_put_strsplit(Set *s, const char *v, const char *separators, ExtractFlags flags) { in set_put_strsplit()
1993 int set_strjoin(Set *s, const char *separator, bool wrap_with_separator, char **ret) { in set_strjoin()
2043 bool set_equal(Set *a, Set *b) { in set_equal()
2075 static bool set_fnmatch_one(Set *patterns, const char *needle) { in set_fnmatch_one()
2087 bool set_fnmatch(Set *include_patterns, Set *exclude_patterns, const char *needle) { in set_fnmatch()