Lines Matching defs:region_array
278 ocsd_err_t DecodeTree::addBinFileRegionMemAcc(const ocsd_file_mem_region_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath)
283 if((region_array == 0) || (num_regions == 0) || (filepath.length() == 0))
290 ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,region_array[curr_region_idx].start_address,region_array[curr_region_idx].file_offset, region_array[curr_region_idx].region_size);
300 pAcc->AddOffsetRange(region_array[curr_region_idx].start_address,
301 region_array[curr_region_idx].region_size,
302 region_array[curr_region_idx].file_offset);
319 ocsd_err_t DecodeTree::updateBinFileRegionMemAcc(const ocsd_file_mem_region_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath)
324 if ((region_array == 0) || (num_regions == 0) || (filepath.length() == 0))
335 if (!pAcc->addrStartOfRange(region_array[curr_region_idx].start_address))
338 if (!pAcc->AddOffsetRange(region_array[curr_region_idx].start_address,
339 region_array[curr_region_idx].region_size,
340 region_array[curr_region_idx].file_offset))