Home
last modified time | relevance | path

Searched refs:ihdr (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dconvert.cc67 AudioHdr ihdr, in verify_conversion() argument
73 if (((ihdr.encoding != ULAW) && in verify_conversion()
74 (ihdr.encoding != ALAW) && in verify_conversion()
75 (ihdr.encoding != LINEAR) && in verify_conversion()
76 (ihdr.encoding != FLOAT) && in verify_conversion()
77 (ihdr.encoding != G721) && in verify_conversion()
78 (ihdr.encoding != G723)) || in verify_conversion()
85 enc1 = ihdr.EncodingString(); in verify_conversion()
98 AudioHdr ihdr, in noop_conversion() argument
105 if ((ihdr == ohdr) && in noop_conversion()
[all …]
H A Dmain.cc66 AudioHdr ihdr; // input/output headers in main() local
99 init_header(ihdr); in main()
106 (void) parse_format((char *)"ulaw", ihdr, ifmt, i_offset); in main()
109 (void) parse_format((char *)"pcm", ihdr, ifmt, i_offset); in main()
112 (void) parse_format((char *)"ulaw", ihdr, ifmt, i_offset); in main()
115 (void) parse_format((char *)"g721", ihdr, ifmt, i_offset); in main()
118 (void) parse_format((char *)"ulaw", ihdr, ifmt, i_offset); in main()
168 if (parse_format(optarg, ihdr, ifmt, i_offset) == -1) { in main()
207 init_header(ihdr); in main()
211 if (parse_format(argv[++optind], ihdr, ifmt, i_offset) in main()
[all …]
H A Dfile.cc75 AudioUnixfile *open_input_file(const char *path, const AudioHdr ihdr, in open_input_file() argument
109 (FileAccess)ReadOnly, ihdr, path, in open_input_file()
146 ihdr, path, offset); in open_input_file()
165 (FileAccess)ReadOnly, ihdr, in open_input_file()
171 ifp = new AudioRawPipe(fd, (FileAccess)ReadOnly, ihdr, in open_input_file()
/illumos-gate/usr/src/tools/btxld/
H A Dbtxld.c219 struct hdr ihdr, ohdr; in btxld() local
231 gethdr(fdi[i], &ihdr); in btxld()
232 if (ihdr.fmt != F_BIN) in btxld()
234 fmtlist[ihdr.fmt], fmtlist[F_BIN]); in btxld()
235 ldr_size = ihdr.size; in btxld()
241 gethdr(fdi[i], &ihdr); in btxld()
242 if (ihdr.org && ihdr.org != BTX_PGSIZE) in btxld()
245 ihdr.org, BTX_PGSIZE); in btxld()
251 ohdr.data = btx.btx_textsz + ihdr.size; in btxld()
255 if (wpage > 0 || (wpage == -1 && !(ihdr.flags & IMPURE))) { in btxld()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c683 struct rdsv3_header *ihdr, *hdr; in rdsv3_ib_process_recv() local
700 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rdsv3_ib_process_recv()
703 if (!rdsv3_message_verify_checksum(ihdr)) { in rdsv3_ib_process_recv()
714 state->ack_recv = ntohll(ihdr->h_ack); in rdsv3_ib_process_recv()
718 if (ihdr->h_credit) in rdsv3_ib_process_recv()
719 rdsv3_ib_send_add_credits(conn, ihdr->h_credit); in rdsv3_ib_process_recv()
721 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rdsv3_ib_process_recv()
743 (void) memcpy(hdr, ihdr, sizeof (*hdr)); in rdsv3_ib_process_recv()
755 if (hdr->h_sequence != ihdr->h_sequence || in rdsv3_ib_process_recv()
756 hdr->h_len != ihdr->h_len || in rdsv3_ib_process_recv()
[all …]
/illumos-gate/usr/src/common/pnglite/
H A Dpnglite.c105 uint8_t ihdr[13+4]; /* length should be 13, make room for type (IHDR) */ in png_read_ihdr() local
113 if (file_read(png, ihdr, 1, 13+4) != 13+4) in png_read_ihdr()
120 calc_crc = crc32(calc_crc, ihdr, 13+4); in png_read_ihdr()
126 png->width = get_ul(ihdr+4); in png_read_ihdr()
127 png->height = get_ul(ihdr+8); in png_read_ihdr()
128 png->depth = ihdr[12]; in png_read_ihdr()
129 png->color_type = ihdr[13]; in png_read_ihdr()
130 png->compression_method = ihdr[14]; in png_read_ihdr()
131 png->filter_method = ihdr[15]; in png_read_ihdr()
132 png->interlace_method = ihdr[16]; in png_read_ihdr()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c127 struct genhdr *ihdr = ctx->ctx_ibodybuf; in smbd_ntlmssp_work() local
132 if (ctx->ctx_ibodylen < sizeof (*ihdr)) in smbd_ntlmssp_work()
135 if (bcmp(ihdr->h_id, "NTLMSSP", 8)) in smbd_ntlmssp_work()
137 mtype = letohl(ihdr->h_type); in smbd_ntlmssp_work()
175 struct nego_hdr *ihdr = ctx->ctx_ibodybuf; in smbd_ntlmssp_negotiate() local
184 if (ctx->ctx_ibodylen < sizeof (*ihdr)) in smbd_ntlmssp_negotiate()
186 be->clnt_flags = letohl(ihdr->h_flags); in smbd_ntlmssp_negotiate()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c1683 ipha_t *ihdr; in ch_send() local
1769 ihdr = (ipha_t *)&mp->b_rptr[sizeof (struct ether_header)]; in ch_send()
1770 if ((ihdr->ipha_fragment_offset_and_flags & IPH_MF)) { in ch_send()
1771 if (ihdr->ipha_protocol == IPPROTO_UDP) { in ch_send()
1774 } else if (ihdr->ipha_protocol == IPPROTO_TCP) { in ch_send()
1778 } else if (ihdr->ipha_protocol == IPPROTO_UDP) in ch_send()
H A Dsge.c1918 ipha_t *ihdr = (ipha_t *)(mp->b_rptr + offset); in calc_ocsum() local
1920 int iplen = IPH_HDR_LENGTH(ihdr); in calc_ocsum()
1925 addrp = (uint8_t *)&ihdr->ipha_src; in calc_ocsum()
1929 addrp = (uint8_t *)&ihdr->ipha_dst; in calc_ocsum()