Home
last modified time | relevance | path

Searched refs:Number (Results 1 – 25 of 1902) sorted by relevance

12345678910>>...77

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableClassToInstanceMapTest.java51 public Map<Class, Number> create(Object... elements) { in suite()
52 ImmutableClassToInstanceMap.Builder<Number> builder in suite()
55 Entry<Class, Number> entry = (Entry<Class, Number>) object; in suite()
83 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); in testCopyOf_map_valid()
84 in.put(Number.class, 0); in testCopyOf_map_valid()
86 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_valid()
89 Number zero = map.getInstance(Number.class); in testCopyOf_map_valid()
99 Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap( in testCopyOf_map_nulls()
100 null, (Number) 1.0); in testCopyOf_map_nulls()
107 Map<? extends Class<? extends Number>, Number> nullValue in testCopyOf_map_nulls()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DRectRegion.java44 public RectRegion(Number minX, Number maxX, Number minY, Number maxY, String label) { in RectRegion()
51 public RectRegion(Number minX, Number maxX, Number minY, Number maxY) { in RectRegion()
59 public boolean containsValue(Number x, Number y) { in containsValue()
63 public boolean containsDomainValue(Number value) { in containsDomainValue()
68 public boolean containsRangeValue(Number value) { in containsRangeValue()
89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) { in intersects()
93 …public boolean intersects(RectF region, Number visMinX, Number visMaxX, Number visMinY, Number vis… in intersects()
100 …public RectF getRectF(RectF plotRect, Number visMinX, Number visMaxX, Number visMinY, Number visMa… in getRectF()
131 …t<RectRegion> regionsWithin(List<RectRegion> regions, Number minX, Number maxX, Number minY, Numbe… in regionsWithin()
142 public Number getMinX() { in getMinX()
[all …]
DXYPlot.java56 private Number userMinX;
57 private Number userMaxX;
58 private Number userMinY;
59 private Number userMaxY;
62 private Number calculatedMinX;
63 private Number calculatedMaxX;
64 private Number calculatedMinY;
65 private Number calculatedMaxY;
69 private Number prevMinX;
70 private Number prevMaxX;
[all …]
DSimpleXYSeries.java53 private volatile LinkedList<Number> xVals = new LinkedList<Number>();
54 private volatile LinkedList<Number> yVals = new LinkedList<Number>();
72 public SimpleXYSeries(List<? extends Number> model, ArrayFormat format, String title) { in SimpleXYSeries()
77 … public SimpleXYSeries(List<? extends Number> xVals, List<? extends Number> yVals, String title) { in SimpleXYSeries()
109 public void setModel(List<? extends Number> model, ArrayFormat format) { in setModel()
127 for(Number n : model) { in setModel()
139 xVals = new LinkedList<Number>(); in setModel()
164 public void setX(Number value, int index) { in setX()
178 public void setY(Number value, int index) { in setY()
193 public void setXY(Number xVal, Number yVal, int index) { in setXY()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DLineRegion.java24 private Number minVal;
25 private Number maxVal;
27 public LineRegion(Number val1, Number v2) { in LineRegion()
37 public static Number measure(Number val1, Number val2) { in measure()
41 public Number length() { in length()
50 public boolean contains(Number value) { in contains()
64 public boolean intersects(Number line2Min, Number line2Max) { in intersects()
80 public Number getMinVal() { in getMinVal()
84 public void setMinVal(Number minVal) { in setMinVal()
91 public Number getMaxVal() { in getMaxVal()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dcoff-resources.test13 ZERO-NEXT: Total Number of Resources: 1
15 ZERO-DAG: Number of String Entries: 0
16 ZERO-NEXT: Number of ID Entries: 1
19 ZERO-NEXT: Number of String Entries: 0
20 ZERO-NEXT: Number of ID Entries: 1
23 ZERO-NEXT: Number of String Entries: 0
24 ZERO-NEXT: Number of ID Entries: 1
36 TEST_RES-NEXT: Total Number of Resources: 7
38 TEST_RES-DAG: Number of String Entries: 0
39 TEST_RES-NEXT: Number of ID Entries: 4
[all …]
/external/v8/src/builtins/
Dbuiltins-date.cc121 double const day = MakeDay(tmp->get(0)->Number(), tmp->get(1)->Number(), in ParseDateTimeString()
122 tmp->get(2)->Number()); in ParseDateTimeString()
123 double const time = MakeTime(tmp->get(3)->Number(), tmp->get(4)->Number(), in ParseDateTimeString()
124 tmp->get(5)->Number(), tmp->get(6)->Number()); in ParseDateTimeString()
131 date -= tmp->get(7)->Number() * 1000.0; in ParseDateTimeString()
209 time_val = Handle<JSDate>::cast(value)->value()->Number(); in BUILTIN()
218 time_val = value->Number(); in BUILTIN()
228 double year = year_object->Number(); in BUILTIN()
229 double month = month_object->Number(); in BUILTIN()
235 date = date_object->Number(); in BUILTIN()
[all …]
Dbase.tq32 type Number = Smi|HeapNumber;
34 type Numeric = Number|BigInt;
180 extern macro ToInteger_Inline(Context, Object): Number;
182 Context, Object, constexpr ToIntegerTruncationMode): Number;
183 extern macro ToLength_Inline(Context, Object): Number;
184 extern macro ToNumber_Inline(Context, Object): Number;
196 extern macro ArraySpeciesCreate(Context, Object, Number): Object;
216 extern runtime SmiLexicographicCompare(Context, Object, Object): Number;
252 '<' macro BranchIfNumberLessThan(Number, Number): never labels Taken, NotTaken;
254 '<=' macro BranchIfNumberLessThanOrEqual(Number, Number): never labels Taken,
[all …]
Darray-copywithin.tq6 macro ConvertToRelativeIndex(index: Number, length: Number): Number {
17 const length: Number = GetLengthProperty(context, object);
20 const relative_target: Number = ToInteger_Inline(context, arguments[0]);
24 let to: Number = ConvertToRelativeIndex(relative_target, length);
27 const relative_start: Number = ToInteger_Inline(context, arguments[1]);
31 let from: Number = ConvertToRelativeIndex(relative_start, length);
35 let relative_end: Number = length;
42 const final: Number = ConvertToRelativeIndex(relative_end, length);
45 let count: Number = min(final - from, length - to);
48 let direction: Number = 1;
/external/v8/src/compiler/
Doperation-typer.cc271 if (type.Is(Type::Number())) return type; in ToNumberCommon()
292 return Type::Intersect(type, Type::Number(), zone()); in ToNumberCommon()
304 return mode == Object::Conversion::kToNumber ? Type::Number() in ToNumberOrNumeric()
316 return Type::Number(); in ToNumberConvertBigInt()
324 DCHECK(type.Is(Type::Number())); in NumberAbs()
354 DCHECK(type.Is(Type::Number())); in NumberAcos()
355 return Type::Number(); in NumberAcos()
359 DCHECK(type.Is(Type::Number())); in NumberAcosh()
360 return Type::Number(); in NumberAcosh()
364 DCHECK(type.Is(Type::Number())); in NumberAsin()
[all …]
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/nullables/
DNullFoo.java24 final Number number;
25 final Provider<Number> numberProvider;
30 Number number, in NullFoo()
31 Provider<Number> numberProvider) { in NullFoo()
40 Number methodInjectedNumber;
41 Provider<Number> methodInjectedNumberProvider;
44 Number number, in inject()
45 Provider<Number> numberProvider) { in inject()
54 @Inject Number fieldInjectedNumber;
55 @Inject Provider<Number> fieldInjectedNumberProvider;
/external/swiftshader/third_party/subzero/src/
DIceClFlags.h163 bool matchForceO2(GlobalString Name, uint32_t Number) const {
164 return ForceO2.match(Name, Number);
166 bool matchSplitInsts(const std::string &Name, uint32_t Number) const {
167 return SplitInsts.match(Name, Number);
169 bool matchTestStatus(GlobalString Name, uint32_t Number) const {
170 return TestStatus.match(Name, Number);
172 bool matchTimingFocus(GlobalString Name, uint32_t Number) const {
173 return TimingFocus.match(Name, Number);
175 bool matchTranslateOnly(GlobalString Name, uint32_t Number) const {
176 return TranslateOnly.match(Name, Number);
[all …]
DIceCfgNode.h31 static CfgNode *create(Cfg *Func, SizeT Number) { in create() argument
32 return new (Func->allocate<CfgNode>()) CfgNode(Func, Number); in create()
38 SizeT getIndex() const { return Number; } in getIndex()
39 void resetIndex(SizeT NewNumber) { Number = NewNumber; } in resetIndex()
134 CfgNode(Cfg *Func, SizeT Number) in CfgNode() argument
135 : Func(Func), Number(Number), NumberOrig(Number), in CfgNode()
139 SizeT Number; /// invariant: Func->Nodes[Number]==this variable
/external/libmpeg2/common/
Dimpeg2_macros.h29 #define CLIP(Number,Max,Min) if((Number) > (Max)) (Number) = (Max); \ argument
30 else if((Number) < (Min)) (Number) = (Min)
32 #define SIGN(Number) (((Number) < 0) ? -1 : 1) argument
44 #define IS_NEG(Number) (((Number) < 0) ? 1 : 0) argument
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsGenericDeepStubsTest.java24 interface GenericsNest<K extends Comparable<K> & Cloneable> extends Map<K, Set<Number>> {
25 Set<Number> remove(Object key); // override with fixed ParameterizedType in remove()
26 List<? super Number> returningWildcard(); in returningWildcard()
32 Number returnsNormalType(); in returnsNormalType()
39 Set<? extends Map.Entry<? extends Cloneable, Set<Number>>> entries = mock.entrySet(); in generic_deep_mock_frenzy__look_at_these_chained_calls()
40 …Iterator<? extends Map.Entry<? extends Cloneable,Set<Number>>> entriesIterator = mock.entrySet().i… in generic_deep_mock_frenzy__look_at_these_chained_calls()
41 Map.Entry<? extends Cloneable, Set<Number>> nextEntry = mock.entrySet().iterator().next(); in generic_deep_mock_frenzy__look_at_these_chained_calls()
46 Set<Number> value = mock.entrySet().iterator().next().getValue(); in generic_deep_mock_frenzy__look_at_these_chained_calls()
47 Iterator<Number> numbersIterator = mock.entrySet().iterator().next().getValue().iterator(); in generic_deep_mock_frenzy__look_at_these_chained_calls()
48 Number number = mock.entrySet().iterator().next().getValue().iterator().next(); in generic_deep_mock_frenzy__look_at_these_chained_calls()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DNativeFormatTests.cpp62 EXPECT_EQ("0", format_number(0, IntegerStyle::Number)); in TEST()
63 EXPECT_EQ("2,425", format_number(2425, IntegerStyle::Number)); in TEST()
64 EXPECT_EQ("-2,425", format_number(-2425, IntegerStyle::Number)); in TEST()
66 format_number(257257257235709LL, IntegerStyle::Number)); in TEST()
68 format_number(-257257257235709LL, IntegerStyle::Number)); in TEST()
165 EXPECT_EQ("0", format_number(0, IntegerStyle::Number)); in TEST()
166 EXPECT_EQ("10", format_number(10, IntegerStyle::Number)); in TEST()
167 EXPECT_EQ("100", format_number(100, IntegerStyle::Number)); in TEST()
168 EXPECT_EQ("1,000", format_number(1000, IntegerStyle::Number)); in TEST()
169 EXPECT_EQ("1,234,567,890", format_number(1234567890, IntegerStyle::Number)); in TEST()
[all …]
/external/pdfium/fxjs/
Dcjs_position.cpp10 {"textOnly", JSConstSpec::Number, 0, 0},
11 {"iconOnly", JSConstSpec::Number, 1, 0},
12 {"iconTextV", JSConstSpec::Number, 2, 0},
13 {"textIconV", JSConstSpec::Number, 3, 0},
14 {"iconTextH", JSConstSpec::Number, 4, 0},
15 {"textIconH", JSConstSpec::Number, 5, 0},
16 {"overlay", JSConstSpec::Number, 6, 0}};
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
DOutOfRangeException.java33 private final Number lo;
35 private final Number hi;
44 public OutOfRangeException(Number wrong, in OutOfRangeException()
45 Number lo, in OutOfRangeException()
46 Number hi) { in OutOfRangeException()
54 public Number getLo() { in getLo()
60 public Number getHi() { in getHi()
DNumberIsTooLargeException.java36 private final Number max;
49 public NumberIsTooLargeException(Number wrong, in NumberIsTooLargeException()
50 Number max, in NumberIsTooLargeException()
63 Number wrong, in NumberIsTooLargeException()
64 Number max, in NumberIsTooLargeException()
86 public Number getMax() { in getMax()
DNumberIsTooSmallException.java36 private final Number min;
49 public NumberIsTooSmallException(Number wrong, in NumberIsTooSmallException()
50 Number min, in NumberIsTooSmallException()
64 Number wrong, in NumberIsTooSmallException()
65 Number min, in NumberIsTooSmallException()
87 public Number getMin() { in getMin()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cvtres/
Dobject.test14 CHECK-NEXT: Total Number of Resources: 8
15 CHECK-DAG: Number of String Entries: 1
16 CHECK-NEXT: Number of ID Entries: 4
19 CHECK-NEXT: Number of String Entries: 1
20 CHECK-NEXT: Number of ID Entries: 0
23 CHECK-NEXT: Number of String Entries: 0
24 CHECK-NEXT: Number of ID Entries: 1
36 CHECK-NEXT: Number of String Entries: 2
37 CHECK-NEXT: Number of ID Entries: 0
40 CHECK-NEXT: Number of String Entries: 0
[all …]
Dcombined.test15 CHECK-NEXT: Total Number of Resources: 12
16 CHECK-DAG: Number of String Entries: 1
17 CHECK-NEXT: Number of ID Entries: 5
20 CHECK-NEXT: Number of String Entries: 1
21 CHECK-NEXT: Number of ID Entries: 0
24 CHECK-NEXT: Number of String Entries: 0
25 CHECK-NEXT: Number of ID Entries: 1
37 CHECK-NEXT: Number of String Entries: 2
38 CHECK-NEXT: Number of ID Entries: 0
41 CHECK-NEXT: Number of String Entries: 0
[all …]
/external/easymock/src/org/easymock/internal/matchers/
DEqualsWithDelta.java26 private final Number expected;
28 private final Number delta;
30 public EqualsWithDelta(Number value, Number delta) { in EqualsWithDelta()
36 Number actualNumber = (Number) actual; in matches()
/external/mockito/src/main/java/org/mockito/internal/matchers/
DEqualsWithDelta.java12 public class EqualsWithDelta implements ArgumentMatcher<Number>, Serializable {
14 private final Number wanted;
15 private final Number delta;
17 public EqualsWithDelta(Number value, Number delta) { in EqualsWithDelta()
22 public boolean matches(Number actual) { in matches()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboCursor.java56 …return value == null ? 0 : (value instanceof Number ? ((Number) value).shortValue() : Short.parseS… in getShort()
62 …return value == null ? 0 : (value instanceof Number ? ((Number) value).intValue() : Integer.parseI… in getInt()
70 : (value instanceof Number in getLong()
71 ? ((Number) value).longValue() in getLong()
78 …return value == null ? 0 : (value instanceof Number ? ((Number) value).floatValue() : Float.parseF… in getFloat()
84 …return value == null ? 0 : (value instanceof Number ? ((Number) value).doubleValue() : Double.pars… in getDouble()

12345678910>>...77