| /external/llvm/test/MC/ARM/ |
| eh-directive-movsp-diagnostics.s | 8 .type false_start,%function 18 .type beyond_saving,%function 34 .type sp_invalid,%function 48 .type pc_invalid,%function 62 .type constant_required,%function 76 .type constant_constant,%function 92 .type register_required,%function
|
| /external/skia/tools/lua/ |
| glyph-usage.lua | 0 function tostr(t) 34 function sk_scrape_startcanvas(c, fileName) 41 function sk_scrape_endcanvas(c, fileName) 50 function round(x, mul) 57 function dump_array_as_C(array) 66 function make_strike_key(paint) 72 function array_union(array, other) 79 function bools_to_values(t) 88 function array_count(array) 96 function sk_scrape_accumulate(t [all...] |
| /external/v8/test/mjsunit/compiler/ |
| compare-map-elim2.js | 31 function test_empty() { 32 function foo(o) { 36 function Base() { 39 Base.prototype.__defineGetter__("value", function() { return 1; }); 45 Base.prototype.__defineGetter__("value", function() { return this.v_; }); 61 function test_narrow1() { 62 function foo(o) { 66 function Base() { 69 Base.prototype.__defineGetter__("value", function() { return 1; }); 75 Base.prototype.__defineGetter__("value", function() { return this.v_; }) [all...] |
| loopcount.js | 30 function f1() { var x = 0x3fffffff; x++; return x; } 34 function f2() { var x = -0x40000000; x--; return x; } 38 function f3(x) { x = x & 0x3fffffff; x++; return x; } 42 function f4() { 50 function f5() { 58 function f6() { var x = 0x3fffffff; x++; return x+1; } 62 function f7() { 71 function f8() { 80 function f9() { 89 function f10(x) [all...] |
| proto-chain-constant.js | 30 // Test loading a constant function on the prototype chain. 33 var obj4 = c(null, { f4: { value: function() { return 4; }, writable: true }}); 34 var obj3 = c(obj4, { f3: { value: function() { return 3; }, writable: true }}); 35 var obj2 = c(obj3, { f2: { value: function() { return 2; }, writable: true }}); 36 var obj1 = c(obj2, { f1: { value: function() { return 1; }, writable: true }}); 37 var obj0 = c(obj1, { f0: { value: function() { return 0; }, writable: true }}); 39 function get4(obj) { return obj.f4; } 45 obj4.f4 = function() { return 5; }; 48 function get3(obj) { return obj.f3; } 54 obj2.f3 = function() { return 6; } [all...] |
| /external/v8/test/mjsunit/ |
| json.js | 33 n1.toISOString = function () { return "foo"; }; 37 assertThrows(function () { n2.toJSON(); }, TypeError); 39 n4.toISOString = function () { 49 //Test Date.prototype.toJSON as generic function. 51 toISOString: function() { return 42; }}; 55 valueOf: function() { return Infinity; }, 56 toISOString: function() { return 42; }}; 61 toString: function() { return Infinity; }, 62 toISOString: function() { return 42; }}; 69 toISOString: function() { return 42; }} [all...] |
| debug-liveedit-check-stack.js | 35 function TestBase(name) { 40 "(function ChooseAnimal(callback) {\n " + 58 this.ScriptChanger = function() { 71 function Noop() {} 73 function WrapInCatcher(f, holder) { 74 return function() { 88 function WrapInNativeCall(f) { 89 return function() { 94 function WrapInDebuggerCall(f) { 95 return function() { [all...] |
| debug-stepin-positions.js | 32 function DebuggerStatement() { 36 function TestCase(fun, frame_number) { 42 function listener(event, exec_state, event_data, data) { 57 function assertHasLineMark(mark, frame) { 85 function replaceStringRange(s, pos, substitute) { 114 function TestCaseWithDebugger(fun) { 118 function TestCaseWithBreakpoint(fun, line_number, frame_number) { 124 function TestCaseWithException(fun, frame_number) { 133 // Step in position, when the function call that we are standing at is already 135 var fun = function() { [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/ |
| tokenizer_test.js | 6 function tokenize(html, initialState, lastStartTag) { 30 nextToken.attrs.forEach(function (attr) { 69 function unicodeUnescape(str) { 70 return str.replace(/\\u([\d\w]{4})/gi, function (match, chCodeStr) { 75 function unescapeDescrIO(testDescr) { 78 testDescr.output.forEach(function (tokenEntry) { 88 Object.keys(tokenEntry).forEach(function (attrName) { 98 function concatCharacterTokens(tokenEntries) { 101 tokenEntries.forEach(function (tokenEntry) { 117 function getTokenizerSuitableStateName(testDataStateName) [all...] |
| /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
| EnumsTest.java | 45 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); local 46 assertEquals(TestEnum.CHEETO, function.apply("CHEETO")); 47 assertEquals(TestEnum.HONDA, function.apply("HONDA")); 48 assertEquals(TestEnum.POODLE, function.apply("POODLE")); 52 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); local 53 assertNull(function.apply("cHEETO")); 54 assertNull(function.apply("Honda")); 55 assertNull(function.apply("poodlE")) 59 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); local [all...] |
| /external/okhttp/website/static/ |
| html5shiv.min.js | 4 (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElem (…) [all...] |
| /external/v8/test/mjsunit/es6/debug-promises/ |
| async-task-event.js | 25 function assertLog(msg) { 34 function listener(event, exec_state, event_data, data) { 51 var p = new Promise(function(resolve, reject) { 54 p.then(function() { 56 }).then(function() {
|
| reject-with-throw-in-reject.js | 18 var p = new Promise(function(resolve, reject) { 23 function MyPromise(resolver) { 24 var reject = function() { 28 var resolve = function() { }; 33 MyPromise.prototype = new Promise(function() {}); 37 function() { 42 function listener(event, exec_state, event_data, data) { 54 // debugger swallows exceptions and we expect the chained function 66 function testDone(iteration) { 67 function checkResult() [all...] |
| /external/v8/test/mjsunit/harmony/ |
| block-for.js | 32 function props(x) { 95 assertThrows("function foo() { 'use strict'; for (let in {}) { } }", SyntaxError); 96 assertThrows("function foo() { 'use strict'; for (let x = 3 in {}) { } }", SyntaxError); 97 assertThrows("function foo() { 'use strict'; for (let x, y in {}) { } }", SyntaxError); 98 assertThrows("function foo() { 'use strict'; for (let x = 3, y in {}) { } }", SyntaxError); 99 assertThrows("function foo() { 'use strict'; for (let x, y = 4 in {}) { } }", SyntaxError); 100 assertThrows("function foo() { 'use strict'; for (let x = 3, y = 4 in {}) { } }", SyntaxError); 105 function closures1() { 108 a.push(function () { return i; }); 117 function closures2() [all...] |
| array-find.js | 33 assertEquals(undefined, a.find(function() { return false; })); 34 assertEquals(21, a.find(function() { return true; })); 35 assertEquals(undefined, a.find(function(val) { return 121 === val; })); 36 assertEquals(24, a.find(function(val) { return 24 === val; })); 37 assertEquals(23, a.find(function(val) { return 23 === val; }), null); 38 assertEquals(22, a.find(function(val) { return 22 === val; }), undefined); 44 (function() { 51 a.find(function(val, key, obj) { 70 (function() { 77 var found = a.find(function(val, key, obj) [all...] |
| array-findindex.js | 33 assertEquals(-1, a.findIndex(function() { return false; })); 34 assertEquals(-1, a.findIndex(function(val) { return 121 === val; })); 35 assertEquals(0, a.findIndex(function() { return true; })); 36 assertEquals(1, a.findIndex(function(val) { return 22 === val; }), undefined); 37 assertEquals(2, a.findIndex(function(val) { return 23 === val; }), null); 38 assertEquals(3, a.findIndex(function(val) { return 24 === val; })); 44 (function() { 51 a.findIndex(function(val, key, obj) { 70 (function() { 77 var index = a.findIndex(function(val, key, obj) [all...] |
| /external/v8/test/perf-test/Collections/ |
| weakset.js | 25 function WeakSetSetup() { 33 function WeakSetTearDown() { 38 function WeakSetAdd() { 44 function WeakSetHas() { 58 function WeakSetDelete() {
|
| /external/v8/test/webkit/resources/ |
| standalone-pre.js | 26 function removeLink(text) 31 function description(msg) 38 function debug(msg) 43 function escapeString(text) 48 function testPassed(msg) 53 function testFailed(msg) 58 function areArraysEqual(_a, _b) 70 function isMinusZero(n) 77 function isResultCorrect(_actual, _expected) 90 function stringify(v [all...] |
| /external/v8/tools/profviz/ |
| worker.js | 33 self.addEventListener("message", function(event) { 39 function log(text) { 44 function displayplot(content) { 49 function displayprof(content) { 54 function setRange(start, end) { 60 function time(name, fun) { 68 function load_scripts(scripts) { 70 function() { for (var i in scripts) importScripts(scripts[i]); }); 75 function log_error(text) { 81 function run(args) [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/ |
| webcomponents.js | 13 (function(scope) { 18 location.search.slice(1).split("&").forEach(function(o) { 32 parts.forEach(function(f) { 56 (function() { 59 var WeakMap = function() { 63 set: function(key, value) { 71 get: function(key) { 75 "delete": function(key) { 81 has: function(key) { 91 (function(scope) [all...] |
| ShadowDOM.js | 12 (function() { 15 var WeakMap = function() { 19 set: function(key, value) { 27 get: function(key) { 31 "delete": function(key) { 37 has: function(key) { 49 (function(scope) { 54 function detectEval() { 62 var f = new Function("return true;"); 69 function assert(b) [all...] |
| /external/v8/src/ |
| math.js | 19 function MathConstructor() {} 25 function MathAbs(x) { 33 function MathAcosJS(x) { 38 function MathAsinJS(x) { 43 function MathAtanJS(x) { 50 function MathAtan2JS(y, x) { 55 function MathCeil(x) { 60 function MathExp(x) { 65 function MathFloor(x) { 81 function MathLog(x) [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-410912.js | 12 function classOf(object) { var string = Object.prototype.toString.call(object); return string.substring(8, string.length - 1); } 13 function PrettyPrint(value) { return ""; } 14 function PrettyPrintArrayElement(value, index, array) { return ""; } 15 function fail(expectedText, found, name_opt) { } 16 function deepObjectEquals(a, b) { var aProps = Object.keys(a); aProps.sort(); var bProps = Object.keys(b); bProps.sort(); if (!deepEquals(aProps, bProps)) { return false; } for (var i = 0; i < aProps.length; i++) { if (!deepEquals(a[aProps[i]], b[aProps[i]])) { return false; } } return true; } 17 function deepEquals(a, b) { if (a === b) { if (a === 0) return (1 / a) === (1 / b); return true; } if (typeof a != typeof b) return false; if (typeof a == "number") return isNaN(a) && isNaN(b); if (typeof a !== "object" && typeof a !== "function") return false; var objectClass = classOf(a); if (objectClass !== classOf(b)) return false; if (objectClass === "RegExp") { return (a.toString() === b.toString()); } if (objectClass === "Function") return false; if (objectClass === "Array") { var elementCount = 0; if (a.length != b.length) { return false; } for (var i = 0; i < a.length; i++) { if (!deepEquals(a[i], b[i])) return false; } return true; } if (objectClass == "String" || objectClass == "Number" || objectClass == "Boolean" || objectClass == "Date") { if (a.valueOf() !== b.valueOf()) return false; } return deepObjectEquals(a, b); } 18 assertSame = function assertSame(expected, found, name_opt) { if (found === expected) { if (expected !== 0 || (1 / expected) == (1 / found)) return; } else if ((expected !== expected) && (found !== found)) { return; } fail(PrettyPrint(expected), found, name_opt); }; assertEquals = function assertEquals(expected, found, name_opt) { if (!deepEquals(found, expected)) { fail(PrettyPrint(exp (…) [all...] |
| /build/tools/droiddoc/templates-ds/assets/js/ |
| global-libraries-combined.js | 3 (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0 (…) [all...] |
| /external/llvm/test/MC/AArch64/ |
| basic-pic.s | 8 .type get_globalvar,@function 24 .type get_globalvaraddr,@function 38 .type get_hiddenvar,@function 52 .type get_hiddenvaraddr,@function 66 .type get_func,@function
|