Home
last modified time | relevance | path

Searched refs:copy1 (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/test/
Dtest-env-util.c426 _cleanup_free_ char *n = NULL, *copy1 = NULL, *copy2 = NULL; in TEST() local
436 copy1 = strdup(eq + 1); in TEST()
437 assert_se(copy1); in TEST()
439 assert_se(streq_ptr(getenv(n), copy1)); in TEST()
442 assert_se(streq_ptr(copy1, copy2)); in TEST()
/systemd-251/src/core/
Dmanager-serialize.c155 int copy0, copy1; in manager_serialize() local
161 copy1 = fdset_put_dup(fds, m->user_lookup_fds[1]); in manager_serialize()
162 if (copy1 < 0) in manager_serialize()
163 … return log_error_errno(copy1, "Failed to add user lookup fd to serialization: %m"); in manager_serialize()
165 (void) serialize_item_format(f, "user-lookup", "%i %i", copy0, copy1); in manager_serialize()
Ddynamic-user.c623 int copy0, copy1; in dynamic_user_serialize() local
629 copy1 = fdset_put_dup(fds, d->storage_socket[1]); in dynamic_user_serialize()
630 if (copy1 < 0) in dynamic_user_serialize()
631 … return log_error_errno(copy1, "Failed to add dynamic user storage fd to serialization: %m"); in dynamic_user_serialize()
633 (void) serialize_item_format(f, "dynamic-user", "%s %i %i", d->name, copy0, copy1); in dynamic_user_serialize()