示例#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);
}