tools/android/elf_compression/compress_section.py
def AlignDown(addr, page_size=ADDRESS_ALIGN):
  """Round down given address to be aligned to page_size.

  Args:
    addr: int. Virtual address to be aligned.
    page_size: int. Page size to be used for the alignment.
  """
  return addr - addr % page_size
Round down given address to be aligned to page_size.

  Args:
    addr: int. Virtual address to be aligned.
    page_size: int. Page size to be used for the alignment.
  
Round down given address to be aligned to page_size.
Round down given address to be aligned to page_size .
def AlignDown(addr, page_size=ADDRESS_ALIGN):
  return addr - addr % page_size
def AlignDown ( addr , page_size = ADDRESS_ALIGN ) : return addr - addr % page_size
Round down given address to be aligned to page_size.
Round down given address to be aligned to page_size .
"""Round down given address to be aligned to page_size.

  Args:
    addr: int. Virtual address to be aligned.
    page_size: int. Page size to be used for the alignment.
  """
addr
int. Virtual address to be aligned.
int . Virtual address to be aligned .
page_size
int. Page size to be used for the alignment.
int . Page size to be used for the alignment .