/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | CSAAdvert.java | 56 CSAAdvert(SLPHeaderV2 hdr, DataInputStream dis) argument 58 super(hdr, SrvLocHeader.SAAdvert); 64 byte[] urlBytes = hdr.getString(buf, dis); 95 byte[] scopeBytes = hdr.getString(buf, dis); 97 hdr.scopes = 98 hdr.parseCommaSeparatedListIn(buf.toString(), true); 102 hdr.unescapeScopeStrings(hdr.scopes); 106 DATable.validateScopes(hdr.scopes, hdr [all...] |
H A D | SLPV1SSrvDereg.java | 54 SLPV1SSrvDereg(SrvLocHeader hdr, DataInputStream dis) argument 57 super(hdr, dis); 66 SLPHeaderV1 hdr = (SLPHeaderV1)getHeader(); 72 hdr.parseServiceURLIn(dis, 76 hdr.getString(buf, dis); 78 tags = hdr.parseCommaSeparatedListIn(buf.toString().trim(), true); 91 hdr.charCode); 117 hdr.locale); 122 hdr.scopes = (Vector)rec.getScopes().clone(); 131 hdr [all...] |
H A D | SLPV1SSrvReg.java | 55 SLPV1SSrvReg(SrvLocHeader hdr, DataInputStream dis) argument 58 super(hdr, dis); 67 SLPHeaderV1 hdr = (SLPHeaderV1)getHeader(); 75 hdr.parseServiceURLIn(dis, 83 attrList = hdr.parseAttributeVectorIn(dis); 116 hdr.validateScope(scope); 139 hdr.scopes = scopes; 143 hdr.fresh = true; 148 ServiceTable.getServiceTable().getServiceRecord(URL, hdr.locale); 162 hdr [all...] |
H A D | SLPV1SSrvTypeMsg.java | 54 SLPV1SSrvTypeMsg(SrvLocHeader hdr, DataInputStream dis) argument 57 super(hdr, dis); 64 SLPHeaderV1 hdr = (SLPHeaderV1)getHeader(); 69 hdr.parsePreviousRespondersIn(dis); 73 namingAuthority = parseNamingAuthorityIn(hdr, dis, hdr.charCode); 86 hdr.getString(buf, dis); 90 hdr.validateScope(scope); 99 hdr.scopes = new Vector(); 100 hdr [all...] |
H A D | SrvLocMsgImpl.java | 48 protected SrvLocHeader hdr = null; field in class:SrvLocMsgImpl 56 SrvLocMsgImpl(SrvLocHeader hdr, int functionCode) argument 59 if (hdr.functionCode != functionCode) { 64 new Object[] {new Integer(hdr.functionCode)}); 67 this.hdr = hdr; 74 return hdr; 80 return hdr.errCode;
|
H A D | CAttrMsg.java | 59 CAttrMsg(SLPHeaderV2 hdr, DataInputStream dis) argument 62 super(hdr, SrvLocHeader.AttrRply); 66 if (hdr.errCode != ServiceLocationException.OK) { 73 if (hdr.overflow) { 81 hdr.parseAuthenticatedAttributeVectorIn(attrList, dis, true); 91 hdr.iNumReplies = attrList.size(); 101 this.hdr = new SLPHeaderV2(SrvLocHeader.AttrRqst, false, locale); 113 this.hdr = new SLPHeaderV2(SrvLocHeader.AttrRqst, false, locale); 126 SLPHeaderV2 hdr = (SLPHeaderV2)this.hdr; [all...] |
H A D | CSrvTypeMsg.java | 60 CSrvTypeMsg(SLPHeaderV2 hdr, DataInputStream dis) argument 62 super(hdr, SrvLocHeader.SrvTypeRply); 66 if (hdr.errCode != ServiceLocationException.OK) { 72 if (hdr.overflow) { 79 hdr.getString(buf, dis); 82 hdr.parseCommaSeparatedListIn(buf.toString(), true); 101 hdr.iNumReplies = serviceTypes.size(); 111 SLPHeaderV2 hdr = 113 this.hdr = hdr; 164 parseNamingAuthorityOut(SLPHeaderV2 hdr, String name, ByteArrayOutputStream baos) argument [all...] |
H A D | SAttrMsg.java | 61 SAttrMsg(SrvLocHeader hdr, DataInputStream dis) argument 64 super(hdr, SrvLocHeader.AttrRqst); 75 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)getHeader(); 80 hdr.parsePreviousRespondersIn(dis); 84 hdr.getString(buf, dis); 108 hdr.parseScopesIn(dis); 112 hdr.getString(buf, dis); 114 tags = hdr.parseCommaSeparatedListIn(buf.toString(), true); 118 hdr.unescapeTags(tags); 122 hdr [all...] |
H A D | SDAAdvert.java | 49 SDAAdvert(SrvLocHeader hdr, argument 61 this.hdr = (SrvLocHeader)hdr.clone(); 69 this.hdr.xid = xid; 70 this.hdr.functionCode = SrvLocHeader.DAAdvert; 71 this.hdr.mcast = false; 72 this.hdr.previousResponders = null; // we don't want this around. 73 this.hdr.errCode = ServiceLocationException.OK; 74 this.hdr.overflow = false; 75 this.hdr 231 putInt32(SrvLocHeader hdr, long i, ByteArrayOutputStream baos) argument [all...] |
H A D | SLPV1CDAAdvert.java | 54 SLPV1CDAAdvert(SLPHeaderV1 hdr, DataInputStream dis) argument 56 super(hdr, dis); 67 SLPHeaderV1 hdr = (SLPHeaderV1)getHeader(); 71 hdr.errCode = (short)hdr.getInt(dis); 75 if (hdr.errCode != ServiceLocationException.OK) { 82 hdr.parseServiceURLIn(dis, 103 hdr.getString(buf, dis); 105 hdr.scopes = hdr [all...] |
H A D | SLPV1SAttrMsg.java | 57 SLPV1SAttrMsg(SrvLocHeader hdr, DataInputStream dis) argument 60 super(hdr, dis); 66 static SrvLocMsg makeEmptyReply(SLPHeaderV1 hdr) argument 70 msg.hdr = hdr; 81 SLPHeaderV1 hdr = (SLPHeaderV1)getHeader(); 86 hdr.parsePreviousRespondersIn(dis); 90 hdr.getString(buf, dis); 108 hdr.checkServiceType(urlOrServiceType.toLowerCase()); 115 hdr [all...] |
H A D | SLPV1SDAAdvert.java | 50 SLPV1SDAAdvert(SrvLocHeader hdr, argument 58 super(hdr, xid, timestamp, url, scopes, attrs); 73 SLPHeaderV1 hdr = (SLPHeaderV1)this.hdr; 78 hdr.validateScope((String)scopes.elementAt(i)); 102 hdr.parseServiceURLOut(url, false, baos); 106 hdr.parseCommaSeparatedListOut(scopes, baos); 108 hdr.payload = baos.toByteArray(); 110 hdr.iNumReplies = 1; 112 hdr [all...] |
H A D | SSrvDereg.java | 57 SSrvDereg(SrvLocHeader hdr, DataInputStream dis) argument 60 super(hdr, SrvLocHeader.SrvDereg); 71 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)getHeader(); 76 hdr.parseScopesIn(dis); 83 hdr.parseServiceURLIn(dis, 91 hdr.getString(buf, dis); 93 tags = hdr.parseCommaSeparatedListIn(buf.toString(), true); 105 hdr.unescapeTags(tags); 111 hdr.constructDescription("SrvDereg", 124 SLPServerHeaderV2 hdr [all...] |
H A D | SSrvMsg.java | 59 SSrvMsg(SrvLocHeader hdr, DataInputStream dis) argument 61 super(hdr, SrvLocHeader.SrvReq); 72 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)getHeader(); 77 hdr.parsePreviousRespondersIn(dis); 81 hdr.getString(buf, dis); 99 hdr.getString(buf, dis); 101 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true); 106 if (hdr.scopes.size() <= 0) { 119 hdr [all...] |
H A D | SSrvReg.java | 59 SSrvReg(SrvLocHeader hdr, DataInputStream dis) argument 62 super(hdr, SrvLocHeader.SrvReg); 73 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)getHeader(); 81 hdr.parseServiceURLIn(dis, 89 hdr.getString(buf, dis); 103 hdr.parseScopesIn(dis); 108 hdr.parseAuthenticatedAttributeVectorIn(attrList, dis, false); 110 hdr.constructDescription("SrvReg", 128 SLPServerHeaderV2 hdr = 133 hdr [all...] |
H A D | SSrvTypeMsg.java | 54 SSrvTypeMsg(SrvLocHeader hdr, DataInputStream dis) argument 57 super(hdr, SrvLocHeader.SrvTypeRqst); 68 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)getHeader(); 73 hdr.parsePreviousRespondersIn(dis); 77 namingAuthority = parseNamingAuthorityIn(hdr, dis, Defaults.UTF8); 92 hdr.parseScopesIn(dis); 96 hdr.constructDescription("SrvTypeRqst", 104 parseNamingAuthorityIn(SrvLocHeader hdr, argument 111 len = hdr.getInt(dis); 127 hdr [all...] |
H A D | CDAAdvert.java | 59 CDAAdvert(SrvLocHeader hdr, DataInputStream dis) argument 61 super(hdr, SrvLocHeader.DAAdvert); 72 SLPHeaderV2 hdr = (SLPHeaderV2)getHeader(); 78 timestamp = getInt32(hdr, dis, tsBytes); 84 byte[] urlBytes = hdr.getString(buf, dis); 92 byte[] scopeBytes = hdr.getString(buf, dis); 94 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true); 98 hdr.unescapeScopeStrings(hdr 184 getInt32(SrvLocHeader hdr, DataInputStream dis, byte[] bytes) argument [all...] |
H A D | CSrvMsg.java | 58 CSrvMsg(SLPHeaderV2 hdr, DataInputStream dis) argument 60 super(hdr, SrvLocHeader.SrvRply); 64 if (hdr.errCode != ServiceLocationException.OK) { 73 parseServiceURLsIn(hdr, dis); 78 protected void parseServiceURLsIn(SLPHeaderV2 hdr, DataInputStream dis) argument 83 int i, n = hdr.getInt(dis); 90 hdr.parseServiceURLIn(dis, URLSignatures, 107 hdr.iNumReplies = serviceURLs.size(); 132 SLPHeaderV2 hdr = new SLPHeaderV2(SrvLocHeader.SrvReq, false, locale); 133 this.hdr [all...] |
H A D | DAAdvertiser.java | 90 SLPServerHeaderV2 hdr = 96 (SDAAdvert)table.makeDAAdvert(hdr, 127 DAAdvertiser(InetAddress interfac, SrvLocHeader hdr) argument 142 hdr.externalize(baos, true, false);
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/ |
H A D | pci.c | 96 grub_uint32_t hdr; local 125 hdr = grub_pci_read (addr); 126 if (!(hdr & 0x800000))
|
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_get.c | 96 HDR hdr; local 184 memcpy(&hdr, p, sizeof(HDR)); 187 len = hdr.len - sizeof(HDR); 211 if ((ret = __os_read(dblp->c_fd, &hdr, sizeof(HDR), &nr)) != 0) { 237 memcpy((u_int8_t *)&hdr + nr, lp->buf, sizeof(HDR) - nr); 246 if (hdr.len <= sizeof(HDR)) 248 len = hdr.len - sizeof(HDR); 297 cksum: if (hdr.cksum != __ham_func4(dbt->data, dbt->size)) { 304 dblp->c_off = hdr.prev; 305 dblp->c_len = hdr [all...] |
H A D | log_put.c | 207 HDR hdr; local 218 hdr.prev = prev; 219 hdr.len = sizeof(HDR) + dbt->size; 220 hdr.cksum = __ham_func4(dbt->data, dbt->size); 222 if ((ret = __log_fill(dblp, lsn, &hdr, sizeof(HDR))) != 0)
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_nb_ssn.c | 74 uint32_t hdr, hdrbuf; local 85 hdr = (mtype << 24) | mlen; 86 hdrbuf = htonl(hdr); 149 uint32_t hdr, hdrbuf; local 171 DPRINT("hdr cnt %d", cnt); 178 hdr = ntohl(hdrbuf); 179 *mtype = (hdr >> 24) & 0xff; 180 *mlen = hdr & 0xffffff;
|
H A D | smbfs_signing.c | 84 uint8_t hdr[SMBSIGOFF]; /* sig. offset (14) */ member in struct:__anon2617::__anon2619
|
/osnet-11/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_ipc.c | 128 void ConvertHeaderBytes(ipc_msg_hdr *hdr) argument 130 hdr->version = htonl(hdr->version); 131 hdr->datalen = htonl(hdr->datalen); 132 hdr->flags = htonl(hdr->flags); 133 hdr->op = htonl(hdr->op ); 134 hdr [all...] |