Lines Matching defs:ret
33 static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) {
38 return unit_name_to_prefix_and_instance(i->name, ret);
41 static int specifier_prefix(char specifier, void *data, void *userdata, char **ret) {
46 return unit_name_to_prefix(i->name, ret);
49 static int specifier_instance(char specifier, void *data, void *userdata, char **ret) {
66 *ret = instance;
70 static int specifier_user_name(char specifier, void *data, void *userdata, char **ret) {
82 *ret = t;
86 static int specifier_user_id(char specifier, void *data, void *userdata, char **ret) {
88 if (asprintf(ret, UID_FMT, getuid()) < 0)
94 int install_full_printf(UnitFileInstallInfo *i, const char *format, char **ret) {
130 assert(ret);
132 return specifier_printf(format, table, i, ret);