Lines Matching defs:res
107 struct sss_ssh_ent *res = NULL;
189 res = talloc_zero(tmp_ctx, struct sss_ssh_ent);
190 if (!res) {
196 res->pubkeys = talloc_zero_array(res, struct sss_ssh_pubkey, count);
197 if (!res->pubkeys) {
202 res->num_pubkeys = count;
224 if (!res->name) {
225 res->name = talloc_array(res, char, len);
226 if (!res->name) {
231 safealign_memcpy(res->name, rep+c, len, &c);
232 if (strnlen(res->name, len) != len-1) {
247 res->pubkeys[i].data = talloc_array(res, uint8_t, len);
248 if (!res->pubkeys[i].data) {
253 safealign_memcpy(res->pubkeys[i].data, rep+c, len, &c);
254 res->pubkeys[i].data_len = len;
257 *result = talloc_steal(mem_ctx, res);