Searched refs:xsprintf (Results 1 - 25 of 45) sorted by relevance

12

/systemd/src/udev/
H A Dudev-watch.c107 xsprintf(filename, "/run/udev/watch/%d", wd);
131 xsprintf(filename, "/run/udev/watch/%d", wd);
145 xsprintf(filename, "/run/udev/watch/%d", wd);
H A Dudev-builtin-input_id.c68 xsprintf(width, "%d", abs_size_mm(&xabsinfo));
69 xsprintf(height, "%d", abs_size_mm(&yabsinfo));
95 xsprintf(text, "%s", v);
117 xsprintf(text, " bit %%4u: %%0%zulX\n",
H A Dudev-builtin-net_id.c239 xsprintf(slots, "%s/slots", udev_device_get_syspath(pci));
258 xsprintf(str, "%s/%s/address", slots, dent->d_name);
391 xsprintf(names->bcma_core, "b%u", core);
487 xsprintf(str, "OUI:%02X%02X%02X%02X%02X%02X", names->mac[0],
541 xsprintf(str, "%sx%02x%02x%02x%02x%02x%02x", prefix,
H A Dudev-node.c350 xsprintf(filename, "/dev/%s/%u:%u",
370 xsprintf(filename, "/dev/%s/%u:%u",
H A Dudev-builtin-keyboard.c178 xsprintf(val_s, "%d", val_i);
/systemd/src/shared/
H A Dspawn-polkit-agent.c55 xsprintf(notify_fd, "%i", pipe_fd[1]);
H A Dswitch-root.c79 xsprintf(new_mount, "%s%s", new_root, i);
H A Defivars.c361 xsprintf(boot_id, "Boot%04X", id);
534 xsprintf(boot_id, "Boot%04X", id);
541 xsprintf(boot_id, "Boot%04X", id);
/systemd/src/journal/
H A Djournald-console.c75 xsprintf(tbuf, "[%5"PRI_TIME".%06ld] ",
88 xsprintf(header_pid, "["PID_FMT"]: ", ucred->pid);
H A Djournald-syslog.c150 xsprintf(header_priority, "<%i>", priority);
169 xsprintf(header_pid, "["PID_FMT"]: ", ucred->pid);
358 xsprintf(syslog_priority, "PRIORITY=%i", priority & LOG_PRIMASK);
362 xsprintf(syslog_facility, "SYSLOG_FACILITY=%i", LOG_FAC(priority));
H A Djournal-send.c105 xsprintf(p, "PRIORITY=%i", priority & LOG_PRIMASK);
371 xsprintf(error, "ERRNO=%i", _saved_errno_);
469 xsprintf(p, "PRIORITY=%i", priority & LOG_PRIMASK);
H A Djournald-kmsg.c70 xsprintf(header_priority, "<%i>", priority);
80 xsprintf(header_pid, "["PID_FMT"]: ", ucred->pid);
/systemd/src/core/
H A Dselinux-access.c70 xsprintf(login_uid_buf, UID_FMT, login_uid);
72 xsprintf(uid_buf, UID_FMT, uid);
74 xsprintf(gid_buf, GID_FMT, gid);
H A Dmain.c1976 xsprintf(sfd, "%i", fileno(arg_serialization));
2073 xsprintf(log_level, "%d", log_get_max_level());
2102 xsprintf(exit_code, "%d", retval);
/systemd/src/basic/
H A Dstdio-util.h29 #define xsprintf(buf, fmt, ...) \ macro
30 assert_message_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTSOF(buf), "xsprintf: " #buf "[] must be big enough")
H A Dsignal-util.c236 xsprintf(buf, "RTMIN+%d", signo - SIGRTMIN);
238 xsprintf(buf, "%d", signo);
H A Dxattr-util.c117 xsprintf(fn, "/proc/self/fd/%i", fd);
H A Dmount-util.c48 xsprintf(path, "/proc/self/fdinfo/%i", fd);
54 xsprintf(path, "/proc/self/fdinfo/%i", subfd);
H A Dlog.c353 xsprintf(location, "(%s:%i) ", file, line);
411 xsprintf(header_priority, "<%i>", level);
421 xsprintf(header_pid, "["PID_FMT"]: ", getpid());
467 xsprintf(header_priority, "<%i>", level);
468 xsprintf(header_pid, "["PID_FMT"]: ", getpid());
778 xsprintf(buffer, format, text, file, line, func);
/systemd/src/vconsole/
H A Dvconsole-setup.c217 xsprintf(vcname, "/dev/vcs%i", i);
221 xsprintf(vcname, "/dev/tty%i", i);
/systemd/src/fsck/
H A Dfsck.c413 xsprintf(dash_c, "-C%i", progress_socket);
416 xsprintf(dash_c, "-C%i", progress_pipe[1]);
/systemd/src/udev/collect/
H A Dcollect.c95 xsprintf(buf, "%s/%s", dir, filename);
/systemd/src/libsystemd/sd-bus/
H A Dbus-control.c1313 xsprintf(buf, "arg%i", c->type - BUS_MATCH_ARG);
1322 xsprintf(buf, "arg%i-has", c->type - BUS_MATCH_ARG_HAS);
1346 xsprintf(buf, "arg%i-dot-prefix", c->type - BUS_MATCH_ARG_NAMESPACE);
/systemd/src/test/
H A Dtest-libudev.c463 xsprintf(path, "/sys/%s", syspath);
/systemd/src/cgtop/
H A Dcgtop.c567 xsprintf(buffer, "%6s", "%CPU");
569 xsprintf(buffer, "%*s", maxtcpu, "CPU Time");

Completed in 54 milliseconds

12