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

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