Lines Matching +full:right +full:- +full:most
2 # SPDX-License-Identifier: GPL-2.0-only
18 …return ["AGPL-3", "AGPL-3+", "AGPLv3", "AGPLv3+", "AGPLv3.0", "AGPLv3.0+", "AGPL-3.0", "AGPL-3.0+"…
19 …"GPL-1", "GPL-1+", "GPLv1", "GPLv1+", "GPLv1.0", "GPLv1.0+", "GPL-1.0", "GPL-1.0+", "GPL-2", "GPL-…
20 …"GPLv2+", "GPLv2.0", "GPLv2.0+", "GPL-2.0", "GPL-2.0+", "GPL-3", "GPL-3+", "GPLv3", "GPLv3+", "GPL…
21 …"GPL-3.0", "GPL-3.0+", "LGPLv2", "LGPLv2+", "LGPLv2.0", "LGPLv2.0+", "LGPL-2.0", "LGPL-2.0+", "LGP…
22 …"LGPLv2.1", "LGPLv2.1+", "LGPL-2.1", "LGPL-2.1+", "LGPLv3", "LGPLv3+", "LGPL-3.0", "LGPL-3.0+", "M…
23 …"MPLv1.1", "MPLv2", "MIT-X", "MIT-style", "openssl", "PSF", "PSFv2", "Python-2", "Apachev2", "Apac…
24 …"Artistic-1", "AFL-2", "AFL-1", "AFLv2", "AFLv1", "CDDLv1", "CDDL-1", "EPLv1.0", "FreeType", "Naum…
49 license_pattern = re.compile(r'[a-zA-Z0-9.+_\-]+$')
58 if pos > 0 and license_pattern.match(elements[pos-1]):
95 right = FlattenVisitor(self.choose_licenses)
96 right.visit(node.right)
98 selected = self.choose_licenses(left.licenses, right.licenses)
128 """Select the option in an OR which is the 'best' (has the most
133 # but still gives a higher weight to the list with the most included
135 alpha_weight = (len(list(filter(include_license, alpha))) -
137 beta_weight = (len(list(filter(include_license, beta))) -
188 elif ops[-1] in ['[', ']']:
191 ops[-1] = op