HomeSort by relevance Sort by last modified time
    Searched refs:upperBound (Results 1 - 25 of 62) sorted by null

1 2 3

  /packages/apps/Contacts/src/com/android/contacts/util/
MoreMath.java 27 public static int clamp(int input, int lowerBound, int upperBound) {
29 if (input > upperBound) return upperBound;
37 public static float clamp(float input, float lowerBound, float upperBound) {
39 if (input > upperBound) return upperBound;
47 public static double clamp(double input, double lowerBound, double upperBound) {
49 if (input > upperBound) return upperBound;
  /external/apache-http/src/org/apache/http/message/
ParserCursor.java 48 private final int upperBound;
51 public ParserCursor(int lowerBound, int upperBound) {
56 if (lowerBound > upperBound) {
60 this.upperBound = upperBound;
69 return this.upperBound;
80 if (pos > this.upperBound) {
87 return this.pos >= this.upperBound;
97 buffer.append(Integer.toString(this.upperBound));
  /external/guava/guava/src/com/google/common/collect/
Range.java 115 final Cut<C> upperBound;
117 Range(Cut<C> lowerBound, Cut<C> upperBound) {
118 if (lowerBound.compareTo(upperBound) > 0) {
120 "Invalid range: " + toString(lowerBound, upperBound));
123 this.upperBound = upperBound;
159 return upperBound != Cut.aboveAll();
169 return upperBound.endpoint();
181 return upperBound.typeAsUpperBound();
194 return lowerBound.equals(upperBound);
    [all...]
TreeBasedTable.java 178 @Nullable final C upperBound;
184 TreeRow(R rowKey, @Nullable C lowerBound, @Nullable C upperBound) {
187 this.upperBound = upperBound;
188 checkArgument(lowerBound == null || upperBound == null
189 || compare(lowerBound, upperBound) <= 0);
205 && (upperBound == null || compare(upperBound, o) > 0);
221 return new TreeRow(rowKey, fromKey, upperBound);
266 if (upperBound != null)
    [all...]
DescendingImmutableSortedMultiset.java 73 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
74 return forward.tailMultiset(upperBound, boundType).descendingMultiset();
EmptyImmutableSortedMultiset.java 74 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
75 checkNotNull(upperBound);
SortedMultiset.java 96 * {@code upperBound}, optionally including {@code upperBound} itself. The
104 SortedMultiset<E> headMultiset(E upperBound, BoundType boundType);
108 * {@code lowerBound} and {@code upperBound}. The returned multiset is a view
116 * {@code tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound,
120 E upperBound, BoundType upperBoundType);
Ranges.java 75 Cut<C> lowerBound, Cut<C> upperBound) {
76 return new Range<C>(lowerBound, upperBound);
141 Cut<C> upperBound = (upperType == BoundType.OPEN)
144 return create(lowerBound, upperBound);
RegularImmutableSortedMultiset.java 153 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
158 elementList(), checkNotNull(upperBound), comparator(), ANY_PRESENT, NEXT_HIGHER);
162 elementList(), checkNotNull(upperBound), comparator(), ANY_PRESENT, NEXT_LOWER) + 1;
RegularContiguousSet.java 92 return range.upperBound.greatestValueBelow(domain);
150 range.upperBound.withUpperBoundType(upperBoundType, domain));
  /cts/tools/signature-tools/test/signature/converter/
ConvertWildcardTest.java 63 ITypeReference upperBound = wildcardType.getUpperBounds().get(0);
64 assertTrue(upperBound instanceof IClassReference);
66 assertEquals("Number", ((IClassReference)upperBound).getClassDefinition().getName());
92 ITypeReference upperBound = wildcardType.getUpperBounds().get(0);
93 assertTrue(upperBound instanceof IClassReference);
94 assertEquals("Object", ((IClassReference)upperBound).getClassDefinition().getName());
  /external/webkit/Source/WebCore/storage/
IDBKeyRange.idl 39 [ClassMethod] IDBKeyRange upperBound(in IDBKey bound, in [Optional] boolean open);
IDBKeyRange.cpp 54 PassRefPtr<IDBKeyRange> IDBKeyRange::upperBound(PassRefPtr<IDBKey> bound, bool open)
IDBKeyRange.h 53 static PassRefPtr<IDBKeyRange> upperBound(PassRefPtr<IDBKey> bound, bool open = false);
IDBSQLiteBackingStore.cpp     [all...]
  /external/webkit/Source/WebCore/page/
PerformanceTiming.cpp 52 static double getPossiblySkewedTimeInKnownRange(double skewedTime, double lowerBound, double upperBound)
63 if (upperBound <= 0.0)
64 upperBound = currentTime();
66 if (skewedTime >= upperBound)
67 return upperBound;
70 ASSERT_UNUSED(upperBound, skewedTime <= upperBound);
  /external/opencv/cv/src/
cvcondens.cpp 232 cvConDensInitSampleSet( CvConDensation * conDens, CvMat * lowerBound, CvMat * upperBound )
242 if( !conDens || !lowerBound || !upperBound )
246 !CV_ARE_TYPES_EQ(lowerBound,upperBound) )
249 if( (lowerBound->cols != 1) || (upperBound->cols != 1) )
252 if( (lowerBound->rows != conDens->DP) || (upperBound->rows != conDens->DP) )
256 UBound = upperBound->data.fl;
  /external/icu4c/i18n/
nfrule.h 70 double upperBound,
86 double upperBound) const;
nfsubs.h 170 * @param upperBound When searching the rule set for a rule
189 double upperBound,
210 * to upperBound are not considered.
nfsubs.cpp 154 double upperBound,
214 double upperBound,
281 double upperBound,
313 double /*upperBound*/,
659 * @param upperBound When searching the rule set for a rule
679 double upperBound,
684 fprintf(stderr, "<nfsubs> %x bv: %g ub: %g\n", this, baseValue, upperBound);
692 upperBound = calcUpperBound(upperBound);
701 ruleSet->parse(text, parsePosition, upperBound, result)
    [all...]
nfrs.cpp 549 * of its rules (with a base value less than upperBound) and returns
556 * @param upperBound Limits the rules that can be allowed to match.
557 * Only rules whose base values are strictly less than upperBound
584 NFRuleSet::parse(const UnicodeString& text, ParsePosition& pos, double upperBound, Formattable& result) const
613 fprintf(stderr, " <nfrs before negative> %x ub: %g\n", negativeNumberRule, upperBound);
615 UBool success = negativeNumberRule->doParse(text, workingPos, 0, upperBound, tempResult);
635 UBool success = fractionRules[i]->doParse(text, workingPos, 0, upperBound, tempResult);
660 int64_t ub = util64_fromDouble(upperBound);
667 fprintf(stderr, "ub: %g, i64: %s (%s)\n", upperBound, ubstr, ubstrhex);
675 UBool success = rules[i]->doParse(text, workingPos, fIsFractionRuleSet, upperBound, tempResult)
    [all...]
nfrs.h 60 UBool parse(const UnicodeString& text, ParsePosition& pos, double upperBound, Formattable& result) const;
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
RegularContiguousSet.java 90 return range.upperBound.greatestValueBelow(domain);
148 range.upperBound.withUpperBoundType(upperBoundType, domain));
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
WildcardTypeTest.java 104 Type upperBound = upperBounds[0];
105 assertEquals(getTypeParameter(method), upperBound);
  /frameworks/base/core/java/android/view/
WindowOrientationListener.java 593 int upperBound = rotation * 90 + 45
596 if (orientationAngle <= 45 && orientationAngle > upperBound) {
600 if (orientationAngle > upperBound) {
    [all...]

Completed in 742 milliseconds

1 2 3