Lines Matching refs:data_length
280 // starting "data_offset" bytes into "data" and ending "data_length"
283 // within "data" yet "data_length" is too large, the length will be
293 DataExtractor::SetData (const DataExtractor& data, offset_t data_offset, offset_t data_length)
300 return SetData(data.m_data_sp, data.GetSharedDataOffset() + data_offset, data_length);
306 if (data_length > data.GetByteSize() - data_offset)
307 data_length = data.GetByteSize() - data_offset;
308 return SetData (data.GetDataStart() + data_offset, data_length, data.GetByteOrder());
316 // and ending "data_length" bytes later. If "data_offset" is not
318 // bytes. If "data_offset" is within "data_sp" yet "data_length" is
328 DataExtractor::SetData (const DataBufferSP& data_sp, offset_t data_offset, offset_t data_length)
332 if (data_length > 0)
343 if (data_length <= bytes_left)
344 m_end = m_start + data_length; // We got all the bytes we wanted