Lines Matching defs:rc

297 	int	rc;
380 rc = ndr_outer_grow(outer_ref, n_fixed);
381 if (!rc)
392 rc = ndr_inner(outer_ref);
393 if (!rc)
661 int rc;
690 rc = ndr_outer_grow(outer_ref, n_pdu_total);
691 if (!rc)
692 return (rc); /* error already set */
733 rc = ndr_inner(&myref);
734 if (!rc)
735 return (rc); /* error already set */
751 int rc;
780 rc = ndr_outer_grow(outer_ref, n_pdu_total);
781 if (!rc)
782 return (rc); /* error already set */
824 rc = ndr_inner(&myref);
825 if (!rc)
826 return (rc); /* error already set */
843 int rc;
873 rc = ndr_outer_grow(outer_ref, n_pdu_total);
874 if (!rc)
875 return (rc); /* error already set */
880 rc = ndr_outer_poke_sizing(outer_ref, 0, &size_is);
881 if (!rc)
900 rc = ndr_outer_peek_sizing(outer_ref, 0, &size_is);
901 if (!rc)
951 rc = ndr_inner(&myref);
952 if (!rc)
953 return (rc); /* error already set */
971 int rc;
1000 rc = ndr_outer_grow(outer_ref, n_pdu_total);
1001 if (!rc)
1002 return (rc); /* error already set */
1012 rc = ndr_outer_poke_sizing(outer_ref, 0, &size_is);
1013 if (!rc)
1032 rc = ndr_outer_peek_sizing(outer_ref, 0, &size_is);
1033 if (!rc)
1041 rc = ndr_outer_grow(outer_ref, n_pdu_total);
1042 if (!rc)
1043 return (rc); /* error already set */
1078 rc = ndr_inner(&myref);
1079 if (!rc)
1080 return (rc); /* error already set */
1099 int rc;
1124 rc = ndr_outer_grow(outer_ref, n_pdu_total);
1125 if (!rc)
1126 return (rc); /* error already set */
1134 rc = ndr_outer_poke_sizing(outer_ref, 0, &size_is);
1135 if (!rc)
1171 int rc;
1331 rc = ndr_outer_grow(outer_ref, n_pdu_total);
1332 if (!rc)
1333 return (rc); /* error already set */
1363 rc = ndr_inner(&myref);
1364 if (!rc)
1365 return (rc); /* error already set */
1378 int rc;
1395 rc = NDS_GET_PDU(nds, pdu_offset, 4, (char *)sizing_p,
1404 return (rc);
1413 int rc;
1426 rc = NDS_PUT_PDU(nds, pdu_offset, 4, (char *)sizing_p,
1439 return (rc);
1451 int rc;
1470 rc = NDS_PAD_PDU(nds, nds->pdu_scan_offset, n_pad, outer_ref);
1471 if (!rc) {
1494 int rc, is_ok = 0;
1506 rc = NDS_GROW_PDU(nds, pdu_want_size, outer_ref);
1507 if (!rc) {
1814 int rc;
1818 rc = NDS_PUT_PDU(nds, ref->pdu_offset, size,
1823 rc = NDS_GET_PDU(nds, ref->pdu_offset, size,
1832 return (rc);
2036 int rc;
2038 if ((rc = smb_mbtowc(wcharp, mbchar, nbytes)) < 0)
2039 return (rc);
2046 return (rc);