/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.5.1.js | 78 var item = 0; 80 array[item++] = new TestCase( SECTION, "Number.NaN * Number.NaN", Number.NaN, Number.NaN * Number.NaN ); 81 array[item++] = new TestCase( SECTION, "Number.NaN * 1", Number.NaN, Number.NaN * 1 ); 82 array[item++] = new TestCase( SECTION, "1 * Number.NaN", Number.NaN, 1 * Number.NaN ); 84 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY * 0", Number.NaN, Number.POSITIVE_INFINITY * 0 ); 85 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY * 0", Number.NaN, Number.NEGATIVE_INFINITY * 0 ); 86 array[item++] = new TestCase( SECTION, "0 * Number.POSITIVE_INFINITY", Number.NaN, 0 * Number.POSITIVE_INFINITY ); 87 array[item++] = new TestCase( SECTION, "0 * Number.NEGATIVE_INFINITY", Number.NaN, 0 * Number.NEGATIVE_INFINITY ); 89 array[item++] = new TestCase( SECTION, "-0 * Number.POSITIVE_INFINITY", Number.NaN, -0 * Number.POSITIVE_INFINITY ); 90 array[item++] = new TestCase( SECTION, "-0 * Number.NEGATIVE_INFINITY", Number.NaN, -0 * Number.NEGATIV (…) [all...] |
11.6.2-1.js | 66 var item = 0; 72 array[item++] = new TestCase( SECTION, 77 array[item++] = new TestCase( SECTION, 82 array[item++] = new TestCase( SECTION, 87 array[item++] = new TestCase( SECTION, 92 array[item++] = new TestCase( SECTION, 97 array[item++] = new TestCase( SECTION, 102 array[item++] = new TestCase( SECTION, 107 array[item++] = new TestCase( SECTION, 112 array[item++] = new TestCase( SECTION [all...] |
11.6.1-1.js | 88 var item = 0; 94 array[item++] = new TestCase( SECTION, 99 array[item++] = new TestCase( SECTION, 104 array[item++] = new TestCase( SECTION, 109 array[item++] = new TestCase( SECTION, 114 array[item++] = new TestCase( SECTION, 119 array[item++] = new TestCase( SECTION, 124 array[item++] = new TestCase( SECTION, 129 array[item++] = new TestCase( SECTION, 138 array[item++] = new TestCase( SECTION [all...] |
11.6.1-2.js | 87 var item = 0; 93 array[item++] = new TestCase( SECTION, 98 array[item++] = new TestCase( SECTION, 103 array[item++] = new TestCase( SECTION, 108 array[item++] = new TestCase( SECTION, 113 array[item++] = new TestCase( SECTION, 118 array[item++] = new TestCase( SECTION, 123 array[item++] = new TestCase( SECTION, 128 array[item++] = new TestCase( SECTION, 133 array[item++] = new TestCase( SECTION [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.11.js | 51 var item = 0; 53 array[item++] = new TestCase( SECTION, "Math.max.length", 2, Math.max.length ); 55 array[item++] = new TestCase( SECTION, "Math.max()", -Infinity, Math.max() ); 56 array[item++] = new TestCase( SECTION, "Math.max(void 0, 1)", Number.NaN, Math.max( void 0, 1 ) ); 57 array[item++] = new TestCase( SECTION, "Math.max(void 0, void 0)", Number.NaN, Math.max( void 0, void 0 ) ); 58 array[item++] = new TestCase( SECTION, "Math.max(null, 1)", 1, Math.max( null, 1 ) ); 59 array[item++] = new TestCase( SECTION, "Math.max(-1, null)", 0, Math.max( -1, null ) ); 60 array[item++] = new TestCase( SECTION, "Math.max(true, false)", 1, Math.max(true,false) ); 62 array[item++] = new TestCase( SECTION, "Math.max('-99','99')", 99, Math.max( "-99","99") ); 64 array[item++] = new TestCase( SECTION, "Math.max(NaN, Infinity)", Number.NaN, Math.max(Number.NaN,N (…) [all...] |
15.8.2.18.js | 49 var item = 0; 51 array[item++] = new TestCase( SECTION, "Math.tan.length", 1, Math.tan.length ); 53 array[item++] = new TestCase( SECTION, "Math.tan()", Number.NaN, Math.tan() ); 54 array[item++] = new TestCase( SECTION, "Math.tan(void 0)", Number.NaN, Math.tan(void 0)); 55 array[item++] = new TestCase( SECTION, "Math.tan(null)", 0, Math.tan(null) ); 56 array[item++] = new TestCase( SECTION, "Math.tan(false)", 0, Math.tan(false) ); 58 array[item++] = new TestCase( SECTION, "Math.tan(NaN)", Number.NaN, Math.tan(Number.NaN) ); 59 array[item++] = new TestCase( SECTION, "Math.tan(0)", 0, Math.tan(0)); 60 array[item++] = new TestCase( SECTION, "Math.tan(-0)", -0, Math.tan(-0)); 61 array[item++] = new TestCase( SECTION, "Math.tan(Infinity)", Number.NaN, Math.tan(Number.POSITIVE_ (…) [all...] |
15.8.2.2.js | 47 var item = 0; 49 array[item++] = new TestCase( SECTION, "Math.acos.length", 1, Math.acos.length ); 51 array[item++] = new TestCase( SECTION, "Math.acos(void 0)", Number.NaN, Math.acos(void 0) ); 52 array[item++] = new TestCase( SECTION, "Math.acos()", Number.NaN, Math.acos() ); 53 array[item++] = new TestCase( SECTION, "Math.acos(null)", Math.PI/2, Math.acos(null) ); 54 array[item++] = new TestCase( SECTION, "Math.acos(NaN)", Number.NaN, Math.acos(Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.acos(a string)", Number.NaN, Math.acos("a string") ); 57 array[item++] = new TestCase( SECTION, "Math.acos('0')", Math.PI/2, Math.acos('0') ); 58 array[item++] = new TestCase( SECTION, "Math.acos('1')", 0, Math.acos('1') ); 59 array[item++] = new TestCase( SECTION, "Math.acos('-1')", Math.PI, Math.acos('-1') ) [all...] |
15.8.2.4.js | 51 var item = 0; 53 array[item++] = new TestCase( SECTION, "Math.atan.length", 1, Math.atan.length ); 55 array[item++] = new TestCase( SECTION, "Math.atan()", Number.NaN, Math.atan() ); 56 array[item++] = new TestCase( SECTION, "Math.atan(void 0)", Number.NaN, Math.atan(void 0) ); 57 array[item++] = new TestCase( SECTION, "Math.atan(null)", 0, Math.atan(null) ); 58 array[item++] = new TestCase( SECTION, "Math.atan(NaN)", Number.NaN, Math.atan(Number.NaN) ); 60 array[item++] = new TestCase( SECTION, "Math.atan('a string')", Number.NaN, Math.atan("a string") ); 61 array[item++] = new TestCase( SECTION, "Math.atan('0')", 0, Math.atan('0') ); 62 array[item++] = new TestCase( SECTION, "Math.atan('1')", Math.PI/4, Math.atan('1') ); 63 array[item++] = new TestCase( SECTION, "Math.atan('-1')", -Math.PI/4, Math.atan('-1') ) [all...] |
15.8.2.9.js | 53 var item = 0; 55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length ); 57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() ); 58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) ); 59 array[item++] = new TestCase( SECTION, "Math.floor(null)", 0, Math.floor(null) ); 60 array[item++] = new TestCase( SECTION, "Math.floor(true)", 1, Math.floor(true) ); 61 array[item++] = new TestCase( SECTION, "Math.floor(false)", 0, Math.floor(false) ); 63 array[item++] = new TestCase( SECTION, "Math.floor('1.1')", 1, Math.floor("1.1") ); 64 array[item++] = new TestCase( SECTION, "Math.floor('-1.1')", -2, Math.floor("-1.1") ); 65 array[item++] = new TestCase( SECTION, "Math.floor('0.1')", 0, Math.floor("0 (…) [all...] |
15.8.2.10.js | 50 var item = 0; 52 array[item++] = new TestCase( SECTION, "Math.log.length", 1, Math.log.length ); 54 array[item++] = new TestCase( SECTION, "Math.log()", Number.NaN, Math.log() ); 55 array[item++] = new TestCase( SECTION, "Math.log(void 0)", Number.NaN, Math.log(void 0) ); 56 array[item++] = new TestCase( SECTION, "Math.log(null)", Number.NEGATIVE_INFINITY, Math.log(null) ); 57 array[item++] = new TestCase( SECTION, "Math.log(true)", 0, Math.log(true) ); 58 array[item++] = new TestCase( SECTION, "Math.log(false)", -Infinity, Math.log(false) ); 59 array[item++] = new TestCase( SECTION, "Math.log('0')", -Infinity, Math.log('0') ); 60 array[item++] = new TestCase( SECTION, "Math.log('1')", 0, Math.log('1') ); 61 array[item++] = new TestCase( SECTION, "Math.log('Infinity')", Infinity, Math.log("Infinity") ) [all...] |
/external/webkit/Tools/DumpRenderTree/ |
WorkQueue.cpp | 52 void WorkQueue::queue(WorkQueueItem* item) 58 delete item; 62 theQueue[endOfQueue++] = item; 96 WorkQueueItem* item = dequeue(); local 97 ASSERT(item); 98 startedLoad = item->invoke(); 99 delete item;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.2-1.js | 105 var item = 0; 110 array[item++] = new TestCase( SECTION, "parseInt.length", 2, parseInt.length ); 111 array[item++] = new TestCase( SECTION, "parseInt.length = 0; parseInt.length", 2, eval("parseInt.length = 0; parseInt.length") ); 112 array[item++] = new TestCase( SECTION, "var PROPS=''; for ( var p in parseInt ) { PROPS += p; }; PROPS", "", eval("var PROPS=''; for ( var p in parseInt ) { PROPS += p; }; PROPS") ); 113 array[item++] = new TestCase( SECTION, "delete parseInt.length", false, delete parseInt.length ); 114 array[item++] = new TestCase( SECTION, "delete parseInt.length; parseInt.length", 2, eval("delete parseInt.length; parseInt.length") ); 115 array[item++] = new TestCase( SECTION, "parseInt.length = null; parseInt.length", 2, eval("parseInt.length = null; parseInt.length") ); 117 array[item++] = new TestCase( SECTION, "parseInt()", NaN, parseInt() ); 118 array[item++] = new TestCase( SECTION, "parseInt('')", NaN, parseInt("") ); 119 array[item++] = new TestCase( SECTION, "parseInt('','')", NaN, parseInt("","") ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.2.1-3.js | 82 for ( item = 0; item < TEST_LENGTH; item++ ) { 83 array[item] = new TestCase( SECTION, "TEST_ARRAY["+item+"]", item, TEST_ARRAY[item] ); 86 array[item++] = new TestCase( SECTION, "new Array( ["+TEST_LENGTH+" arguments] ) +''", ARGUMENTS, TEST_ARRAY +"" ); 87 array[item++] = new TestCase( SECTION, "TEST_ARRAY.toString", Array.prototype.toString, TEST_ARRAY.toString ); 88 array[item++] = new TestCase( SECTION, "TEST_ARRAY.join", Array.prototype.join, (…) [all...] |
15.4.5.1-1.js | 71 var item = 0; 75 array[item++] = new TestCase( SECTION, 81 array[item++] = new TestCase( SECTION, 86 array[item++] = new TestCase( SECTION, 95 array[item++] = new TestCase( SECTION, 100 array[item++] = new TestCase( SECTION, 117 array[item++] = new TestCase( SECTION, 122 array[item++] = new TestCase( SECTION, 130 array[item++] = new TestCase( SECTION, 135 array[item++] = new TestCase( SECTION [all...] |
15.4.2.2-1.js | 66 var item = 0; 68 array[item++] = new TestCase( SECTION, "new Array(0)", "", (new Array(0)).toString() ); 69 array[item++] = new TestCase( SECTION, "typeof new Array(0)", "object", (typeof new Array(0)) ); 70 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length ); 71 array[item++] = new TestCase( SECTION, "(new Array(0)).toString", Array.prototype.toString, (new Array(0)).toString ); 73 array[item++] = new TestCase( SECTION, "new Array(1)", "", (new Array(1)).toString() ); 74 array[item++] = new TestCase( SECTION, "new Array(1).length", 1, (new Array(1)).length ); 75 array[item++] = new TestCase( SECTION, "(new Array(1)).toString", Array.prototype.toString, (new Array(1)).toString ); 77 array[item++] = new TestCase( SECTION, "(new Array(-0)).length", 0, (new Array(-0)).length ); 78 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).len (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.1.1-1.js | 52 var item = 0; 58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() ); 61 array[item++] = new TestCase( SECTION, 65 array[item++] = new TestCase( SECTION, "myfunc.length", 0, myfunc.length ); 66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() ); 67 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 68 array[item++] = new TestCase( SECTION, "myfunc.arguments", null, myfunc.arguments ); 69 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 70 array[item++] = new TestCase( SECTION, "OBJ.toString()", "true", OBJ.toString() ); 71 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object (…) [all...] |
15.3.2.1-1.js | 53 var item = 0; 58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() ); 62 array[item++] = new TestCase( SECTION, "myfunc = new Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()", 65 array[item++] = new TestCase( SECTION, "myfunc.length", 0, myfunc.length ); 66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() ); 68 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 69 array[item++] = new TestCase( SECTION, "myfunc.arguments", null, myfunc.arguments ); 71 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 72 array[item++] = new TestCase( SECTION, "OBJ.toString()", "true", OBJ.toString() ); 73 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object (…) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
Section.java | 40 public abstract class Section<T extends Item> { 50 * if this section already has an item equivalent to the one that is being interned. 61 * The type of item that this section holds 84 * @return the offset of the byte immediate after the last item in this section 93 T item = items.get(i); local 94 assert item != null; 96 offset = item.placeAt(offset, i); 116 for (Item item: items) { 117 assert item!=null [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.4-3.js | 68 var item = 0; 73 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "h", foo.charAt(0) ); 74 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "e", foo.charAt(1) ); 75 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "l", foo.charAt(2) ); 76 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "l", foo.charAt(3) ); 77 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "o", foo.charAt(4) ); 78 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "", foo.charAt(-1) ); 79 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "", foo.charAt(5) ); 83 array[item++] = new TestCase( SECTION, "var boo = new MyObject(true); ", "t", boo.charAt(0) ); 84 array[item++] = new TestCase( SECTION, "var boo = new MyObject(true); ", "r", boo.charAt(1) ) [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_history.cpp | 65 #define EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core_, ...) \ 66 if (!(item)) { \ 67 CRITICAL("item is NULL."); \ 70 if (!(item)->core) { \ 71 CRITICAL("item->core is NULL."); \ 74 WebCore::HistoryItem *core_ = (item)->core 79 Ewk_History_Item* item; local 86 item = (Ewk_History_Item *)calloc(1, sizeof(Ewk_History_Item)); 87 if (!item) { 88 CRITICAL("Could not allocate item memory.") 105 Ewk_History_Item* item = _ewk_history_item_new(core_items[i].get()); local 423 Ewk_History_Item* item = _ewk_history_item_new(core.release().releaseRef()); local 454 Ewk_History_Item* item = (Ewk_History_Item*)d; local [all...] |
/system/extras/fatblock/ |
import.c | 151 struct item { struct 154 struct item *next; 158 static struct item *free_items_head; 160 static struct item *alloc_item(void) 162 struct item *item; local 165 item = free_items_head; 166 free_items_head = item->next; 168 item = malloc(sizeof(struct item)); 210 struct item *item; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
AMessage.cpp | 62 Item *item = &mItems[i]; local 63 freeItem(item); 68 void AMessage::freeItem(Item *item) { 69 switch (item->mType) { 72 delete item->u.stringValue; 80 if (item->u.refValue != NULL) { 81 item->u.refValue->decStrong(this); 91 AMessage::Item *AMessage::allocateItem(const char *name) 99 Item *item; local [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 183 struct isakmp_frag_item *item; local 213 if ((item = racoon_malloc(sizeof(*item))) == NULL) { 222 item->frag_num = frag->index; 223 item->frag_last = (frag->flags & ISAKMP_FRAG_LAST); 224 item->frag_next = NULL; 225 item->frag_packet = buf; 227 /* Look for the last frag while inserting the new item in the chain */ 228 if (item->frag_last) 229 last_frag = item->frag_num 270 struct isakmp_frag_item *item; local [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
access-binary-trees.js | 5 function TreeNode(left,right,item){ 8 this.item = item; 12 if (this.left==null) return this.item; 13 else return this.item + this.left.itemCheck() - this.right.itemCheck(); 16 function bottomUpTree(item,depth){ 19 bottomUpTree(2*item-1, depth-1) 20 ,bottomUpTree(2*item, depth-1) 21 ,item 25 return new TreeNode(null,null,item); [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
access-binary-trees.js | 5 function TreeNode(left,right,item){ 8 this.item = item; 12 if (this.left==null) return this.item; 13 else return this.item + this.left.itemCheck() - this.right.itemCheck(); 16 function bottomUpTree(item,depth){ 19 bottomUpTree(2*item-1, depth-1) 20 ,bottomUpTree(2*item, depth-1) 21 ,item 25 return new TreeNode(null,null,item); [all...] |