Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-parse-util.c858 loadavg_t fp; in TEST() local
860 assert_se(parse_loadavg_fixed_point("1.23", &fp) == 0); in TEST()
861 assert_se(LOADAVG_INT_SIDE(fp) == 1); in TEST()
862 assert_se(LOADAVG_DECIMAL_SIDE(fp) == 23); in TEST()
864 assert_se(parse_loadavg_fixed_point("1.80", &fp) == 0); in TEST()
865 assert_se(LOADAVG_INT_SIDE(fp) == 1); in TEST()
866 assert_se(LOADAVG_DECIMAL_SIDE(fp) == 80); in TEST()
868 assert_se(parse_loadavg_fixed_point("0.07", &fp) == 0); in TEST()
869 assert_se(LOADAVG_INT_SIDE(fp) == 0); in TEST()
870 assert_se(LOADAVG_DECIMAL_SIDE(fp) == 7); in TEST()
[all …]
/systemd-251/src/core/bpf/
Dmeson.build29 # For arm, assume hardware fp is available.
/systemd-251/src/resolve/
Dresolved-dns-dnssec.c647 static void fwrite_uint8(FILE *fp, uint8_t v) { in fwrite_uint8() argument
648 fwrite(&v, sizeof(v), 1, fp); in fwrite_uint8()
651 static void fwrite_uint16(FILE *fp, uint16_t v) { in fwrite_uint16() argument
653 fwrite(&v, sizeof(v), 1, fp); in fwrite_uint16()
656 static void fwrite_uint32(FILE *fp, uint32_t v) { in fwrite_uint32() argument
658 fwrite(&v, sizeof(v), 1, fp); in fwrite_uint32()
/systemd-251/src/core/
Ddbus-cgroup.c729 LIST_FOREACH(programs, fp, c->bpf_foreign_programs) in bus_cgroup_set_transient_property()
731 bpf_cgroup_attach_type_to_string(fp->attach_type), in bus_cgroup_set_transient_property()
732 fp->bpffs_path); in bus_cgroup_set_transient_property()
/systemd-251/src/libsystemd/sd-journal/
Djournal-verify.c386 static int write_uint64(FILE *fp, uint64_t p) { in write_uint64() argument
387 if (fwrite(&p, sizeof(p), 1, fp) != 1) in write_uint64()
Djournal-file.c1562 uint64_t hash, p, fp, osize; in journal_file_append_data() local
1627 r = journal_file_append_field(f, data, (uint8_t*) eq - (uint8_t*) data, &fo, &fp); in journal_file_append_data()