Home
last modified time | relevance | path

Searched refs:parseFloat (Results 1 – 25 of 66) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
D15.1.2.3-1.js78 …array[item++] = new TestCase( SECTION, "parseFloat.length", 1, parseFloat.length …
81 …Case( SECTION, "delete parseFloat.length", false, delete parseFloat.length );
85 array[item++] = new TestCase( SECTION, "parseFloat()", Number.NaN, parseFloat() );
86 … array[item++] = new TestCase( SECTION, "parseFloat('')", Number.NaN, parseFloat('') );
88 … array[item++] = new TestCase( SECTION, "parseFloat(' ')", Number.NaN, parseFloat(' ') );
89 …array[item++] = new TestCase( SECTION, "parseFloat(true)", Number.NaN, parseFloat(true) );
90 …array[item++] = new TestCase( SECTION, "parseFloat(false)", Number.NaN, parseFloat(false) …
91 …array[item++] = new TestCase( SECTION, "parseFloat('string')", Number.NaN, parseFloat("string…
93 …array[item++] = new TestCase( SECTION, "parseFloat(' Infinity')", Infinity, parseFloat("Inf…
94 …new TestCase( SECTION, "parseFloat(' Infinity ')", Infinity, parseFloat(' Infinity ') …
[all …]
D15.1.2.3-2.js75 …array[item++] = new TestCase( SECTION, "parseFloat(true)", Number.NaN, parseFloat(true) );
76 …array[item++] = new TestCase( SECTION, "parseFloat(false)", Number.NaN, parseFloat(false) …
77 …array[item++] = new TestCase( SECTION, "parseFloat('string')", Number.NaN, parseFloat("string…
79 …SECTION, "parseFloat(' Infinity')", Number.POSITIVE_INFINITY, parseFloat("Infinity") );
82 … TestCase( SECTION, "parseFloat(' 0')", 0, parseFloat(" 0") );
83 … TestCase( SECTION, "parseFloat(' -0')", -0, parseFloat(" -0") …
84 … TestCase( SECTION, "parseFloat(' +0')", 0, parseFloat(" +0") …
86 … TestCase( SECTION, "parseFloat(' 1')", 1, parseFloat(" 1") );
87 … TestCase( SECTION, "parseFloat(' -1')", -1, parseFloat(" -1") …
88 … TestCase( SECTION, "parseFloat(' +1')", 1, parseFloat(" +1") …
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/util/xml/
DSAXUtil.java78 public static float parseFloat(String f, float def) throws SAXException{ in parseFloat() method in SAXUtil
83 return Float.parseFloat(f); in parseFloat()
90 public static float parseFloat(String f) throws SAXException{ in parseFloat() method in SAXUtil
95 return Float.parseFloat(f); in parseFloat()
127 float x = parseFloat(attribs.getValue("x")); in parseVector3()
128 float y = parseFloat(attribs.getValue("y")); in parseVector3()
129 float z = parseFloat(attribs.getValue("z")); in parseVector3()
134 float r = parseFloat(attribs.getValue("r")); in parseColor()
135 float g = parseFloat(attribs.getValue("g")); in parseColor()
136 float b = parseFloat(attribs.getValue("b")); in parseColor()
/external/v8/test/mjsunit/
Dparse-int-float.js51 assertEquals(0.1, parseFloat('0.1'));
52 assertEquals(0.1, parseFloat('0.1aaa'));
53 assertEquals(0, parseFloat('0aaa'));
54 assertEquals(0, parseFloat('0x12'));
55 assertEquals(77, parseFloat('077'));
99 assertTrue(isNaN(parseFloat(0/0)));
100 assertEquals(Infinity, parseFloat(1/0), "parseFloat Infinity");
101 assertEquals(-Infinity, parseFloat(-1/0), "parseFloat -Infinity");
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DSceneLoader.java112 float x = parseFloat(attribs.getValue("x")); in parseQuat()
113 float y = parseFloat(attribs.getValue("y")); in parseQuat()
114 float z = parseFloat(attribs.getValue("z")); in parseQuat()
115 float w = parseFloat(attribs.getValue("w")); in parseQuat()
119 float x = parseFloat(attribs.getValue("qx")); in parseQuat()
120 float y = parseFloat(attribs.getValue("qy")); in parseQuat()
121 float z = parseFloat(attribs.getValue("qz")); in parseQuat()
122 float w = parseFloat(attribs.getValue("qw")); in parseQuat()
126 float angle = parseFloat(attribs.getValue("angle")); in parseQuat()
127 float axisX = parseFloat(attribs.getValue("axisX")); in parseQuat()
[all …]
DMeshLoader.java451 …buf.put(parseFloat(attribs.getValue("x"))).put(parseFloat(attribs.getValue("y"))).put(parseFloat(a… in pushAttrib()
461 …buf.put(parseFloat(attribs.getValue("x"))).put(parseFloat(attribs.getValue("y"))).put(parseFloat(a… in pushTangent()
463 buf.put(parseFloat(attribs.getValue("w"))); in pushTangent()
479 buf.put(parseFloat(attribs.getValue("u"))); in pushTexCoord()
481 buf.put(parseFloat(attribs.getValue("v"))); in pushTexCoord()
483 buf.put(parseFloat(attribs.getValue("w"))); in pushTexCoord()
485 buf.put(parseFloat(attribs.getValue("x"))); in pushTexCoord()
502 color.r = parseFloat(vals[0]); in pushColor()
503 color.g = parseFloat(vals[1]); in pushColor()
504 color.b = parseFloat(vals[2]); in pushColor()
[all …]
DMaterialLoader.java79 color.r = Float.parseFloat(split[0]); in readColor()
80 color.g = Float.parseFloat(split[1]); in readColor()
81 color.b = Float.parseFloat(split[2]); in readColor()
83 color.a = Float.parseFloat(split[3]); in readColor()
233 specular.r = Float.parseFloat(subsplit[0]); in readPassStatement()
234 specular.g = Float.parseFloat(subsplit[1]); in readPassStatement()
235 specular.b = Float.parseFloat(subsplit[2]); in readPassStatement()
236 float unknown = Float.parseFloat(subsplit[3]); in readPassStatement()
240 shinines = Float.parseFloat(subsplit[4]); in readPassStatement()
DSkeletonLoader.java88 angle = SAXUtil.parseFloat(attribs.getValue("angle")); in startElement()
97 time = SAXUtil.parseFloat(attribs.getValue("time")); in startElement()
127 float length = SAXUtil.parseFloat(attribs.getValue("length")); in startElement()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DFloatTest.java90 float result = Float.parseFloat(originalFloatString); in doTestCompareRawBits()
292 .parseFloat("7.0064923216240853546186479164495e-46"), 0.0); in test_parseFloatLjava_lang_String()
294 Float.parseFloat("7.0064923216240853546186479164496e-46"), 0.0); in test_parseFloatLjava_lang_String()
413 …actual = Float.parseFloat("0x00000000000000000000000000000000000000000.000000000000000000000000000… in test_parseFloat_LString_Unusual()
416 actual = Float.parseFloat("+0Xfffff.fffffffffffffffffffffffffffffffp+99F"); in test_parseFloat_LString_Unusual()
419 actual = Float.parseFloat("-0X.123456789abcdefp+99f"); in test_parseFloat_LString_Unusual()
422 actual = Float.parseFloat("-0X123456789abcdef.p+1f"); in test_parseFloat_LString_Unusual()
425 …actual = Float.parseFloat("-0X000000000000000000000000000001abcdef.0000000000000000000000000001abe… in test_parseFloat_LString_Unusual()
428 …actual = Float.parseFloat("0X0.0000000000000000000000000000000000000000000000000000000000000000000… in test_parseFloat_LString_Unusual()
431 actual = Float.parseFloat("0x1.p9223372036854775807"); in test_parseFloat_LString_Unusual()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/
DJ3MLoader.java168 return Float.parseFloat(split[0]); in readValue()
173 return new Vector2f(Float.parseFloat(split[0]), in readValue()
174 Float.parseFloat(split[1])); in readValue()
179 return new Vector3f(Float.parseFloat(split[0]), in readValue()
180 Float.parseFloat(split[1]), in readValue()
181 Float.parseFloat(split[2])); in readValue()
186 return new ColorRGBA(Float.parseFloat(split[0]), in readValue()
187 Float.parseFloat(split[1]), in readValue()
188 Float.parseFloat(split[2]), in readValue()
189 Float.parseFloat(split[3])); in readValue()
[all …]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dsplitter.js32 return parseFloat(el.ownerDocument.defaultView.getComputedStyle(el).width) /
50 var zoomFactor = parseFloat(cs.width) / 100;
151 this.startWidth_ = parseFloat(
174 var computedWidth = parseFloat(
Dlist.js57 var mt = parseFloat(cs.marginTop);
58 var mb = parseFloat(cs.marginBottom);
59 var ml = parseFloat(cs.marginLeft);
60 var mr = parseFloat(cs.marginRight);
/external/chromium-trace/src/shared/js/cr/ui/
Dsplitter.js32 return parseFloat(el.ownerDocument.defaultView.getComputedStyle(el).width) /
50 var zoomFactor = parseFloat(cs.width) / 100;
151 this.startWidth_ = parseFloat(
174 var computedWidth = parseFloat(
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/
Dantlr.js181 o.webkit=parseFloat(m[1]);
204 o.opera=parseFloat(m[1]);
212 o.ie=parseFloat(m[1]);
219 o.gecko=parseFloat(m[1]);
/external/nist-sip/java/gov/nist/javax/sip/parser/
DTimeStampParser.java85 float ts = Float.parseFloat(s); in parse()
110 float ts = Float.parseFloat(s); in parse()
DAcceptLanguageParser.java111 float fl = Float.parseFloat(value.getTokenValue()); in parse()
DAcceptEncodingParser.java117 float qv = Float.parseFloat(value.getTokenValue()); in parse()
/external/webkit/Source/WebCore/inspector/front-end/
DColor.js232 var h = parseFloat(hsl[0]) / 360;
233 var s = parseFloat(hsl[1]) / 100;
234 var l = parseFloat(hsl[2]) / 100;
DProfileView.js251 var queryNumber = parseFloat(query);
254 queryNumber = parseFloat(query.substring(2));
256 queryNumber = parseFloat(query.substring(1));
/external/v8/test/mjsunit/regress/
Dregress-636.js30 var value = parseFloat(5.5);
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DOBJLoader.java289 v.set(Float.parseFloat(scan.next()), in readVector3()
290 Float.parseFloat(scan.next()), in readVector3()
291 Float.parseFloat(scan.next())); in readVector3()
301 v.setX( Float.parseFloat(split[0].trim()) ); in readVector2()
302 v.setY( Float.parseFloat(split[1].trim()) ); in readVector2()
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/
D12.10-1.js148 this.parseFloat = new Function( "return this.value" );
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt015calc.g37 | n=DECIMAL {result = parseFloat($n.text);}
/external/webkit/PerformanceTests/SunSpider/
DUNCOVERED44 parseFloat
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DHDRLoader.java274 exposure = Float.parseFloat(value); in load()
276 gamma = Float.parseFloat(value); in load()

123