/external/doclava/res/assets/templates/assets/ |
jquery-history.js | 6 (function($) { 11 getDoc: function() { 14 getHash: function() { 17 setHash: function(hash) { 25 var historycheck = function() { 39 add: function(hash) { 53 getCurrent: function() { 62 $.fn.history = function(fn) { 66 $.fn.historyadd = function(fn) { 70 $(function() { [all...] |
/external/skia/tools/lua/ |
dumpops.lua | 0 function tostr(t) 21 function sk_scrape_startcanvas(c, fileName) end 23 function sk_scrape_endcanvas(c, fileName) end 25 function sk_scrape_accumulate(t) 33 function sk_scrape_summarize() end
|
/external/chromium_org/v8/test/webkit/ |
named-function-expression.js | 25 "Tests variable resolution rules for named function expressions." 28 function Call(lambda) { return lambda(); } 30 debug("anonymous function expression"); 31 shouldBe("var x = (function(a,b){ return a + b; }); x(1,2)", "3"); 33 debug("named function expression"); 34 shouldBe("var x = (function Named(a,b){ return a + b; }); x(2,3)", "5"); 37 shouldBe("var z = 6; var x = eval('(function(a,b){ return a + b + z; })'); x(3,4)", "13"); 40 shouldBe("var z = 10; var x = eval('(function Named(a,b){ return (!!Named) ? (a + b + z) : -999; })'); x(4,5)", "19"); 42 debug("named function expressions are not saved in the current context"); 43 shouldBe('(function Foo(){ return 1; }); try { Foo(); throw "FuncExpr was stored"; } catch(e) { if(typeof(e)=="string" (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
ScriptSnippetModel.js | 37 WebInspector.ScriptSnippetModel = function(workspace) 61 targetAdded: function(target) 69 targetRemoved: function(target) 78 snippetScriptMapping: function(target) { 85 addScript: function(script) 94 createSnippetScriptMapping: function(target) 102 project: function() 107 _loadSnippets: function() 118 createScriptSnippet: function(content) 129 _addScriptSnippet: function(snippet [all...] |
DOMModel.js | 40 WebInspector.DOMNode = function(domModel, doc, isInShadowTree, payload) { 142 domModel: function() 150 children: function() 158 hasAttributes: function() 166 childNodeCount: function() 174 hasShadowRoots: function() 182 shadowRoots: function() 190 templateContent: function() 198 importedDocument: function() 206 nodeType: function() [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
iteration-syntax.js | 34 function f() { for (x of y) { } } 35 function f() { for (var x of y) { } } 36 function f() { for (let x of y) { } } 38 assertThrows("function f() { for (x of) { } }", SyntaxError); 39 assertThrows("function f() { for (x of y z) { } }", SyntaxError); 40 assertThrows("function f() { for (x of y;) { } }", SyntaxError); 42 assertThrows("function f() { for (var x of) { } }", SyntaxError); 43 assertThrows("function f() { for (var x of y z) { } }", SyntaxError); 44 assertThrows("function f() { for (var x of y;) { } }", SyntaxError); 46 assertThrows("function f() { for (let x of) { } }", SyntaxError) [all...] |
block-const-assign.js | 36 // Function local const. 37 function constDecl0(use) { 38 return "(function() { const constvar = 1; " + use + "; });"; 42 function constDecl1(use) { 43 return "(function() { " + use + "; const constvar = 1; });"; 47 // Function local const, assign from eval. 48 function constDecl2(use) { 49 use = "eval('(function() { " + use + " })')"; 50 return "(function() { const constvar = 1; " + use + "; })();"; 54 function constDecl3(use) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
Drawer.js | 35 WebInspector.Drawer = function(splitView) 73 toggleButtonElement: function() 81 closeView: function(id) 90 showView: function(id, immediate) 108 showCloseableView: function(id, title, view) 120 showDrawer: function() 125 wasShown: function() 133 willHide: function() 142 _innerShow: function(immediate) 153 closeDrawer: function() [all...] |
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 12 // class function<R(ArgTypes...)> 43 // function 45 std::function<void (int)> r1(f_void_1); 51 // function pointer 54 std::function<void (int)> r1(fp); 63 std::function<void (int)> r1(a0); 69 // member function pointer 72 std::function<void (A_void_1)> r1(fp); 78 std::function<void (A_void_1*)> r2 = fp; 83 // const member function pointe [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 12 // class function<R(ArgTypes...)> 43 // function 45 std::function<void (int)> r1(f_void_1); 51 // function pointer 54 std::function<void (int)> r1(fp); 63 std::function<void (int)> r1(a0); 69 // member function pointer 72 std::function<void (A_void_1)> r1(fp); 78 std::function<void (A_void_1*)> r2 = fp; 83 // const member function pointe [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
BaseTreeAdaptor.js | 2 org.antlr.runtime.tree.BaseTreeAdaptor = function() { 5 org.antlr.runtime.tree.TreeAdaptor = function() {}; 10 nil: function() { 22 errorNode: function(input, start, stop, e) { 27 isNil: function(tree) { 35 dupTree: function(t, parent) { 63 addChild: function(t, child) { 95 becomeRoot: function(newRoot, oldRoot) { 123 rulePostProcessing: function(root) { 139 create: function(tokenType, fromToken) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
TextRange.js | 38 WebInspector.TextRange = function(startLine, startColumn, endLine, endColumn) 51 WebInspector.TextRange.createFromLocation = function(line, column) 60 WebInspector.TextRange.fromObject = function(serializedTextRange) 70 WebInspector.TextRange.comparator = function(range1, range2) 79 isEmpty: function() 88 immediatelyPrecedes: function(range) 99 immediatelyFollows: function(range) 110 follows: function(range) 127 collapseToEnd: function() 135 collapseToStart: function() [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/ |
ExtensionPanel.js | 38 WebInspector.ExtensionPanel = function(id, pageURL) 57 defaultFocusedElement: function() 65 addStatusBarItem: function(element) 71 searchCanceled: function() 80 searchableView: function() 90 performSearch: function(query, shouldJump, jumpBackwards) 95 jumpToNextSearchResult: function() 100 jumpToPreviousSearchResult: function() 115 WebInspector.ExtensionButton = function(id, iconURL, tooltip, disabled) 130 update: function(iconURL, tooltip, disabled [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
Dialog.js | 36 WebInspector.Dialog = function(relativeToElement, delegate) 65 WebInspector.Dialog.currentInstance = function() 74 WebInspector.Dialog.show = function(relativeToElement, delegate) 81 WebInspector.Dialog.hide = function() 89 _hide: function() 101 _onGlassPaneFocus: function(event) 109 _onGlassPaneKeyDown: function(event) 116 _onFocus: function(event) 121 _position: function() 126 _onKeyDown: function(event [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/ |
example.js | 5 function moduleDidLoad() { 9 function $(id) { 14 function domContentLoaded(name, tc, config, width, height) { 16 function(bytes) { 22 function(e) { alert('Failed to allocate space') }); 26 function attachListeners() { 32 // Wire up the 'click' event for each function's button. 33 var functionEls = document.querySelectorAll('.function'); 39 // The function name matches the element id. 48 function() { $('pipe_output').value = ''; } [all...] |
/external/chromium_org/v8/test/webkit/resources/ |
JSON-stringify.js | 25 function createTests() { 39 arrayWithSideEffectGetter.__defineGetter__("b", function(){this.foo=1;}); 41 arrayWithSideEffectGetterAndProto.__defineGetter__("b", function(){this.foo=1;}); 44 result.push(function(jsonObject){ 47 result.push(function(jsonObject){ 50 result.push(function(jsonObject){ 53 result.push(function(jsonObject){ 56 result.push(function(jsonObject){ 59 result.push(function(jsonObject){ 62 result.push(function(jsonObject) [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
bootstrap-collapse.js | 21 !function ($) { 29 var Collapse = function (element, options) { 44 , dimension: function () { 49 , show: function () { 73 , hide: function () { 82 , reset: function (size) { 95 , transition: function (method, startEvent, completeEvent) { 97 , complete = function () { 116 , toggle: function () { 126 $.fn.collapse = function (option) [all...] |
/external/chromium_org/third_party/flot/ |
jquery.flot.resize.min.js | 19 */(function(e,t,n){function c(){s=t[o](function(){r.each(function(){var t=e(this),n=t.width(),r=t.height(),i=e.data(this,a);(n!==i.w||r!==i.h)&&t.trigger(u,[i.w=n,i.h=r])}),c()},i[f])}var r=e([]),i=e.resize=e.extend(e.resize,{}),s,o="setTimeout",u="resize",a=u+"-special-event",f="delay",l="throttleWindow";i[f]=250,i[l]=!0,e.event.special[u]={setup:function(){if(!i[l]&&this[o])return!1;var t=e(this);r=r.add(t),e.data(this,a,{w:t.width(),h:t.height()}),r.length===1&&c()},teardown:function(){if(!i[l]&&this[o])return!1;var t=e(this);r=r.not(t),t.removeData(a),r.length||clearTimeout(s)},add:function(t){function s(t,i,s){var o=e(this),u=e.data(this,a);u.w=i!==n?i:o.width(),u.h=s!==n?s:o.height(),r.apply(this,arguments)}if(!i[l]&&this[o])return!1;var r;if(e.isFunction(t))return r=t,s;r=t.handler,t.handler=s}}})(jQuery,this),function(e){function n(e){function t(){var t=e.getPlaceholder();if(t.width()==0||t.height()==0)return;e.resize(),e.setu (…) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
context-calls-maintained.js | 30 function clear_all_ics() { 41 (function() { 42 foo = function(arg) { return arg + 1; } 44 function f() { foo(1); } 50 assertThrows(function() { f(); }, ReferenceError); 51 foo = function(arg) { return arg * 2; } 52 assertDoesNotThrow(function() { f(); }); 55 assertThrows(function() { f(); }, ReferenceError); 57 foo = function(arg) { return arg * 3; } 62 assertThrows(function() { f(); }, ReferenceError) [all...] |
/external/chromium_org/third_party/skia/experimental/webtry/res/js/ |
polyfill.js | 2 "undefined"==typeof WeakMap&&!function(){var a=Object.defineProperty,b=Date.now()%1e9,c=function(){this.name="__st"+(1e9*Math.random()>>>0)+(b++ +"__")};c.prototype={set:function(b,c){var d=b[this.name];d&&d[0]===b?d[1]=c:a(b,this.name,{value:[b,c],writable:!0})},get:function(a){var b;return(b=a[this.name])&&b[0]===a?b[1]:void 0},"delete":function(a){this.set(a,void 0)}},window.WeakMap=c}(),"undefined"==typeof document||"classList"in document.createElement("a")||!function(a){"use strict";if("HTMLElement"in a||"Element"in a){var b="classList",c="prototype",d=(a.HTMLElement||a.Element)[c],e=Object,f=String[c].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[c].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1},h=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},i=function(a,b){if(""===b)throw new h("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test (…) [all...] |
/external/skia/experimental/webtry/res/js/ |
polyfill.js | 2 "undefined"==typeof WeakMap&&!function(){var a=Object.defineProperty,b=Date.now()%1e9,c=function(){this.name="__st"+(1e9*Math.random()>>>0)+(b++ +"__")};c.prototype={set:function(b,c){var d=b[this.name];d&&d[0]===b?d[1]=c:a(b,this.name,{value:[b,c],writable:!0})},get:function(a){var b;return(b=a[this.name])&&b[0]===a?b[1]:void 0},"delete":function(a){this.set(a,void 0)}},window.WeakMap=c}(),"undefined"==typeof document||"classList"in document.createElement("a")||!function(a){"use strict";if("HTMLElement"in a||"Element"in a){var b="classList",c="prototype",d=(a.HTMLElement||a.Element)[c],e=Object,f=String[c].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[c].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1},h=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},i=function(a,b){if(""===b)throw new h("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test (…) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/interface/ |
mathjax_interface.js | 16 cvox.MathJaxInterface = function() { }; 21 * @param {function(boolean)} callback A function with the active status as 24 cvox.MathJaxInterface.prototype.isMathjaxActive = function(callback) { }; 30 * @param {function(Node, string)} callback A function taking a node and an id 33 cvox.MathJaxInterface.prototype.getAllJax = function(callback) { }; 37 * Registers a persistent callback function to be executed by Mathjax on the 39 * @param {function(Node, string)} callback A function taking a node and an i [all...] |
/external/chromium_org/chrome/test/chromedriver/extension/ |
background.js | 9 * @param {function(!Error)} errCallback The callback to invoke for error 12 function checkForExtensionError(errCallback) { 23 * @param {function(string)} callback The callback to invoke with the base64 25 * @param {function(!Error)} errCallback The callback to invoke for error 28 function captureScreenshot(callback, errCallback) { 29 chrome.tabs.captureVisibleTab({format:'png'}, function(dataUrl) { 46 * @param {function(*)} callback The callback to invoke with the window info. 47 * @param {function(!Error)} errCallback The callback to invoke for error 50 function getWindowInfo(callback, errCallback) { 51 chrome.windows.getCurrent({populate: true}, function(window) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InjectedScriptCanvasModule.cpp | 76 ScriptFunctionCall function(injectedScriptObject(), functionName); 77 function.appendArgument(context); 79 ScriptValue resultValue = callFunctionWithEvalEnabled(function, hadException); 89 ScriptFunctionCall function(injectedScriptObject(), "markFrameEnd"); 91 makeCall(function, &resultValue); 107 ScriptFunctionCall function(injectedScriptObject(), functionName); 109 makeCall(function, &resultValue); 126 ScriptFunctionCall function(injectedScriptObject(), functionName); 127 function.appendArgument(traceLogId); 129 callFunctionWithEvalEnabled(function, hadException) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/ |
manager.js | 10 function Timer() { 13 this.elapsed = function() { 17 this.reset = function() { 24 function cookieMatch(c1, c2) { 32 function sortedKeys(array) { 42 function select(selector) { 48 function CookieCache() { 51 this.reset = function() { 55 this.add = function(cookie) { 63 this.remove = function(cookie) [all...] |