Lines Matching refs:version
1114 magic, version = struct.unpack_from('4s4s', buf)
1121 if version == b'000\x00':
1123 elif b'001\x00' <= version < b'016\x00':
1125 elif b'016\x00' <= version < b'019\x00':
1127 elif b'019\x00' <= version < b'021\x00':
1129 elif version == b'021\x00':
1132 raise ValueError('unknown vdex version ' + repr(version))
1334 self._vndk_suffixes = [VNDKLibDir.create_vndk_dir_suffix(version)
1335 for version in vndk_lib_dirs]
1769 def create_vndk_dir_suffix(cls, version): argument
1771 return '' if version == 'current' else '-' + version
1775 def create_vndk_sp_dir_name(cls, version): argument
1777 return 'vndk-sp' + cls.create_vndk_dir_suffix(version)
1781 def create_vndk_dir_name(cls, version): argument
1783 return 'vndk' + cls.create_vndk_dir_suffix(version)
1844 def get_vndk_lib_dirs(cls, lib_dir, version): argument
1846 vndk_sp_name = cls.create_vndk_sp_dir_name(version)
1847 vndk_name = cls.create_vndk_dir_name(version)
1864 def create_from_version(cls, version): argument
1867 vndk_lib_dirs.append(version)
1883 version = cls.extract_version_from_name(name)
1884 if version:
1885 versions.add(version)
1897 bad_versions = [version for version in versions
1898 if version == 'sp' or version.startswith('sp-')]
1917 version = self.extract_version_from_name(component)
1918 if version is None:
1923 vndk_sp_libs[version].add(lib)
1925 vndk_libs[version].add(lib)
1972 for version in versions:
1973 if version == 'current':
1974 current.append(version)
1977 numeric.append(int(version))
1979 alpha.append(version)
2607 for version in vndk_lib_dirs:
2609 vndk_lib_dirs.get_vndk_lib_dirs(lib_dir, version)
2611 system_vndk_sp_libs[version] | vendor_vndk_sp_libs[version]
2618 for version in vndk_lib_dirs:
2620 vndk_lib_dirs.get_vndk_lib_dirs(lib_dir, version)
2621 vndk_libs = system_vndk_libs[version] | vendor_vndk_libs[version]