| /external/v8/test/mjsunit/ |
| const-eval-init.js | 35 function testIntroduceGlobal() { 49 function testAssignExistingGlobal() { 63 function testAssignmentArgument(x) { 64 function local() { 79 __defineSetter__('x', function() { throw 42; }); 80 function testAssignGlobalThrows() { 89 function testInitFastCaseExtension() { 96 function testInitSlowCaseExtension() { 107 function testAssignSurroundingContextSlot() { 109 function local() [all...] |
| debug-step-stub-callfunction.js | 34 function listener(event, exec_state, event_data, data) { 49 function f() { 59 // Use an inner function to ensure that the function call is through CodeStub 62 function g() { 63 function h() {} 73 // Use an inner function to ensure that the function call is through CodeStub 75 function testCallInExpreesion() { 76 function h() { [all...] |
| function-prototype.js | 28 // Test that we can set function prototypes to non-object values. The 31 function TestNonObjectPrototype(value) { 32 function F() {}; 45 function F() {}; 62 function GetPrototypeOf(f) { 66 // Seed the GetPrototypeOf function to enable the fast case 73 function NoPrototypeYet() { } 77 function NonObjectPrototype() { } 81 function NoInitialMap() { } 88 // Check that getting the prototype of a non-function works. This mus [all...] |
| simple-constructor.js | 28 function props(x) { 34 function f1() { 38 function f2(x) { 42 function f3(x) { 48 function f4(x) { 82 function f5(x, y) { 87 function f6(x, y) { 92 function f7(x, y, z) { 97 function testArgs(fun) { 125 function g() [all...] |
| stack-traces-2.js | 33 var thrower = { valueOf: function() { FAIL; }, 34 toString: function() { FAIL; } }; 36 // Tests that a native constructor function is included in the 38 function testTraceNativeConstructor(nativeFunc) { 48 // Tests that a native conversion function is included in the 50 function testTraceNativeConversion(nativeFunc) { 61 function testNotOmittedBuiltin(throwing, included) { 82 testNotOmittedBuiltin(function(){ [thrower, 2].sort(function (a,b) { 87 testNotOmittedBuiltin(function(){ thrower + 2; }, "ADD") [all...] |
| debug-stepout-scope.js | 35 function listener(event, exec_state, event_data, data) { 56 function test1() { 65 function test2() { 79 function test3() { 91 function test4() { 98 function test5() { 111 function test6() { 122 function test7() { 124 function foo() {} 129 function test8() [all...] |
| object-create.js | 59 var protoFoo = { foo: function() { ctr++; }}; 60 var fooValue = { foo: { writable: true, value: function() { ctr2++; }}}; 61 var fooGetter = { foo: { get: function() { return ctr3++; }}}; 62 var fooSetter = { foo: { set: function() { return ctr4++; }}}; 63 var fooAmbiguous = { foo: { get: function() { return ctr3++; }, 66 function valueGet() { ctr5++; return 3 }; 67 function getterGet() { ctr5++; return function() { return ctr6++; }; }; 77 // Add a property foo that returns a function. 101 // Add a setter foo that runs a function [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-1713.js | 36 function Allocate4Kb(N) { 42 function AllocateXMb(X) { 46 function Node(v, next) { this.v = v; this.next = next; } 48 Node.prototype.execute = function (O) { 54 function LongList(N, x) { 59 var L = LongList(1024, function (O) { 65 function Incremental(O, x) { 69 function CreateCode(i) { 70 var f = new Function("return O.f_" + i); 98 function foo(O, x) [all...] |
| regress-1790.js | 32 function CheckSequence(builtin, callback) { 35 var callback_wrapper = function() { 42 get: function () { delete array[1]; }, 52 CheckSequence(Array.prototype.every, function() { return true; }); 53 CheckSequence(Array.prototype.filter, function() { return true; }); 54 CheckSequence(Array.prototype.forEach, function() { return 0; }); 55 CheckSequence(Array.prototype.map, function() { return 0; }); 56 CheckSequence(Array.prototype.reduce, function() { return 0; }); 57 CheckSequence(Array.prototype.reduceRight, function() { return 0; }); 58 CheckSequence(Array.prototype.some, function() { return false; }) [all...] |
| /external/webkit/Source/JavaScriptCore/debugger/ |
| Debugger.cpp | 70 JSFunction* function = asFunction(cell); 71 if (function->executable()->isHostFunction()) 74 FunctionExecutable* executable = function->jsExecutable(); 76 // Check if the function is already in the set - if so, 81 ExecState* exec = function->scope()->globalObject->JSGlobalObject::globalExec(); 83 if (m_debugger == function->scope()->globalObject->debugger())
|
| /external/webkit/Source/JavaScriptCore/runtime/ |
| FunctionConstructor.cpp | 57 constructData.native.function = constructWithFunctionConstructor; 67 // ECMA 15.3.1 The Function Constructor Called as a Function 70 callData.native.function = callFunctionConstructor; 74 // ECMA 15.3.2 The Function Constructor 82 program = "(function() { \n})"; 84 program = makeUString("(function() { ", args.at(0).toString(exec), "\n})"); 87 builder.append("(function("); 102 FunctionExecutable* function = FunctionExecutable::fromGlobalCode(functionName, exec, exec->dynamicGlobalObject()->debugger(), source, &exception); local 103 if (!function) { [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
| 15.3.4.3-1.js | 38 * SUMMARY: ECMA conformance of Function.prototype.apply 40 * Function.prototype.apply(thisArg, argArray) 47 var summary = 'Testing ECMA conformance of Function.prototype.apply'; 56 function F0(a) 61 function F1(a) 66 function F2() 74 * Function.prototype.apply.length should return 2 77 actual = Function.prototype.apply.length; 84 * called function must be passed the global object as |this| 94 * called function should be invoked with an empty argument lis [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_1/ |
| jsref.js | 27 function test() { 41 function TestCase( n, d, e, a ) { 52 function startTest() { 71 function getTestCaseResult( expect, actual ) { 108 function writeTestCaseResult( expect, actual, string ) { 113 function writeFormattedResult( expect, actual, string, passed ) { 130 function writeLineToLog( string ) { 133 function writeHeaderToLog( string ) { 136 function stopTest() { 164 function getFailedCases() [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/ |
| jsref.js | 26 function test() { 39 function TestCase( n, d, e, a ) { 50 function startTest() { 69 function getTestCaseResult( expect, actual ) { 106 function writeTestCaseResult( expect, actual, string ) { 111 function writeFormattedResult( expect, actual, string, passed ) { 128 function writeLineToLog( string ) { 131 function writeHeaderToLog( string ) { 134 function stopTest() { 163 function getFailedCases() [all...] |
| /external/webkit/Source/WebCore/inspector/front-end/ |
| AuditResultView.js | 31 WebInspector.AuditResultView = function(categoryResults) 36 function categorySorter(a, b) { 47 WebInspector.AuditCategoryResultPane = function(categoryResult) 57 function ruleSorter(a, b) 82 _appendResult: function(parentTreeElement, result)
|
| Section.js | 30 WebInspector.Section = function(title, subtitle) 147 expand: function() 160 collapse: function() 168 toggleExpanded: function() 173 handleClick: function(e)
|
| BottomUpProfileDataGridTree.js | 27 // The root node is a representation of each individual function called, and each child of that node represents 32 WebInspector.BottomUpProfileDataGridNode = function(/*ProfileView*/ profileView, /*ProfileNode*/ profileNode, /*BottomUpProfileDataGridTree*/ owningTree) 40 _takePropertiesFromProfileDataGridNode: function(/*ProfileDataGridNode*/ profileDataGridNode) 50 _keepOnlyChild: function(/*ProfileDataGridNode*/ child) 58 _exclude: function(aCallUID) 77 _restore: function() 85 _merge: function(/*ProfileDataGridNode*/ child, /*Boolean*/ shouldAbsorb) 92 _sharedPopulate: function() 137 _willHaveChildren: function(profileNode) 148 WebInspector.BottomUpProfileDataGridTree = function(/*ProfileView*/ aProfileView, /*ProfileNode*/ aProfileNode [all...] |
| /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
| Antlr.Runtime.Tools.pas | 59 function ToString: String; 70 function GetImplementor: TObject; 83 function GetImplementor: TObject; 93 function GetValue: String; 109 function GetValue: String; 114 function ToString: String; override; 124 function Clone: IANTLRInterface; 131 function GetCapacity: Integer; 133 function GetCount: Integer; 135 function GetItem(Index: Integer): T [all...] |
| /build/tools/droiddoc/templates-pdk/assets/ |
| jquery-resizable.min.js | 12 (function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={} (…) [all...] |
| android-developer-resource-browser.js | 0 (function() { // anonymize 9 $(document).ready(function() { 22 $('#resource-browser-keyword-filter').keyup(function() { 42 function resultMatchesKeyword(result, keyword) { 60 function loadTags() { 74 function loadResources() { 95 resource.topicsHtml = humanizeList(resource.topics, function(item) { 104 function showResults(params) { 123 taggedWithHtml.push(humanizeList(searchTags, function(item) { 174 * 'a, b and c', with an optional item formatter/wrapper function [all...] |
| /external/doclava/res/assets/templates/assets/ |
| jquery-resizable.min.js | 12 (function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={} (…) [all...] |
| /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
| access-nbody.js | 9 function Body(x,y,z,vx,vy,vz,mass){ 19 Body.prototype.offsetMomentum = function(px,py,pz) { 26 function Jupiter(){ 38 function Saturn(){ 50 function Uranus(){ 62 function Neptune(){ 74 function Sun(){ 79 function NBodySystem(bodies){ 95 NBodySystem.prototype.advance = function(dt){ 128 NBodySystem.prototype.energy = function(){ [all...] |
| /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
| access-nbody.js | 9 function Body(x,y,z,vx,vy,vz,mass){ 19 Body.prototype.offsetMomentum = function(px,py,pz) { 26 function Jupiter(){ 38 function Saturn(){ 50 function Uranus(){ 62 function Neptune(){ 74 function Sun(){ 79 function NBodySystem(bodies){ 95 NBodySystem.prototype.advance = function(dt){ 128 NBodySystem.prototype.energy = function(){ [all...] |
| /external/chromium/chrome/browser/resources/net_internals/ |
| tabswitcherview.js | 25 function TabSwitcherView(tabHandleDivId) { 36 TabSwitcherView.prototype.setGeometry = function(left, top, width, height) { 52 TabSwitcherView.prototype.show = function(isVisible) { 70 TabSwitcherView.prototype.addTab = function(id, contentView, switchOnClick) { 77 tab.getTabHandleNode().onclick = function() { 90 TabSwitcherView.prototype.findActiveTab = function() { 103 TabSwitcherView.prototype.findTabById = function(id) { 114 * passed to the tab's setParameters function, if it's non-null. 116 TabSwitcherView.prototype.switchToTab = function(id, params) { 132 TabSwitcherView.prototype.getAllTabIds = function() { [all...] |
| /external/chromium/chrome/browser/resources/shared/js/ |
| util.js | 19 function $(id) { 27 * @param {string} callbackName The name of the function that the backend calls. 28 * @param {!Function} The function to call. 30 function chromeSend(name, params, callbackName, callback) { 32 global[callbackName] = function() { 47 function url(s) { 66 function parseQueryParams(location) { 77 function findAncestorByClass(el, className) { 78 return findAncestor(el, function(el) [all...] |