Home
last modified time | relevance | path

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

/external/toolchain-utils/cros_utils/
Dmisc.py60 def UnitToNumber(unit_num, base=1000): argument
63 unit_num = unit_num.lower()
64 mo = re.search(r'(\d*)(.+)?', unit_num)
72 raise RuntimeError('Unit: %s not found in byte: %s!' % (unit, unit_num))