Home
last modified time | relevance | path

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

/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dutils.py17 def opt_compare(a: T, b: T) -> bool: function
23 assert opt_compare(a, b)
30 assert opt_compare(None, 1) == True
31 assert opt_compare(2, None) == True
32 assert opt_compare(1, 1) == True
33 assert opt_compare(1, 2) == False
H A Dqom_macros.py62 if any(not opt_compare(a, b) for a,b in zip(self, other)):