Lines Matching refs:match
27 # api - string naming the API to match
28 # profile - string naming the profile to match
30 # attributes to match to.
33 # Otherwise, the tag must exactly match the API or profile.
35 # <remove> with no attribute will match
36 # <remove profile='core'> will match
37 # <remove profile='compatibility'> will not match
38 # Possible match conditions:
44 # None 'string' Does not match. Can't generate multiple APIs
47 # 'string' 'string' Strings must match
50 # not just strings, so that api="^(gl|gles2)" will match. Even
55 match = True
62 # Requested API doesn't match attribute
69 # Requested profile doesn't match attribute
198 # Normally '.*' or '[0-9]\.[0-9]' to match all defined versions.
204 # entirety match the pattern in the "supported" attribute of
215 # The regex patterns can be None or empty, in which case they match
1014 if (regVersions.match(fi.number)):
1018 fi.emit = (regEmitVersions.match(fi.number) != None)
1023 'for emission (does not match emitversions pattern)')
1027 '(does not match requested versions)')
1031 '(does not match requested API)')
1047 # 'supported' must exactly match defaultExtensions, so bracket
1051 re.match(pat, self.genOpts.defaultExtensions)):
1060 if (regAddExtensions.match(extName) != None):
1068 if (regRemoveExtensions.match(extName) != None):
1080 extName, '(does not match api attribute or explicitly requested extensions)')
1092 # match the profile attribute (if any) of the <require> and
1132 # validateGroups - check that group= attributes match actual groups