Home
last modified time | relevance | path

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

12345678910>>...63

/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/v8/src/compiler/
Doperation-typer.cc245 if (type->Is(Type::Number())) return type; in ToNumber()
266 return Type::Intersect(type, Type::Number(), zone()); in ToNumber()
268 return Type::Number(); in ToNumber()
272 DCHECK(type->Is(Type::Number())); in NumberAbs()
300 DCHECK(type->Is(Type::Number())); in NumberAcos()
301 return Type::Number(); in NumberAcos()
305 DCHECK(type->Is(Type::Number())); in NumberAcosh()
306 return Type::Number(); in NumberAcosh()
310 DCHECK(type->Is(Type::Number())); in NumberAsin()
311 return 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/v8/src/builtins/
Dbuiltins-date.cc130 double const day = MakeDay(tmp->get(0)->Number(), tmp->get(1)->Number(), in ParseDateTimeString()
131 tmp->get(2)->Number()); in ParseDateTimeString()
132 double const time = MakeTime(tmp->get(3)->Number(), tmp->get(4)->Number(), in ParseDateTimeString()
133 tmp->get(5)->Number(), tmp->get(6)->Number()); in ParseDateTimeString()
140 date -= tmp->get(7)->Number() * 1000.0; in ParseDateTimeString()
218 time_val = Handle<JSDate>::cast(value)->value()->Number(); in BUILTIN()
227 time_val = value->Number(); in BUILTIN()
237 double year = year_object->Number(); in BUILTIN()
238 double month = month_object->Number(); in BUILTIN()
244 date = date_object->Number(); in BUILTIN()
[all …]
/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()
131 CfgNode(Cfg *Func, SizeT Number) in CfgNode() argument
132 : Func(Func), Number(Number), NumberOrig(Number), in CfgNode()
136 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMatrixCursor.java38 Number numberValue = (Number) get(column); in getLong()
44 Number numberValue = (Number) get(column); in getShort()
50 Number numberValue = (Number) get(column); in getInt()
56 Number numberValue = (Number) get(column); in getFloat()
62 Number numberValue = (Number) get(column); in getDouble()
/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()
DNonMonotonousSequenceException.java49 private final Number previous;
60 public NonMonotonousSequenceException(Number wrong, in NonMonotonousSequenceException()
61 Number previous, in NonMonotonousSequenceException()
77 public NonMonotonousSequenceException(Number wrong, in NonMonotonousSequenceException()
78 Number previous, in NonMonotonousSequenceException()
120 public Number getPrevious() { in getPrevious()
/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/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DOptionalTest.java245 List<Optional<? extends Number>> optionals = in testPresentInstances_wildcards()
246 ImmutableList.<Optional<? extends Number>>of(Optional.<Double>absent(), Optional.of(2)); in testPresentInstances_wildcards()
247 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards()
255 private static FluentIterable<? extends Number> getSomeNumbers() { in getSomeNumbers()
256 return FluentIterable.from(ImmutableList.<Number>of()); in getSomeNumbers()
272 FluentIterable<? extends Number> numbers = getSomeNumbers(); in testSampleCodeError2()
273 Optional<? extends Number> first = numbers.first(); in testSampleCodeError2()
279 Optional<Number> optionalInt = Optional.of((Number) 1); in testSampleCodeFine1()
280 Number value = optionalInt.or(0.5); // fine in testSampleCodeFine1()
285 FluentIterable<? extends Number> numbers = getSomeNumbers(); in testSampleCodeFine2()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java248 List<Optional<? extends Number>> optionals = in testPresentInstances_wildcards()
249 ImmutableList.<Optional<? extends Number>>of(Optional.<Double>absent(), Optional.of(2)); in testPresentInstances_wildcards()
250 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards()
258 private static FluentIterable<? extends Number> getSomeNumbers() { in getSomeNumbers()
259 return FluentIterable.from(ImmutableList.<Number>of()); in getSomeNumbers()
275 FluentIterable<? extends Number> numbers = getSomeNumbers(); in testSampleCodeError2()
276 Optional<? extends Number> first = numbers.first(); in testSampleCodeError2()
282 Optional<Number> optionalInt = Optional.of((Number) 1); in testSampleCodeFine1()
283 Number value = optionalInt.or(0.5); // fine in testSampleCodeFine1()
288 FluentIterable<? extends Number> numbers = getSomeNumbers(); in testSampleCodeFine2()
[all …]
/external/llvm/lib/Analysis/
DStratifiedSets.h188 const StratifiedIndex Number; member
190 BuilderLink(StratifiedIndex N) : Number(N) { in BuilderLink()
284 StratifiedIndex Number = StratLinks.size(); in finalizeSets() local
285 Remaps.insert(std::make_pair(Link.Number, Number)); in finalizeSets()
292 auto Iter = Remaps.find(Above.Number); in finalizeSets()
299 auto Iter = Remaps.find(Below.Number); in finalizeSets()
308 auto Iter = Remaps.find(Link.Number); in finalizeSets()
419 merge(IterSet.Number, ReqSet.Number); in addAtMerging()
435 auto NewRemap = Current->Number; in linksAt()
487 NewAbove.setBelow(LinksInto->Number); in mergeDirect()
[all …]
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/
Dp2.cpp36 …struct Number { // expected-note 2 {{candidate constructor (the implicit copy constructor) not via… struct
41 explicit Number(double d) : d(d) {} in Number() function
44 Number zero(0.0f);
45 void g(Number); // expected-note 2{{passing argument to parameter here}}
49 Numbers::Number n = Numbers::zero; in test2() argument
60 Numbers::Number n = Numbers::zero; in test3()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DSegment.java21 public class Segment implements Series<Number> {
25 private Number value;
27 public Segment(String title, Number value) { in Segment()
41 public Number getValue() { in getValue()
45 public void setValue(Number value) { in setValue()

12345678910>>...63