Lines Matching refs:version
23 def version_encode(version): argument
24 bits = encode_sep.split(version)
45 def version_limit(version, n): argument
46 bits = encode_sep.split(version)
50 def version_len(version): argument
51 return len(encode_sep.split(version))
68 def version_choose_config(version, candidates): argument
70 if version in candidates:
71 return version
75 enumerate(candidates + [ version ]) ]
81 if versions[n] == version:
87 length = version_len(version) - 1
88 version = version_limit(version, length)
92 version_limit(versions[o], length) == version:
95 version = version_limit(version, length)
100 def is_released_kernel(version): argument
104 version = version.strip('01234567890.-')
105 return version in ['', 'smp', 'smpx', 'pae']
108 def is_release_candidate(version): argument
112 version = re.sub(r'[_-]rc\d+', '', version)
113 return is_released_kernel(version)