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

12

/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSrvLocMsgImpl.java80 return hdr.errCode;
H A DSLPServerHeaderV2.java134 errCode = (short)getInt(dis);
238 hdr.errCode = ((ServiceLocationException)ex).getErrorCode();
240 if (!ServiceLocationException.validWireErrorCode(hdr.errCode)) {
241 hdr.errCode = ServiceLocationException.INTERNAL_ERROR;
247 hdr.errCode = ServiceLocationException.PARSE_ERROR;
250 hdr.errCode = ServiceLocationException.INTERNAL_ERROR;
300 " errCode=``" + errCode + "''\n" +
H A DSLPV1CDAAdvert.java71 hdr.errCode = (short)hdr.getInt(dis);
75 if (hdr.errCode != ServiceLocationException.OK) {
H A DSLPHeaderV1.java165 errCode = ServiceLocationException.OK;
255 putInt(errCode, fin);
270 if (payload != null && errCode == ServiceLocationException.OK) {
390 hdr.errCode = ((ServiceLocationException)ex).getErrorCode();
397 if (hdr.errCode ==
427 if (hdr.errCode > ServiceLocationException.AUTHENTICATION_FAILED) {
428 hdr.errCode = ServiceLocationException.PARSE_ERROR;
434 hdr.errCode = ServiceLocationException.PARSE_ERROR;
437 hdr.errCode = ServiceLocationException.PARSE_ERROR;
488 " errCode
682 parseServiceURLIn(DataInputStream dis, boolean lifeTimeToo, short errCode) argument
[all...]
H A DRequestHandler.java522 if (hdr.errCode == ServiceLocationException.OK) {
790 short errCode = ServiceLocationException.INTERNAL_SYSTEM_ERROR;
793 errCode = ((ServiceLocationException)ex).getErrorCode();
796 errCode = ServiceLocationException.PARSE_ERROR;
800 String exMsg = "(" + errCode + "):" + ex.getMessage();
1074 if (hdr.errCode == ServiceLocationException.OK) {
1116 if (hdr.errCode == ServiceLocationException.OK) {
1157 ((hdr.errCode != ServiceLocationException.OK) ||
1210 ((hdr.errCode != ServiceLocationException.OK) ||
1258 if ((hdr.errCode !
[all...]
H A DCAttrMsg.java66 if (hdr.errCode != ServiceLocationException.OK) {
H A DCSrvTypeMsg.java66 if (hdr.errCode != ServiceLocationException.OK) {
H A DServiceLocationManager.java233 short errCode =
238 new ServiceLocationException(errCode,
241 new Short(errCode)});
H A DSunDATable.java335 short errCode =
340 new ServiceLocationException(errCode,
343 new Short(errCode)});
H A DCSrvMsg.java64 if (hdr.errCode != ServiceLocationException.OK) {
H A DSDAAdvert.java73 this.hdr.errCode = ServiceLocationException.OK;
H A DSLPHeaderV2.java206 errCode = ServiceLocationException.OK;
223 errCode = (short)getInt(dis);
361 putInt(errCode, bbaos);
388 if (errCode == ServiceLocationException.OK) {
H A DSrvLocHeader.java115 short errCode = field in class:SrvLocHeader
153 return errCode;
H A DTransact.java353 short errCode = ex.getErrorCode();
355 if (errCode != ServiceLocationException.DA_BUSY) {
365 if (errCode ==
/illumos-gate/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 DDAAdvert.c40 char **attrs, char **spis, SLPError *errCode) {
58 *errCode = slp_map_err(protoErrCode);
59 if (*errCode != SLP_OK) {
39 slp_unpackDAAdvert(char *reply, char **surl, char **scopes, char **attrs, char **spis, SLPError *errCode) argument
H A DSLPFindAttrs.c109 SLPError errCode; local
139 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) {
140 return (cb(hp, NULL, errCode, cookie));
177 cont = cb((SLPHandle) hp, pcAttrList, errCode, cookie);
201 SLPError errCode; local
218 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode)
222 if (errCode != SLP_OK) {
223 return (cb(hp, NULL, errCode, cookie));
231 cont = cb((SLPHandle) hp, attrs, errCode, cookie);
H A DSLPFindSrvs.c109 SLPError errCode; local
132 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) {
133 return (cb(hp, NULL, 0, errCode, cookie));
198 errCode,
229 SLPError errCode; local
242 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode)
246 if (errCode != SLP_OK) {
247 return (cb(hp, NULL, 0, errCode, cookie));
258 cont = cb((SLPHandle)hp, surl, 0, errCode, cookie);
H A DSLPFindSrvTypes.c76 SLPError errCode; local
104 if ((errCode = slp_map_err(protoErrCode)) != SLP_OK) {
105 return (cb(hp, NULL, errCode, cookie));
120 cont = cb((SLPHandle) hp, pcSrvTypes, errCode, cookie);
H A DSLPUtils.c355 SLPError errCode, void *cookie) {
360 if (errCode != SLP_OK)
353 collate_scopes(SLPHandle h, const char *u, unsigned short lifetime, SLPError errCode, void *cookie) argument
H A Dslp_targets.c471 SLPError errCode, void *cookie) {
478 if (errCode != SLP_OK)
469 collect_DAs(SLPHandle h, const char *u, unsigned short lifetime, SLPError errCode, void *cookie) argument
/illumos-gate/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c760 * errCode - value to map to an error string.
770 int errCode = 0; local
773 if (!PyArg_ParseTuple(args, "i", &errCode)) {
782 if ((beErrStr = beMapLibbePyErrorToString(errCode)) == NULL) {
783 beErrStr = be_err_to_str(errCode);
1040 * errCode - value to map to an error string.
1048 beMapLibbePyErrorToString(int errCode) argument
1050 switch (errCode) {
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c1073 int errCode; local
1077 if ((rc = ldap_parse_result(ld, lm, &errCode, &matched, &errMsg, &referrals, &srvctrls, 0)) != LDAP_SUCCESS){
1083 fprintf(stderr, "%s: %s\n", s, ldap_err2string(errCode));
1084 if (errCode == LDAP_REFERRAL){
1092 if (NAME_ERROR(errCode) && matched && *matched){
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c1123 int errCode; local
1128 rc = ldap_parse_result(ld, resultMsg, &errCode, NULL, NULL, &referralsp,
1131 if (rc != LDAP_SUCCESS || errCode != LDAP_REFERRAL) {
1133 report_error(ldap_err2string(errCode), 0);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c1941 int errCode, i, rc; local
1952 &errCode, NULL,
1962 if (errCode == LDAP_REFERRAL) {
2034 int errCode; local
2043 &errCode, NULL, NULL, &referrals, &retCtrls, 0);
2059 if (errCode == LDAP_REFERRAL) {
2087 &target_posp, &list_size, &errCode);
2113 &errCode, NULL, NULL, &referrals, &retCtrls, 0);
2129 if (errCode == LDAP_REFERRAL) {

Completed in 161 milliseconds

12