Lines Matching refs:truncated
53 bool truncated; member
246 bool truncated = false; in udev_event_subst_format() local
255 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()
296 …strpcpyf_full(&s, l, &truncated, "%u", r < 0 ? 0 : type == FORMAT_SUBST_MAJOR ? major(devnum) : mi… 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()
341 strnpcpy_full(&s, l, start, p - start, &truncated); in udev_event_subst_format()
371 strscpy_full(vbuf, sizeof(vbuf), val, &truncated); in udev_event_subst_format()
377 truncated = truncated || 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()
403 strpcpy_full(&s, l, event->name, &truncated); in udev_event_subst_format()
405 strpcpy_full(&s, l, val + STRLEN("/dev/"), &truncated); in udev_event_subst_format()
410 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
416 strpcpy_full(&s, l, val + STRLEN("/dev/"), &truncated); in udev_event_subst_format()
418 strpcpyl_full(&s, l, &truncated, " ", val + STRLEN("/dev/"), NULL); in udev_event_subst_format()
419 if (truncated) in udev_event_subst_format()
426 strpcpy_full(&s, l, "/dev", &truncated); in udev_event_subst_format()
429 strpcpy_full(&s, l, "/sys", &truncated); in udev_event_subst_format()
439 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format()
446 *ret_truncated = truncated; in udev_event_subst_format()
452 *ret_truncated = truncated; in udev_event_subst_format()
466 bool truncated = false; in udev_event_apply_format() local
489 truncated = true; in udev_event_apply_format()
505 truncated = truncated || t; in udev_event_apply_format()
520 *ret_truncated = truncated; in udev_event_apply_format()
604 spawn->truncated = true; in on_spawn_io()
626 if (l == 0 || spawn->truncated) in on_spawn_io()
866 *ret_truncated = spawn.truncated; in udev_event_spawn()