Searched refs:UidRange (Results 1 - 4 of 4) sorted by relevance
/systemd/src/shared/ |
H A D | uid-range.h | 25 typedef struct UidRange { struct 27 } UidRange; typedef in typeref:struct:UidRange 29 int uid_range_add(UidRange **p, unsigned *n, uid_t start, uid_t nr); 30 int uid_range_add_str(UidRange **p, unsigned *n, const char *s); 32 int uid_range_next_lower(const UidRange *p, unsigned n, uid_t *uid); 33 bool uid_range_contains(const UidRange *p, unsigned n, uid_t uid);
|
H A D | uid-range.c | 28 static bool uid_range_intersect(UidRange *range, uid_t start, uid_t nr) { 35 static void uid_range_coalesce(UidRange **p, unsigned *n) { 43 UidRange *x = (*p)+i, *y = (*p)+j; 55 memmove(y, y+1, sizeof(UidRange) * (*n - j -1)); 66 const UidRange *x = a, *y = b; 81 int uid_range_add(UidRange **p, unsigned *n, uid_t start, uid_t nr) { 83 UidRange *x; 109 UidRange *t; 111 t = realloc(*p, sizeof(UidRange) * (*n + 1)); 122 qsort(*p, *n, sizeof(UidRange), uid_range_compar [all...] |
/systemd/src/test/ |
H A D | test-uid-range.c | 28 _cleanup_free_ UidRange *p = NULL;
|
/systemd/src/sysusers/ |
H A D | sysusers.c | 83 static UidRange *uid_range = NULL;
|
Completed in 23 milliseconds