/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
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/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:__anon18035 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...] |
/external/harfbuzz_ng/src/hb-old/ |
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...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
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/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) { }
|
/external/webrtc/src/system_wrappers/interface/ |
list_wrapper.h | 25 ListItem(const unsigned int item); 73 // Returns a pointer to the ListItem stored after item in the list. 74 ListItem* Next(ListItem* item) const; 76 // Returns a pointer to the ListItem stored before item in the list. 77 ListItem* Previous(ListItem* item) const; 79 // Removes item from the list. 80 int Erase(ListItem* item); 82 // Insert list item after existing_previous_item. Please note that new_item 89 // Insert list item before existing_next_item. Please note that new_item 97 void PushBackImpl(ListItem* item); [all...] |
/external/webrtc/src/system_wrappers/source/ |
list_no_stl.h | 23 ListNoStlItem(const unsigned int item); 58 ListNoStlItem* Next(ListNoStlItem* item) const; 59 ListNoStlItem* Previous(ListNoStlItem* item) const; 60 int Erase(ListNoStlItem* item); 68 void PushBack(ListNoStlItem* item); 69 void PushFront(ListNoStlItem* item);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8StyleSheetListCustom.cpp | 51 HTMLStyleElement* item = imp->getNamedItem(toWebCoreString(name)); local 52 if (!item) 55 return toV8(item->sheet());
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebHistoryItemTest.java | 56 WebHistoryItem item = list.getCurrentItem(); local 57 assertNotNull(item); 58 assertEquals(url, item.getUrl()); 59 assertEquals(url, item.getOriginalUrl()); 60 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, item.getTitle()); 62 assertEquals(icon, item.getFavicon()); 68 item = list.getCurrentItem(); 69 assertNotNull(item); 70 assertEquals(TestHtmlConstants.BR_TAG_TITLE, item.getTitle());
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
EquivalenceTester.java | 71 @Override public void assertRelated(T item, T related) { 72 assertTrue("$ITEM must be equivalent to $RELATED", equivalence.equivalent(item, related)); 73 int itemHash = equivalence.hash(item); 75 assertEquals("the hash (" + itemHash + ") of $ITEM must be equal to the hash (" 79 @Override public void assertUnrelated(T item, T unrelated) { 80 assertTrue("$ITEM must be inequivalent to $UNRELATED", 81 !equivalence.equivalent(item, unrelated)); 116 for (T item : items) { 117 assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)) [all...] |
/external/nist-sip/java/gov/nist/core/ |
MultiMap.java | 35 public Object remove( Object key, Object item );
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
Occupant.java | 42 Occupant(MUCAdmin.Item item) { 44 this.jid = item.getJid(); 45 this.affiliation = item.getAffiliation(); 46 this.role = item.getRole(); 47 this.nick = item.getNick(); 54 MUCUser.Item item = mucUser.getItem(); local 55 this.jid = item.getJid(); 56 this.affiliation = item.getAffiliation() [all...] |