Searched refs:hdr (Results 1 - 25 of 461) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
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 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 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...]
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 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 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 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 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 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 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 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 DSSAAdvert.java62 hdr = new SLPServerHeaderV2();
64 Assert.slpassert(hdr != null,
68 hdr.functionCode = SrvLocHeader.SAAdvert;
69 hdr.xid = xid;
70 hdr.locale = locale;
80 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)getHeader();
95 DATable.validateScopes(scopes, hdr.locale);
96 hdr.scopes = (Vector)scopes.clone();
100 hdr.escapeScopeStrings(scopes);
110 byte[] urlBytes = 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 DCSrvMsg.java58 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 DCSrvDereg.java84 SLPHeaderV2 hdr =
86 this.hdr = hdr;
87 hdr.scopes = (Vector)scopes.clone();
92 hdr.escapeTags(tags);
103 hdr.escapeScopeStrings(scopes);
107 hdr.parseCommaSeparatedListOut(scopes, baos);
111 hdr.parseServiceURLOut(url,
119 hdr.parseCommaSeparatedListOut(tags, baos);
121 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...]
/illumos-gate/usr/src/boot/sys/boot/efi/fdt/
H A Defi_fdt.c46 struct fdt_header *hdr; local
48 hdr = efi_get_table(&fdtdtb);
49 if (hdr != NULL) {
50 if (fdt_load_dtb_addr(hdr) == 0) {
51 printf("Using DTB provided by EFI at %p.\n", hdr);
/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/grub/grub-0.97/stage2/zfs-include/
H A Dsa_impl.h32 #define SA_HDR_SIZE(hdr) BF32_GET_SB(hdr->sa_layout_info, 10, 16, 3, 0)
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deftwrite.c103 struct eftheader hdr; local
121 bzero(&hdr, sizeof (hdr));
122 hdr.magic = EFT_HDR_MAGIC;
123 hdr.major = EFT_HDR_MAJOR;
124 hdr.minor = EFT_HDR_MINOR;
125 hdr.cmajor = VERSION_MAJOR;
126 hdr.cminor = VERSION_MINOR;
127 hdr.identlen = Identlen;
128 hdr
[all...]
H A Deftread.c80 struct eftheader hdr; local
97 if (fread(&hdr, 1, sizeof (hdr), fp) < sizeof (hdr)) {
102 hdr.magic = ntohl(hdr.magic);
103 hdr.major = ntohs(hdr.major);
104 hdr.minor = ntohs(hdr
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c192 * arc_buf_hdr_t is cached. If the hdr is cached then the ARC allocates a new
194 * existing uncompressed arc_buf_t, decompresses the hdr's b_pdata buffer into a
195 * new data buffer, or shares the hdr's b_pdata buffer, depending on whether the
196 * hdr is compressed and the desired compression characteristics of the
199 * the last buffer in the hdr's b_buf list, however a shared compressed buf can
200 * be anywhere in the hdr's list.
202 * The diagram below shows an example of an uncompressed ARC hdr that is
233 * Writing to the ARC requires that the ARC first discard the hdr's b_pdata
240 * buffers which have been released (and hence have their own hdr, if there
241 * were originally other readers of the buf's original hdr)
1145 buf_discard_identity(arc_buf_hdr_t *hdr) argument
1159 arc_buf_hdr_t *hdr; local
1182 buf_hash_insert(arc_buf_hdr_t *hdr, kmutex_t **lockp) argument
1226 buf_hash_remove(arc_buf_hdr_t *hdr) argument
1280 arc_buf_hdr_t *hdr = vbuf; local
1296 arc_buf_hdr_t *hdr = vbuf; local
1325 arc_buf_hdr_t *hdr = vbuf; local
1339 arc_buf_hdr_t *hdr = vbuf; local
1463 arc_cksum_free(arc_buf_hdr_t *hdr) argument
1478 arc_hdr_has_uncompressed_buf(arc_buf_hdr_t *hdr) argument
1496 arc_buf_hdr_t *hdr = buf->b_hdr; local
1523 arc_cksum_is_equal(arc_buf_hdr_t *hdr, zio_t *zio) argument
1599 arc_buf_hdr_t *hdr = buf->b_hdr; local
1669 arc_buf_type(arc_buf_hdr_t *hdr) argument
1706 arc_buf_hdr_t *hdr = buf->b_hdr; local
1743 arc_buf_hdr_t *hdr = buf->b_hdr; local
1774 arc_hdr_set_flags(arc_buf_hdr_t *hdr, arc_flags_t flags) argument
1781 arc_hdr_clear_flags(arc_buf_hdr_t *hdr, arc_flags_t flags) argument
1795 arc_hdr_set_compress(arc_buf_hdr_t *hdr, enum zio_compress cmp) argument
1826 arc_buf_hdr_t *hdr = buf->b_hdr; local
1872 arc_buf_hdr_t *hdr = buf->b_hdr; local
1974 arc_hdr_size(arc_buf_hdr_t *hdr) argument
1994 arc_evictable_space_increment(arc_buf_hdr_t *hdr, arc_state_t *state) argument
2029 arc_evictable_space_decrement(arc_buf_hdr_t *hdr, arc_state_t *state) argument
2065 add_reference(arc_buf_hdr_t *hdr, void *tag) argument
2095 remove_reference(arc_buf_hdr_t *hdr, kmutex_t *hash_lock, void *tag) argument
2122 arc_change_state(arc_state_t *new_state, arc_buf_hdr_t *hdr, kmutex_t *hash_lock) argument
2379 arc_can_share(arc_buf_hdr_t *hdr, arc_buf_t *buf) argument
2417 arc_buf_alloc_impl(arc_buf_hdr_t *hdr, void *tag, boolean_t compressed, boolean_t fill, arc_buf_t **ret) argument
2537 arc_buf_hdr_t *hdr = buf->b_hdr; local
2551 arc_buf_hdr_t *hdr = buf->b_hdr; local
2575 arc_hdr_free_on_write(arc_buf_hdr_t *hdr) argument
2600 arc_share_buf(arc_buf_hdr_t *hdr, arc_buf_t *buf) argument
2629 arc_unshare_buf(arc_buf_hdr_t *hdr, arc_buf_t *buf) argument
2661 arc_buf_remove(arc_buf_hdr_t *hdr, arc_buf_t *buf) argument
2703 arc_buf_hdr_t *hdr = buf->b_hdr; local
2792 arc_hdr_alloc_pdata(arc_buf_hdr_t *hdr) argument
2808 arc_hdr_free_pdata(arc_buf_hdr_t *hdr) argument
2837 arc_buf_hdr_t *hdr; local
2877 arc_hdr_realloc(arc_buf_hdr_t *hdr, kmem_cache_t *old, kmem_cache_t *new) argument
2982 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), size, size, local
3006 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), psize, lsize, local
3019 arc_hdr_l2hdr_destroy(arc_buf_hdr_t *hdr) argument
3040 arc_hdr_destroy(arc_buf_hdr_t *hdr) argument
3108 arc_buf_hdr_t *hdr = buf->b_hdr; local
3144 arc_evict_hdr(arc_buf_hdr_t *hdr, kmutex_t *hash_lock) argument
3259 arc_buf_hdr_t *hdr; local
4255 arc_get_data_buf(arc_buf_hdr_t *hdr, uint64_t size, void *tag) argument
4348 arc_free_data_buf(arc_buf_hdr_t *hdr, void *data, uint64_t size, void *tag) argument
4379 arc_access(arc_buf_hdr_t *hdr, kmutex_t *hash_lock) argument
4537 arc_hdr_verify(arc_buf_hdr_t *hdr, blkptr_t *bp) argument
4555 arc_buf_hdr_t *hdr = zio->io_private; local
4720 arc_buf_hdr_t *hdr = NULL; local
5061 arc_buf_hdr_t *hdr; local
5113 arc_buf_hdr_t *hdr = buf->b_hdr; local
5334 arc_buf_hdr_t *hdr = buf->b_hdr; local
5435 arc_buf_hdr_t *hdr = buf->b_hdr; local
5520 arc_buf_hdr_t *hdr = buf->b_hdr; local
5734 arc_buf_hdr_t *hdr = obj; local
6189 l2arc_write_eligible(uint64_t spa_guid, arc_buf_hdr_t *hdr) argument
6350 arc_buf_hdr_t *head, *hdr, *hdr_prev; local
6464 arc_buf_hdr_t *hdr; local
6583 arc_buf_hdr_t *hdr, *hdr_prev; local
6700 arc_buf_hdr_t *hdr, *hdr_prev, *head; local
[all...]
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dparse.cc108 AudioHdr& hdr)
113 hdr.sample_rate = 48000;
114 hdr.channels = 2;
115 hdr.encoding = LINEAR;
116 hdr.samples_per_unit = 1;
117 hdr.bytes_per_unit = 2;
119 hdr.sample_rate = 44100;
120 hdr.channels = 2;
121 hdr.encoding = LINEAR;
122 hdr
106 audioformat_parse( char *val, AudioHdr& hdr) argument
139 parse_format( char *s, AudioHdr& hdr, format_type& format, off_t& offset) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dgpt.c57 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, argument
71 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz;
75 slba += hdr->hdr_lba_table;
81 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
82 hdr->hdr_crc_self = 0;
83 hdr->hdr_crc_self = crc32(hdr, hdr
185 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, uint64_t hdrlba) argument
233 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument
280 gptread_table(const char *which, const uuid_t *uuid, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument
[all...]

Completed in 157 milliseconds

1234567891011>>