/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
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...] |
15.4-2.js | 53 var item = 0; 55 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length", Math.pow(2,16)+1, eval("var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length") ); 57 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length", Math.pow(2,30)-1, eval("var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length") ); 58 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length", Math.pow(2,30), eval("var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length") ); 59 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)] = 'hi'; arr.length", Math.pow(2,30)+1, eval("var arr=new Array(); arr[Math.pow(2,30)] = 'hi'; arr.length") ); 61 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)-2] = 'hi'; arr.length", Math.pow(2,31)-1, eval("var arr=new Array(); arr[Math.pow(2,31)-2] = 'hi'; arr.length") ); 62 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)-1] = 'hi'; arr.length", Math.pow(2,31), eval("var arr=new Array(); arr[Math.pow(2,31)-1] = 'hi'; arr.length") ); 63 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)] = 'hi'; arr.length", Math.pow(2,31)+1, eval("var arr=new Array(); arr[Math.pow(2,31)] = 'hi'; arr.length") ); 65 array[item++] = new TestCase( SECTION, "var arr = new Array(0,1,2,3,4,5); arr.length = 2; String(arr)", "0,1", eval("var arr = new Array(0,1,2,3,4,5); arr.length = 2; String(arr)") ); 66 array[item++] = new TestCase( SECTION, "var arr = new Array(0,1); arr.length = 3; String(arr)", " (…) [all...] |
15.4.1.2.js | 50 var item = 0; 52 array[item++] = new TestCase( SECTION, "(Array()).length", 0, (Array()).length ); 53 array[item++] = new TestCase( SECTION, "(Array(0)).length", 0, (Array(0)).length ); 54 array[item++] = new TestCase( SECTION, "(Array(1)).length", 1, (Array(1)).length ); 55 array[item++] = new TestCase( SECTION, "(Array(10)).length", 10, (Array(10)).length ); 56 array[item++] = new TestCase( SECTION, "(Array('1')).length", 1, (Array('1')).length ); 57 array[item++] = new TestCase( SECTION, "(Array(1000)).length", 1000, (Array(1000)).length ); 58 array[item++] = new TestCase( SECTION, "(Array('1000')).length", 1, (Array('1000')).length ); 59 array[item++] = new TestCase( SECTION, "(Array(4294967295)).length", ToUint32(4294967295), (Array(4294967295)).length ); 60 array[item++] = new TestCase( SECTION, "(Array(Math.pow(2,31)-1)).length", ToUint32(Math.pow(2,31)-1), (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
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.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...] |
15.8.2.5.js | 44 var item = 0; 46 array[item++] = new TestCase( SECTION, "Math.atan2.length", 2, Math.atan2.length ); 48 array[item++] = new TestCase( SECTION, "Math.atan2(NaN, 0)", Number.NaN, Math.atan2(Number.NaN,0) ); 49 array[item++] = new TestCase( SECTION, "Math.atan2(null, null)", 0, Math.atan2(null, null) ); 50 array[item++] = new TestCase( SECTION, "Math.atan2(void 0, void 0)", Number.NaN, Math.atan2(void 0, void 0) ); 51 array[item++] = new TestCase( SECTION, "Math.atan2()", Number.NaN, Math.atan2() ); 53 array[item++] = new TestCase( SECTION, "Math.atan2(0, NaN)", Number.NaN, Math.atan2(0,Number.NaN) ); 54 array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,0) ); 55 array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,-0) ); 56 array[item++] = new TestCase( SECTION, "Math.atan2(0,0.001)", 0, Math.atan2(0,0.001) (…) [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...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4.2-1.js | 50 var item = 0; 53 array[item++] = new TestCase(SECTION, "Number.prototype.toString()", "0", "Number.prototype.toString()" ); 54 array[item++] = new TestCase(SECTION, "typeof(Number.prototype.toString())", "string", "typeof(Number.prototype.toString())" ); 56 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(); o.toString = s; o.toString()", "0", "s = Number.prototype.toString; o = new Number(); o.toString = s; o.toString()" ); 57 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(1); o.toString = s; o.toString()", "1", "s = Number.prototype.toString; o = new Number(1); o.toString = s; o.toString()" ); 58 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(-1); o.toString = s; o.toString()", "-1", "s = Number.prototype.toString; o = new Number(-1); o.toString = s; o.toString()" ); 60 array[item++] = new TestCase(SECTION, "var MYNUM = new Number(255); MYNUM.toString(10)", "255", "var MYNUM = new Number(255); MYNUM.toString(10)" ); 61 array[item++] = new TestCase(SECTION, "var MYNUM = new Number(Number.NaN); MYNUM.toString(10)", "NaN", "var MYNUM = new Number(Number.NaN); MYNUM.toString(10)" ); 62 array[item++] = new TestCase(SECTION, "var MYNUM = new Number(Infinity); MYNUM.toString(10)", "Infinity", "var MYNUM = new Number(Infinity); MYNUM.toString(10)" ); 63 array[item++] = new TestCase(SECTION, "var MYNUM = new Number(-Infinity); MYNUM.toString(10)", "-Infinity", (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.2.js | 43 var item = 0; 45 array[item++] = new TestCase( SECTION, "String.prototype.toString.__proto__", Function.prototype, String.prototype.toString.__proto__ ); 46 array[item++] = new TestCase( SECTION, 51 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() ); 52 array[item++] = new TestCase( SECTION, "String.prototype.toString.length", 0, String.prototype.toString.length ); 55 array[item++] = new TestCase( SECTION, 59 array[item++] = new TestCase( SECTION, 63 array[item++] = new TestCase( SECTION, 67 array[item++] = new TestCase( SECTION, 71 array[item++] = new TestCase( SECTION [all...] |
15.5.5.1.js | 49 var item = 0; 51 array[item++] = new TestCase( SECTION, 56 array[item++] = new TestCase( SECTION, 61 array[item++] = new TestCase( SECTION, 66 array[item++] = new TestCase( SECTION, 71 array[item++] = new TestCase( SECTION,
|
/external/webkit/Source/WebKit/gtk/tests/ |
testwebhistoryitem.c | 27 WebKitWebHistoryItem* item; member in struct:__anon13575 33 fixture->item = webkit_web_history_item_new_with_data("http://example.com/", "Example1"); 34 g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, == , 1); 35 g_assert(fixture->item != NULL); 41 g_assert(fixture->item != NULL); 42 g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, ==, 1); 48 g_assert_cmpstr(webkit_web_history_item_get_title(fixture->item), ==, "Example1"); 49 g_assert_cmpstr(webkit_web_history_item_get_uri(fixture->item), ==, "http://example.com/"); 55 webkit_web_history_item_set_alternate_title(fixture->item, "Alternate title"); 56 g_assert_cmpstr(webkit_web_history_item_get_alternate_title(fixture->item), ==, "Alternate title") [all...] |
/external/oprofile/libpopt/ |
poptconfig.c | 13 /*@-compmempass@*/ /* FIX: item->option.longName kept, not dependent. */ 20 poptItem item = alloca(sizeof(*item)); local 28 memset(item, 0, sizeof(*item)); 51 item->option.longName = opt + 2; 53 item->option.shortName = opt[1]; 56 if (poptParseArgvString(line, &item->argc, &item->argv)) return; 59 item->option.argInfo = POPT_ARGFLAG_DOC_HIDDEN [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.2.1.js | 51 var item = 0; 57 array[item++] = new TestCase( SECTION, "Date(1970,0,1,0,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0,0) ); 58 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59,999)", (new Date()).toString(), Date(1969,11,31,15,59,59,999)) 59 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0,0)", (new Date()).toString(), Date(1969,11,31,16,0,0,0)) 60 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0,1)", (new Date()).toString(), Date(1969,11,31,16,0,0,1)) 63 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59,999)", (new Date()).toString(), Date(1999,11,15,59,59,999)); 64 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0,0)); 65 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59,999)", (new Date()).toString(), Date(1999,11,31,23,59,59,999) ); 66 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0,0)", (new Date()).toString(), Date(2000,0,0,0,0,0,0) ); 67 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0,1)", (new Date()).toString(), Date( (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.1.1-2.js | 52 var item = 0; 62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 66 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length ); 67 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() ); 69 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor ); 70 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments ); 71 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) ); 72 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS", 76 array[item++] = new TestCase( SECTION, "myfunc2 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 79 array[item++] = new TestCase( SECTION, "myfunc2.__proto__", Function.prototype, (…) [all...] |
15.3.2.1-2.js | 45 var item = 0; 55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 59 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length ); 60 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() ); 62 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor ); 63 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments ); 64 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) ); 65 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS", 69 array[item++] = new TestCase( SECTION, "myfunc2 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 72 array[item++] = new TestCase( SECTION, "myfunc2.__proto__", Function.prototype, (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.7.js | 80 var item = 0; 82 array[item++] = new TestCase( "9.7", "String.fromCharCode(0).charCodeAt(0)", 0, String.fromCharCode(0).charCodeAt(0) ); 83 array[item++] = new TestCase( "9.7", "String.fromCharCode(-0).charCodeAt(0)", 0, String.fromCharCode(-0).charCodeAt(0) ); 84 array[item++] = new TestCase( "9.7", "String.fromCharCode(1).charCodeAt(0)", 1, String.fromCharCode(1).charCodeAt(0) ); 85 array[item++] = new TestCase( "9.7", "String.fromCharCode(64).charCodeAt(0)", 64, String.fromCharCode(64).charCodeAt(0) ); 86 array[item++] = new TestCase( "9.7", "String.fromCharCode(126).charCodeAt(0)", 126, String.fromCharCode(126).charCodeAt(0) ); 87 array[item++] = new TestCase( "9.7", "String.fromCharCode(127).charCodeAt(0)", 127, String.fromCharCode(127).charCodeAt(0) ); 88 array[item++] = new TestCase( "9.7", "String.fromCharCode(128).charCodeAt(0)", 128, String.fromCharCode(128).charCodeAt(0) ); 89 array[item++] = new TestCase( "9.7", "String.fromCharCode(130).charCodeAt(0)", 130, String.fromCharCode(130).charCodeAt(0) ); 90 array[item++] = new TestCase( "9.7", "String.fromCharCode(255).charCodeAt(0)", 255, String.fromCh (…) [all...] |
/external/harfbuzz/src/ |
harfbuzz-khmer.c | 354 static HB_Bool khmer_shape_syllable(HB_Bool openType, HB_ShaperItem *item) 356 /* KHDEBUG("syllable from %d len %d, str='%s'", item->from, item->length, 357 item->string->mid(item->from, item->length).toUtf8().data()); */ 360 int syllableEnd = item->item.pos + item->item.length [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
CustomMenu.java | 89 MenuItem item = null; local 91 item = menu.findItem(id); 92 if (item != null) return item; 94 return item; 99 MenuItem item = null; local 101 item = menu.findItem(id); 102 if (item != null) { 103 item.setCheckable(true); 104 item.setChecked(applied) 114 MenuItem item = findMenuItem(id); local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.4.js | 82 var item = 0; 84 array[item++] = new TestCase( SECTION, "escape.length", 1, escape.length ); 85 array[item++] = new TestCase( SECTION, "escape.length = null; escape.length", 1, eval("escape.length = null; escape.length") ); 86 array[item++] = new TestCase( SECTION, "delete escape.length", false, delete escape.length ); 87 array[item++] = new TestCase( SECTION, "delete escape.length; escape.length", 1, eval("delete escape.length; escape.length") ); 88 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in escape ) { MYPROPS+= p}; MYPROPS", "", eval("var MYPROPS=''; for ( var p in escape ) { MYPROPS+= p}; MYPROPS") ); 90 array[item++] = new TestCase( SECTION, "escape()", "undefined", escape() ); 91 array[item++] = new TestCase( SECTION, "escape('')", "", escape('') ); 92 array[item++] = new TestCase( SECTION, "escape( null )", "null", escape(null) ); 93 array[item++] = new TestCase( SECTION, "escape( void 0 )", "undefined", escape(void 0) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.1-1.js | 55 var item = 0; 59 array[item++] = new TestCase( SECTION, 'var'+'\t'+'MYVAR1=10;MYVAR1', 10, eval('var'+'\t'+'MYVAR1=10;MYVAR1') ); 60 array[item++] = new TestCase( SECTION, 'var'+'\f'+'MYVAR2=10;MYVAR2', 10, eval('var'+'\f'+'MYVAR2=10;MYVAR2') ); 61 array[item++] = new TestCase( SECTION, 'var'+'\v'+'MYVAR2=10;MYVAR2', 10, eval('var'+'\v'+'MYVAR2=10;MYVAR2') ); 62 array[item++] = new TestCase( SECTION, 'var'+'\ '+'MYVAR2=10;MYVAR2', 10, eval('var'+'\ '+'MYVAR2=10;MYVAR2') ); 66 array[item++] = new TestCase( SECTION,
|
/external/webkit/Source/WebKit/chromium/src/ |
WebDOMStringList.cpp | 68 WebString WebDOMStringList::item(unsigned index) const function in class:WebKit::WebDOMStringList 70 return m_private->item(index); 73 WebDOMStringList::WebDOMStringList(const WTF::PassRefPtr<WebCore::DOMStringList>& item) 74 : m_private(item) 78 WebDOMStringList& WebDOMStringList::operator=(const WTF::PassRefPtr<WebCore::DOMStringList>& item) 80 m_private = item;
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
InjectedBundleBackForwardListItem.h | 41 static PassRefPtr<InjectedBundleBackForwardListItem> create(PassRefPtr<WebCore::HistoryItem> item) 43 if (!item) 45 return adoptRef(new InjectedBundleBackForwardListItem(item)); 48 WebCore::HistoryItem* item() const { return m_item.get(); } function in class:WebKit::InjectedBundleBackForwardListItem 60 InjectedBundleBackForwardListItem(PassRefPtr<WebCore::HistoryItem> item) : m_item(item) { }
|