Lines Matching refs:scbuf
3204 char scbuf[FIXSCAN_BUFSIZE]; /* buffer big enough for headers */
3339 s = fread(scbuf, 1, ENDHEAD, in_file);
3350 eocdr_disk = (ulg)SH(scbuf);
3359 in_cd_start_disk = (ulg)SH(scbuf + 2);
3360 in_cd_start_offset = (uzoff_t)LG(scbuf + 12);
3361 cd_total_entries = (uzoff_t)SH(scbuf + 6);
3372 zcomlen = SH(scbuf + ENDCOM);
3706 if (fread(scbuf, CENHEAD, 1, in_file) != 1) {
3718 cz->vem = SH(CENVEM + scbuf);
3719 cz->ver = SH(CENVER + scbuf);
3720 cz->flg = SH(CENFLG + scbuf);
3721 cz->how = SH(CENHOW + scbuf);
3722 cz->tim = LG(CENTIM + scbuf); /* time and date into one long */
3723 cz->crc = LG(CENCRC + scbuf);
3724 cz->siz = LG(CENSIZ + scbuf);
3725 cz->len = LG(CENLEN + scbuf);
3726 cz->nam = SH(CENNAM + scbuf); /* used before comparing cen vs. loc */
3727 cz->cext = SH(CENEXT + scbuf); /* may be different from z->ext */
3728 cz->com = SH(CENCOM + scbuf);
3729 cz->dsk = SH(CENDSK + scbuf);
3730 cz->att = SH(CENATT + scbuf);
3731 cz->atx = LG(CENATX + scbuf);
3732 cz->off = LG(CENOFF + scbuf);
4022 char scbuf[SCAN_BUFSIZE]; /* buffer just enough for all header types */
4152 s = fread(scbuf, 1, ENDHEAD, in_file);
4155 eocdr_disk = (ulg)SH(scbuf);
4165 in_cd_start_disk = (ulg)SH(scbuf + ENDBEG);
4166 in_cd_start_offset = (uzoff_t)LG(scbuf + ENDOFF);
4167 cd_total_entries = (uzoff_t)SH(scbuf + ENDTOT);
4168 cd_total_size = (uzoff_t)LG(scbuf + ENDSIZ);
4171 zcomlen = SH(scbuf + ENDCOM);
4325 if (fread(scbuf, EC64LOC, 1, in_file) != 1) {
4340 z64eocdr_disk = LG(scbuf);
4341 z64eocdr_offset = LLG(scbuf + 4);
4342 total_disks = LG(scbuf + 12);
4442 if (fread(scbuf, EC64LOC, 1, in_file) != 1) {
4457 z64eocdr_disk = LG(scbuf);
4458 z64eocdr_offset = LLG(scbuf + 4) + adjust_offset;
4459 total_disks = LG(scbuf + 12);
4562 s = fread(scbuf, 1, EC64REC, in_file);
4574 z64eocdr_size = LLG(scbuf);
4575 version_made = SH(scbuf + 8);
4576 version_needed = SH(scbuf + 10);
4577 in_cd_start_disk = LG(scbuf + 16);
4578 cd_total_entries = LLG(scbuf + 28);
4579 in_cd_start_offset = LLG(scbuf + 44) + adjust_offset;
4778 if (fread(scbuf, CENHEAD, 1, in_file) != 1) {
4794 z->vem = SH(CENVEM + scbuf);
4795 z->ver = SH(CENVER + scbuf);
4796 z->flg = SH(CENFLG + scbuf);
4797 z->how = SH(CENHOW + scbuf);
4798 z->tim = LG(CENTIM + scbuf); /* time and date into one long */
4799 z->crc = LG(CENCRC + scbuf);
4800 z->siz = LG(CENSIZ + scbuf);
4801 z->len = LG(CENLEN + scbuf);
4802 z->nam = SH(CENNAM + scbuf); /* used before comparing cen vs. loc */
4803 z->cext = SH(CENEXT + scbuf); /* may be different from z->ext */
4804 z->com = SH(CENCOM + scbuf);
4805 z->dsk = SH(CENDSK + scbuf);
4806 z->att = SH(CENATT + scbuf);
4807 z->atx = LG(CENATX + scbuf);
4808 z->off = LG(CENOFF + scbuf); /* adjust_offset is added below */