Searched defs:hdr (Results 1 - 25 of 335) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_stat.c43 rcapd_stat_hdr_t hdr; local
50 if (read(fd, &hdr, sizeof (hdr)) != sizeof (hdr)) {
56 (void) snprintf(procfile, 20, "/proc/%d/psinfo", (int)hdr.rs_pid);
58 return (hdr.rs_pid);
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioStream.h46 AudioHdr hdr; // data encoding info member in class:AudioStream
89 return (hdr.localByteOrder());
H A DAudioTypeConvert.h42 AudioHdr hdr; // contains type information member in class:AudioTypeConvert
48 { return (hdr); }
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DCSAAdvert.java56 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 DSLPV1SSrvDereg.java54 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 DSLPV1SSrvReg.java55 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 DSLPV1SSrvTypeMsg.java54 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 DSrvLocMsgImpl.java48 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 DCAttrMsg.java59 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 DCSrvTypeMsg.java60 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 DSAttrMsg.java61 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 DSDAAdvert.java49 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 DSLPV1CDAAdvert.java54 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 DSLPV1SAttrMsg.java57 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 DSLPV1SDAAdvert.java50 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 DSSrvDereg.java57 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 DSSrvMsg.java59 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 DSSrvReg.java59 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 DSSrvTypeMsg.java54 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...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioLib.cc74 const AudioHdr& hdr, // output data header
86 if ((err = outf->SetHeader(hdr)) || (err = outf->Create())) {
72 Audio_WriteOutputFile( const char *path, const AudioHdr& hdr, Audio* input) argument
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_door.c67 smb_doorhdr_t *hdr; local
81 hdr = &dop_arg.hdr;
82 hdr_size = xdr_sizeof(smb_doorhdr_xdr, hdr);
89 if (smb_doorhdr_decode(hdr, (uint8_t *)argp, hdr_size) == -1) {
94 if ((hdr->dh_magic != SMB_DOOR_HDR_MAGIC) ||
95 (hdr->dh_flags != SMB_DF_FAKE_KERNEL)) {
100 dop_arg.opname = smb_doorhdr_opname(hdr->dh_op);
102 dop_arg.datalen = hdr->dh_datalen;
104 if (hdr
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c82 struct log_ctl hdr; local
115 hdr.mid = 1; /* 0 for kernal */
118 hdr.pri = strtol(msg + 1, &msg_p, 10);
120 hdr.pri = (LOG_USER|LOG_INFO);
125 hdr.flags = SL_CONSOLE;
126 hdr.level = 0;
130 ctl.buf = (caddr_t)&hdr;
/illumos-gate/usr/src/cmd/mail/
H A Dcopymt.c54 int hdr = 0; local
70 } else if ((hdr = isheader (line, &ctf)) == FALSE) {
73 if (!hdr && cflg) { /* nonheader, Content-length seen */
96 hdr = isheader(line, &ctf);
142 switch (hdr) {
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_get.c96 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...]
/illumos-gate/usr/src/head/
H A Dmon.h55 struct hdr { struct

Completed in 150 milliseconds

1234567891011>>