Home
last modified time | relevance | path

Searched refs:Bound (Results 1 – 25 of 908) sorted by relevance

12345678910>>...37

/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DNavigableSetTestSuiteBuilder.java23 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
56 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
57 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
58 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
59 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
60 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
71 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in NavigableSetSubsetTestSetGenerator()
78 if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { in createSubSet()
80 } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) { in createSubSet()
82 } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { in createSubSet()
[all …]
DNavigableMapTestSuiteBuilder.java23 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
69 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
70 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
71 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
72 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
73 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
88 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in NavigableMapSubmapTestMapGenerator()
95 if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { in createSubMap()
97 } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) { in createSubMap()
99 } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { in createSubMap()
[all …]
DSortedSetTestSuiteBuilder.java20 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
66 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
67 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
68 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
84 final Bound from, in createSubsetSuite()
85 final Bound to) { in createSubsetSuite()
102 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in newBuilderUsing()
DDerivedCollectionGenerators.java319 public enum Bound { enum in DerivedCollectionGenerators
326 final Bound to;
327 final Bound from;
334 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in SortedSetSubsetTestSetGenerator()
353 public final Bound getTo() { in getTo()
357 public final Bound getFrom() { in getFrom()
391 if (from != Bound.NO_BOUND) { in create()
395 if (to != Bound.NO_BOUND) { in create()
411 if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) { in createSubSet()
413 } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) { in createSubSet()
[all …]
DSortedMapTestSuiteBuilder.java22 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
72 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
73 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
74 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
111 final Bound from, in createSubmapSuite()
112 final Bound to) { in createSubmapSuite()
129 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in newBuilderUsing()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DNavigableSetTestSuiteBuilder.java23 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
56 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
57 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
58 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
59 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
60 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
71 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in NavigableSetSubsetTestSetGenerator()
78 if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { in createSubSet()
80 } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) { in createSubSet()
82 } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { in createSubSet()
[all …]
DNavigableMapTestSuiteBuilder.java23 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
69 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
70 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
71 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
72 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
73 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
88 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in NavigableMapSubmapTestMapGenerator()
95 if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { in createSubMap()
97 } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) { in createSubMap()
99 } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { in createSubMap()
[all …]
DSortedSetTestSuiteBuilder.java20 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
66 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
67 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
68 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
84 final Bound from, in createSubsetSuite()
85 final Bound to) { in createSubsetSuite()
102 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in newBuilderUsing()
DDerivedCollectionGenerators.java319 public enum Bound { enum in DerivedCollectionGenerators
326 final Bound to;
327 final Bound from;
334 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in SortedSetSubsetTestSetGenerator()
353 public final Bound getTo() { in getTo()
357 public final Bound getFrom() { in getFrom()
391 if (from != Bound.NO_BOUND) { in create()
395 if (to != Bound.NO_BOUND) { in create()
411 if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) { in createSubSet()
413 } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) { in createSubSet()
[all …]
DSortedMapTestSuiteBuilder.java22 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
72 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
73 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
74 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
111 final Bound from, in createSubmapSuite()
112 final Bound to) { in createSubmapSuite()
129 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in newBuilderUsing()
/external/llvm-project/flang/include/flang/Semantics/
Dtype.h51 class Bound {
53 static Bound Assumed() { return Bound(Category::Assumed); } in Assumed()
54 static Bound Deferred() { return Bound(Category::Deferred); } in Deferred()
55 explicit Bound(MaybeSubscriptIntExpr &&expr) : expr_{std::move(expr)} {} in Bound() function
56 explicit Bound(common::ConstantSubscript bound);
57 Bound(const Bound &) = default;
58 Bound(Bound &&) = default;
59 Bound &operator=(const Bound &) = default;
60 Bound &operator=(Bound &&) = default;
73 Bound(Category category) : category_{category} {} in Bound() function
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedTypeParameterDeclaration.java46 …static ResolvedTypeParameterDeclaration onType(final String name, String classQName, List<Bound> b… in onType()
84 public List<Bound> getBounds() { in onType()
171 List<Bound> getBounds();
177 for (Bound b : getBounds()) {
189 for (Bound b : getBounds()) {
203 for (Bound b : getBounds()) {
217 for (Bound b : getBounds()) {
228 class Bound {
232 private Bound(boolean extendsBound, ResolvedType type) {
243 public static Bound extendsBound(ResolvedType type) {
[all …]
/external/rust/crates/rustversion/src/
Dbound.rs10 pub enum Bound { enum
15 pub fn parse(paren: Group, iter: Iter) -> Result<Bound> { in parse() argument
20 return release::parse(paren, iter).map(Bound::Stable); in parse()
22 return date::parse(paren, iter).map(Bound::Nightly); in parse()
33 impl PartialEq<Bound> for Version {
34 fn eq(&self, rhs: &Bound) -> bool { in eq()
36 Bound::Nightly(date) => match self.channel { in eq()
40 Bound::Stable(release) => { in eq()
48 impl PartialOrd<Bound> for Version {
49 fn partial_cmp(&self, rhs: &Bound) -> Option<Ordering> { in partial_cmp()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DSortedMultisetTestSuiteBuilder.java109 enum Bound { enum in SortedMultisetTestSuiteBuilder
127 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
128 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
129 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
130 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
131 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
132 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
133 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
134 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
141 SortedMultisetTestSuiteBuilder<E> parentBuilder, final Bound from, final Bound to) { in createSubMultisetSuite()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSortedMultisetTestSuiteBuilder.java109 enum Bound { enum in SortedMultisetTestSuiteBuilder
127 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
128 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
129 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
130 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
131 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
132 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
133 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
134 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
141 SortedMultisetTestSuiteBuilder<E> parentBuilder, final Bound from, final Bound to) { in createSubMultisetSuite()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/
DTypeParameterDeclaration.java41 … static TypeParameterDeclaration onType(final String name, String classQName, List<Bound> bounds) { in onType()
79 public List<Bound> getBounds(TypeSolver typeSolver) { in onType()
166 List<Bound> getBounds(TypeSolver typeSolver);
171 class Bound {
175 private Bound(boolean extendsBound, Type type) {
186 public static Bound extendsBound(Type type) {
187 return new Bound(true, type);
196 public static Bound superBound(Type type) {
197 return new Bound(false, type);
/external/rust/crates/rayon/src/
Dmath.rs1 use std::ops::{Bound, Range, RangeBounds};
18 Bound::Unbounded => 0, in simplify_range()
19 Bound::Included(&i) if i <= len => i, in simplify_range()
20 Bound::Excluded(&i) if i < len => i + 1, in simplify_range()
24 Bound::Unbounded => len, in simplify_range()
25 Bound::Excluded(&i) if i <= len => i, in simplify_range()
26 Bound::Included(&i) if i < len => i + 1, in simplify_range()
/external/rust/crates/futures-util/src/io/
Dwindow.rs1 use std::ops::{Bound, Range, RangeBounds};
79 Bound::Included(n) => *n, in set()
80 Bound::Excluded(n) => *n + 1, in set()
81 Bound::Unbounded => 0, in set()
84 Bound::Included(n) => *n + 1, in set()
85 Bound::Excluded(n) => *n, in set()
86 Bound::Unbounded => self.inner.as_ref().len(), in set()
/external/rust/crates/regex-syntax/src/hir/
Dinterval.rs252 let (min, max) = (I::Bound::min_value(), I::Bound::max_value()); in negate()
265 if self.ranges[0].lower() > I::Bound::min_value() { in negate()
267 self.ranges.push(I::create(I::Bound::min_value(), upper)); in negate()
274 if self.ranges[drain_end - 1].upper() < I::Bound::max_value() { in negate()
276 self.ranges.push(I::create(lower, I::Bound::max_value())); in negate()
338 type Bound: Bound; typedef
340 fn lower(&self) -> Self::Bound; in lower() argument
341 fn upper(&self) -> Self::Bound; in upper() argument
342 fn set_lower(&mut self, bound: Self::Bound); in set_lower() argument
343 fn set_upper(&mut self, bound: Self::Bound); in set_upper() argument
[all …]
/external/rust/crates/tinyvec/src/
Darrayvec_drain.rs4 ops::{Bound, RangeBounds},
22 Bound::Unbounded => 0, in new()
23 Bound::Included(&n) => n, in new()
24 Bound::Excluded(&n) => n.saturating_add(1), in new()
27 Bound::Unbounded => arr.len(), in new()
28 Bound::Included(&n) => n.saturating_add(1), in new()
29 Bound::Excluded(&n) => n, in new()
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-bind.cpp275 template<typename Bound, typename... Args>
276 inline typename safe_tuple_element<is_placeholder<Bound>::value -1,
278 mu(Bound& bound_arg, const tuple<Args&...>& args) { in mu()
279 return get<is_placeholder<Bound>::value-1>(args); in mu()
293 template<typename Bound, typename... Args>
294 inline typename enable_if<is_bind_expression<Bound>::value,
295 typename Bound::result_type>::type
296 mu(Bound& bound_arg, const tuple<Args&...>& args) { in mu()
311 template<typename Bound, typename... Args>
312 inline typename enable_if<(!is_bind_expression<Bound>::value
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-bind.cpp275 template<typename Bound, typename... Args>
276 inline typename safe_tuple_element<is_placeholder<Bound>::value -1,
278 mu(Bound& bound_arg, const tuple<Args&...>& args) { in mu()
279 return get<is_placeholder<Bound>::value-1>(args); in mu()
293 template<typename Bound, typename... Args>
294 inline typename enable_if<is_bind_expression<Bound>::value,
295 typename Bound::result_type>::type
296 mu(Bound& bound_arg, const tuple<Args&...>& args) { in mu()
311 template<typename Bound, typename... Args>
312 inline typename enable_if<(!is_bind_expression<Bound>::value
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp1023 const SCEV *Bound = SE->getMinusSCEV(S, Size); in isKnownLessThan() local
1024 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Bound)) { in isKnownLessThan()
2540 BoundInfo *Bound = new BoundInfo[MaxLevels + 1]; in banerjeeMIVtest() local
2547 Bound[K].Iterations = A[K].Iterations ? A[K].Iterations : B[K].Iterations; in banerjeeMIVtest()
2548 Bound[K].Direction = Dependence::DVEntry::ALL; in banerjeeMIVtest()
2549 Bound[K].DirSet = Dependence::DVEntry::NONE; in banerjeeMIVtest()
2550 findBoundsALL(A, B, Bound, K); in banerjeeMIVtest()
2553 if (Bound[K].Lower[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2554 LLVM_DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t'); in banerjeeMIVtest()
2557 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
[all …]
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp2463 BoundInfo *Bound = new BoundInfo[MaxLevels + 1]; in banerjeeMIVtest() local
2470 Bound[K].Iterations = A[K].Iterations ? A[K].Iterations : B[K].Iterations; in banerjeeMIVtest()
2471 Bound[K].Direction = Dependence::DVEntry::ALL; in banerjeeMIVtest()
2472 Bound[K].DirSet = Dependence::DVEntry::NONE; in banerjeeMIVtest()
2473 findBoundsALL(A, B, Bound, K); in banerjeeMIVtest()
2476 if (Bound[K].Lower[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2477 DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t'); in banerjeeMIVtest()
2480 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2481 DEBUG(dbgs() << *Bound[K].Upper[Dependence::DVEntry::ALL] << '\n'); in banerjeeMIVtest()
2489 if (testBounds(Dependence::DVEntry::ALL, 0, Bound, Delta)) { in banerjeeMIVtest()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DDependenceAnalysis.cpp1025 const SCEV *Bound = SE->getMinusSCEV(S, Size); in isKnownLessThan() local
1026 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Bound)) { in isKnownLessThan()
2529 BoundInfo *Bound = new BoundInfo[MaxLevels + 1]; in banerjeeMIVtest() local
2536 Bound[K].Iterations = A[K].Iterations ? A[K].Iterations : B[K].Iterations; in banerjeeMIVtest()
2537 Bound[K].Direction = Dependence::DVEntry::ALL; in banerjeeMIVtest()
2538 Bound[K].DirSet = Dependence::DVEntry::NONE; in banerjeeMIVtest()
2539 findBoundsALL(A, B, Bound, K); in banerjeeMIVtest()
2542 if (Bound[K].Lower[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2543 LLVM_DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t'); in banerjeeMIVtest()
2546 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
[all …]

12345678910>>...37