| /external/v8/test/webkit/ |
| dfg-inline-arguments-use-from-getter.js | 25 "This tests that inlining preserves basic function.arguments functionality when said functionality is used from a getter." 28 function foo(o,b,c) { 33 o.__defineGetter__("f", function(){ return foo.arguments; }); 35 function bar(o,b,c) { 39 function argsToStr(args) {
|
| dfg-inline-arguments-use-from-uninlined-code.js | 25 "This tests that inlining preserves basic function.arguments functionality when said functionality is used from outside of the code where inlining actually happened." 28 function foo() { 32 function fuzz() { 36 function bar(a,b,c) { 40 function baz(a,b,c) {
|
| dfg-inline-unused-this.js | 25 "This tests that inlining a function that does not use this does not result in this being lost entirely." 28 function foo(a, b) { 32 function bar(a, b) { 36 function baz(o, a, b) { 49 // a failure while the function is still live.
|
| dfg-patchable-get-by-id-after-watchpoint.js | 28 function foo(o, p) { 35 function O() { 38 O.prototype.f = function(x) { return x + 1; }; 42 function P1() { 47 function P2() {
|
| eval-and-with.js | 30 function freeVarInsideEvalAndWith(o, str) 34 return function () { return eval(str); } 41 shouldBeTrue('freeVarInsideEvalAndWith({}, "var x = 10; (function (){return x;})")()() == 10') 43 function localVarInsideEvalAndWith(o, str) 54 shouldBeTrue('localVarInsideEvalAndWith({}, "var x = 10; (function (){return x;})")() == 10')
|
| eval-throw-return.js | 24 description('This test verifies the result returned by the eval function when exceptions are thrown and caught whithin the contents of the evaluated string.'); 26 function throwFunc() { 30 function throwOnReturn(){ 35 function twoFunc() { 45 shouldBe('eval("function blah() { 1; }\\n blah();")', "undefined");
|
| exception-try-finally-scope-error.js | 26 function gc() 36 function runTest() { 39 (function () { try { throw ""; } finally { result = test; shouldBe("result", '"inner scope"'); return;}})() 44 (function() { 48 throw (function(){});
|
| ignored-result-ref-crash.js | 28 function emptyStatementDoWhileTest() 38 function debuggerDoWhileTest() 48 function continueDoWhileTest() 63 function breakDoWhileTest() 78 function tryDoWhileTest()
|
| toString-for-var-decl.js | 28 function f1() { for (var j = 1 in []) {} } 29 var f2 = function () { for (var j = 1; j < 10; ++j) {} } 30 var f3 = function () { for (j = 1;j < 10; ++j) {} } 31 var f4 = function () { for (var j;;) {} } 33 var unevalf = function(x) { return '(' + x.toString() + ')'; }
|
| /external/v8/test/webkit/fast/js/ |
| Promise-resolve-state.js | 29 var promise = new Promise(function(r) { resolve = r; }); 32 promise.then(function(result) { 35 }, function(result) { 46 promise.then(function() { 50 }, function() {
|
| Promise-static-cast.js | 32 var value = new Promise(function (r) { resolve = r;} ); 38 promise.then(function(res) { 42 return Promise.resolve(42).then(function (res) { 46 }).then(function () { 49 }, function() {
|
| object-prototype-constructor.js | 28 var Foo = { Bar: function () {}}; 31 shouldBe("typeof f.constructor", '"function"'); 33 function F() {}; 37 shouldBe("typeof f2.constructor", '"function"'); 39 var Foo3 = { Bar: new Function("")}; 42 shouldBe("typeof f3.constructor", '"function"');
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
| function.h | 1 /* Structure for saving state for a nested function. 44 /* This is reset to LAST_VIRTUAL_REGISTER + 1 at the start of each function. 48 /* Lowest label number in current function. */ 51 /* The ends of the doubly-linked chain of rtl for the current function. 52 Both are reset to null at the start of rtl generation for the function. 66 Reset to 1 for each function compiled. */ 75 the total number of registers in the function is not yet known, the 104 These are the arguments to function calls that have already returned. */ 108 pushed for function calls. A naive implementation would simply pop 110 function calls are made in a row, it is typically cheaper to po [all...] |
| /external/v8/src/ |
| string.js | 11 function StringConstructor(x) { 23 function StringToString() { 32 function StringValueOf() { 41 function StringCharAt(pos) { 53 function StringCharCodeAt(pos) { 65 function StringConcat(other /* and more */) { // length == 1 84 function StringIndexOfJS(pattern /* position */) { // length == 1 101 function StringLastIndexOfJS(pat /* position */) { // length == 1 130 // This function is implementation specific. For now, we do not 132 function StringLocaleCompareJS(other) [all...] |
| accessors.cc | 203 // The helper function will 'flatten' Number objects. 851 // Find the name of the function calling eval. 886 Handle<JSFunction> function) { 887 if (!function->has_prototype()) { 888 Handle<Object> proto = isolate->factory()->NewFunctionPrototype(function); 889 JSFunction::SetPrototype(function, proto); 891 return Handle<Object>(function->prototype(), isolate); 896 Handle<JSFunction> function, 899 bool is_observed = function->map()->is_observed(); 901 if (function->has_prototype() 937 Handle<JSFunction> function = local 980 Handle<JSFunction> function = local 1030 Handle<JSFunction> function = local 1167 Handle<JSFunction> function = local 1310 Handle<JSFunction> function = local [all...] |
| regexp.js | 16 function DoConstructRegExp(object, pattern, flags) { 71 // Call internal function to compile the pattern. 76 function RegExpConstructor(pattern, flags) { 80 // RegExp : Called as function; see ECMA-262, section 15.10.3.1. 92 function RegExpCompileJS(pattern, flags) { 113 function DoRegExpExec(regexp, string, index) { 146 function RegExpExecNoTests(regexp, string, start) { 158 function RegExpExec(string) { 206 function RegExpTest(string) { 256 function TrimRegExp(regexp) [all...] |
| /build/tools/droiddoc/templates-pdk/assets/ |
| android-developer-reference.js | 10 function toggleApiLevelSelector(checkbox) { 26 function buildApiLevelSelector() { 58 function changeApiLevel() { 87 function toggleVisisbleApis(selectedLevel, context) { 89 apis.each(function(i) { 117 function new_node(me, mom, text, link, children_data, api_level) 143 node.expand_toggle.onclick = function() { 183 node.get_children_ul = function() { 196 function expand_node(me, node) 215 function get_node(me, mom [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/ |
| open_element_stack_test.js | 10 TestUtils.generateTestsForEachTreeAdapter(module.exports, function (_test, treeAdapter) { 11 _test['Push element'] = function () { 31 _test['Pop element'] = function () { 48 _test['Replace element'] = function () { 61 _test['Insert element after element'] = function () { 79 _test['Pop elements until popped with given tagName'] = function () { 100 _test['Pop elements until given element popped'] = function () { 121 _test['Pop elements until numbered header popped'] = function () { 142 _test['Pop all up to <html> element'] = function () { 154 _test['Clear back to a table context'] = function () { [all...] |
| /external/doclava/res/assets/templates/assets/ |
| doclava-developer-reference.js | 11 function toggleApiLevelSelector(checkbox) { 27 function buildApiLevelSelector() { 53 function changeApiLevel() { 82 function toggleVisisbleApis(selectedLevel, context) { 84 apis.each(function(i) { 98 function new_node(me, mom, text, link, children_data, api_level) 124 node.expand_toggle.onclick = function() { 164 node.get_children_ul = function() { 177 function expand_node(me, node) 196 function get_node(me, mom [all...] |
| /external/zlib/src/contrib/delphi/ |
| ZLib.pas | 19 TAlloc = function (AppData: Pointer; Items, Size: Integer): Pointer; cdecl; 87 function GetCompressionRate: Single; 91 function Read(var Buffer; Count: Longint): Longint; override; 92 function Write(const Buffer; Count: Longint): Longint; override; 93 function Seek(Offset: Longint; Origin: Word): Longint; override; 120 function Read(var Buffer; Count: Longint): Longint; override; 121 function Write(const Buffer; Count: Longint): Longint; override; 122 function Seek(Offset: Longint; Origin: Word): Longint; override; 218 function _malloc(Size: Integer): Pointer; cdecl; 241 function deflateInit_(var strm: TZStreamRec; level: Integer; version: PChar [all...] |
| /external/eigen/doc/ |
| eigen_navtree_hacks.js | 3 function generate_autotoc() { 16 headers.each(function(i) { 53 function getNode(o, po) 65 function resizeHeight() 78 function initNavTree(toroot,relpath) 88 o.node.getChildrenUL = function() { return o.node.childrenUL; }; 107 navSync.click(function(){ toggleSyncButton(relpath); }); 112 $(window).bind('hashchange', function(){ 138 function checkChildrenData(node) { 153 function createIndent(o,domNode,node,level [all...] |
| /cts/suite/cts/deviceTests/browserbench/assets/octane/ |
| richards.js | 47 function runRichards() { 99 function Scheduler() { 126 Scheduler.prototype.addIdleTask = function (id, priority, queue, count) { 136 Scheduler.prototype.addWorkerTask = function (id, priority, queue) { 146 Scheduler.prototype.addHandlerTask = function (id, priority, queue) { 156 Scheduler.prototype.addDeviceTask = function (id, priority, queue) { 167 Scheduler.prototype.addRunningTask = function (id, priority, queue, task) { 179 Scheduler.prototype.addTask = function (id, priority, queue, task) { 188 Scheduler.prototype.schedule = function () { 204 Scheduler.prototype.release = function (id) [all...] |
| /external/v8/benchmarks/ |
| richards.js | 47 function runRichards() { 99 function Scheduler() { 126 Scheduler.prototype.addIdleTask = function (id, priority, queue, count) { 136 Scheduler.prototype.addWorkerTask = function (id, priority, queue) { 146 Scheduler.prototype.addHandlerTask = function (id, priority, queue) { 156 Scheduler.prototype.addDeviceTask = function (id, priority, queue) { 167 Scheduler.prototype.addRunningTask = function (id, priority, queue, task) { 179 Scheduler.prototype.addTask = function (id, priority, queue, task) { 188 Scheduler.prototype.schedule = function () { 204 Scheduler.prototype.release = function (id) [all...] |
| /external/v8/test/mjsunit/es7/ |
| object-observe.js | 32 function reset() { 33 allObservers.forEach(function(observer) { observer.reset(); }); 36 function stringifyNoThrow(arg) { 44 function createObserver() { 50 reset: function() { 54 assertNotCalled: function() { 58 assertCalled: function() { 61 assertRecordCount: function(count) { 65 assertCallbackRecords: function(recs) { 77 observer.callback = function(r) [all...] |
| /external/v8/test/mjsunit/ |
| array-functions-prototype-misc.js | 44 function PseudoArray() { 60 new_function = function(length) { 64 push_function = function(array, elt) { 67 concat_function = function(array, other) { 70 slice_function = function(array, start, len) { 73 splice_function = function(array, start, len) { 76 splice_function_2 = function(array, start, len, elt) { 79 unshift_function = function(array, elt) { 82 unshift_function_2 = function(array, elt1, elt2) { 85 shift_function = function(array) [all...] |