/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_version.py | 1 """Tests for distutils.version."""
3 from distutils.version import LooseVersion
4 from distutils.version import StrictVersion
10 version = StrictVersion('1.2.3a1')
11 self.assertEqual(version.version, (1, 2, 3))
12 self.assertEqual(version.prerelease, ('a', 1))
13 self.assertEqual(str(version), '1.2.3a1')
15 version = StrictVersion('1.2.0')
16 self.assertEqual(str(version), '1.2') [all...] |
/external/python/cpython2/Lib/distutils/tests/ |
test_version.py | 1 """Tests for distutils.version.""" 3 from distutils.version import LooseVersion 4 from distutils.version import StrictVersion 10 version = StrictVersion('1.2.3a1') 11 self.assertEqual(version.version, (1, 2, 3)) 12 self.assertEqual(version.prerelease, ('a', 1)) 13 self.assertEqual(str(version), '1.2.3a1') 15 version = StrictVersion('1.2.0') 16 self.assertEqual(str(version), '1.2' [all...] |
/external/python/cpython3/Lib/distutils/tests/ |
test_version.py | 1 """Tests for distutils.version.""" 3 from distutils.version import LooseVersion 4 from distutils.version import StrictVersion 10 version = StrictVersion('1.2.3a1') 11 self.assertEqual(version.version, (1, 2, 3)) 12 self.assertEqual(version.prerelease, ('a', 1)) 13 self.assertEqual(str(version), '1.2.3a1') 15 version = StrictVersion('1.2.0') 16 self.assertEqual(str(version), '1.2' [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
RC5ParameterSpecTest.java | 5 * The ASF licenses this file to You under the Apache License, Version 2.0 20 * @version $Revision$ 38 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method 44 int version = 1; local 50 new RC5ParameterSpec(version, rounds, wordSize, null); 57 new RC5ParameterSpec(version, rounds, wordSize+8, iv); 64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3}); 70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds, 79 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int 85 int version = 1 local 141 int version = 1; local 156 int version = 1; local 171 int version = 1; local 188 int version = 1; local 215 int version = 1; local 265 int version = 1; local 279 int version = 1; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_version.py | 1 """Tests for distutils.version.""" 3 from distutils.version import LooseVersion 4 from distutils.version import StrictVersion 10 version = StrictVersion('1.2.3a1') 11 self.assertEqual(version.version, (1, 2, 3)) 12 self.assertEqual(version.prerelease, ('a', 1)) 13 self.assertEqual(str(version), '1.2.3a1') 15 version = StrictVersion('1.2.0') 16 self.assertEqual(str(version), '1.2' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_version.py | 1 """Tests for distutils.version.""" 3 from distutils.version import LooseVersion 4 from distutils.version import StrictVersion 10 version = StrictVersion('1.2.3a1') 11 self.assertEqual(version.version, (1, 2, 3)) 12 self.assertEqual(version.prerelease, ('a', 1)) 13 self.assertEqual(str(version), '1.2.3a1') 15 version = StrictVersion('1.2.0') 16 self.assertEqual(str(version), '1.2' [all...] |
/external/ltp/ |
ver_linux | 8 echo 'If some fields are empty or look unusual you may have an old version.' 21 echo "Gnu C " `gcc --version 2>/dev/null | head -n 1` 23 make --version 2>&1 | awk -F, '{print $1}' | awk \ 29 fdformat --version 2>&1 | awk -F\- '{print "util-linux ", $NF}' 31 mount --version 2>&1 | awk -F\- '{print "mount ", $NF}' 41 cardmgr -V 2>&1| grep version | awk \ 44 pppd --version 2>&1| grep version | awk \ 47 isdnctrl 2>&1 | grep version | awk \ 54 ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -n 1 | awk [all...] |
/prebuilts/misc/common/swig/include/2.0.11/d/ |
wrapperloader.swg | 13 version(linux) { 14 version = Nix; 15 } else version(darwin) { 16 version = Nix; 17 } else version(OSX) { 18 version = Nix; 19 } else version(FreeBSD) { 20 version = Nix; 21 version = freebsd; 22 } else version(freebsd) [all...] |
/external/libdrm/include/drm/ |
nouveau_ioctl.h | 5 __u8 version; member in struct:nvif_ioctl_v0 38 __u8 version; member in struct:nvif_ioctl_sclass_v0 46 __u8 version; member in struct:nvif_ioctl_new_v0 63 __u8 version; member in struct:nvif_ioctl_rd_v0 72 __u8 version; member in struct:nvif_ioctl_wr_v0 81 __u8 version; member in struct:nvif_ioctl_map_v0 92 __u8 version; member in struct:nvif_ioctl_ntfy_new_v0 101 __u8 version; member in struct:nvif_ioctl_ntfy_del_v0 108 __u8 version; member in struct:nvif_ioctl_ntfy_get_v0 115 __u8 version; member in struct:nvif_ioctl_ntfy_put_v0 122 __u8 version; member in struct:nvif_ioctl_mthd_v0 [all...] |
/external/toolchain-utils/ |
setup_chromeos.py | 43 # Sheriff must update this list when a new common version becomes available 52 # Get version spec file, either from "paladin" or "buildspec" directory. 53 def GetVersionSpecFile(version, versions_git): 64 v, m = version.split('.', 1) 74 err_msg = 'No spec found for version {0}'.format(version) 86 """Convert timestamp to common image version.""" 95 logger.GetLogger().LogFatal('No common version for timestamp') 107 '--version', 108 dest='version', 151 version = options.version.strip() variable 182 version = manifests.TimeToVersionChromeOS(time.mktime(time.gmtime())) variable 194 version = manifests.TimeToVersion(timestamp) variable 203 version = TimeToCommonVersion(time.mktime(time.gmtime())) variable 213 version = TimeToCommonVersion(timestamp) variable [all...] |
/art/test/979-const-method-handle/ |
build | 5 # Licensed under the Apache License, Version 2.0 (the "License"); 20 ${DX} --dex --min-sdk-version=28 --output=classes.dex classes
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
NativeTemplate.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 26 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/arm64-v8a/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi-v7a/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips64/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86_64/ |
Android.mk | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
|
/cts/tests/security/src/android/keystore/cts/ |
AttestationPackageInfo.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 29 private final long version; field in class:AttestationPackageInfo 31 public AttestationPackageInfo(String packageName, long version) { 33 this.version = version; 52 version = Asn1Utils.getLongFromAsn1(sequence.getObjectAt(VERSION_INDEX)); 60 return version; 73 res = Long.compare(version, other.version);
|
/cts/tests/tests/graphics/assets/shaders/ |
tri.vert | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 18 #version 400
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
double.rs | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 17 #pragma version(1)
|
increment.rs | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 17 #pragma version(1)
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestNan.rs | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 19 #pragma version(1)
|
TestNanHalf.rs | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 19 #pragma version(1)
|