Lines Matching refs:match
26 # api - string naming the API to match
27 # profile - string naming the profile to match
29 # attributes to match to.
32 # Otherwise, the tag must exactly match the API or profile.
34 # <remove> with no attribute will match
35 # <remove profile='core'> will match
36 # <remove profile='compatibility'> will not match
37 # Possible match conditions:
43 # None 'string' Does not match. Can't generate multiple APIs
46 # 'string' 'string' Strings must match
49 # not just strings, so that api="^(gl|gles2)" will match. Even
54 match = True
61 # Requested API doesn't match attribute
68 # Requested profile doesn't match attribute
197 # Normally '.*' or '[0-9]\.[0-9]' to match all defined versions.
203 # entirety match the pattern in the "supported" attribute of
214 # The regex patterns can be None or empty, in which case they match
1005 if (regVersions.match(fi.number)):
1009 fi.emit = (regEmitVersions.match(fi.number) != None)
1014 'for emission (does not match emitversions pattern)')
1018 '(does not match requested versions)')
1022 '(does not match requested API)')
1038 # 'supported' must exactly match defaultExtensions, so bracket
1042 re.match(pat, self.genOpts.defaultExtensions)):
1051 if (regAddExtensions.match(extName) != None):
1059 if (regRemoveExtensions.match(extName) != None):
1071 extName, '(does not match api attribute or explicitly requested extensions)')
1083 # match the profile attribute (if any) of the <require> and
1123 # validateGroups - check that group= attributes match actual groups