Lines Matching defs:ret
36 int ret;
39 ret = sss_parse_internal_fqname(NULL, name, &shortname, NULL);
40 if (ret != EOK) {
44 ret = getpwnam_r(shortname, &pwd, buffer, BUFFER_SIZE, &pwd_result);
46 if (ret == EOK && pwd_result != NULL) {
60 int ret;
62 ret = getpwuid_r(uid, &pwd, buffer, BUFFER_SIZE, &pwd_result);
63 if (ret == EOK && pwd_result != NULL) {
78 int ret;
81 ret = sss_parse_internal_fqname(NULL, name, &shortname, NULL);
82 if (ret != EOK) {
86 ret = getgrnam_r(shortname, &grp, buffer, BUFFER_SIZE, &grp_result);
88 if (ret == EOK && grp_result != NULL) {
102 int ret;
104 ret = getgrgid_r(gid, &grp, buffer, BUFFER_SIZE, &grp_result);
105 if (ret == EOK && grp_result != NULL) {