Example #1
0
File: set.c Project: mariux/systemd
void *set_iterate_backwards(Set *s, Iterator *i) {
        return hashmap_iterate_backwards(MAKE_HASHMAP(s), i, NULL);
}
Example #2
0
File: set.c Project: mariux/systemd
void *set_iterate_skip(Set *s, void *value, Iterator *i) {
        return hashmap_iterate_skip(MAKE_HASHMAP(s), value, i);
}
Example #3
0
File: set.c Project: mariux/systemd
unsigned set_size(Set *s) {
        return hashmap_size(MAKE_HASHMAP(s));
}
Example #4
0
File: set.c Project: mariux/systemd
bool set_isempty(Set *s) {
        return hashmap_isempty(MAKE_HASHMAP(s));
}
Example #5
0
Set* set_copy(Set *s) {
        return MAKE_SET(hashmap_copy(MAKE_HASHMAP(s)));
}
Example #6
0
void pa_headerlist_free(pa_headerlist* p) {
    pa_hashmap_free(MAKE_HASHMAP(p), (pa_free_cb_t) header_free);
}
Example #7
0
File: set.c Project: mariux/systemd
void *set_get(Set *s, void *value) {
        return hashmap_get(MAKE_HASHMAP(s), value);
}
Example #8
0
void set_move(Set *s, Set *other) {
        return hashmap_move(MAKE_HASHMAP(s), MAKE_HASHMAP(other));
}
Example #9
0
File: set.c Project: mariux/systemd
int set_put(Set *s, void *value) {
        return hashmap_put(MAKE_HASHMAP(s), value, value);
}
Example #10
0
File: set.c Project: mariux/systemd
int set_replace(Set *s, void *value) {
        return hashmap_replace(MAKE_HASHMAP(s), value, value);
}
Example #11
0
File: set.c Project: mariux/systemd
void set_free_free(Set *s) {
        hashmap_free_free(MAKE_HASHMAP(s));
}
Example #12
0
File: set.c Project: mariux/systemd
void set_clear_free(Set *s) {
        hashmap_clear_free(MAKE_HASHMAP(s));
}
Example #13
0
File: set.c Project: mariux/systemd
int set_merge(Set *s, Set *other) {
        return hashmap_merge(MAKE_HASHMAP(s), MAKE_HASHMAP(other));
}
Example #14
0
File: set.c Project: mariux/systemd
void *set_steal_first(Set *s) {
        return hashmap_steal_first(MAKE_HASHMAP(s));
}
Example #15
0
File: set.c Project: mariux/systemd
bool set_contains(Set *s, void *value) {
        return hashmap_contains(MAKE_HASHMAP(s), value);
}
Example #16
0
File: set.c Project: mariux/systemd
void* set_last(Set *s) {
        return hashmap_last(MAKE_HASHMAP(s));
}
Example #17
0
File: set.c Project: mariux/systemd
void *set_remove(Set *s, void *value) {
        return hashmap_remove(MAKE_HASHMAP(s), value);
}
Example #18
0
int set_move_one(Set *s, Set *other, void *value) {
        return hashmap_move_one(MAKE_HASHMAP(s), MAKE_HASHMAP(other), value);
}
Example #19
0
File: set.c Project: mariux/systemd
int set_remove_and_put(Set *s, void *old_value, void *new_value) {
        return hashmap_remove_and_put(MAKE_HASHMAP(s), old_value, new_value, new_value);
}
Example #20
0
void set_clear(Set *s) {
        hashmap_clear(MAKE_HASHMAP(s));
}
Example #21
0
void pa_proplist_free(pa_proplist* p) {
    pa_assert(p);

    pa_proplist_clear(p);
    pa_hashmap_free(MAKE_HASHMAP(p), NULL, NULL);
}