/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 29 // custom Number subclasses. 31 class MyNumber extends Number { 56 public Number parse(String string, ParsePosition p) {
|
/external/v8/test/mjsunit/ |
fun-as-prototype.js | 30 Number.prototype.__proto__ = Funky; 35 Number.prototype.__proto__ = [1, 2, 3];
|
div-mod.js | 47 // Strange number test. 50 // Floating point number test. 56 // Integer number test. 120 var min_normal = Number.MIN_VALUE * Math.pow(2, 52); 121 var max_denormal = Number.MIN_VALUE * (Math.pow(2, 52) - 1); 127 Number.MIN_VALUE, 128 3 * Number.MIN_VALUE, 137 Number.MAX_VALUE,
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.30-1.js | 205 var HOUR = Number(hour); 206 var MIN = ( min == void 0) ? MinFromTime(TIME) : Number(min); 207 var SEC = ( sec == void 0) ? SecFromTime(TIME) : Number(sec); 208 var MS = ( ms == void 0 ) ? msFromTime(TIME) : Number(ms);
|
15.9.5.31-1.js | 203 var HOUR = Number(hour); 204 var MIN = ( min == void 0) ? MinFromTime(TIME) : Number(min); 205 var SEC = ( sec == void 0) ? SecFromTime(TIME) : Number(sec); 206 var MS = ( ms == void 0 ) ? msFromTime(TIME) : Number(ms);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.3.js | 114 Number.NaN,
|
10.1.5-1.js | 63 if ( Number == null ) {
|
10.1.5-3.js | 65 if ( Number == null ) {
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.2.1.js | 32 6.If the type of the value is Number, return ToObject(value). 72 array[item++] = new TestCase( SECTION, "typeof new Object(Number.NaN)", "object", typeof new Object(Number.NaN) ); 73 array[item++] = new TestCase( SECTION, "MYOB = (new Object(Number.NaN); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(Number.NaN); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 74 array[item++] = new TestCase( SECTION, "(new Object(Number.NaN).valueOf()", Number.NaN, (new Object(Number.NaN)).valueOf() ); 77 array[item++] = new TestCase( SECTION, "MYOB = (new Object(0); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(0); MYOB.toString = Object.prototype.toString; MYOB.toString()") ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Object/ |
class-001.js | 68 status = 'new Number()'; 69 actual = getJSClass(new Number()); 70 expect = 'Number';
|
class-002.js | 69 status = 'Number'; 70 actual = getJSClass(Number);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
15.10.6.2-2.js | 156 * all the way up to Number.MAX_VALUE. So that's why we need cases 208 pattern.lastIndex = Number.MAX_VALUE; 214 pattern.lastIndex = -Number.MAX_VALUE; 272 * all the way up to Number.MAX_VALUE. So that's why we need cases 324 pattern.lastIndex = Number.MAX_VALUE; 330 pattern.lastIndex = -Number.MAX_VALUE;
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Expressions/ |
regress-96526-argsub.js | 58 Number.prototype.magic=42;
|
regress-96526-delelem.js | 58 Number.prototype.magic=42;
|
regress-96526-noargsub.js | 58 Number.prototype.magic=42;
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-159334.js | 72 function f(str) { test_sum += Number(str); }
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_6/String/ |
regress-306591.js | 53 actual = String.substring(new Number(123), 1, 2); 55 " String.substring(new Number(123), 1, 2)");
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8SQLResultSetRowListCustom.cpp | 52 V8Proxy::throwError(V8Proxy::TypeError, "Item index must be a number."); 79 value = v8::Number::New(sqlValue.number());
|
/external/webkit/WebCore/inspector/front-end/ |
ImageView.js | 59 { name: WebInspector.UIString("File size"), value: Number.bytesToString(this.resource.contentLength, WebInspector.UIString.bind(WebInspector)) },
|
/external/webkit/WebCore/xml/ |
XPathPredicate.cpp | 44 Number::Number(double value) 49 Value Number::evaluate() const 124 // If one object to be compared is a node-set and the other is a number, then the comparison will be true 125 // if and only if there is a node in the node-set such that the result of performing the comparison on the number 126 // to be compared and on the result of converting the string-value of that node to a number using the number function is true. 274 return EqTestOp(EqTestOp::OP_EQ, createFunction("position"), new Number(result.toNumber())).evaluate().toBoolean();
|
/external/webkit/WebKit/chromium/public/ |
WebInputElement.h | 73 Number,
|
/hardware/ti/wlan/wl1271/platforms/os/linux/src/ |
osmemapi.c | 160 Number - Number of elements 170 TI_UINT32 Number, 178 os_printf("MTT:%s:%d ::os_memoryCAlloc(0x%p, %lu, %lu) : %lu\n",__FUNCTION__,__LINE__,OsContext,Number,Size,Number*Size); 180 MemSize = Number * Size; 409 DESCRIPTION: This function copies a specified number of bytes from one caller-supplied 441 Count - Number of characters 467 DESCRIPTION: This function copies a specified number of bytes from one caller-supplied 493 DESCRIPTION: This function copies a specified number of bytes from one caller-supplie [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
TypeVariableTest.java | 185 static class G <T extends Number>{} 199 assertEquals(Number.class, bounds[0]); 202 static class H <T extends Number & Serializable >{} 215 assertEquals(Number.class, bounds[0]);
|
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/ |
osmemapi.c | 160 Number - Number of elements 170 TI_UINT32 Number, 178 os_printf("MTT:%s:%d ::os_memoryCAlloc(0x%p, %lu, %lu) : %lu\n",__FUNCTION__,__LINE__,OsContext,Number,Size,Number*Size); 180 MemSize = Number * Size; 408 DESCRIPTION: This function copies a specified number of bytes from one caller-supplied 440 Count - Number of characters 466 DESCRIPTION: This function copies a specified number of bytes from one caller-supplied 492 DESCRIPTION: This function copies a specified number of bytes from one caller-supplie [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
AbstractCursorTest.java | 52 "number" // 1 54 private static final String[] COLUMN_NAMES = new String[] { "name", "number", "profit" }; 324 // invoke moveToPosition with a number larger than row count. 646 // generate random number 664 mDatabase.execSQL("CREATE TABLE test1 (_id INTEGER PRIMARY KEY, number TEXT);"); 672 mDatabase.execSQL("INSERT INTO test1 (number) VALUES ('" + i + "');"); 768 Number num = (Number) mRows[mPos].get(columnIndex); 774 Number num = (Number) mRows[mPos].get(columnIndex) [all...] |