Home
last modified time | relevance | path

Searched refs:errCode (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPServerHeaderV2.java134 errCode = (short)getInt(dis); in parseMsg()
238 hdr.errCode = ((ServiceLocationException)ex).getErrorCode(); in makeErrorReply()
240 if (!ServiceLocationException.validWireErrorCode(hdr.errCode)) { in makeErrorReply()
241 hdr.errCode = ServiceLocationException.INTERNAL_ERROR; in makeErrorReply()
247 hdr.errCode = ServiceLocationException.PARSE_ERROR; in makeErrorReply()
250 hdr.errCode = ServiceLocationException.INTERNAL_ERROR; in makeErrorReply()
300 " errCode=``" + errCode + "''\n" + in toString()
H A DSLPHeaderV1.java165 errCode = ServiceLocationException.OK; in parseHeader()
255 putInt(errCode, fin); in externalize()
270 if (payload != null && errCode == ServiceLocationException.OK) { in externalize()
390 hdr.errCode = ((ServiceLocationException)ex).getErrorCode(); in makeErrorReply()
397 if (hdr.errCode == in makeErrorReply()
428 hdr.errCode = ServiceLocationException.PARSE_ERROR; in makeErrorReply()
434 hdr.errCode = ServiceLocationException.PARSE_ERROR; in makeErrorReply()
437 hdr.errCode = ServiceLocationException.PARSE_ERROR; in makeErrorReply()
488 " errCode=``" + errCode + "''\n" + in toString()
684 short errCode) in parseServiceURLIn() argument
[all …]
H A DRequestHandler.java522 if (hdr.errCode == ServiceLocationException.OK) { in handleRequest()
793 errCode = ((ServiceLocationException)ex).getErrorCode(); in printInternalizeErrorMessage()
796 errCode = ServiceLocationException.PARSE_ERROR; in printInternalizeErrorMessage()
1074 if (hdr.errCode == ServiceLocationException.OK) { in dispatchReg()
1116 if (hdr.errCode == ServiceLocationException.OK) { in dispatchDereg()
1157 ((hdr.errCode != ServiceLocationException.OK) || in dispatchSrvType()
1210 ((hdr.errCode != ServiceLocationException.OK) || in dispatchAttr()
1258 if ((hdr.errCode != ServiceLocationException.OK) && in dispatchSrv()
1261 new Object[] { new Integer(hdr.errCode), in dispatchSrv()
1271 if (hdr.errCode != ServiceLocationException.OK && in dispatchSrv()
[all …]
H A DSLPV1CDAAdvert.java71 hdr.errCode = (short)hdr.getInt(dis); in initialize()
75 if (hdr.errCode != ServiceLocationException.OK) { in initialize()
H A DServiceLocationManager.java233 short errCode = in getRefreshInterval() local
238 new ServiceLocationException(errCode, in getRefreshInterval()
241 new Short(errCode)}); in getRefreshInterval()
H A DSunDATable.java335 short errCode = in getSrvReply() local
340 new ServiceLocationException(errCode, in getSrvReply()
343 new Short(errCode)}); in getSrvReply()
H A DSrvLocMsgImpl.java80 return hdr.errCode; in getErrorCode()
H A DSLPHeaderV2.java206 errCode = ServiceLocationException.OK; in parseHeader()
223 errCode = (short)getInt(dis); in parseMsg()
361 putInt(errCode, bbaos); in externalize()
388 if (errCode == ServiceLocationException.OK) { in externalize()
H A DCSrvTypeMsg.java66 if (hdr.errCode != ServiceLocationException.OK) { in CSrvTypeMsg()
H A DSrvLocHeader.java115 short errCode = field in SrvLocHeader
153 return errCode; in getErrorCode()
H A DCAttrMsg.java66 if (hdr.errCode != ServiceLocationException.OK) { in CAttrMsg()
H A DCSrvMsg.java64 if (hdr.errCode != ServiceLocationException.OK) { in CSrvMsg()
H A DTransact.java353 short errCode = ex.getErrorCode(); in transactUnicastMsg()
355 if (errCode != ServiceLocationException.DA_BUSY) { in transactUnicastMsg()
365 if (errCode == in transactUnicastMsg()
H A DSDAAdvert.java73 this.hdr.errCode = ServiceLocationException.OK; in SDAAdvert()
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp.h118 SLPError errCode, /* error code */
130 SLPError errCode, /* error code */
143 SLPError errCode, /* error code */
155 SLPError errCode, /* error code */
H A DSLPFindSrvs.c106 SLPError errCode; in slp_unpackSrvReply() local
129 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) { in slp_unpackSrvReply()
130 return (cb(hp, NULL, 0, errCode, cookie)); in slp_unpackSrvReply()
195 errCode, in slp_unpackSrvReply()
226 SLPError errCode; in unpackDAAdvert_srv() local
239 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode) in unpackDAAdvert_srv()
243 if (errCode != SLP_OK) { in unpackDAAdvert_srv()
244 return (cb(hp, NULL, 0, errCode, cookie)); in unpackDAAdvert_srv()
255 cont = cb((SLPHandle)hp, surl, 0, errCode, cookie); in unpackDAAdvert_srv()
H A DSLPFindAttrs.c106 SLPError errCode; in slp_UnpackAttrReply() local
136 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) { in slp_UnpackAttrReply()
137 return (cb(hp, NULL, errCode, cookie)); in slp_UnpackAttrReply()
174 cont = cb((SLPHandle) hp, pcAttrList, errCode, cookie); in slp_UnpackAttrReply()
198 SLPError errCode; in unpackDAAdvert_attr() local
215 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode) in unpackDAAdvert_attr()
219 if (errCode != SLP_OK) { in unpackDAAdvert_attr()
220 return (cb(hp, NULL, errCode, cookie)); in unpackDAAdvert_attr()
228 cont = cb((SLPHandle) hp, attrs, errCode, cookie); in unpackDAAdvert_attr()
H A DDAAdvert.c38 char **attrs, char **spis, SLPError *errCode) { in slp_unpackDAAdvert() argument
56 *errCode = slp_map_err(protoErrCode); in slp_unpackDAAdvert()
57 if (*errCode != SLP_OK) { in slp_unpackDAAdvert()
H A DSLPFindSrvTypes.c74 SLPError errCode; in UnpackSrvTypesReply() local
102 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) { in UnpackSrvTypesReply()
103 return (cb(hp, NULL, errCode, cookie)); in UnpackSrvTypesReply()
118 cont = cb((SLPHandle) hp, pcSrvTypes, errCode, cookie); in UnpackSrvTypesReply()
H A Dslp_targets.c469 SLPError errCode, void *cookie) { in collect_DAs() argument
476 if (errCode != SLP_OK) in collect_DAs()
H A DSLPUtils.c354 SLPError errCode, void *cookie) { in collate_scopes() argument
359 if (errCode != SLP_OK) in collate_scopes()
/illumos-gate/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c785 int errCode = 0; local
788 if (!PyArg_ParseTuple(args, "i", &errCode)) {
797 if ((beErrStr = beMapLibbePyErrorToString(errCode)) == NULL) {
798 beErrStr = be_err_to_str(errCode);
1068 beMapLibbePyErrorToString(int errCode) argument
1070 switch (errCode) {
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c1073 int errCode; in print_ldap_result() local
1077 …if ((rc = ldap_parse_result(ld, lm, &errCode, &matched, &errMsg, &referrals, &srvctrls, 0)) != LDA… in print_ldap_result()
1083 fprintf(stderr, "%s: %s\n", s, ldap_err2string(errCode)); in print_ldap_result()
1084 if (errCode == LDAP_REFERRAL){ in print_ldap_result()
1092 if (NAME_ERROR(errCode) && matched && *matched){ in print_ldap_result()
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c1116 int errCode; in process_ldap_referral_msg() local
1121 rc = ldap_parse_result(ld, resultMsg, &errCode, NULL, NULL, &referralsp, in process_ldap_referral_msg()
1124 if (rc != LDAP_SUCCESS || errCode != LDAP_REFERRAL) { in process_ldap_referral_msg()
1126 report_error(ldap_err2string(errCode), 0); in process_ldap_referral_msg()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_rq.c580 uint16_t errCode = rqp->sr_error >> 16; in smb_rq_reply() local
582 rqp->sr_error = smb_doserr2status(errClass, errCode); in smb_rq_reply()
583 error = smb_maperror(errClass, errCode); in smb_rq_reply()

12