Lines Matching refs:offs
157 cdf_getuint32(const uint8_t *p, size_t offs) in cdf_getuint32() argument
160 (void)memcpy(&rv, p + offs * sizeof(uint32_t), sizeof(rv)); in cdf_getuint32()
392 cdf_read_sector(const cdf_info_t *info, void *buf, size_t offs, size_t len, in cdf_read_sector() argument
403 return cdf_read(info, CAST(off_t, pos), RCAST(char *, buf) + offs, len); in cdf_read_sector()
407 cdf_read_short_sector(const cdf_stream_t *sst, void *buf, size_t offs, in cdf_read_short_sector() argument
424 (void)memcpy(RCAST(char *, buf) + offs, in cdf_read_short_sector()
956 uint32_t offs, cdf_property_info_t **info, size_t *count, size_t *maxcount) in cdf_read_property_info() argument
964 if (offs > UINT32_MAX / 4) { in cdf_read_property_info()
969 cdf_offset(sst->sst_tab, offs)); in cdf_read_property_info()
991 p = CAST(const uint8_t *, cdf_offset(sst->sst_tab, offs + sizeof(sh))); in cdf_read_property_info()
1007 i, inp[i].pi_id, inp[i].pi_type, q - p, offs)); in cdf_read_property_info()