Home
last modified time | relevance | path

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

/build/make/tools/
Dtest_post_process_props.py30 self.assertFalse(p.is_optional())
38 self.assertFalse(p.is_optional())
46 self.assertTrue(p.is_optional())
87 self.assertEqual(expected[i][2], p.is_optional())
106 self.assertFalse(last_prop.is_optional())
115 self.assertFalse(foo_prop.is_optional())
126 self.assertFalse(last_prop.is_optional())
183 self.assertFalse(props.get_props("qux")[0].is_optional())
Dpost_process_props.py66 if p.is_optional():
86 optional_props = [p for p in props if p.is_optional()]
87 overriding_props = [p for p in props if not p.is_optional()]
149 def is_optional(self): member in Prop
167 operator = "?=" if self.is_optional() else "="
197 if p.name == name and not p.is_optional()), -1)