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

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