Home
last modified time | relevance | path

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

12345678910>>...35

/external/v8/test/webkit/fast/js/
DtoString-number-expected.txt24 Test the conversion performed by the function Number.prototype.toString.
29 PASS Number(0).toString() is "0"
30 PASS Number.prototype.toString.call(0) is "0"
31 PASS Number.prototype.toString.call(new Number(0)) is "0"
32 PASS Number("0").toString() is "0"
33 PASS Number(0).toString(10) is "0"
34 PASS Number(0).toString(2) is "0"
35 PASS Number.prototype.toString.call(0, 2) is "0"
36 PASS Number.prototype.toString.call(new Number(0), 2) is "0"
37 PASS Number(0).toString(36) is "0"
[all …]
Dprimitive-property-access-edge-cases-expected.txt29 PASS checkGet(1, Number) is true
32 PASS checkSet(1, Number) is true
35 PASS checkGetStrict(1, Number) is true
38 PASS checkSetStrict(1, Number) is true
41 PASS checkRead(1, Number) is true
44 PASS checkWrite(1, Number) is true
47 PASS checkReadStrict(1, Number) is true
50 PASS checkWriteStrict(1, Number) threw exception TypeError: Cannot assign to read only property 'fo…
53 PASS checkNumericGet(1, Number) is true
56 FAIL checkNumericSet(1, Number) should be true. Was false.
[all …]
/external/v8/test/webkit/fast/js/kde/
DNumber-expected.txt29 PASS Number() is 0
30 PASS Number(1) is 1
31 PASS Number(1.1) is 1.1
32 PASS Number('1.2') is 1.2
33 PASS isNaN(Number('a')) is true
34 PASS (new Number()).valueOf() is 0
35 PASS (new Number(.4)).valueOf() is 0.4
36 PASS (new Number('1.')).valueOf() is 1
37 PASS isNaN(new Number('a')) is true
38 PASS isNaN(Number.NaN) is true
[all …]
/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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/
DMaterialContext.java42 /* package */final Map<Number, Texture> loadedTextures;
65 int mode = ((Number) structure.getFieldValue("mode")).intValue(); in MaterialContext()
70 int diff_shader = ((Number) structure.getFieldValue("diff_shader")).intValue(); in MaterialContext()
74 float r = ((Number) structure.getFieldValue("r")).floatValue(); in MaterialContext()
75 float g = ((Number) structure.getFieldValue("g")).floatValue(); in MaterialContext()
76 float b = ((Number) structure.getFieldValue("b")).floatValue(); in MaterialContext()
77 float alpha = ((Number) structure.getFieldValue("alpha")).floatValue(); in MaterialContext()
86 int spec_shader = ((Number) structure.getFieldValue("spec_shader")).intValue(); in MaterialContext()
90 float r = ((Number) structure.getFieldValue("ambr")).floatValue(); in MaterialContext()
91 float g = ((Number) structure.getFieldValue("ambg")).floatValue(); in MaterialContext()
[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/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/jetty/src/resources/org/eclipse/jetty/server/handler/jmx/
DStatisticsHandler-mbean.properties4 requests: Number of requests since statsReset() called.
5 requestsActive: Number of requests currently active since statsReset() called.
11 dispatched: Number of dispatches since statsReset() called.
12 dispatchedActive: Number of dispatches currently active since statsReset() called.
18 suspends: Number of requests suspended since statsReset() called.
19 suspendsActive: Number of dispatches currently active since statsReset() called.
21 resumes: Number of requests resumed since statsReset() called.
22 expires: Number of requests expired since statsReset() called.
23 responses1xx: Number of responses with a 1xx status since statsReset() called.
24 responses2xx: Number of responses with a 2xx status since statsReset() called.
[all …]
/external/robolectric/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/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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintSizeLimit.java47 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintSizeLimit()
49 limits[0][0] = ((Number) data.getFieldValue("xmin")).floatValue(); in ConstraintSizeLimit()
50 limits[0][1] = ((Number) data.getFieldValue("xmax")).floatValue(); in ConstraintSizeLimit()
51 limits[2][0] = -((Number) data.getFieldValue("ymin")).floatValue(); in ConstraintSizeLimit()
52 limits[2][1] = -((Number) data.getFieldValue("ymax")).floatValue(); in ConstraintSizeLimit()
53 limits[1][0] = ((Number) data.getFieldValue("zmin")).floatValue(); in ConstraintSizeLimit()
54 limits[1][1] = ((Number) data.getFieldValue("zmax")).floatValue(); in ConstraintSizeLimit()
67 limits[0][0] = ((Number) data.getFieldValue("xmin")).floatValue(); in ConstraintSizeLimit()
68 limits[0][1] = ((Number) data.getFieldValue("xmax")).floatValue(); in ConstraintSizeLimit()
69 limits[1][0] = ((Number) data.getFieldValue("ymin")).floatValue(); in ConstraintSizeLimit()
[all …]
DConstraintLocLimit.java47 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintLocLimit()
49 limits[0][0] = ((Number) data.getFieldValue("xmin")).floatValue(); in ConstraintLocLimit()
50 limits[0][1] = ((Number) data.getFieldValue("xmax")).floatValue(); in ConstraintLocLimit()
51 limits[2][0] = -((Number) data.getFieldValue("ymin")).floatValue(); in ConstraintLocLimit()
52 limits[2][1] = -((Number) data.getFieldValue("ymax")).floatValue(); in ConstraintLocLimit()
53 limits[1][0] = ((Number) data.getFieldValue("zmin")).floatValue(); in ConstraintLocLimit()
54 limits[1][1] = ((Number) data.getFieldValue("zmax")).floatValue(); in ConstraintLocLimit()
67 limits[0][0] = ((Number) data.getFieldValue("xmin")).floatValue(); in ConstraintLocLimit()
68 limits[0][1] = ((Number) data.getFieldValue("xmax")).floatValue(); in ConstraintLocLimit()
69 limits[1][0] = ((Number) data.getFieldValue("ymin")).floatValue(); in ConstraintLocLimit()
[all …]
DConstraintRotLimit.java47 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintRotLimit()
49 limits[0][0] = ((Number) data.getFieldValue("xmin")).floatValue(); in ConstraintRotLimit()
50 limits[0][1] = ((Number) data.getFieldValue("xmax")).floatValue(); in ConstraintRotLimit()
51 limits[2][0] = -((Number) data.getFieldValue("ymin")).floatValue(); in ConstraintRotLimit()
52 limits[2][1] = -((Number) data.getFieldValue("ymax")).floatValue(); in ConstraintRotLimit()
53 limits[1][0] = ((Number) data.getFieldValue("zmin")).floatValue(); in ConstraintRotLimit()
54 limits[1][1] = ((Number) data.getFieldValue("zmax")).floatValue(); in ConstraintRotLimit()
63 limits[0][0] = ((Number) data.getFieldValue("xmin")).floatValue(); in ConstraintRotLimit()
64 limits[0][1] = ((Number) data.getFieldValue("xmax")).floatValue(); in ConstraintRotLimit()
65 limits[1][0] = ((Number) data.getFieldValue("ymin")).floatValue(); in ConstraintRotLimit()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/cameras/
DCameraHelper.java64 int type = ((Number) structure.getFieldValue("type")).intValue(); in toCamera250()
72 float clipsta = ((Number) structure.getFieldValue("clipsta")).floatValue(); in toCamera250()
73 float clipend = ((Number) structure.getFieldValue("clipend")).floatValue(); in toCamera250()
75 aspect = ((Number) structure.getFieldValue("lens")).floatValue(); in toCamera250()
77 aspect = ((Number) structure.getFieldValue("ortho_scale")).floatValue(); in toCamera250()
95 int type = ((Number) structure.getFieldValue("type")).intValue(); in toCamera249()
103 float clipsta = ((Number) structure.getFieldValue("clipsta")).floatValue(); in toCamera249()
104 float clipend = ((Number) structure.getFieldValue("clipend")).floatValue(); in toCamera249()
106 aspect = ((Number) structure.getFieldValue("lens")).floatValue(); in toCamera249()
108 aspect = ((Number) structure.getFieldValue("ortho_scale")).floatValue(); in toCamera249()
/external/mockito/src/org/mockito/internal/matchers/
DEqualsWithDelta.java14 public class EqualsWithDelta extends ArgumentMatcher<Number> implements Serializable {
17 private final Number wanted;
19 private final Number delta;
21 public EqualsWithDelta(Number value, Number delta) { in EqualsWithDelta()
27 Number actualNumber = (Number) actual; in matches()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/particles/
DParticlesHelper.java103 int totPart = ((Number) particleSettings.getFieldValue("totpart")).intValue(); in toParticleEmitter()
106 int drawAs = ((Number)particleSettings.getFieldValue("draw_as")).intValue(); in toParticleEmitter()
133 int from = ((Number)particleSettings.getFieldValue("from")).intValue(); in toParticleEmitter()
149 DynamicArray<Number> acc = (DynamicArray<Number>) particleSettings.getFieldValue("acc"); in toParticleEmitter()
158 float size = ((Number)particleSettings.getFieldValue("size")).floatValue() * sizeFactor; in toParticleEmitter()
164 float lifetime = ((Number)particleSettings.getFieldValue("lifetime")).floatValue() / fps; in toParticleEmitter()
165 float randlife = ((Number)particleSettings.getFieldValue("randlife")).floatValue() / fps; in toParticleEmitter()
171 int phystype = ((Number)particleSettings.getFieldValue("phystype")).intValue(); in toParticleEmitter()
175 …((NewtonianParticleInfluencer)influencer).setNormalVelocity(((Number)particleSettings.getFieldValu… in toParticleEmitter()
176 …((NewtonianParticleInfluencer)influencer).setVelocityVariation(((Number)particleSettings.getFieldV… in toParticleEmitter()
[all …]
/external/v8/test/webkit/
Ddate-constructor-expected.txt50 PASS Number(new Date(new Date(Infinity, 1, 1, 1, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
51 PASS Number(new Date(new Date(1, Infinity, 1, 1, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
52 PASS Number(new Date(new Date(1, 1, Infinity, 1, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
53 PASS Number(new Date(new Date(1, 1, 1, Infinity, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
54 PASS Number(new Date(new Date(1, 1, 1, 1, Infinity, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
55 PASS Number(new Date(new Date(1, 1, 1, 1, 1, Infinity, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
56 PASS Number(new Date(new Date(1, 1, 1, 1, 1, 1, Infinity, 1, 1)).getTime() - timeZoneOffset) is Num…
57 PASS Number(new Date(new Date(1, 1, 1, 1, 1, 1, 1, 1, Infinity)).getTime() - timeZoneOffset) is -21…
/external/v8/test/cctest/
Dtest-decls.cc246 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
268 EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
296 0, EXPECT_RESULT, Number::New(isolate, 0)); in TEST()
316 0, 0, EXPECT_RESULT, Number::New(isolate, 0)); in TEST()
378 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
398 0, 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
427 Number::New(CcTest::isolate(), 87)); in TEST()
443 EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
459 EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
536 Number::New(CcTest::isolate(), 0)); in TEST()
[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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DField.java127 Number[] data = new Number[dataToRead]; in fill()
131 value = new DynamicArray<Number>(tableSizes, data); in fill()
138 Number[] data = new Number[dataToRead]; in fill()
142 value = new DynamicArray<Number>(tableSizes, data); in fill()
149 Number[] data = new Number[dataToRead]; in fill()
153 value = new DynamicArray<Number>(tableSizes, data); in fill()
160 Number[] data = new Number[dataToRead]; in fill()
164 value = new DynamicArray<Number>(tableSizes, data); in fill()
171 Number[] data = new Number[dataToRead]; in fill()
175 value = new DynamicArray<Number>(tableSizes, data); in fill()

12345678910>>...35