Searched refs:arguments (Results 1 - 25 of 634) sorted by relevance

1234567891011>>

/external/v8/test/preparser/
H A Dnonstrict-arguments.js30 var arguments = 42; variable
31 arguments = arguments++;
32 arguments += --arguments;
33 arguments -= ++arguments;
34 arguments *= arguments--;
35 function arguments(argument function
44 var arguments = 42; variable
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-3230771.js32 for (var h = typeof arguments[0] == "object" ? 0 : arguments; false; ) { }
H A Dregress-1149.js30 // arguments object.
33 for (x in arguments) {
34 for (x in arguments) {
H A Dregress-392.js31 assertTrue(isNaN((function(){return arguments++})()));
32 assertTrue(isNaN((function(){return ++arguments})()));
33 assertTrue(isNaN((function(){return arguments--})()));
34 assertTrue(isNaN((function(){return --arguments})()));
H A Dregress-1513.js28 // Deleting a mapped arguments property and adding it via
33 delete arguments[0];
34 Object.defineProperty(arguments, "0", {
40 assertEquals(10, arguments[0]);
H A Dregress-1531.js28 // Regression test for computing elements keys of arguments object. Should
31 arguments[10] = 0;
33 for (var p in arguments) arr.push(p);
38 // Regression test for lookup after delete of a dictionary-mode arguments
42 arguments.__defineGetter__("5", function () { return 0; });
44 delete arguments[5];
46 return arguments[2];
H A Dregress-1060.js29 // for the (shared) .arguments proxy, even for calls.
30 function f(x) { arguments; return x() + x(); }
H A Dregress-1104.js29 // an arguments object access should not record duplicate AST IDs for
34 return arguments;
H A Dregress-arguments-gc.js32 arguments[0] = {};
H A Dregress-crbug-126414.js29 return arguments[bar];
H A Dregress-3185905.js29 var a = arguments.callee;
37 var a = arguments.callee;
45 var a = arguments.callee;
53 var arguments = { 0 : 3, 'x' : 4 };
57 assertEquals(3, arguments[0])
58 assertEquals(4, arguments['x'])
H A Dregress-1079.js30 // Getting the arguments property of an optimized function should not crash,
34 return unoptimized.apply(null, arguments);
40 return optimized.arguments;
H A Dregress-1351.js30 // Test that the arguments value is does not escape when it appears as
37 h(a = arguments);
/external/v8/test/mjsunit/
H A Dfunction-arguments-null.js28 // The arguments property of functions should be null when not
30 assertTrue(toString.arguments === null);
H A Darguments-read-and-assignment.js27 // Testing basic functionality of the arguments object.
29 // The arguments object itself.
30 assertEquals(42, function(){ return arguments;}(42)[0],
31 "return arguments value");
32 assertEquals(42, function(){ return arguments;}(42)[0],
33 "arguments in plain value context");
34 assertEquals(42, function(){ arguments;return 42}(37),
35 "arguments in effect context");
36 assertEquals(42, function(){ if(arguments)return 42;}(),
37 "arguments i
[all...]
H A Darguments-lazy.js28 // Make sure we don't allocate the arguments object over and
31 return arguments === arguments;
37 // Make sure that accessing arguments doesn't clobber any
38 // local variables called arguments.
40 var arguments = 42;
42 return x + arguments;
H A Dargument-named-arguments.js28 // Tests to verify proper arguments handling if the arguments
33 assertEquals("arguments", a);
36 e("arguments");
39 function f(arguments) {
40 assertEquals(9, arguments.length);
41 assertEquals("arguments", arguments);
44 f("arguments");
48 var arguments;
[all...]
H A Darguments-indirect.js33 var a = arguments;
40 assertEquals(3, f.arguments.length);
41 assertEquals(1, f.arguments[0]);
42 assertEquals(2, f.arguments[1]);
43 assertEquals(3, f.arguments[2]);
H A Darguments-enum.js30 for (var prop in arguments)
36 arguments[10] = 5;
37 arguments.x = 4;
39 for (var prop in arguments)
H A Dargument-assigned.js30 var arguments = [ 1, 2, 3 ];
39 arguments[0] = 991;
40 var arguments = [ 1, 2, 3 ]; variable
49 arguments[0] = 991;
52 var arguments = [ 1, 2, 3 ];
66 assertEquals(7, f(7, "var arguments = [ 1, 2, 3 ];"));
72 var tmp = arguments[0];
76 assertEquals(7, f(7, "var arguments = [ 1, 2, 3 ];"));
82 var tmp = arguments[0];
92 var tmp = arguments[
[all...]
/external/v8/test/mjsunit/bugs/
H A Dbug-222.js30 var oldArgs = Foo.arguments;
32 var newArgs = Foo.arguments
36 // Don't allow arguments to be overwritten.
37 Foo.arguments = oldArgs;
38 assertEquals(Foo.arguments, newArgs);
40 // Don't allow arguments to be deleted.
41 assertFalse(delete Foo.arguments);
42 assertEquals(Foo.arguments, newArgs);
H A Dbug-941049.js28 // This test fails because we copy the arguments array on indirect
32 assertEquals(100, f.arguments = 100); // read-only
33 assertEquals(3, f.arguments.length);
34 assertEquals(1, f.arguments[0]);
35 assertEquals(2, f.arguments[1]);
36 assertEquals(3, f.arguments[2]);
37 f.arguments[0] = 999;
38 f.arguments.extra = 'kallevip';
42 assertEquals('kallevip', f.arguments.extra);
43 return f.arguments;
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dchecks.cc38 va_list arguments; local
39 va_start(arguments, format);
40 vsnprintf(msg, sizeof(msg), format, arguments);
41 va_end(arguments);
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
H A Dregress-131510-001.js38 * SUMMARY: Shouldn't crash if define |var arguments| inside a function
44 var summary = "Shouldn't crash if define |var arguments| inside a function";
49 function f() {var arguments;}
56 function g() { function f() {var arguments;}; f();};
63 var s = 'function f() {var arguments;}; f();';
66 s = 'function g() { function f() {var arguments;}; f();}; g();';
/external/webkit/Tools/DumpRenderTree/chromium/
H A DLayoutTestController.cpp273 void LayoutTestController::dumpAsText(const CppArgumentList& arguments, CppVariant* result) argument
279 if (arguments.size() > 0 && arguments[0].isBool())
280 m_generatePixelResults = arguments[0].value.boolValue;
351 void LayoutTestController::setAcceptsEditing(const CppArgumentList& arguments, CppVariant* result) argument
353 if (arguments.size() > 0 && arguments[0].isBool())
354 m_acceptsEditing = arguments[0].value.boolValue;
398 void LayoutTestController::queueBackNavigation(const CppArgumentList& arguments, CppVariant* result) argument
400 if (arguments
405 queueForwardNavigation(const CppArgumentList& arguments, CppVariant* result) argument
451 queueLoadingScript(const CppArgumentList& arguments, CppVariant* result) argument
458 queueNonLoadingScript(const CppArgumentList& arguments, CppVariant* result) argument
480 queueLoad(const CppArgumentList& arguments, CppVariant* result) argument
517 queueLoadHTMLString(const CppArgumentList& arguments, CppVariant* result) argument
532 objCIdentityIsEqual(const CppArgumentList& arguments, CppVariant* result) argument
620 setTabKeyCyclesThroughElements(const CppArgumentList& arguments, CppVariant* result) argument
632 setCloseRemainingWindowsWhenComplete(const CppArgumentList& arguments, CppVariant* result) argument
639 setAlwaysAcceptCookies(const CppArgumentList& arguments, CppVariant* result) argument
646 setAsynchronousSpellCheckingEnabled(const CppArgumentList& arguments, CppVariant* result) argument
653 shadowRoot(const CppArgumentList& arguments, CppVariant* result) argument
687 setWindowIsKey(const CppArgumentList& arguments, CppVariant* result) argument
694 setUserStyleSheetEnabled(const CppArgumentList& arguments, CppVariant* result) argument
703 setUserStyleSheetLocation(const CppArgumentList& arguments, CppVariant* result) argument
714 setAuthorAndUserStylesEnabled(const CppArgumentList& arguments, CppVariant* result) argument
723 execCommand(const CppArgumentList& arguments, CppVariant* result) argument
740 isCommandEnabled(const CppArgumentList& arguments, CppVariant* result) argument
752 setPopupBlockingEnabled(const CppArgumentList& arguments, CppVariant* result) argument
799 setCustomPolicyDelegate(const CppArgumentList& arguments, CppVariant* result) argument
818 setWillSendRequestClearHeader(const CppArgumentList& arguments, CppVariant* result) argument
828 setWillSendRequestReturnsNullOnRedirect(const CppArgumentList& arguments, CppVariant* result) argument
835 setWillSendRequestReturnsNull(const CppArgumentList& arguments, CppVariant* result) argument
842 pathToLocalResource(const CppArgumentList& arguments, CppVariant* result) argument
892 setSmartInsertDeleteEnabled(const CppArgumentList& arguments, CppVariant* result) argument
899 setSelectTrailingWhitespaceEnabled(const CppArgumentList& arguments, CppVariant* result) argument
991 pauseAnimationAtTimeOnElementWithId(const CppArgumentList& arguments, CppVariant* result) argument
1002 pauseTransitionAtTimeOnElementWithId(const CppArgumentList& arguments, CppVariant* result) argument
1013 elementDoesAutoCompleteForElementWithId(const CppArgumentList& arguments, CppVariant* result) argument
1040 sampleSVGAnimationForElementAtTime(const CppArgumentList& arguments, CppVariant* result) argument
1071 grantDesktopNotificationPermission(const CppArgumentList& arguments, CppVariant* result) argument
1081 simulateDesktopNotificationClick(const CppArgumentList& arguments, CppVariant* result) argument
1093 setDomainRelaxationForbiddenForURLScheme(const CppArgumentList& arguments, CppVariant* result) argument
1100 setDeferMainResourceDataLoad(const CppArgumentList& arguments, CppVariant* result) argument
1110 dumpAsWebArchive(const CppArgumentList& arguments, CppVariant* result) argument
1115 setMainFrameIsFirstResponder(const CppArgumentList& arguments, CppVariant* result) argument
1120 dumpSelectionRect(const CppArgumentList& arguments, CppVariant* result) argument
1126 display(const CppArgumentList& arguments, CppVariant* result) argument
1137 displayInvalidatedRegion(const CppArgumentList& arguments, CppVariant* result) argument
1157 clearBackForwardList(const CppArgumentList& arguments, CppVariant* result) argument
1162 keepWebHistory(const CppArgumentList& arguments, CppVariant* result) argument
1167 storeWebScriptObject(const CppArgumentList& arguments, CppVariant* result) argument
1172 accessStoredWebScriptObject(const CppArgumentList& arguments, CppVariant* result) argument
1177 objCClassNameOf(const CppArgumentList& arguments, CppVariant* result) argument
1182 addDisallowedURL(const CppArgumentList& arguments, CppVariant* result) argument
1187 setCallCloseOnWebViews(const CppArgumentList& arguments, CppVariant* result) argument
1192 setPrivateBrowsingEnabled(const CppArgumentList& arguments, CppVariant* result) argument
1197 setJavaScriptCanAccessClipboard(const CppArgumentList& arguments, CppVariant* result) argument
1206 setXSSAuditorEnabled(const CppArgumentList& arguments, CppVariant* result) argument
1215 evaluateScriptInIsolatedWorld(const CppArgumentList& arguments, CppVariant* result) argument
1226 setAllowUniversalAccessFromFileURLs(const CppArgumentList& arguments, CppVariant* result) argument
1235 setAllowFileAccessFromFileURLs(const CppArgumentList& arguments, CppVariant* result) argument
1288 overridePreference(const CppArgumentList& arguments, CppVariant* result) argument
1371 addOriginAccessWhitelistEntry(const CppArgumentList& arguments, CppVariant* result) argument
1390 removeOriginAccessWhitelistEntry(const CppArgumentList& arguments, CppVariant* result) argument
1409 clearAllDatabases(const CppArgumentList& arguments, CppVariant* result) argument
1415 setDatabaseQuota(const CppArgumentList& arguments, CppVariant* result) argument
1422 setPOSIXLocale(const CppArgumentList& arguments, CppVariant* result) argument
1429 counterValueForElementById(const CppArgumentList& arguments, CppVariant* result) argument
1443 parsePageSizeParameters(const CppArgumentList& arguments, int argOffset, int* pageWidthInPixels, int* pageHeightInPixels) argument
1468 pageNumberForElementById(const CppArgumentList& arguments, CppVariant* result) argument
1486 numberOfPages(const CppArgumentList& arguments, CppVariant* result) argument
1503 numberOfPendingGeolocationPermissionRequests(const CppArgumentList& arguments, CppVariant* result) argument
1520 setTimelineProfilingEnabled(const CppArgumentList& arguments, CppVariant* result) argument
1528 evaluateInWebInspector(const CppArgumentList& arguments, CppVariant* result) argument
1536 addUserScript(const CppArgumentList& arguments, CppVariant* result) argument
1547 addUserStyleSheet(const CppArgumentList& arguments, CppVariant* result) argument
1560 setEditingBehavior(const CppArgumentList& arguments, CppVariant* results) argument
1576 setMockDeviceOrientation(const CppArgumentList& arguments, CppVariant* result) argument
1591 setGeolocationPermission(const CppArgumentList& arguments, CppVariant* result) argument
1601 setMockGeolocationPosition(const CppArgumentList& arguments, CppVariant* result) argument
1611 setMockGeolocationError(const CppArgumentList& arguments, CppVariant* result) argument
1621 abortModal(const CppArgumentList& arguments, CppVariant* result) argument
1626 addMockSpeechInputResult(const CppArgumentList& arguments, CppVariant* result) argument
1649 hasSpellingMarker(const CppArgumentList& arguments, CppVariant* result) argument
1656 setMinimumTimerInterval(const CppArgumentList& arguments, CppVariant* result) argument
1664 setAutofilled(const CppArgumentList& arguments, CppVariant* result) argument
1681 setValueForUser(const CppArgumentList& arguments, CppVariant* result) argument
1698 deleteAllLocalStorage(const CppArgumentList& arguments, CppVariant*) argument
1703 originsWithLocalStorage(const CppArgumentList& arguments, CppVariant*) argument
1708 deleteLocalStorageForOrigin(const CppArgumentList& arguments, CppVariant*) argument
1723 setPluginsEnabled(const CppArgumentList& arguments, CppVariant* result) argument
[all...]

Completed in 332 milliseconds

1234567891011>>