Lines Matching refs:version
29 def version_encode(version): argument
30 bits = encode_sep.split(version)
51 def version_limit(version, n): argument
52 bits = encode_sep.split(version)
56 def version_len(version): argument
57 return len(encode_sep.split(version))
74 def version_choose_config(version, candidates): argument
76 if version in candidates:
77 return version
81 enumerate(candidates + [ version ]) ]
87 if versions[n] == version:
93 length = version_len(version) - 1
94 version = version_limit(version, length)
98 version_limit(versions[o], length) == version:
101 version = version_limit(version, length)
106 def is_released_kernel(version): argument
110 version = version.strip('01234567890.-')
111 return version in ['', 'smp', 'smpx', 'pae']
114 def is_release_candidate(version): argument
118 version = re.sub(r'[_-]rc\d+', '', version)
119 return is_released_kernel(version)