Lines Matching refs:result
60 * For each result:
67 struct passwd *result;
85 pr->result->pw_uid = c;
87 pr->result->pw_gid = c;
94 pr->result->pw_name = &(pr->buffer[i]);
98 &pr->result->pw_name,
102 pr->result->pw_passwd = &(pr->buffer[i]);
105 &pr->result->pw_passwd,
109 pr->result->pw_gecos = &(pr->buffer[i]);
112 &pr->result->pw_gecos,
117 pr->result->pw_dir = &(pr->buffer[i]);
120 &pr->result->pw_dir,
124 pr->result->pw_shell = &(pr->buffer[i]);
127 &pr->result->pw_shell,
135 enum nss_status _nss_sss_getpwnam_r(const char *name, struct passwd *result,
158 ret = sss_nss_mc_getpwnam(name, name_len, result, buffer, buflen);
182 ret = sss_nss_mc_getpwnam(name, name_len, result, buffer, buflen);
208 pwrep.result = result;
222 /* only 1 result is accepted for this function */
246 enum nss_status _nss_sss_getpwuid_r(uid_t uid, struct passwd *result,
261 ret = sss_nss_mc_getpwuid(uid, result, buffer, buflen);
286 ret = sss_nss_mc_getpwuid(uid, result, buffer, buflen);
312 pwrep.result = result;
326 /* only 1 result is accepted for this function */
370 static enum nss_status internal_getpwent_r(struct passwd *result,
393 pwrep.result = result;
436 /* call again ourselves, this will return the first result */
437 return internal_getpwent_r(result, buffer, buflen, errnop);
440 enum nss_status _nss_sss_getpwent_r(struct passwd *result,
447 nret = internal_getpwent_r(result, buffer, buflen, errnop);