Home
last modified time | relevance | path

Searched refs:strpcpy_full (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-strxcpyx.c17 space_left = strpcpy_full(&s, space_left, "12345", &truncated); in TEST()
19 space_left = strpcpy_full(&s, space_left, "hey hey hey", &truncated); in TEST()
21 space_left = strpcpy_full(&s, space_left, "waldo", &truncated); in TEST()
23 space_left = strpcpy_full(&s, space_left, "ba", &truncated); in TEST()
25 space_left = strpcpy_full(&s, space_left, "r", &truncated); in TEST()
30 space_left = strpcpy_full(&s, space_left, "", &truncated); in TEST()
35 space_left = strpcpy_full(&s, space_left, "f", &truncated); in TEST()
40 space_left = strpcpy_full(&s, space_left, "", &truncated); in TEST()
45 space_left = strpcpy_full(&s, space_left, "foo", &truncated); in TEST()
/systemd-251/src/udev/
Dudev-event.c255 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
261 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
269 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
277 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
287 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
315 strpcpy_full(&s, l, event->program_result, &truncated); in udev_event_subst_format()
337 strpcpy_full(&s, l, start, &truncated); in udev_event_subst_format()
376 strpcpy_full(&s, l, vbuf, &t); in udev_event_subst_format()
391 strpcpy_full(&s, l, val + STRLEN("/dev/"), &truncated); in udev_event_subst_format()
399 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
[all …]
/systemd-251/src/basic/
Dstrxcpyx.c50 size_t strpcpy_full(char **dest, size_t size, const char *src, bool *ret_truncated) { in strpcpy_full() function
94 size = strpcpy_full(dest, size, src, &t); in strpcpyl_full()
135 size = strpcpy_full(&s, size, src, &t); in strscpyl_full()
Dstrxcpyx.h13 size_t strpcpy_full(char **dest, size_t size, const char *src, bool *ret_truncated);
15 return strpcpy_full(dest, size, src, NULL); in strpcpy()