Searched refs:sb (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ ! |
D | test-strbuf.c | 11 static ssize_t add_string(struct strbuf *sb, const char *s) { in add_string() argument 12 return strbuf_add_string(sb, s, strlen(s)); in add_string() 16 _cleanup_(strbuf_freep) struct strbuf *sb; in TEST() local 20 sb = strbuf_new(); in TEST() 22 a = add_string(sb, "waldo"); in TEST() 23 b = add_string(sb, "foo"); in TEST() 24 c = add_string(sb, "bar"); in TEST() 25 d = add_string(sb, "waldo"); /* duplicate */ in TEST() 26 e = add_string(sb, "aldo"); /* duplicate */ in TEST() 27 f = add_string(sb, "do"); /* duplicate */ in TEST() [all …]
|
D | test-recurse-dir.c | 14 const struct stat *sb, in nftw_cb() argument
|
/systemd-251/src/libsystemd/sd-journal/ ! |
D | catalog.c | 374 struct strbuf *sb, in write_catalog() argument 414 k = fwrite(sb->buf, 1, sb->len, w); in write_catalog() 415 if (k != sb->len) { in write_catalog() 442 _cleanup_(strbuf_freep) struct strbuf *sb = NULL; in catalog_update() local 453 sb = strbuf_new(); in catalog_update() 454 if (!h || !sb) in catalog_update() 484 offset = strbuf_add_string(sb, payload, strlen(payload)); in catalog_update() 495 strbuf_complete(sb); in catalog_update() 497 sz = write_catalog(database, sb, items, n); in catalog_update() 502 database, n, sb->len, sz); in catalog_update()
|
/systemd-251/src/shared/ ! |
D | sleep-config.c | 207 struct stat sb; in swap_device_to_device_id() local 214 r = stat(swap->device, &sb); in swap_device_to_device_id() 219 if (!S_ISBLK(sb.st_mode)) in swap_device_to_device_id() 222 *ret_dev = sb.st_rdev; in swap_device_to_device_id() 236 struct stat sb; in calculate_swap_file_offset() local 247 if (fstat(fd, &sb) < 0) in calculate_swap_file_offset()
|
/systemd-251/docs/ ! |
D | style.css | 315 .highlight .sb { 464 ….highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .hi…
|