Home
last modified time | relevance | path

Searched refs:fhdr (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/audio/utilities/
H A Dfilehdr.c191 au_filehdr_t fhdr; in audio_rewrite_au_filesize() local
197 offset = (char *)&fhdr.au_data_size - (char *)&fhdr; in audio_rewrite_au_filesize()
206 err = write(fd, (char *)&data, sizeof (fhdr.au_data_size)); in audio_rewrite_au_filesize()
207 if (err != sizeof (fhdr.au_data_size)) in audio_rewrite_au_filesize()
220 wav_filehdr_t fhdr; in audio_rewrite_wav_filesize() local
227 calc_size = size + sizeof (fhdr) - sizeof (fhdr.wav_riff_ID) - in audio_rewrite_wav_filesize()
228 sizeof (fhdr.wav_riff_size); in audio_rewrite_wav_filesize()
230 offset = (char *)&fhdr.wav_riff_size - (char *)&fhdr; in audio_rewrite_wav_filesize()
236 err = write(fd, (char *)&data, sizeof (fhdr.wav_riff_size)); in audio_rewrite_wav_filesize()
237 if (err != sizeof (fhdr.wav_riff_size)) in audio_rewrite_wav_filesize()
[all …]
H A DAudioUnixfile.cc95 au_filehdr_t fhdr; in decode_filehdr() local
118 cnt = read(getfd(), (char *)&fhdr, sizeof (fhdr)); in decode_filehdr()
119 if (cnt != sizeof (fhdr)) { in decode_filehdr()
124 err = (AudioError) audio_decode_filehdr(getfd(), (unsigned char *)&fhdr, in decode_filehdr()
/titanic_41/usr/src/lib/libtnf/
H A Dreader.c40 tnf_ref32_t *fhdr, *bhdr; in tnf_reader_begin() local
75 fhdr = (tnf_ref32_t *)(base + sizeof (magic)); /* second word */ in tnf_reader_begin()
76 tnf->file_header = fhdr; in tnf_reader_begin()
79 p = _tnf_get_slot_named(tnf, fhdr, TNF_N_BLOCK_SIZE); in tnf_reader_begin()
84 p = _tnf_get_slot_named(tnf, fhdr, TNF_N_DIRECTORY_SIZE); in tnf_reader_begin()
89 p = _tnf_get_slot_named(tnf, fhdr, TNF_N_BLOCK_COUNT); in tnf_reader_begin()
125 p = _tnf_get_slot_named(tnf, fhdr, TNF_N_FILE_LOGICAL_SIZE); in tnf_reader_begin()
163 tnf->file_header_info = _tnf_get_info(tnf, _tnf_get_tag(tnf, fhdr)); in tnf_reader_begin()
/titanic_41/usr/src/cmd/audio/audioconvert/
H A Dfile.cc85 au_filehdr_t fhdr; in open_input_file() local
134 if (hsize = read(fd, (char *)&fhdr, sizeof (fhdr)) in open_input_file()
143 if (hsize != sizeof (fhdr)) { in open_input_file()
154 (unsigned char *)&fhdr, &file_type, &ohdr, in open_input_file()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c1068 struct fddi_header fhdr, *f = &fhdr; in interpret_fddi() local
1275 struct fddi_header fhdr, *f = &fhdr; in fddi_header_len() local
/titanic_41/usr/src/lib/libsip/common/
H A Dsip_dialog.c611 sip_header_t fhdr = NULL; in sip_seed_dialog() local
645 fhdr = sip_search_for_header(sip_msg, SIP_FROM, NULL); in sip_seed_dialog()
652 if ((fhdr == NULL && thdr == NULL) || cihdr == NULL || chdr == NULL || in sip_seed_dialog()
701 if ((dialog->sip_dlg_local_uri_tag = sip_dup_header(fhdr)) == in sip_seed_dialog()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Darc.c1334 arc_buf_hdr_t *fhdr; in buf_hash_insert() local
1348 for (fhdr = buf_hash_table.ht_table[idx], i = 0; fhdr != NULL; in buf_hash_insert()
1349 fhdr = fhdr->b_hash_next, i++) { in buf_hash_insert()
1350 if (BUF_EQUAL(hdr->b_spa, &hdr->b_dva, hdr->b_birth, fhdr)) in buf_hash_insert()
1351 return (fhdr); in buf_hash_insert()
1376 arc_buf_hdr_t *fhdr, **hdrp; in buf_hash_remove() local
1383 while ((fhdr = *hdrp) != hdr) { in buf_hash_remove()
1384 ASSERT(fhdr != NULL); in buf_hash_remove()
1385 hdrp = &fhdr->b_hash_next; in buf_hash_remove()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c7025 ql_flt_hdr_t *fhdr; in ql_process_flt() local
7039 fhdr = (ql_flt_hdr_t *)bp; in ql_process_flt()
7050 len = (uint32_t)(CHAR_TO_SHORT(fhdr->len[0], fhdr->len[1]) + in ql_process_flt()
7060 w16 = CHAR_TO_SHORT(fhdr->version[0], fhdr->version[1]); in ql_process_flt()