percent 2617 src/core/load-fragment.c double percent; percent 2635 src/core/load-fragment.c if (sscanf(rvalue, "%lf%%", &percent) != 1 || percent <= 0) { percent 2641 src/core/load-fragment.c c->cpu_quota_per_sec_usec = (usec_t) (percent * USEC_PER_SEC / 100); percent 194 src/fsck/fsck.c p = percent(pass, cur, max); percent 1348 src/libsystemd/sd-bus/bus-util.c double percent; percent 1350 src/libsystemd/sd-bus/bus-util.c if (sscanf(eq, "%lf%%", &percent) != 1 || percent <= 0) { percent 1359 src/libsystemd/sd-bus/bus-util.c r = sd_bus_message_append(m, "v", "t", (usec_t) percent * USEC_PER_SEC / 100); percent 298 src/resolve-host/resolve-host.c const char *percent, *a; percent 302 src/resolve-host/resolve-host.c percent = strchr(s, '%'); percent 303 src/resolve-host/resolve-host.c if (percent) { percent 304 src/resolve-host/resolve-host.c r = safe_atoi(percent+1, &ifi); percent 306 src/resolve-host/resolve-host.c ifi = if_nametoindex(percent+1); percent 311 src/resolve-host/resolve-host.c a = strndupa(s, percent - s); percent 38 src/shared/specifier.c bool percent = false; percent 54 src/shared/specifier.c if (percent) { percent 97 src/shared/specifier.c percent = false; percent 99 src/shared/specifier.c percent = true; percent 3370 src/shared/util.c static char *ascii_ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigned percent) { percent 3375 src/shared/util.c assert(percent <= 100); percent 3385 src/shared/util.c x = (new_length * percent) / 100; percent 3401 src/shared/util.c char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigned percent) { percent 3408 src/shared/util.c assert(percent <= 100); percent 3413 src/shared/util.c return ascii_ellipsize_mem(s, old_length, new_length, percent); percent 3418 src/shared/util.c x = (new_length * percent) / 100; percent 3475 src/shared/util.c char *ellipsize(const char *s, size_t length, unsigned percent) { percent 3476 src/shared/util.c return ellipsize_mem(s, strlen(s), length, percent); percent 497 src/shared/util.h char *ellipsize(const char *s, size_t length, unsigned percent); percent 499 src/shared/util.h char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigned percent);