Lines Matching refs:location
467 const DescriptorsLocation* location = GetDescriptorsLocation(art_lib_path, process.is_64bit); in InitializeProcess() local
468 if (location == nullptr) { in InitializeProcess()
471 process.descriptors_addr = location->relative_addr + min_vaddr_in_memory; in InitializeProcess()
472 process.descriptors_size = location->size; in InitializeProcess()
473 process.jit_descriptor_offset = location->jit_descriptor_offset; in InitializeProcess()
474 process.dex_descriptor_offset = location->dex_descriptor_offset; in InitializeProcess()
485 DescriptorsLocation& location = descriptors_location_cache_[art_lib_path]; in GetDescriptorsLocation() local
515 location.relative_addr = std::min(jit_addr, dex_addr); in GetDescriptorsLocation()
516 location.size = std::max(jit_addr, dex_addr) + in GetDescriptorsLocation()
518 location.relative_addr; in GetDescriptorsLocation()
519 if (location.size >= 4096u) { in GetDescriptorsLocation()
520 PLOG(WARNING) << "The descriptors_size is unexpected large: " << location.size; in GetDescriptorsLocation()
522 if (descriptors_buf_.size() < location.size) { in GetDescriptorsLocation()
523 descriptors_buf_.resize(location.size); in GetDescriptorsLocation()
525 location.jit_descriptor_offset = jit_addr - location.relative_addr; in GetDescriptorsLocation()
526 location.dex_descriptor_offset = dex_addr - location.relative_addr; in GetDescriptorsLocation()
527 return &location; in GetDescriptorsLocation()