Searched refs:seen (Results 1 - 3 of 3) sorted by relevance

/systemd/src/test/
H A Dtest-set.c24 int seen[3] = {}; local
35 seen[strlen(val) - 1]++;
37 assert_se(seen[0] == 1 && seen[1] == 1 && seen[2] == 1);
H A Dtest-hashmap-plain.c794 int seen[3] = {}; local
805 seen[strlen(val) - 1]++;
807 assert_se(seen[0] == 1 && seen[1] == 1 && seen[2] == 1);
/systemd/src/basic/
H A Dutil.c83 _cleanup_set_free_free_ Set *seen = NULL; local
98 seen = set_new(&string_hash_ops);
99 if (!seen)
122 if (set_contains(seen, de->d_name)) {
123 log_debug("%1$s/%2$s skipped (%2$s was already seen).", *directory, de->d_name);
127 r = set_put_strdup(seen, de->d_name);

Completed in 26 milliseconds