| /external/v8/src/ |
| runtime-profiler.h | 30 void AttemptOnStackReplacement(JSFunction* function, int nesting_levels = 1); 33 void Optimize(JSFunction* function, const char* reason);
|
| /external/v8/test/mjsunit/regress/ |
| regress-365172-3.js | 7 function f1(a) { return {x:a, v:''}; } 8 function f2(a) { return {x:{v:a}, v:''}; } 9 function f3(a) { return {x:[], v:{v:''}}; } 12 a.__defineGetter__('v', function() { gc(); return f2(this); });
|
| regress-builtinbust-7.js | 6 function overflow() { 10 assertDoesNotThrow(function() { Intl.Collator.supportedLocalesOf("en"); }); 21 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", options); }); 24 assertDoesNotThrow(function() { 29 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", undefined); }); 30 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE"); }); 31 assertThrows(function() { date.toLocaleDateString("de-DE", null); }, TypeError);
|
| regress-362128.js | 6 function genM() { 8 return function () { 13 function genR() { 26 var foo = (function () { 27 return function suspect (name) {
|
| /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/ |
| sample.js | 17 (function () { 23 window.onload = function () { 33 toggle.addEventListener('click', function () { 36 navigator.getUserMedia({ video: true }, function (s) { 41 }, function (error) {
|
| /developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/ |
| sample.js | 17 (function () { 23 window.onload = function () { 33 toggle.addEventListener('click', function () { 36 navigator.getUserMedia({ video: true }, function (s) { 41 }, function (error) {
|
| /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
| CommonTokenStream.as | 65 public function CommonTokenStream(tokenSource:TokenSource = null, channel:int = TokenConstants.DEFAULT_CHANNEL) { 71 public function set tokenSource(tokenSource:TokenSource):void { 82 protected function fillBuffer():void { 120 public function consume():void { 130 protected function skipOffTokenChannels(i:int):int { 138 protected function skipOffTokenChannelsReverse(i:int):int { 151 public function setTokenTypeChannel(ttype:int, channel:int):void { 158 public function discardTokenType(ttype:int):void { 165 public function discardOffChannelTokens(discardOffChannelTokens:Boolean):void { 169 public function getTokens():Array [all...] |
| /build/tools/droiddoc/templates-pdk/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/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
| RewriteRuleElementStream.as | 72 public function RewriteRuleElementStream(adaptor:TreeAdaptor, elementDescription:String, element:Object = null) { 92 public function reset():void { 97 public function add(el:Object):void { 122 public function nextTree():Object { 141 protected function _next():Object { 169 protected function dup(el:Object):Object { 176 protected function toTree(el:Object):Object { 180 public function get hasNext():Boolean { 185 public function get size():int { 196 public function get description():String [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/bench/ |
| bootstrap.js | 2 * Before the second !function -- nd */ 24 !function ($) { 26 $(function () { 34 $.support.transition = (function () { 36 var transitionEnd = (function () { 85 !function ($) { 94 , Alert = function (el) { 98 Alert.prototype.close = function (e) { 120 function removeElement() { 135 $.fn.alert = function (option) [all...] |
| /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/v8/test/mjsunit/es6/ |
| math-clz32.js | 8 function(x) { 13 function testclz(x) { 22 function f(e) { 27 assertEquals(testclz(x), Math.clz32({ valueOf: function() { return x; } })); 29 Math.clz32({ toString: function() { return -x; } }));
|
| 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...] |
| /external/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/libcxx/test/std/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-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/ |
| webcomponents-lite.min.js | 11 window.WebComponents=window.WebComponents||{},function(e){var t=e.flags||{},n="webcomponents.js",o=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)}),o)for(var r,i=0;r=o.attributes[i];i++)"src"!==r.name&&(t[r.name]=r.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),function(e){function t(e){_.push(e),w||(w=!0,h(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){w=!1;var e=_;_=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.remove (…) [all...] |
| /external/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/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/v8/test/mjsunit/harmony/ |
| 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/llvm/bindings/ocaml/transforms/scalar_opts/ |
| llvm_scalar_opts.mli | 15 (** See the [llvm::createAggressiveDCEPass] function. *) 20 (** See the [llvm::createAlignmentFromAssumptionsPass] function. *) 25 (** See the [llvm::createCFGSimplificationPass] function. *) 30 (** See [llvm::createDeadStoreEliminationPass] function. *) 35 (** See [llvm::createScalarizerPass] function. *) 40 (** See [llvm::createMergedLoadStoreMotionPass] function. *) 45 (** See the [llvm::createGVNPass] function. *) 50 (** See the [llvm::createIndVarSimplifyPass] function. *) 55 (** See the [llvm::createInstructionCombiningPass] function. *) 60 (** See the [llvm::createJumpThreadingPass] function. * [all...] |
| /external/llvm/bindings/ocaml/transforms/passmgr_builder/ |
| llvm_passmgr_builder.mli | 17 (** See the [llvm::PassManagerBuilder] function. *) 21 (** See the [llvm::PassManagerBuilder::OptLevel] function. *) 25 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *) 29 (** See the [llvm::PassManagerBuilder::DisableUnitAtATime] function. *) 33 (** See the [llvm::PassManagerBuilder::DisableUnrollLoops] function. *) 37 (** See the [llvm::PassManagerBuilder::Inliner] function. *) 41 (** See the [llvm::PassManagerBuilder::populateFunctionPassManager] function. *) 43 : [ `Function ] Llvm.PassManager.t -> t -> unit 46 (** See the [llvm::PassManagerBuilder::populateModulePassManager] function. *) 51 (** See the [llvm::PassManagerBuilder::populateLTOPassManager] function. * [all...] |