Lines Matching refs:omax

165 read_resource_entry (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax)
179 if ((off[0] + 8) > omax)
181 read_res_data_hdr (wrbfd, off, omax, &reshdr);
184 read_res_id (wrbfd, off, omax, &type);
186 read_res_id (wrbfd, off, omax, &name);
191 read_res_data (wrbfd, off, omax, &l, BIN_RES_INFO_SIZE);
203 read_res_data (wrbfd, off, omax, buff, reshdr.data_size);
436 read_res_data_hdr (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax,
441 if ((off[0] + BIN_RES_HDR_SIZE) > omax)
442 fatal ("%s: unexpected end of file %ld/%ld", filename,(long) off[0], (long) omax);
452 read_res_data (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, void *data,
455 if ((off[0] + size) > omax)
457 (long) omax, (long) size);
514 read_res_id (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, rc_res_id *id)
521 read_res_data (wrbfd, off, omax, &bid, BIN_RES_ID - 2);
525 read_res_data (wrbfd, off, omax, bid.id, BIN_RES_ID - 2);
533 id_s = read_unistring (wrbfd, off, omax, &len);
542 read_unistring (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax,
554 read_res_data (wrbfd, &soff, omax, d, sizeof (unichar));
564 read_res_data (wrbfd, off, omax, d, sizeof (unichar));
574 probe_binary (windres_bfd *wrbfd, rc_uint_type omax)
580 read_res_data_hdr (wrbfd, &off, omax, &reshdr);
589 if ((off + BIN_RES_HDR_SIZE) >= omax)
591 read_res_data_hdr (wrbfd, &off, omax, &reshdr);
595 if ((off - BIN_RES_HDR_SIZE + reshdr.data_size + reshdr.header_size) > omax)
605 skip_null_resource (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax)
608 read_res_data_hdr (wrbfd, off, omax, &reshdr);
617 if (off[0] >= omax)