Home
last modified time | relevance | path

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

1234

/external/v8/test/webkit/
DparseFloat-expected.txt24 Tests for the parseFloat function.
29 PASS parseFloat() is NaN
30 PASS parseFloat('') is NaN
31 PASS parseFloat(' ') is NaN
32 PASS parseFloat(' 0') is 0
33 PASS parseFloat('0 ') is 0
34 PASS parseFloat('x0') is NaN
35 PASS parseFloat('0x') is 0
36 PASS parseFloat(' 1') is 1
37 PASS parseFloat('1 ') is 1
[all …]
Dparse-nan.js28 debug(-parseFloat("NAN(ffffeeeeeff0f)"));
/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");
123 assertSame(Number.parseFloat, parseFloat);
124 assertEquals(Number.parseFloat('0.1'), parseFloat('0.1'));
/external/chromium-trace/catapult/third_party/flot/
Djquery.colorhelpers.js106 … return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10), parseFloat(res[4]));
110 return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55);
114 …return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55, parseFloat(res…
Djquery.colorhelpers.min.js1parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([…
/external/v8/test/webkit/fast/js/kde/
DGlobalObject-expected.txt76 PASS isNaN(parseFloat()) is true
77 PASS isNaN(parseFloat('')) is true
78 PASS isNaN(parseFloat(' ')) is true
79 PASS isNaN(parseFloat('a')) is true
80 PASS parseFloat(1) is 1
81 PASS parseFloat(' 2.3') is 2.3
82 PASS parseFloat('3.1 x', 3) is 3.1
83 PASS parseFloat('3.1x', 3) is 3.1
84 PASS isFinite(parseFloat('Infinity')) is false
/external/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/
Djquery.isonscreen.js12 for(var i in box){box[i] = parseFloat(box[i])};
13 for(var i in container){container[i] = parseFloat(container[i])};
35 for(var i in container){container[i] = parseFloat(container[i])};
/external/v8/test/intl/number-format/
Dformat-currency.js10 assertEquals("$54,306.40", nf_USD.format(parseFloat(54306.4047970)));
15 assertEquals("JPY54,306", nf_JPY.format(parseFloat(54306.4047970)));
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js406 vertex.push(parseFloat(array[1]));
407 vertex.push(parseFloat(array[2]));
408 vertex.push(parseFloat(array[3]));
412 texture.push(parseFloat(array[1]));
413 texture.push(parseFloat(array[2]));
417 normal.push(parseFloat(array[1]));
418 normal.push(parseFloat(array[2]));
419 normal.push(parseFloat(array[3]));
/external/v8/test/mjsunit/es6/
Dnumeric-literals.js80 assertEquals(0, parseFloat('0o77'));
81 assertEquals(0, parseFloat('0b11'));
/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/v8/test/mjsunit/regress/
Dregress-636.js30 var value = parseFloat(5.5);
/external/jcommander/src/main/java/com/beust/jcommander/converters/
DFloatConverter.java36 return Float.parseFloat(value); in convert()
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/src/
DElementQueries.js28 return parseFloat(fontSize) || 16;
41 value = parseFloat(value);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DDimenResourceLoader.java38 return Float.parseFloat(rawValue.substring(0, end)); in convertRawValue()
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt015calc.g37 | n=DECIMAL {result = parseFloat($n.text);}
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java311 public static float parseFloat(String floatString) { in parseFloat() method in LiteralTools
325 return Float.parseFloat(floatString); in parseFloat()
/external/libjpeg-turbo/doc/html/
Djquery.js2parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFlo…
8parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.c…
/external/webrtc/webrtc/tools/rtcbot/
Dtest.js130 var statValue = parseFloat(stats[index].stat);
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
Djquery-1.7.1.js506 return !isNaN( parseFloat(obj) ) && isFinite( obj );
1945 jQuery.isNumeric( data ) ? parseFloat( data ) :
6529 value = ( +( ret[1] + 1) * +ret[2] ) + parseFloat( jQuery.css( elem, name ) );
6630 value = parseFloat( value );
6648 ( parseFloat( RegExp.$1 ) / 100 ) + "" :
6779 val -= parseFloat( jQuery.css( elem, "padding" + which[ i ] ) ) || 0;
6782 val += parseFloat( jQuery.css( elem, extra + which[ i ] ) ) || 0;
6784 val -= parseFloat( jQuery.css( elem, "border" + which[ i ] + "Width" ) ) || 0;
6798 val = parseFloat( val ) || 0;
6803 val += parseFloat( jQuery.css( elem, "padding" + which[ i ] ) ) || 0;
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/static/
Djquery-1.4.2.min.js115 ….nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a…
116parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;retur…
117 …y&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"…
137 …"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]…
140 …=null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:
147parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offs…
148 …t={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marg…
150 …f(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=par…
151parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f…
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
Djquery-1.4.2.min.js115 ….nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a…
116parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;retur…
117 …y&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"…
137 …"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]…
140 …=null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:
147parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offs…
148 …t={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marg…
150 …f(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=par…
151parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f…

1234