Home
last modified time | relevance | path

Searched refs:target_version (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/python24/
Dversioning.py34 def compare_version(sysmodule=None, target_version=None): argument
70 if target_version is None:
71 target_version = _MINIMUM_SUPPORTED_PYTHON_VERSION
74 precision = len(target_version.split("."))
84 if current_version_to_compare > target_version:
86 elif current_version_to_compare == target_version:
95 return (comparison, current_version, target_version)
100 def check_version(log=None, sysmodule=None, target_version=None): argument
120 (comparison, current_version, target_version) = \
121 compare_version(sysmodule, target_version)
[all …]
Dversioning_unittest.py62 def compare_version(self, target_version, current_version=None): argument
67 return compare_version(mock_sys, target_version)
69 def compare(self, target_version, current_version=None): argument
71 return self.compare_version(target_version, current_version)[0]
80 target_version = self.compare_version("2.5")[2]
81 self.assertEquals(target_version, "2.5")
115 return check_version(sysmodule=mock_sys, target_version=minimum_version)
/external/clang/utils/OptionalTests/Extra/Runtime/
Ddarwin-clang_rt.c221 unsigned target_version = __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__; in main() local
222 unsigned target_maj = target_version / 100; in main()
223 unsigned target_min = (target_version / 10) % 10; in main()
224 unsigned target_micro = target_version % 10; in main()
227 unsigned target_version = __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__; in main() local
228 unsigned target_maj = target_version / 10000; in main()
229 unsigned target_min = (target_version / 100) % 100; in main()
230 unsigned target_micro = target_version % 100; in main()