Home
last modified time | relevance | path

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

12

/titanic_50/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()
427 if (hdr.errCode > ServiceLocationException.AUTHENTICATION_FAILED) { 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()
[all …]
H A DRequestHandler.java522 if (hdr.errCode == ServiceLocationException.OK) { in handleRequest()
790 short errCode = ServiceLocationException.INTERNAL_SYSTEM_ERROR; in printInternalizeErrorMessage() local
793 errCode = ((ServiceLocationException)ex).getErrorCode(); in printInternalizeErrorMessage()
796 errCode = ServiceLocationException.PARSE_ERROR; in printInternalizeErrorMessage()
800 String exMsg = "(" + errCode + "):" + ex.getMessage(); 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()
[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 DCAttrMsg.java66 if (hdr.errCode != ServiceLocationException.OK) { in CAttrMsg()
H A DSrvLocHeader.java115 short errCode = field in SrvLocHeader
153 return errCode; in getErrorCode()
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()
/titanic_50/usr/src/lib/libslp/clib/
H A Dslp.h120 SLPError errCode, /* error code */
132 SLPError errCode, /* error code */
145 SLPError errCode, /* error code */
157 SLPError errCode, /* error code */
H A DSLPFindSrvs.c109 SLPError errCode; in slp_unpackSrvReply() local
132 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) { in slp_unpackSrvReply()
133 return (cb(hp, NULL, 0, errCode, cookie)); in slp_unpackSrvReply()
198 errCode, in slp_unpackSrvReply()
229 SLPError errCode; in unpackDAAdvert_srv() local
242 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode) in unpackDAAdvert_srv()
246 if (errCode != SLP_OK) { in unpackDAAdvert_srv()
247 return (cb(hp, NULL, 0, errCode, cookie)); in unpackDAAdvert_srv()
258 cont = cb((SLPHandle)hp, surl, 0, errCode, cookie); in unpackDAAdvert_srv()
H A DSLPFindAttrs.c109 SLPError errCode; in slp_UnpackAttrReply() local
139 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) { in slp_UnpackAttrReply()
140 return (cb(hp, NULL, errCode, cookie)); in slp_UnpackAttrReply()
177 cont = cb((SLPHandle) hp, pcAttrList, errCode, cookie); in slp_UnpackAttrReply()
201 SLPError errCode; in unpackDAAdvert_attr() local
218 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode) in unpackDAAdvert_attr()
222 if (errCode != SLP_OK) { in unpackDAAdvert_attr()
223 return (cb(hp, NULL, errCode, cookie)); in unpackDAAdvert_attr()
231 cont = cb((SLPHandle) hp, attrs, errCode, cookie); in unpackDAAdvert_attr()
H A DDAAdvert.c40 char **attrs, char **spis, SLPError *errCode) { in slp_unpackDAAdvert() argument
58 *errCode = slp_map_err(protoErrCode); in slp_unpackDAAdvert()
59 if (*errCode != SLP_OK) { in slp_unpackDAAdvert()
H A DSLPFindSrvTypes.c76 SLPError errCode; in UnpackSrvTypesReply() local
104 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) { in UnpackSrvTypesReply()
105 return (cb(hp, NULL, errCode, cookie)); in UnpackSrvTypesReply()
120 cont = cb((SLPHandle) hp, pcSrvTypes, errCode, cookie); in UnpackSrvTypesReply()
H A Dslp_targets.c471 SLPError errCode, void *cookie) { in collect_DAs() argument
478 if (errCode != SLP_OK) in collect_DAs()
H A DSLPUtils.c355 SLPError errCode, void *cookie) { in collate_scopes() argument
360 if (errCode != SLP_OK) in collate_scopes()
/titanic_50/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);
1063 beMapLibbePyErrorToString(int errCode) argument
1065 switch (errCode) {
/titanic_50/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()
/titanic_50/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c1123 int errCode; in process_ldap_referral_msg() local
1128 rc = ldap_parse_result(ld, resultMsg, &errCode, NULL, NULL, &referralsp, in process_ldap_referral_msg()
1131 if (rc != LDAP_SUCCESS || errCode != LDAP_REFERRAL) { in process_ldap_referral_msg()
1133 report_error(ldap_err2string(errCode), 0); in process_ldap_referral_msg()
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_reads.c1941 int errCode, i, rc; in proc_result_referrals() local
1952 &errCode, NULL, in proc_result_referrals()
1962 if (errCode == LDAP_REFERRAL) { in proc_result_referrals()
2034 int errCode; in multi_result() local
2043 &errCode, NULL, NULL, &referrals, &retCtrls, 0); in multi_result()
2059 if (errCode == LDAP_REFERRAL) { in multi_result()
2087 &target_posp, &list_size, &errCode); in multi_result()
2113 &errCode, NULL, NULL, &referrals, &retCtrls, 0); in multi_result()
2129 if (errCode == LDAP_REFERRAL) { in multi_result()

12