Home | History | Annotate | Download | only in config

Lines Matching refs:match

31 # dict converting <match> tags to Match* entries
43 # dict converting info.capabilities list to Match* entries
62 '''Parse a <match> tag to a tuple with InputClass values'''
63 match = None
71 match = match_table[key]
76 if not match and not booltype:
77 return (match, value)
83 if match == 'MatchDevicePath':
86 match = cap_match_table[value]
93 if match == 'MatchDevicePath':
95 elif match == 'MatchPnPID' and len(v) < 7:
102 return (match, value)
122 if tag == 'match':
137 '''Check if a node is a <match> element'''
139 node.tagName == 'match'
142 '''Parse a x11 match tag and any parents that don't supply their
151 # walk up to a parent match node
184 # find all <match> leaf nodes
186 for match_node in fdi.getElementsByTagName('match'):