Home
last modified time | relevance | path

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

/build/make/tools/fs_config/
Dtest_fs_config_generator.py38 self.assertFalse(Utils.in_any_range(50, [(100, 200), (1, 2), (1, 1)]))
39 self.assertFalse(Utils.in_any_range(250, [(100, 200), (1, 2), (1, 1)]))
41 self.assertTrue(Utils.in_any_range(100, [(100, 200), (1, 2), (1, 1)]))
42 self.assertTrue(Utils.in_any_range(200, [(100, 200), (1, 2), (1, 1)]))
43 self.assertTrue(Utils.in_any_range(150, [(100, 200)]))
Dfs_config_generator.py77 def in_any_range(value, ranges): member in Utils
494 if Utils.in_any_range(aid, self._oem_ranges):
710 if not Utils.in_any_range(int(aid.value, 0), self._oem_ranges):