Home
last modified time | relevance | path

Searched refs:map_size (Results 1 – 2 of 2) sorted by relevance

/art/compiler/dex/
Dssa_transformation.cc589 int map_size = sizeof(int) * cu_->num_dalvik_registers; in DoDFSPreOrderSSARename() local
594 static_cast<int*>(allocator.Alloc(map_size, kArenaAllocDalvikToSSAMap)); in DoDFSPreOrderSSARename()
595 memcpy(saved_ssa_map, vreg_to_ssa_map_, map_size); in DoDFSPreOrderSSARename()
600 memcpy(vreg_to_ssa_map_, saved_ssa_map, map_size); in DoDFSPreOrderSSARename()
605 memcpy(vreg_to_ssa_map_, saved_ssa_map, map_size); in DoDFSPreOrderSSARename()
617 memcpy(vreg_to_ssa_map_, saved_ssa_map, map_size); in DoDFSPreOrderSSARename()
/art/compiler/
Doat_writer.cc501 uint32_t map_size = map->size() * sizeof((*map)[0]); in VisitMethod() local
502 if (map_size != 0u) { in VisitMethod()
509 offset_ += map_size; in VisitMethod()
510 writer_->oat_header_->UpdateChecksum(&(*map)[0], map_size); in VisitMethod()
664 size_t map_size = map->size() * sizeof((*map)[0]); in VisitMethod() local
665 DCHECK((map_size == 0u && map_offset == 0u) || in VisitMethod()
666 (map_size != 0u && map_offset != 0u && map_offset <= offset_)) in VisitMethod()
668 if (map_size != 0u && map_offset == offset_) { in VisitMethod()
669 if (UNLIKELY(!out->WriteFully(&(*map)[0], map_size))) { in VisitMethod()
673 offset_ += map_size; in VisitMethod()