/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.16.js | 43 var item = 0; 45 array[item++] = new TestCase( SECTION, "Math.sin.length", 1, Math.sin.length ); 47 array[item++] = new TestCase( SECTION, "Math.sin()", Number.NaN, Math.sin() ); 48 array[item++] = new TestCase( SECTION, "Math.sin(null)", 0, Math.sin(null) ); 49 array[item++] = new TestCase( SECTION, "Math.sin(void 0)", Number.NaN, Math.sin(void 0) ); 50 array[item++] = new TestCase( SECTION, "Math.sin(false)", 0, Math.sin(false) ); 51 array[item++] = new TestCase( SECTION, "Math.sin('2.356194490192')", 0.7071067811865, Math.sin('2.356194490192') ); 53 array[item++] = new TestCase( SECTION, "Math.sin(NaN)", Number.NaN, Math.sin(Number.NaN) ); 54 array[item++] = new TestCase( SECTION, "Math.sin(0)", 0, Math.sin(0) ); 55 array[item++] = new TestCase( SECTION, "Math.sin(-0)", -0, Math.sin(-0)) [all...] |
15.8.2.7.js | 44 var item = 0; 46 array[item++] = new TestCase( SECTION, "Math.cos.length", 1, Math.cos.length ); 48 array[item++] = new TestCase( SECTION, "Math.cos()", Number.NaN, Math.cos() ); 49 array[item++] = new TestCase( SECTION, "Math.cos(void 0)", Number.NaN, Math.cos(void 0) ); 50 array[item++] = new TestCase( SECTION, "Math.cos(false)", 1, Math.cos(false) ); 51 array[item++] = new TestCase( SECTION, "Math.cos(null)", 1, Math.cos(null) ); 53 array[item++] = new TestCase( SECTION, "Math.cos('0')", 1, Math.cos('0') ); 54 array[item++] = new TestCase( SECTION, "Math.cos('Infinity')", Number.NaN, Math.cos("Infinity") ); 55 array[item++] = new TestCase( SECTION, "Math.cos('3.14159265359')", -1, Math.cos('3.14159265359') ); 57 array[item++] = new TestCase( SECTION, "Math.cos(NaN)", Number.NaN, Math.cos(Number.NaN) (…) [all...] |
15.8.2.8.js | 50 var item = 0; 52 array[item++] = new TestCase( SECTION, "Math.exp.length", 1, Math.exp.length ); 54 array[item++] = new TestCase( SECTION, "Math.exp()", Number.NaN, Math.exp() ); 55 array[item++] = new TestCase( SECTION, "Math.exp(null)", 1, Math.exp(null) ); 56 array[item++] = new TestCase( SECTION, "Math.exp(void 0)", Number.NaN, Math.exp(void 0) ); 57 array[item++] = new TestCase( SECTION, "Math.exp(1)", Math.E, Math.exp(1) ); 58 array[item++] = new TestCase( SECTION, "Math.exp(true)", Math.E, Math.exp(true) ); 59 array[item++] = new TestCase( SECTION, "Math.exp(false)", 1, Math.exp(false) ); 61 array[item++] = new TestCase( SECTION, "Math.exp('1')", Math.E, Math.exp('1') ); 62 array[item++] = new TestCase( SECTION, "Math.exp('0')", 1, Math.exp('0') ) [all...] |
15.8.2.3.js | 49 var item = 0; 51 array[item++] = new TestCase( SECTION, "Math.asin()", Number.NaN, Math.asin() ); 52 array[item++] = new TestCase( SECTION, "Math.asin(void 0)", Number.NaN, Math.asin(void 0) ); 53 array[item++] = new TestCase( SECTION, "Math.asin(null)", 0, Math.asin(null) ); 54 array[item++] = new TestCase( SECTION, "Math.asin(NaN)", Number.NaN, Math.asin(Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.asin('string')", Number.NaN, Math.asin("string") ); 57 array[item++] = new TestCase( SECTION, "Math.asin('0')", 0, Math.asin("0") ); 58 array[item++] = new TestCase( SECTION, "Math.asin('1')", Math.PI/2, Math.asin("1") ); 59 array[item++] = new TestCase( SECTION, "Math.asin('-1')", -Math.PI/2, Math.asin("-1") ); 60 array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2+'')", Math.PI/4, Math.asin(Math.SQRT1_2+'' (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.4.2.js | 50 var item = 0; 52 array[item++] = new TestCase( SECTION, "(new Object()).toString()", "[object Object]", (new Object()).toString() ); 54 array[item++] = new TestCase( SECTION, "myvar = this; myvar.toString = Object.prototype.toString; myvar.toString()", 58 array[item++] = new TestCase( SECTION, "myvar = MyObject; myvar.toString = Object.prototype.toString; myvar.toString()", 62 array[item++] = new TestCase( SECTION, "myvar = new MyObject( true ); myvar.toString = Object.prototype.toString; myvar.toString()", 66 array[item++] = new TestCase( SECTION, "myvar = new Number(0); myvar.toString = Object.prototype.toString; myvar.toString()", 70 array[item++] = new TestCase( SECTION, "myvar = new String(''); myvar.toString = Object.prototype.toString; myvar.toString()", 74 array[item++] = new TestCase( SECTION, "myvar = Math; myvar.toString = Object.prototype.toString; myvar.toString()", 78 array[item++] = new TestCase( SECTION, "myvar = new Function(); myvar.toString = Object.prototype.toString; myvar.toString()", 82 array[item++] = new TestCase( SECTION, "myvar = new Array(); myvar.toString = Object.prototype.toString; myv (…) [all...] |
15.2.2.1.js | 56 var item = 0; 58 array[item++] = new TestCase( SECTION, "typeof new Object(null)", "object", typeof new Object(null) ); 59 array[item++] = new TestCase( SECTION, "MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 61 array[item++] = new TestCase( SECTION, "typeof new Object(void 0)", "object", typeof new Object(void 0) ); 62 array[item++] = new TestCase( SECTION, "MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 64 array[item++] = new TestCase( SECTION, "typeof new Object('string')", "object", typeof new Object('string') ); 65 array[item++] = new TestCase( SECTION, "MYOB = (new Object('string'); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object String]", eval("MYOB = new Object('string'); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 66 array[item++] = new TestCase( SECTION, "(new Object('string').valueOf()", "string", (new Object('string')).valueOf() ); 68 array[item++] = new TestCase( SECTION, "typeof new Object('')", "object", typeof new Object('') ); 69 array[item++] = new TestCase( SECTION, "MYOB = (new Object(''); MYOB.toString = Object.prototype.toString; M (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.3.js | 67 var item = 0; 71 array[item++] = new TestCase( SECTION, "Number()", 0, Number() ); 72 array[item++] = new TestCase( SECTION, "Number(eval('var x'))", Number.NaN, Number(eval("var x")) ); 73 array[item++] = new TestCase( SECTION, "Number(void 0)", Number.NaN, Number(void 0) ); 74 array[item++] = new TestCase( SECTION, "Number(null)", 0, Number(null) ); 75 array[item++] = new TestCase( SECTION, "Number(true)", 1, Number(true) ); 76 array[item++] = new TestCase( SECTION, "Number(false)", 0, Number(false) ); 77 array[item++] = new TestCase( SECTION, "Number(0)", 0, Number(0) ); 78 array[item++] = new TestCase( SECTION, "Number(-0)", -0, Number(-0) ); 79 array[item++] = new TestCase( SECTION, "Number(1)", 1, Number(1) ) [all...] |
9.4-1.js | 85 var item = 0; 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") ); 92 array[item++] = new TestCase( SECTION, "td = new Date(-0); td.valueOf()", -0, eval("td = new Date(-0); td.valueOf()" ) ); 93 array[item++] = new TestCase( SECTION, "td = new Date(0); td.valueOf()", 0, eval("td = new Date(0); td.valueOf()") ); 97 array[item++] = new TestCase( SECTION, "td = new Date(3.14159); td.valueOf()", 3, eval("td = new Date(3.14159); td.valueOf()") ); 98 array[item++] = new TestCase( SECTION, "td = new Date(Math.PI); td.valueOf()", 3, eval("td = new Date(Math.PI); td.valueOf()") ); 99 array[item++] = new TestCase( SECTION, "td = new Date(-Math.PI);td.valueOf()", -3, eval("td = new Date(-Math.PI);td.valueOf()") ); 100 array[item++] = new TestCase( SECTION, "td = new Date(3.14159e2); td.valueOf()", 314, eval("td = ne (…) [all...] |
9.4-2.js | 85 var item = 0; 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") ); 92 array[item++] = new TestCase( SECTION, "td = new Date(-0); td.valueOf()", -0, eval("td = new Date(-0); td.valueOf()" ) ); 93 array[item++] = new TestCase( SECTION, "td = new Date(0); td.valueOf()", 0, eval("td = new Date(0); td.valueOf()") ); 97 array[item++] = new TestCase( SECTION, "td = new Date(3.14159); td.valueOf()", 3, eval("td = new Date(3.14159); td.valueOf()") ); 98 array[item++] = new TestCase( SECTION, "td = new Date(Math.PI); td.valueOf()", 3, eval("td = new Date(Math.PI); td.valueOf()") ); 99 array[item++] = new TestCase( SECTION, "td = new Date(-Math.PI);td.valueOf()", -3, eval("td = new Date(-Math.PI);td.valueOf()") ); 100 array[item++] = new TestCase( SECTION, "td = new Date(3.14159e2); td.valueOf()", 314, eval("td = ne (…) [all...] |
/packages/apps/Gallery2/src/com/android/photos/shims/ |
LoaderCompatShim.java | 26 Drawable drawableForItem(T item, Drawable recycle); 27 Uri uriForItem(T item); 28 ArrayList<Uri> urisForSubItems(T item); 30 Object getPathForItem(T item);
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
TimeList.java | 24 * Returns the <code>index</code> th item in the collection. If 32 public Time item(int index); method in interface:TimeList
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.2-1.js | 56 var item = 0; 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 *= VAR2", 0, eval("VAR1 = 0; VAR2=1; VAR1 *= VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 *= VAR2;VAR1", 0, eval("VAR1 = 0; VAR2=1; VAR1 *= VAR2;VAR1") ); 67 array[item++] = new TestCase( SECTION, "VAR1 = 0xFF; VAR2 = 0xA, VAR1 *= VAR2", 2550, eval("VAR1 = 0XFF; VAR2 = 0XA, VAR1 *= VAR2") ); 71 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = 0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 72 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 73 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= -Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.NEGATIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 74 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= -Infinity; VAR1 *= VAR2", Number.NaN, eval( (…) [all...] |
11.5.2.js | 78 var item = 0; 82 array[item++] = new TestCase( SECTION, "Number.NaN / Number.NaN", Number.NaN, Number.NaN / Number.NaN ); 83 array[item++] = new TestCase( SECTION, "Number.NaN / 1", Number.NaN, Number.NaN / 1 ); 84 array[item++] = new TestCase( SECTION, "1 / Number.NaN", Number.NaN, 1 / Number.NaN ); 86 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.NaN", Number.NaN, Number.POSITIVE_INFINITY / Number.NaN ); 87 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.NaN", Number.NaN, Number.NEGATIVE_INFINITY / Number.NaN ); 91 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY ); 92 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY ); 93 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY ); 94 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.POSITIVE_INFINITY", Number.Na (…) [all...] |
/external/smack/src/org/jivesoftware/smackx/muc/ |
HostedRoom.java | 41 public HostedRoom(DiscoverItems.Item item) { 43 jid = item.getEntityID(); 44 name = item.getName();
|
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
WKBackForwardListItem.h | 37 WK_EXPORT WKURLRef WKBackForwardListItemCopyURL(WKBackForwardListItemRef item); 38 WK_EXPORT WKStringRef WKBackForwardListItemCopyTitle(WKBackForwardListItemRef item); 39 WK_EXPORT WKURLRef WKBackForwardListItemCopyOriginalURL(WKBackForwardListItemRef item);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.1.js | 48 var item = 0; 50 array[item++] = new TestCase( SECTION, 55 array[item++] = new TestCase( SECTION, 60 array[item++] = new TestCase( SECTION, 65 array[item++] = new TestCase( SECTION, 70 array[item++] = new TestCase( SECTION, 76 array[item++] = new TestCase( SECTION, 81 array[item++] = new TestCase( SECTION, 86 array[item++] = new TestCase( SECTION, 91 array[item++] = new TestCase( SECTION [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.1.js | 54 var item = 0; 56 array[item++] = new TestCase(SECTION, "Number()", 0, Number() ); 57 array[item++] = new TestCase(SECTION, "Number(void 0)", Number.NaN, Number(void 0) ); 58 array[item++] = new TestCase(SECTION, "Number(null)", 0, Number(null) ); 59 array[item++] = new TestCase(SECTION, "Number()", 0, Number() ); 60 array[item++] = new TestCase(SECTION, "Number(new Number())", 0, Number( new Number() ) ); 61 array[item++] = new TestCase(SECTION, "Number(0)", 0, Number(0) ); 62 array[item++] = new TestCase(SECTION, "Number(1)", 1, Number(1) ); 63 array[item++] = new TestCase(SECTION, "Number(-1)", -1, Number(-1) ); 64 array[item++] = new TestCase(SECTION, "Number(NaN)", Number.NaN, Number( Number.NaN ) ) [all...] |
15.7.2.js | 61 var item = 0; 66 array[item++] = new TestCase(SECTION, "(new Number()).constructor", Number.prototype.constructor, (new Number()).constructor ); 68 array[item++] = new TestCase(SECTION, "typeof (new Number())", "object", typeof (new Number()) ); 69 array[item++] = new TestCase(SECTION, "(new Number()).valueOf()", 0, (new Number()).valueOf() ); 70 array[item++] = new TestCase(SECTION, 75 array[item++] = new TestCase(SECTION, "(new Number(0)).constructor", Number.prototype.constructor, (new Number(0)).constructor ); 76 array[item++] = new TestCase(SECTION, "typeof (new Number(0))", "object", typeof (new Number(0)) ); 77 array[item++] = new TestCase(SECTION, "(new Number(0)).valueOf()", 0, (new Number(0)).valueOf() ); 78 array[item++] = new TestCase(SECTION, 83 array[item++] = new TestCase(SECTION, "(new Number(1)).constructor", Number.prototype.constructor, (ne (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.5-3.js | 72 var item = 0; 76 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(0)", 0x0068, foo.charCodeAt(0) ); 77 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(1)", 0x0065, foo.charCodeAt(1) ); 78 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(2)", 0x006c, foo.charCodeAt(2) ); 79 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(3)", 0x006c, foo.charCodeAt(3) ); 80 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(4)", 0x006f, foo.charCodeAt(4) ); 81 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(-1)", Number.NaN, foo.charCodeAt(-1) ); 82 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(5)", Number.NaN, foo.charCodeAt(5) ); 86 array[item++] = new TestCase( SECTION, "var boo = new MyObject(true);boo.charCodeAt(0)", 0x0074, boo.charCodeAt(0) ); 87 array[item++] = new TestCase( SECTION, "var boo = new MyObject(true);boo.charCodeAt(1)", 0x0072, boo.charCode (…) [all...] |
15.5.4.6-2.js | 97 var item = 0; 101 array[item++] = new TestCase( SECTION, "function f() { return this; }; function g() { var h = f; return h(); }; g().toString()", GLOBAL, g().toString() ); 104 array[item++] = new TestCase( SECTION, "String.prototype.indexOf.length", 1, String.prototype.indexOf.length ); 105 array[item++] = new TestCase( SECTION, "String.prototype.indexOf.length = null; String.prototype.indexOf.length", 1, eval("String.prototype.indexOf.length = null; String.prototype.indexOf.length") ); 106 array[item++] = new TestCase( SECTION, "delete String.prototype.indexOf.length", false, delete String.prototype.indexOf.length ); 107 array[item++] = new TestCase( SECTION, "delete String.prototype.indexOf.length; String.prototype.indexOf.length", 1, eval("delete String.prototype.indexOf.length; String.prototype.indexOf.length") ); 109 array[item++] = new TestCase( SECTION, "var s = new String(); s.indexOf()", -1, eval("var s = new String(); s.indexOf()") ); 122 array[item++] = new TestCase( SECTION, 128 array[item++] = new TestCase( SECTION, 138 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('h')", 0, foo.indexOf("h" (…) [all...] |
/external/clang/test/CodeGenCXX/ |
typeid-cxx11.cpp | 6 struct Item { 13 template<typename T> constexpr Item item(const char *name) { function in namespace:Test1 22 constexpr Item items[] = { 23 item<A>("A"), item<B>("B"), item<C>("C"), item<int>("int")
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/ |
ReferenceType.java | 47 public boolean checkItem(Item item) { 50 return item instanceof StringIdItem; 52 return item instanceof TypeIdItem; 54 return item instanceof FieldIdItem; 56 return item instanceof MethodIdItem;
|
/external/webkit/Source/WebCore/platform/ |
ContextMenu.cpp | 40 const ContextMenuItem& item = items[i]; local 41 if (item.action() == action) 42 return &item; 43 if (item.type() != SubmenuType) 45 if (const ContextMenuItem* subMenuItem = findItemWithAction(action, item.subMenuItems()))
|
/system/core/libdiskconfig/ |
write_lst.c | 32 struct write_list *item; local 34 if (!(item = malloc(sizeof(struct write_list) + data_len))) { 39 item->len = data_len; 40 return item; 44 free_wl(struct write_list *item) 46 if (item) 47 free(item); 51 wlist_add(struct write_list **lst, struct write_list *item) 53 item->next = (*lst); 54 *lst = item; [all...] |
/external/qemu/android/utils/ |
refset.c | 18 _arefSet_hashItem( void* item ) 22 hash = (uint32_t)(ptrdiff_t)item >> 2; 23 if (sizeof(item) > 4) 24 hash ^= ((uint64_t)(ptrdiff_t)item >> 32); 30 _arefSet_lookup( ARefSet* s, void* item) 32 uint32_t hash = _arefSet_hashItem(item); 38 if (*pnode == item || *pnode == NULL) 48 _arefSet_lookupInsert( ARefSet* s, void* item) 50 uint32_t hash = _arefSet_hashItem(item); 62 } else if (*pnode == item) 93 void* item = s->buckets[nn]; local [all...] |