Lines Matching defs:rc
41 int rc = 0;
52 rc = -1;
60 rc = smbsr_decode_vwv(sr, "b.www6.",
63 if (rc != 0)
71 rc = smbsr_decode_vwv(sr, "w4.",
73 if (rc != 0)
77 rc = smbsr_decode_data(sr, "%#c", sr, sinfo->ssi_lmpwlen,
79 if (rc != 0)
100 rc = smbsr_decode_vwv(sr, "ww4.l",
104 if (rc != 0)
113 rc = smbsr_decode_data(sr, "%#c#cuu", sr,
117 if (rc != 0)
130 rc = smbsr_decode_vwv(sr, "w4.l",
133 if (rc != 0)
137 rc = -1;
142 rc = smbsr_decode_data(sr, "%#c", sr,
144 if (rc != 0)
151 rc = -1;
169 rc = smbsr_decode_data(sr, "%u", sr, &native_os);
170 if (rc != 0 || native_os == NULL)
176 rc = smbsr_decode_data(sr, "%,u", sr, &native_lm);
178 rc = smbsr_decode_data(sr, "%u", sr, &native_lm);
179 if (rc != 0 || native_lm == NULL)
183 rc = 0;
186 if (rc != 0) {
194 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
227 int rc;
307 rc = smbsr_encode_result(sr, 3, VAR_BCC, "bb.www%uuu",
321 rc = smbsr_encode_result(sr, 4, VAR_BCC, "bb.wwww%#cuuu",
337 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);