Lines Matching refs:dest
79 clone_rpcent(struct rpcent *dest, struct rpcent const *src)
81 ATF_REQUIRE(dest != NULL);
87 memset(dest, 0, sizeof(struct rpcent));
90 dest->r_name = strdup(src->r_name);
91 ATF_REQUIRE(dest->r_name != NULL);
94 dest->r_number = src->r_number;
101 dest->r_aliases = calloc(aliases_num + 1, sizeof(char *));
102 ATF_REQUIRE(dest->r_aliases != NULL);
105 dest->r_aliases[cp - src->r_aliases] = strdup(*cp);
106 ATF_REQUIRE(dest->r_aliases[cp - src->r_aliases] != NULL);