| /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
| RewriteRuleTokenStream.js | 1 org.antlr.runtime.tree.RewriteRuleTokenStream = function(adaptor, elementDescription, el) { 9 nextNode: function() { 14 nextToken: function() { 21 toTree: function(el) { 25 dup: function(el) {
|
| BaseTree.js | 7 org.antlr.runtime.tree.BaseTree = function() {}; 12 getChild: function(i) { 22 getChildren: function() { 26 getFirstChildWithType: function(type) { 37 getChildCount: function() { 50 addChild: function(t) { 90 addChildren: function(kids) { 98 setChild: function(i, t) { 113 deleteChild: function(i) { 131 replaceChildren: function(startChildIndex, stopChildIndex, t) [all...] |
| TreeParser.js | 5 org.antlr.runtime.tree.TreeParser = function(input) { 10 (function(){ 19 reset: function() { 27 setTreeNodeStream: function(input) { 31 getTreeNodeStream: function() { 35 getSourceName: function() { 39 getCurrentInputSymbol: function(input) { 43 getMissingSymbol: function(input, e, expectedTokenType, follow) { 53 matchAny: function(ignore) { // ignore stream, copy of this.input 85 mismatch: function(input, ttype, follow) [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/benchmark/ |
| index.js | 12 .add('Working copy', function () { 16 .add('Upstream', function () { 20 .on('start', function () { 24 .on('cycle', function (event) { 28 .on('complete', function () {
|
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/ |
| jsdom_parser_test.js | 8 exports['State guard'] = function () { 10 getParsingUnit = function () { 13 parsing.done(function noop() { 20 assert.throws(function () { 27 assert.throws(function () { 34 exports['Reentrancy'] = function (done) { 48 .done(function (document1) { 56 .handleScripts(function () { 59 setTimeout(function () { 60 fragments.forEach(function (fragment) [all...] |
| /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| copy.pass.cpp | 12 // class function<R(ArgTypes...)> 14 // function(const function& f); 55 std::function<int(int)> f = A(); 60 std::function<int(int)> f2 = f; 69 std::function<int(int)> f = g; 73 std::function<int(int)> f2 = f; 80 std::function<int(int)> f; 84 std::function<int(int)> f2 = f; 90 std::function<int(int)> f [all...] |
| /external/v8/src/ic/ |
| call-optimization.cc | 13 CallOptimization::CallOptimization(Handle<JSFunction> function) { 14 Initialize(function); 76 void CallOptimization::Initialize(Handle<JSFunction> function) { 82 if (function.is_null() || !function->is_compiled()) return; 84 constant_function_ = function; 85 AnalyzePossibleApiFunction(function); 89 void CallOptimization::AnalyzePossibleApiFunction(Handle<JSFunction> function) { 90 if (!function->shared()->IsApiFunction()) return; 91 Handle<FunctionTemplateInfo> info(function->shared()->get_api_func_data()) [all...] |
| /external/v8/test/mjsunit/ |
| constant-fold-control-instructions.js | 7 function test() { 12 assertEquals("function", typeof function() {}); 30 assertFalse(%_IsArray(function() {})); 32 assertTrue(%_IsFunction(function() {}));
|
| debug-scopes.js | 45 function listener(event, exec_state, event_data, data) { 62 function BeginTest(name) { 72 function EndTest() { 80 function assertScopeMirrorEquals(scope1, scope2) { 87 function CheckFastAllScopes(scopes, exec_state) 101 function CheckScopeChain(scopes, exec_state) { 148 // that there is a function. 149 function CheckScopeContent(content, number, exec_state) { 155 if (typeof(content[p]) === 'function') { 212 function local_1() [all...] |
| debug-set-variable-value.js | 33 // Accepts a function/closure 'fun' that must have a debugger statement inside. 37 function RunPauseTest(scope_number, expected_old_result, variable_name, 46 function listener_delegate(exec_state) { 51 function listener(event, exec_state, event_data, data) { 81 // The test changes the value of variable via the handle to function and checks 83 function RunClosureTest(scope_number, expected_old_result, variable_name, 99 function ClosureTestCase(scope_index, old_result, variable_name, new_value, 110 ClosureTestCase.prototype.run_pause_test = function() { 113 this.run_and_catch_(function() { 119 ClosureTestCase.prototype.run_closure_test = function() { [all...] |
| /external/v8/test/mjsunit/harmony/ |
| proxies-example-membrane.js | 34 function createHandler(obj) { 36 getOwnPropertyDescriptor: function(name) { 41 getPropertyDescriptor: function(name) { 47 getOwnPropertyNames: function() { 50 getPropertyNames: function() { 54 defineProperty: function(name, desc) { 57 delete: function(name) { 60 fix: function() { 63 Object.getOwnPropertyNames(obj).forEach(function(name) { 71 has: function(name) { return name in obj; } [all...] |
| block-let-declaration.js | 57 // the code. Thus the generated function is not called here. 58 function TestLocalThrows(str, expect) { 59 assertThrows("(function(arg){ 'use strict'; " + str + "})", expect); 62 function TestLocalDoesNotThrow(str) { 63 assertDoesNotThrow("(function(arg){ 'use strict'; " + str + "})()"); 114 TestLocalThrows("{ function f() {} let f; }"); 115 TestLocalThrows("{ let f; function f() {} }"); 116 TestLocalThrows("{ function f() {} var f; }"); 117 TestLocalThrows("{ var f; function f() {} }"); 118 TestLocalThrows("{ function f() {} function f() {} }") [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/css-element-queries/test/ |
| mootools-core-full-nocompat.js | 9 - packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Element Core/Element.Style Core/Element.Event Core/Element.Delegation Core/Element.Dimensions Core/Fx Core/Fx.CSS Core/Fx.Tween Core/Fx.Morph Core/Fx.Transitions Core/Request Core/Request.HTML Core/Request.JSON Core/Cookie Core/JSON Core/DOMReady 36 (function(){ 45 var typeOf = this.typeOf = function(item){ 60 var instanceOf = this.instanceOf = function(item, object){ 73 // Function overloading 75 var Function = this.Function; 81 Function.prototype.overloadSetter = function(usePlural){ 83 return function(a, b) [all...] |
| /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
| BitSet.as | 49 public function BitSet(bits:Array = null) { 61 public static function of(... args):BitSet { 70 public function or(a:BitSet):BitSet { 80 public function add(el:int):void { 92 public function growToInclude(bit:int):void { 97 public function orInPlace(a:BitSet):void { 115 private function set size(nwords:int):void { 119 private static function bitMask(bitNumber:int):int { 124 public function clone():BitSet { 129 public function get size():int [all...] |
| TokenRewriteStream.as | 96 public function TokenRewriteStream(tokenSource:TokenSource = null, channel:int = TokenConstants.DEFAULT_CHANNEL) { 105 public function rollback(instructionIndex:int, programName:String = DEFAULT_PROGRAM_NAME):void { 113 public function deleteProgram(programName:String = DEFAULT_PROGRAM_NAME):void { 117 public function insertAfterToken(t:Token, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 121 public function insertAfter(index:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 126 public function insertBeforeToken(t:Token, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 130 public function insertBefore(index:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 137 public function replace(index:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 141 public function replaceRange(fromIndex:int, toIndex:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 151 public function replaceToken(indexT:Token, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void [all...] |
| /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
| Lexer.js | 6 org.antlr.runtime.Lexer = function(input, state) { 16 reset: function() { 37 nextToken: function() { 77 skip: function() { 82 setCharStream: function(input) { 88 getCharStream: function() { 92 getSourceName: function() { 110 emit: function() { 123 match: function(s) { 157 matchAny: function() { [all...] |
| /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
| rhino-python.prog | 3 function loadFile(fileName, encoding) { 34 function xlog(msg) { 38 function MyLexer() { 42 nextToken: function() { 49 MyLexer.prototype.emitErrorMessage = function(msg) {xlog(msg);} 50 PythonParser.prototype.emitErrorMessage = function(msg) {xlog(msg);} 54 function parse(text) {
|
| /external/chromium-trace/trace-viewer/tracing/third_party/css-element-queries/src/ |
| ResizeSensor.js | 7 (function() { 13 * @param {Function} callback 17 this.ResizeSensor = function(element, callback) { 22 function EventQueue() { 24 this.add = function(ev) { 29 this.call = function() { 41 function getComputedStyle(element, prop) { 54 * @param {Function} resized 56 function attachResizeEvent(element, resized) { 91 var reset = function() { [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/jsdom/ |
| parsing_unit.js | 3 var ParsingUnit = module.exports = function (parser) { 10 ParsingUnit.prototype._stateGuard = function (suspend) { 20 ParsingUnit.prototype.suspend = function () { 26 ParsingUnit.prototype.resume = function () { 37 ParsingUnit.prototype.documentWrite = function (html) { 43 ParsingUnit.prototype.handleScripts = function (scriptHandler) { 49 ParsingUnit.prototype.done = function (callback) {
|
| /external/v8/test/mjsunit/es6/debug-promises/ |
| throw-eventually-caught.js | 15 var p0 = new Promise(function(res, rej) { resolve = res; reject = rej; }); 17 var p1 = p0.then(function() { 21 var p2 = p1.then(function() { }); 22 var p3 = p2.catch(function() { }); 24 var q = new Promise(function(res, rej) { 28 q.then(function() { 33 function listener(event, exec_state, event_data, data) {
|
| /external/v8/test/perf-test/Collections/ |
| set.js | 18 function SetSetup() { 26 function SetTearDown() { 31 function SetAdd() { 37 function SetHas() { 51 function SetDelete() { 60 function SetForEach() { 61 set.forEach(function(v, k) {
|
| /external/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/ |
| HTMLImports.js | 12 (function() { 15 var WeakMap = function() { 19 set: function(key, value) { 27 get: function(key) { 31 "delete": function(key) { 37 has: function(key) { 51 (function(scope) { 55 var wrap = function(node) { 60 get: function() { 69 function whenReady(callback, doc) [all...] |
| webcomponents.min.js | 11 window.WebComponents=window.WebComponents||{},function(e){var t=e.flags||{},n="webcomponents.js",r=document.querySelector('script[src*="'+n+'"]');if(!t.noOpts){if(location.search.slice(1).split("&").forEach(function(e){e=e.split("="),e[0]&&(t[e[0]]=e[1]||!0)}),r)for(var o,i=0;o=r.attributes[i];i++)"src"!==o.name&&(t[o.name]=o.value||!0);if(t.log){var a=t.log.split(",");t.log={},a.forEach(function(e){t.log[e]=!0})}else t.log={}}t.shadow=t.shadow||t.shadowdom||t.polyfill,t.shadow="native"===t.shadow?!1:t.shadow||!HTMLElement.prototype.createShadowRoot,t.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=t.register),e.flags=t}(WebComponents),WebComponents.flags.shadow&&("undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),window.ShadowDOMPolyfill={},function(e){"use strict";function t(){if("undefined"!=typeof chrome&&chrome.app&&chrome.app.runtime)return! (…) [all...] |
| /external/v8/test/mjsunit/es6/ |
| unscopables.js | 12 function runTest(f) { 13 function restore(object, oldProto) { 22 function getObject(i) { 26 function() {}, 27 function() { 30 function() { 46 Function, 86 function TestArrayPrototypeUnscopables() { 120 function TestBasics(object) { 150 function TestUnscopableChain(object) [all...] |
| generators-debug-liveedit.js | 12 var Generator = (function*(){}).constructor; 14 function assertIteratorResult(value, done, result) { 18 function MakeGenerator() { 27 function MakeFunction() { 30 return Function('callback', 37 (function(){ 39 function callback() {}; 45 function patch(fun, from, to) { 46 function debug() { 62 (function(){ [all...] |