Home
last modified time | relevance | path

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

123

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DNavigableSetTestSuiteBuilder.java19 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
57 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
58 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
59 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
60 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
61 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
72 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in NavigableSetSubsetTestSetGenerator()
79 if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { in createSubSet()
81 } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) { in createSubSet()
83 } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { in createSubSet()
[all …]
DNavigableMapTestSuiteBuilder.java22 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
65 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites()
66 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
67 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
68 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
69 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites()
83 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in NavigableMapSubmapTestMapGenerator()
90 if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { in createSubMap()
92 } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) { in createSubMap()
94 } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { in createSubMap()
[all …]
DSortedSetTestSuiteBuilder.java19 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()
83 parentBuilder, final Bound from, final Bound to) { in createSubsetSuite()
101 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in newBuilderUsing()
DSortedMapTestSuiteBuilder.java19 import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
67 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites()
68 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites()
69 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites()
105 parentBuilder, final Bound from, final Bound to) { in createSubmapSuite()
122 TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { in newBuilderUsing()
DDerivedCollectionGenerators.java334 public enum Bound { enum in DerivedCollectionGenerators
342 final Bound to;
343 final Bound from;
350 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { in SortedSetSubsetTestSetGenerator()
369 public final Bound getTo() { in getTo()
373 public final Bound getFrom() { in getFrom()
408 if (from != Bound.NO_BOUND) { in create()
412 if (to != Bound.NO_BOUND) { in create()
430 if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) { in createSubSet()
432 } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) { in createSubSet()
[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/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSortedMultisetTestSuiteBuilder.java109 enum Bound { enum in SortedMultisetTestSuiteBuilder
126 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, in createDerivedSuites()
127 Bound.EXCLUSIVE)); in createDerivedSuites()
128 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, in createDerivedSuites()
129 Bound.INCLUSIVE)); in createDerivedSuites()
130 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, in createDerivedSuites()
131 Bound.NO_BOUND)); in createDerivedSuites()
132 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, in createDerivedSuites()
133 Bound.EXCLUSIVE)); in createDerivedSuites()
134 derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, in createDerivedSuites()
[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-7.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp1012 const SCEV *Bound = SE->getMinusSCEV(S, Size); in isKnownLessThan() local
1013 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 …]
/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DBoundSet.java23 private List<Bound> bounds = new LinkedList<>();
62 public BoundSet withBound(Bound bound) { in withBound()
74 Bound bi = bounds.get(i); in findPairSameAs()
78 Bound bj = bounds.get(j); in findPairSameAs()
96 interface Processor<B1 extends Bound, B2 extends Bound, R> {
103 Bound bi = bounds.get(i); in forEachPairSameAs()
107 Bound bj = bounds.get(j); in forEachPairSameAs()
121 Bound bi = bounds.get(i); in forEachPairSameAndSubtype()
125 Bound bj = bounds.get(j); in forEachPairSameAndSubtype()
139 Bound bi = bounds.get(i); in forEachPairSubtypeAndSubtype()
[all …]
DConstraintFormula.java39 public ReductionResult withBound(Bound bound) { in withBound()
56 return empty().withBound(Bound.falseBound()); in falseResult()
100 public static ReductionResult oneBound(Bound bound) { in oneBound()
DBound.java13 public abstract class Bound { class
19 static Bound falseBound() { in falseBound()
/external/v8/src/compiler/
Dloop-variable-optimizer.h30 struct Bound { struct
31 Bound(Node* bound, ConstraintKind kind) : bound(bound), kind(kind) {} in Bound() function
37 const ZoneVector<Bound>& lower_bounds() { return lower_bounds_; } in lower_bounds() argument
38 const ZoneVector<Bound>& upper_bounds() { return upper_bounds_; } in upper_bounds()
64 ZoneVector<Bound> lower_bounds_;
65 ZoneVector<Bound> upper_bounds_;
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
DSubtypeOfBoundTest.java37 Bound bound = new SubtypeOfBound(integerType, inferenceVariable); in recognizeProperLowerBound1()
49 Bound bound = new SubtypeOfBound(doubleType, inferenceVariable); in recognizeProperLowerBound2()
61 Bound bound = new SubtypeOfBound(inferenceVariable, objectType); in recognizeProperUpperBound1()
77 Bound bound1 = new SubtypeOfBound(alpha, iterableOfWildcard); in recognizeProperUpperBound2()
78 Bound bound2 = new SubtypeOfBound(beta, objectType); in recognizeProperUpperBound2()
79 Bound bound3 = new SubtypeOfBound(alpha, listOfBeta); in recognizeProperUpperBound2()
DSameAsBoundTest.java6 import com.github.javaparser.symbolsolver.resolution.typeinference.Bound;
25 Bound bound1 = new SameAsBound(inferenceVariable, stringType); in recognizeInstantiation()
26 Bound bound2 = new SameAsBound(stringType, inferenceVariable); in recognizeInstantiation()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DDependenceAnalysis.h797 const SCEV *getLowerBound(BoundInfo *Bound) const;
802 const SCEV *getUpperBound(BoundInfo *Bound) const;
812 BoundInfo *Bound,
820 BoundInfo *Bound,
827 BoundInfo *Bound,
834 BoundInfo *Bound,
841 BoundInfo *Bound,
848 BoundInfo *Bound,
/external/llvm/include/llvm/Analysis/
DDependenceAnalysis.h796 const SCEV *getLowerBound(BoundInfo *Bound) const;
801 const SCEV *getUpperBound(BoundInfo *Bound) const;
811 BoundInfo *Bound,
819 BoundInfo *Bound,
826 BoundInfo *Bound,
833 BoundInfo *Bound,
840 BoundInfo *Bound,
847 BoundInfo *Bound,
/external/tensorflow/tensorflow/core/kernels/
Dresize_area_op.cc64 #define BOUND_IF_NEEDED(x, y) (NeedsXBounding ? Bound(x, y) : (x)) in ComputePatchSumOf3Channels()
113 #define BOUND_IF_NEEDED(x, y) (NeedsXBounding ? Bound(x, y) : (x)) in ComputePatchSum()
182 Bound(x_interp.start, st.in_width) != x_interp.start || in Compute()
183 Bound(x_interp.end - 1, st.in_width) != (x_interp.end - 1); in Compute()
244 Bound(i, st.in_height) * st.in_width * st.channels)); in ComputeLoop()
277 static EIGEN_ALWAYS_INLINE int64 Bound(int64 val, int64 limit) { in Bound() function in tensorflow::ResizeAreaOp
Dresize_bicubic_op_test.cc83 inline int64 Bound(int64 val, int64 limit) { in Bound() function in tensorflow::ResizeBicubicOpTest
98 *indices = {{Bound(in_loc - 1, limit), Bound(in_loc, limit), in GetWeightsAndIndices()
99 Bound(in_loc + 1, limit), Bound(in_loc + 2, limit)}}; in GetWeightsAndIndices()
Dresize_bicubic_op.cc68 inline int64 Bound(int64 val, int64 limit) { in Bound() function
101 out->index_0 = Bound(in_loc - 1, limit); in GetWeightsAndIndices()
104 out->index_1 = Bound(in_loc, limit); in GetWeightsAndIndices()
106 out->index_2 = Bound(in_loc + 1, limit); in GetWeightsAndIndices()
110 out->index_3 = Bound(in_loc + 2, limit); in GetWeightsAndIndices()
129 out->index_0 = Bound(in_loc - 1, limit); in GetWeightsAndIndices()
130 out->index_1 = Bound(in_loc, limit); in GetWeightsAndIndices()
131 out->index_2 = Bound(in_loc + 1, limit); in GetWeightsAndIndices()
132 out->index_3 = Bound(in_loc + 2, limit); in GetWeightsAndIndices()
/external/sfntly/cpp/src/sfntly/data/
Dfont_data.cc31 void FontData::Bound(int32_t offset, int32_t length) { in Bound() function in sfntly::FontData
66 Bound(data->bound_offset_ + offset, length); in FontData()
71 Bound(data->bound_offset_ + offset, in FontData()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionTypeParameter.txt17 …Line 113) Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFacto…
18 …Line 113) Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFacto…
21Bound.extendsBound(ReflectionFactory.typeUsageFor(refB, typeSolver)) ==> com.github.javaparser.sym…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
DFalseBound.java3 import com.github.javaparser.symbolsolver.resolution.typeinference.Bound;
16 public class FalseBound extends Bound {
DThrowsBound.java3 import com.github.javaparser.symbolsolver.resolution.typeinference.Bound;
18 public class ThrowsBound extends Bound {

123