| /external/v8/test/mjsunit/ |
| indexed-accessors.js | 32 o.__defineGetter__('0', function() { return o.x; }); 36 o.__defineSetter__('0', function(y) { o.x = y; }); 44 function Pair(x, y) { 48 Pair.prototype.__defineGetter__('0', function() { return this.x; }); 49 Pair.prototype.__defineGetter__('1', function() { return this.y; }); 50 Pair.prototype.__defineSetter__('0', function(x) { this.x = x; }); 51 Pair.prototype.__defineSetter__('1', function(y) { this.y = y; }); 70 function testArray() { 78 actual.__defineGetter__('0', function() { return expected[0]; }); 87 q.__defineGetter__('0', function() { return 42; }) [all...] |
| debug-setbreakpoint.js | 32 // Simple function which stores the last debug event. 43 function safeEval(code) { 52 function testArguments(dcp, arguments, success, is_script) { 69 function listener(event, exec_state, event_data, data) { 84 testArguments(dcp, '{"type":"function"}', false); 88 testArguments(dcp, '{"type":"function","target":1}', false); 89 testArguments(dcp, '{"type":"function","target":"f","line":-1}', false); 90 testArguments(dcp, '{"type":"function","target":"f","column":-1}', false); 91 testArguments(dcp, '{"type":"function","target":"f","ignoreCount":-1}', false); 97 testArguments(dcp, '{"type":"function","target":"f"}', true, false) [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/ |
| shell.js | 14 function test() { 32 function AddTestCase( description, expect, actual ) { 36 function TestCase( n, d, e, a ) { 50 function startTest() { 74 function getTestCaseResult( expect, actual ) { 112 function writeTestCaseResult( expect, actual, string ) { 117 function writeFormattedResult( expect, actual, string, passed ) { 134 * print function. When running tests in the browser, these 139 function writeTestCaseResult( expect, actual, string ) { 144 function writeFormattedResult( expect, actual, string, passed ) [all...] |
| /external/v8/test/mjsunit/harmony/ |
| debug-blockscopes.js | 48 function listener(event, exec_state, event_data, data) { 65 function BeginTest(name) { 75 function EndTest() { 84 function CheckScopeChain(scopes, exec_state) { 126 // that there is a function. 127 function CheckScopeContent(content, number, exec_state) { 136 if (typeof(content[p]) === 'function') { 201 function local_block_1() { 207 listener_delegate = function(exec_state) { 219 function local_2(a) [all...] |
| /external/webkit/Source/WebCore/inspector/front-end/ |
| Drawer.js | 30 WebInspector.Drawer = function() 83 showView: function(view) 89 show: function() 123 function animationFinished() 139 hide: function() 180 function animationFinished() 201 resize: function() 217 enterPanelMode: function() 229 exitPanelMode: function() 243 immediatelyExitPanelMode: function() [all...] |
| Resource.js | 28 WebInspector.Resource = function(identifier, url) 50 isTextType: function(type) 55 toUIString: function(type) 80 toString: function(type) 106 WebInspector.Resource.registerDomainModelBinding = function(type, binding) 271 increaseTransferSize: function(x) 454 this._sortedRequestHeaders.sort(function(a,b) { return a.header.localeCompare(b.header) }); 459 requestHeaderValue: function(headerName) 530 this._sortedResponseHeaders.sort(function(a,b) { return a.header.localeCompare(b.header) }); 535 responseHeaderValue: function(headerName [all...] |
| TimelineGrid.js | 31 WebInspector.TimelineGrid = function() 59 updateDividers: function(force, calculator, paddingLeft) 135 _setDividerAndBarLeft: function(divider, dividerLabelBar, percentLeft) 144 addEventDivider: function(divider) 149 addEventDividers: function(dividers) 158 removeEventDividers: function() 163 hideEventDividers: function() 168 showEventDividers: function() 173 setScrollAndDividerTop: function(scrollTop, dividersTop)
|
| /external/libvpx/libvpx/examples/includes/ASCIIMathPHP-2.0/ |
| ASCIIMathPHP-2.0.class.php | 72 function XMLNode($id = NULL) 86 function addChild(&$node) 93 function addChildArr(&$node_arr) 104 function insertChildBefore($idx,&$node) 119 function insertChildAfter($idx,&$node) 134 function setId($id) 139 function setName($name) 144 function setNamepace($nmspc) 149 function setNamespaceAlias($nmspc_alias) 154 function setContent($content [all...] |
| /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
| Antlr.Runtime.Tree.pas | 73 function CreateNode(const Payload: IToken): IANTLRInterface; overload; 77 function DupNode(const TreeNode: IANTLRInterface): IANTLRInterface; 80 function DupTree(const Tree: IANTLRInterface): IANTLRInterface; 87 function GetNilNode: IANTLRInterface; 105 function ErrorNode(const Input: ITokenStream; const Start, Stop: IToken; 111 function IsNil(const Tree: IANTLRInterface): Boolean; 162 function BecomeRoot(const NewRoot, OldRoot: IANTLRInterface): IANTLRInterface; overload; 178 function RulePostProcessing(const Root: IANTLRInterface): IANTLRInterface; 198 function GetUniqueID(const Node: IANTLRInterface): Integer; 209 function BecomeRoot(const NewRoot: IToken; const OldRoot: IANTLRInterface): IANTLRInterface; overload [all...] |
| /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
| TokenRewriteStream.js | 53 org.antlr.runtime.TokenRewriteStream = function() { 74 (function(){ 87 trs.RewriteOperation = function(index, text) { 96 execute: function(buf) { 99 toString: function() { 108 trs.InsertBeforeOp = function(index, text) { 112 execute: function(buf) { 121 trs.ReplaceOp = function(from, to, text) { 126 execute: function(buf) { 134 trs.DeleteOp = function(from, to) [all...] |
| /external/clang/tools/scan-build/ |
| sorttable.js | 22 init: function() { 23 // quit if this function has already been called 25 // flag this function so we don't do the same thing twice 34 forEach(document.getElementsByTagName('table'), function(table) { 42 makeSortable: function(table) { 84 if (mtch && typeof sorttable["sort_"+override] == 'function') { 92 dean_addEvent(headrow[i],"click", function(e) { 123 forEach(theadrow.childNodes, function(cell) { 166 guessType: function(table, column) { 199 getInnerText: function(node) [all...] |
| /frameworks/base/tools/preload/ |
| sorttable.js | 22 init: function() { 23 // quit if this function has already been called 25 // flag this function so we don't do the same thing twice 34 forEach(document.getElementsByTagName('table'), function(table) { 42 makeSortable: function(table) { 84 if (mtch && typeof sorttable["sort_"+override] == 'function') { 92 dean_addEvent(headrow[i],"click", function(e) { 123 forEach(theadrow.childNodes, function(cell) { 166 guessType: function(table, column) { 199 getInnerText: function(node) [all...] |
| /external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/ |
| background.js | 70 function BadgeAnimation() { 80 BadgeAnimation.prototype.paintFrame = function() { 96 BadgeAnimation.prototype.start = function() { 102 this.timerId_ = window.setInterval(function() { 110 BadgeAnimation.prototype.stop = function() { 124 function CanvasAnimation() { 141 CanvasAnimation.prototype.animate = function() { 146 setTimeout(function() { 157 CanvasAnimation.prototype.drawIconAtRotation = function() { 171 * function(360/animationFrames_ = 360/36 = 10 radians) [all...] |
| /external/v8/test/mjsunit/compiler/ |
| assignment.js | 49 // Test compound assignments in an anonymous function with local variables. 50 (function () { 71 // Test compound assignments in an anonymous function with global variables. 72 (function () { 93 // Test compound assignments in a named function with local variables. 94 function foo() { 117 // Test compound assignments in a named function with global variables. 118 function bar() { 166 // Test compound assignments in an anonymous function with local variables. 167 (function () { [all...] |
| simple-inlining.js | 30 // Test that we can inline a function that returns a constant. 31 function TestInlineConstant(o) { 45 o1.f = function() { return 42; }; 52 // Test that we can inline a function that returns 'this'. 53 function TestInlineThis(o) { 67 o2.g = function() { return this; }; 74 // Test that we can inline a function that returns 'this.x'. 75 function TestInlineThisX(o) { 89 o3.h = function() { return this.x; }; 96 // Test that we can inline a function that returns 'this.x.length' [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-1229.js | 32 function foo1(x, y, z) { 38 function foo2(x, y, z) { 44 function foo3(x, y, z) { 56 function f1(y, z) { 60 function f2(y, z) { 64 function f3(y, z) { 68 // Check that %NewObjectFromBound looks at correct frame for inlined function. 69 function g1(z, y) { 73 function g2(z, y, x) { 77 function g3(z, y, x) [all...] |
| /external/webkit/LayoutTests/storage/domstorage/events/script-tests/ |
| basic-body-attribute.js | 3 function test(storageString, callback) 21 function step1() 30 function step2() 44 function step3() 64 function step4() 75 function step5() 86 function step6()
|
| basic-setattribute.js | 3 function test(storageString, callback) 21 function step1() 30 function step2() 44 function step3() 64 function step4() 75 function step5() 86 function step6()
|
| basic.js | 3 function test(storageString, callback) 20 function step1() 29 function step2() 43 function step3() 63 function step4() 74 function step5() 85 function step6()
|
| /external/webkit/LayoutTests/storage/ |
| execute-sql-args.js | 2 throwOnToStringObject.toString = function () { throw "Cannot call toString on this object." }; 5 throwOnGetLengthObject.__defineGetter__("length", function () { throw "Cannot get length of this object."; }); 8 throwOnGetZeroObject.__defineGetter__("0", function () { throw "Cannot get 0 property of this object."; }); 44 function tryExecuteSql(transaction, parameterList) 54 function runTransactionTest(transaction, parameterList, expectException) 70 function runTransactionTests(transaction) 81 function runTest()
|
| open-database-while-transaction-in-progress.js | 2 function openTestDatabase() 17 function runTest() 20 db1.transaction(function(tx) { 24 function(result) { 28 function(tx, error) { 35 }, function(error) { 37 }, function() {
|
| /external/webkit/Source/JavaScriptCore/profiler/ |
| Profiler.cpp | 48 static const char* AnonymousFunction = "(anonymous function)"; 115 static inline void dispatchFunctionToProfiles(ExecState* callerOrHandlerCallFrame, const Vector<RefPtr<ProfileGenerator> >& profiles, ProfileGenerator::ProfileFunction function, const CallIdentifier& callIdentifier, unsigned currentProfileTargetGroup) 119 (profiles[i].get()->*function)(callerOrHandlerCallFrame, callIdentifier); 123 void Profiler::willExecute(ExecState* callerCallFrame, JSValue function) 127 dispatchFunctionToProfiles(callerCallFrame, m_currentProfiles, &ProfileGenerator::willExecute, createCallIdentifier(callerCallFrame, function, "", 0), callerCallFrame->lexicalGlobalObject()->profileGroup()); 139 void Profiler::didExecute(ExecState* callerCallFrame, JSValue function) 143 dispatchFunctionToProfiles(callerCallFrame, m_currentProfiles, &ProfileGenerator::didExecute, createCallIdentifier(callerCallFrame, function, "", 0), callerCallFrame->lexicalGlobalObject()->profileGroup()); 167 JSFunction* function = asFunction(functionValue); local 168 if (!function->executable()->isHostFunction()) 169 return createCallIdentifierFromFunctionImp(exec, function); [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
| 11.10-1.js | 53 function test() { 66 function getTestCases() { 88 function ToInteger( n ) { 100 function ToInt32( n ) { 113 function ToUint32( n ) { 130 function ToUint16( n ) { 145 function Mask( b, n ) { 151 function ToUint32BitString( n ) { 163 function ToInt32BitString( n ) { 180 function ToInt32Decimal( bin ) [all...] |
| 11.10-2.js | 53 function test() { 66 function getTestCases() { 87 function ToInteger( n ) { 99 function ToInt32( n ) { 112 function ToUint32( n ) { 129 function ToUint16( n ) { 144 function Mask( b, n ) { 150 function ToUint32BitString( n ) { 162 function ToInt32BitString( n ) { 179 function ToInt32Decimal( bin ) [all...] |
| 11.10-3.js | 53 function test() { 66 function getTestCases() { 87 function ToInteger( n ) { 99 function ToInt32( n ) { 112 function ToUint32( n ) { 129 function ToUint16( n ) { 144 function Mask( b, n ) { 150 function ToUint32BitString( n ) { 162 function ToInt32BitString( n ) { 179 function ToInt32Decimal( bin ) [all...] |