Lines Matching refs:ext
779 for ext in extensions:
780 if (self.getAPIVersion(ext.name) or ext.name in WSI_EXT_NAMES or
781 ext.type == 'device' or ext.num_commands == 0):
784 union += ' uint8_t %s;\n' % ext.name[3:].lower()
1496 for ext in entries:
1497 if (self.getAPIVersion(ext.name) or ext.name in WSI_EXT_NAMES or
1498 ext.name in AVOID_EXT_NAMES or ext.name in AVOID_CMD_NAMES or
1499 ext.type == 'device' or ext.num_commands == 0):
1502 if ext.name != cur_extension_name:
1503 create_func += '\n // ---- %s extension commands\n' % ext.name
1504 cur_extension_name = ext.name
1506 if ext.protect is not None:
1507 create_func += '#if defined(%s)\n' % ext.protect
1513 create_func += ext.define + ')) {\n'
1515 create_func += ext.name[3:].lower()
1518 if ext.protect is not None:
1519 create_func += '#endif // %s\n' % ext.protect
1738 for ext in extensions:
1739 if ext.type == 'device' or self.getAPIVersion(ext.name):
1742 if ext.protect is not None:
1743 table += '#if defined(%s)\n' % ext.protect
1745 table += ext.define + ',\n'
1747 if ext.protect is not None:
1748 table += '#endif // %s\n' % ext.protect