| /external/rust/crates/semver/tests/ |
| D | test_identifier.rs | 11 use semver::Prerelease; 15 fn test(identifier: Prerelease, expected: &str) { in test_new() argument 26 test(prerelease(string), string); in test_new() 32 test(prerelease(string), string); in test_new() 38 assert_eq!(prerelease("-"), prerelease("-")); in test_eq() 39 assert_ne!(prerelease("a"), prerelease("aa")); in test_eq() 40 assert_ne!(prerelease("aa"), prerelease("a")); in test_eq() 41 assert_ne!(prerelease("aaaaaaaaa"), prerelease("a")); in test_eq() 42 assert_ne!(prerelease("a"), prerelease("aaaaaaaaa")); in test_eq() 43 assert_ne!(prerelease("aaaaaaaaa"), prerelease("bbbbbbbbb")); in test_eq() [all …]
|
| D | test_version.rs | 10 use semver::{BuildMetadata, Prerelease, Version}; 35 let err = version_err("1.2.3-"); in test_parse() 36 assert_to_string(err, "empty identifier segment in pre-release identifier"); in test_parse() 47 let err = version_err("1.2.3-01"); in test_parse() 48 assert_to_string(err, "invalid leading zero in pre-release identifier"); in test_parse() 69 pre: Prerelease::EMPTY, in test_parse() 74 let parsed = version("1.2.3-alpha1"); in test_parse() 79 pre: prerelease("alpha1"), in test_parse() 89 pre: Prerelease::EMPTY, in test_parse() 99 pre: Prerelease::EMPTY, in test_parse() [all …]
|
| /external/python/setuptools/setuptools/_distutils/ |
| D | version.py | 21 an equivalent string -- ie. one that will generate an equivalent 96 # Interface for version-number classes -- must be implemented 97 # by the following classes (the concrete ones -- Version should 99 # __init__ (string) - create and take same action as 'parse' 101 # parse (string) - convert a string representation to whatever 104 # __str__ (self) - convert back to a string; should be very similar 106 # __repr__ (self) - generate Python code to recreate 108 # _cmp (self, other) - compare two version numbers ('other' may 118 dot-separated numeric components, with an optional "pre-release" tag 119 on the end. The pre-release tag consists of the letter 'a' or 'b' [all …]
|
| /external/python/cpython3/Lib/distutils/ |
| D | version.py | 21 an equivalent string -- ie. one that will generate an equivalent 76 # Interface for version-number classes -- must be implemented 77 # by the following classes (the concrete ones -- Version should 79 # __init__ (string) - create and take same action as 'parse' 81 # parse (string) - convert a string representation to whatever 84 # __str__ (self) - convert back to a string; should be very similar 86 # __repr__ (self) - generate Python code to recreate 88 # _cmp (self, other) - compare two version numbers ('other' may 98 dot-separated numeric components, with an optional "pre-release" tag 99 on the end. The pre-release tag consists of the letter 'a' or 'b' [all …]
|
| /external/python/cpython2/Lib/distutils/ |
| D | version.py | 21 an equivalent string -- ie. one that will generate an equivalent 46 # Interface for version-number classes -- must be implemented 47 # by the following classes (the concrete ones -- Version should 49 # __init__ (string) - create and take same action as 'parse' 51 # parse (string) - convert a string representation to whatever 54 # __str__ (self) - convert back to a string; should be very similar 56 # __repr__ (self) - generate Python code to recreate 58 # __cmp__ (self, other) - compare two version numbers ('other' may 68 dot-separated numeric components, with an optional "pre-release" tag 69 on the end. The pre-release tag consists of the letter 'a' or 'b' [all …]
|
| /external/aws-sdk-java-v2/scripts/changelog/ |
| D | model.py | 15 def __init__(self, major, minor, patch, prerelease=""): argument 19 self.prerelease = prerelease 23 if self.prerelease != "": 24 s = "%s-%s" % (s, self.prerelease) 28 # Returns the prerelease version number 29 # Example: Version is "preview-11", this method returns "11" as integer 31 if self.prerelease != "": 32 preview_prefix_len = len("preview-") 33 prerelease_version = self.prerelease[preview_prefix_len:]
|
| D | util.py | 46 prerelease = "" 47 hyphen_index = version_parts[2].find('-') 48 if hyphen_index != -1: 51 prerelease = p[hyphen_index + 1:] 52 return Version(int(version_parts[0]), int(version_parts[1]), int(version_parts[2]), prerelease)
|
| /external/golang-protobuf/internal/version/ |
| D | version.go | 2 // Use of this source code is governed by a BSD-style 16 // - Tagged releases use a tag that is identical to String. 17 // - Tagged releases never reference a commit where the String 19 // - The set of all commits in this repository where String 26 // 2. Update Minor, Patch, and/or PreRelease as necessary. 27 // PreRelease must not contain the string "devel". 39 // without any other CLs in-between. 48 // 9. Update PreRelease to include the string "devel". 49 // For example: "" -> "devel" or "rc.1" -> "rc.1.devel" 56 PreRelease = "" const [all …]
|
| /external/protobuf/cmake/ |
| D | protobuf-config-version.cmake.in | 4 # Prerelease versions cannot be passed in directly via the find_package command, 9 set(PACKAGE_FIND_VERSION ${PACKAGE_FIND_VERSION}-${${PACKAGE_FIND_NAME}_FIND_VERSION_PRERELEASE}) 13 # VERSION_EQUAL ignores the prerelease strings, so we use STREQUAL. 26 # Do not match prerelease versions to non-prerelease version requests. 28 …message(AUTHOR_WARNING "To use this prerelease version of ${PACKAGE_FIND_NAME}, set ${PACKAGE_FIND… 32 # Not robustly SemVer compliant, but protobuf never uses '.' separated prerelease identifiers. 53 …# check that the installed version has the same 32/64bit-ness as the one which is currently search…
|
| /external/cronet/third_party/protobuf/cmake/ |
| D | protobuf-config-version.cmake.in | 4 # Prerelease versions cannot be passed in directly via the find_package command, 9 set(PACKAGE_FIND_VERSION ${PACKAGE_FIND_VERSION}-${${PACKAGE_FIND_NAME}_FIND_VERSION_PRERELEASE}) 13 # VERSION_EQUAL ignores the prerelease strings, so we use STREQUAL. 26 # Do not match prerelease versions to non-prerelease version requests. 28 …message(AUTHOR_WARNING "To use this prerelease version of ${PACKAGE_FIND_NAME}, set ${PACKAGE_FIND… 32 # Not robustly SemVer compliant, but protobuf never uses '.' separated prerelease identifiers. 53 …# check that the installed version has the same 32/64bit-ness as the one which is currently search…
|
| /external/rust/crates/semver/tests/util/ |
| D | mod.rs | 3 use semver::{BuildMetadata, Comparator, Error, Prerelease, Version, VersionReq}; 7 pub(super) fn version(text: &str) -> Version { in version() 12 pub(super) fn version_err(text: &str) -> Error { in version_err() 17 pub(super) fn req(text: &str) -> VersionReq { in req() 22 pub(super) fn req_err(text: &str) -> Error { in req_err() 27 pub(super) fn comparator(text: &str) -> Comparator { in comparator() 32 pub(super) fn comparator_err(text: &str) -> Error { in comparator_err() 37 pub(super) fn prerelease(text: &str) -> Prerelease { in prerelease() argument 38 Prerelease::new(text).unwrap() in prerelease() 42 pub(super) fn prerelease_err(text: &str) -> Error { in prerelease_err() [all …]
|
| /external/rust/crates/semver/src/ |
| D | impls.rs | 3 use crate::{BuildMetadata, Comparator, Prerelease, VersionReq}; 10 fn default() -> Self { in default() 23 impl Deref for Prerelease { implementation 26 fn deref(&self) -> &Self::Target { in deref() 34 fn deref(&self) -> &Self::Target { in deref() 39 impl PartialOrd for Prerelease { implementation 40 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp() 46 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp() 51 impl Ord for Prerelease { implementation 52 fn cmp(&self, rhs: &Self) -> Ordering { in cmp() [all …]
|
| D | display.rs | 1 use crate::{BuildMetadata, Comparator, Op, Prerelease, Version, VersionReq}; 5 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 6 let do_display = |formatter: &mut fmt::Formatter| -> fmt::Result { in fmt() 9 write!(formatter, "-{}", self.pre)?; in fmt() 17 let do_len = || -> usize { in fmt() 34 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 49 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 69 write!(formatter, "-{}", self.pre)?; in fmt() 81 impl Display for Prerelease { implementation 82 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() [all …]
|
| D | lib.rs | 1 …(https://github.com/dtolnay/semver) [![crates-io]](https://crates.io/crates/semver) [![d… 3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo… 4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555… 5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo… 20 //! use semver::{BuildMetadata, Prerelease, Version, VersionReq}; 25 //! // Check whether this requirement matches version 1.2.3-alpha.1 (no) 30 //! pre: Prerelease::new("alpha.1").unwrap(), 47 //! JavaScript, Composer for PHP, CocoaPods for Objective-C... 61 //! [Specifying Dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.ht… 81 clippy::semicolon_if_nothing_returned, // https://github.com/rust-lang/rust-clippy/issues/7324 [all …]
|
| /external/arm-neon-tests/ |
| D | compute_ref.gccarm-rvct | ... /compwork2/lyon/Work/ARM/NEON-Intrinsics/arm-neon-tests-from- ... |
| /external/protobuf/ruby/ |
| D | README.md | 11 --------------------- 12 …ck a version of Protocol Buffers you needed [RubyGems](https://rubygems.org/gems/google-protobuf)): 14 gem 'google-protobuf' 16 Or for using this pre-packaged gem, simply install it as you would any other gem: 18 $ gem install [--prerelease] google-protobuf 25 supports the `--ruby_out` option to generate Ruby code. 28 documentation may be found in the RubyDoc comments (`call-seq` tags) in the 36 # $ protoc --ruby_out=. my_proto_types.proto 53 --------------------------------------- 79 $ gem install `ls pkg/google-protobuf-*.gem` [all …]
|
| /external/cronet/third_party/protobuf/ruby/ |
| D | README.md | 11 --------------------- 12 …ck a version of Protocol Buffers you needed [RubyGems](https://rubygems.org/gems/google-protobuf)): 14 gem 'google-protobuf' 16 Or for using this pre-packaged gem, simply install it as you would any other gem: 18 $ gem install [--prerelease] google-protobuf 25 supports the `--ruby_out` option to generate Ruby code. 28 documentation may be found in the RubyDoc comments (`call-seq` tags) in the 36 # $ protoc --ruby_out=. my_proto_types.proto 53 --------------------------------------- 79 $ gem install `ls pkg/google-protobuf-*.gem` [all …]
|
| /external/python/google-api-python-client/ |
| D | Makefile | 2 find googleapiclient samples -name "*.py" | xargs pep8 --ignore=E111,E202 12 find tests -name "test_*.py" | xargs --max-args=1 coverage run -a runtests.py 19 mkdir -p docs/dyn 24 python samples-index.py > ../google-api-python-client.wiki/SampleApps.wiki 26 .PHONY: prerelease 27 prerelease: target 28 -rm -rf dist/ 29 -sudo rm -rf dist/ 30 -rm -rf snapshot/ 31 -sudo rm -rf snapshot/ [all …]
|
| /external/kmod/testsuite/module-playground/ |
| D | mod-simple-i386.ko | ... .this_module .bss .comment .note.GNU-stack
mod-simple-i386.c test_module_init test_module_exit ... |
| /external/tensorflow/tensorflow/core/util/ |
| D | semver_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 28 if (c == '-') return true; in IsDotOrIdentifierChar() 39 for (i = 0; i < s->size() && IsDotOrIdentifierChar((*s)[i]); ++i) { in ConsumeDotSeparatedIdentifiers() 42 *val = StringPiece(s->data(), i); in ConsumeDotSeparatedIdentifiers() 43 s->remove_prefix(i); in ConsumeDotSeparatedIdentifiers() 53 StringPiece prerelease, metadata; in TEST() local 60 // Till 0.11.0rc2, the prerelease version was (incorrectly) not separated from in TEST() 72 if (semver[0] == '-') { in TEST() 73 ASSERT_TRUE(ConsumeDotSeparatedIdentifiers(&semver, "-", &prerelease)); in TEST()
|
| /external/angle/build/android/tests/symbolize/ |
| D | liba.so | ... _edata __bss_start _end
GNU C++ 4.6 20120106 (prerelease) char /src/clank/src/build ... |
| D | libb.so | ... __bss_start _end
float GNU C++ 4.6 20120106 (prerelease) this /src/clank/src/build ... |
| /external/cronet/build/android/tests/symbolize/ |
| D | liba.so | ... _edata __bss_start _end
GNU C++ 4.6 20120106 (prerelease) char /src/clank/src/build ... |
| D | libb.so | ... __bss_start _end
float GNU C++ 4.6 20120106 (prerelease) this /src/clank/src/build ... |
| /external/python/cpython3/.azure-pipelines/ |
| D | find-tools.yml | 4 - template: windows-release/find-sdk.yml 8 - powershell: | 10 -prerelease ` 11 -latest ` 12 -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ` 13 -find VC\Auxiliary\Build\vcvarsall.bat) 14 Write-Host "Found vcvarsall at $vcvarsall" 15 Write-Host "##vso[task.setVariable variable=vcvarsall]$vcvarsall" 18 - powershell: | 20 -prerelease ` [all …]
|