| /external/skia/resources/ |
| slides.lua | 6 function load_file(file) 17 function make_rect(l, t, r, b) 21 function make_paint(typefacename, stylebits, size, color) 31 function draw_bullet(canvas, x, y, paint, indent) 42 function stroke_rect(canvas, rect, color) 49 function drawSlide(canvas, slide, master_template) 100 function make_tmpl(paint, extra_dy) 104 function SkiaPoint_make_template() 145 function new_drawable_picture(pic) 150 draw = function (self, canvas, x, y, paint [all...] |
| /cts/suite/cts/deviceTests/browserbench/assets/octane/ |
| box2d.js | 22 (function(F,G){function K(){}if(!(Object.defineProperty instanceof Function)&&Object.prototype.__defineGetter__ instanceof Function&&Object.prototype.__defineSetter__ instanceof Function)Object.defineProperty=function(y,w,A){A.get instanceof Function&&y.__defineGetter__(w,A.get);A.set instanceof Function&&y.__defineSetter__(w,A.set)};F.inherit=function(y,w){K.prototype=w.prototype;y.prototype=new K;y.prototype.constructor=y};F.generateCallback=function(y,w){return function(){w.apply(y,arguments)}} [all...] |
| /external/llvm/test/MC/ARM/ |
| eh-directive-personalityindex-diagnostics.s | 7 .global function 8 .type function,%function 10 function: label 18 .type ununwindable,%function 34 .type nodata,%function 50 .type multiple_personality,%function 69 .type multiple_personality_indicies,%function 88 .type invalid_expression,%function 100 .type nonconstant_expression,%function [all...] |
| /external/v8/test/mjsunit/es6/ |
| collection-iterator.js | 8 (function TestSetIterator() { 25 (function TestSetIteratorValues() { 40 (function TestSetIteratorKeys() { 45 (function TestSetIteratorEntries() { 60 (function TestSetIteratorMutations() { 79 (function TestSetInvalidReceiver() { 80 assertThrows(function() { 83 assertThrows(function() { 89 (function TestSetIteratorInvalidReceiver() { 91 assertThrows(function() { [all...] |
| /external/v8/test/mjsunit/harmony/ |
| block-conflicts.js | 34 function CheckException(e) { 42 function TestGlobal(s,e) { 51 function TestFunction(s,e) { 53 return eval("(function(){" + s + " return " + e + "})")(); 60 function TestBlock(s,e) { 62 return eval("(function(){ {" + s + "} return " + e + "})")(); 68 function TestAll(expected,s,opt_e) { 75 TestFunction(s,e), "function:'" + msg + "'"); 81 function TestConflict(s) { 86 function TestNoConflict(s) [all...] |
| set-prototype-of.js | 29 function getObjects() { 30 function func() {} 64 function TestSetPrototypeOfCoercibleValues() { 67 assertThrows(function() { 73 assertThrows(function() { 81 function TestSetPrototypeOfNonCoercibleValues() { 84 assertThrows(function() { 92 function TestSetPrototypeToNonObject(proto) { 98 assertThrows(function() { 107 function TestSetPrototypeOf(object, proto) [all...] |
| /external/v8/test/mjsunit/ |
| int32-ops.js | 37 const OBJ_42 = new (function() { 38 this.valueOf = function() { return 42; }; 44 function Add1(x) { 48 function Add100(x) { 52 function Add1Reversed(x) { 56 function Add100Reversed(x) { 77 function Sub1(x) { 81 function Sub100(x) { 85 function Sub1Reversed(x) { 89 function Sub100Reversed(x) [all...] |
| debug-stepout-scope-part1.js | 35 function listener(event, exec_state, event_data, data) { 56 function test1() { 65 function test2() { 79 function test3() { 91 function test4() { 98 function test5() { 111 function test6() { 122 function test7() { 124 function foo() {} 129 function test8() [all...] |
| value-callic-prototype-change.js | 31 function testString() { 32 function f(s, expected) { 42 String.prototype.toString = function() { return "ostehaps"; }; 53 function testNumber() { 54 Number.prototype.toString = function() { return 0; }; 56 function f(n, expected) { 65 Number.prototype.toString = function() { return 42; }; 75 function testBoolean() { 76 Boolean.prototype.toString = function() { return 0; }; 78 function f(b, expected) [all...] |
| object-seal.js | 103 function get() { return 43; }; 104 function set() {}; 204 var push_call = function(a) { a.push(10); return a; } 205 var pop_call = function(a) { return a.pop(); } 212 assertThrows(function() { push_call(obj); }, TypeError); 213 assertThrows(function() { pop_call(obj); }, TypeError); 216 assertDoesNotThrow(function() { push_call(objControl); }); 217 assertDoesNotThrow(function() { pop_call(objControl); }); 219 assertDoesNotThrow(function() { obj.push(); }); 220 assertThrows(function() { obj.push(3); }, TypeError) [all...] |
| string-charcodeat.js | 34 function Cons() { 39 function Deep() { 48 function Slice() { 53 function Flat() { 57 function Cons16() { 62 function Deep16() { 71 function Slice16Beginning() { 76 function Slice16Middle() { 81 function Slice16End() { 86 function Flat16() [all...] |
| /external/slf4j/slf4j-site/src/site/pages/js/ |
| jquery-min.js | 2 (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/v8/test/mjsunit/regress/ |
| regress-347914.js | 8 function MjsUnitAssertionError(message) {} 9 MjsUnitAssertionError.prototype.toString = function () { return this.message; }; 27 function classOf(object) { var string = Object.prototype.toString.call(object); return string.substring(8, string.length - 1); } 28 function PrettyPrint(value) { return ""; } 29 function PrettyPrintArrayElement(value, index, array) { return ""; } 30 function fail(expectedText, found, name_opt) { } 31 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; } 32 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) { r (…) [all...] |
| regress-conditional-position.js | 33 function catchLineNumber () { 36 Error.prepareStackTrace = function (error, stackTrace) { 37 stackTrace.some(function (frame) { 51 function log() { 55 function foo() {} 57 function test1() { 63 function test2() { 64 var o = { foo: function () {}} 70 function test3() { 71 var o = { log: log, foo: function() { } }; [all...] |
| string-set-char-deopt.js | 30 (function OneByteSeqStringSetCharDeoptOsr() { 31 function deopt() { 35 function f(string, osr) { 50 (function OneByteSeqStringSetCharDeopt() { 51 function deopt() { 55 function g(x) { 58 function f(string) { 69 (function TwoByteSeqStringSetCharDeopt() { 70 function deopt() { 74 function g(x) [all...] |
| /external/v8/src/ |
| collection-iterator.js | 14 function SetIteratorConstructor(set, kind) { 19 function SetIteratorNextJS() { 44 function SetIteratorSymbolIterator() { 49 function SetEntries() { 58 function SetValues() { 67 function SetUpSetIterator() { 85 function ExtendSetPrototype() { 101 function MapIteratorConstructor(map, kind) { 106 function MapIteratorSymbolIterator() { 111 function MapIteratorNextJS() [all...] |
| /external/v8/test/mjsunit/compiler/ |
| load-elimination.js | 32 function B(x, y) { 38 function C() { 41 function test_load() { 47 function test_load_from_different_contexts() { 49 this.f = function() { 51 this.g = function(flag) { 66 function test_store_load() { 78 function test_nonaliasing_store1() { 90 function test_transitioning_store1() { 97 function test_transitioning_store2() [all...] |
| optimized-function-calls.js | 30 function f() { 37 function g() { 46 var object = { f: function() { return 42; }, x: 42 }; 48 function call_f(o) { 56 // Check that nested global function calls work. 57 function f0() { 61 function f1(a) { 65 function f2(a, b) { 69 function f3(a, b, c) { 73 function f4(a, b, c, d) [all...] |
| simple-deopt.js | 30 function f(x) { 40 function g() { 49 // Test deopt when global function changes. 50 function h() { 54 g = function() { return 42; }; 61 function k(o) { 68 assertEquals(87, k({g: function() { return 87; }})); 72 function p(x,y) { 82 function LiteralToStack(x) { 94 function CallCharAt(n) { return str.charAt(n); [all...] |
| variables.js | 33 function f0() { return x; } 38 function f1(x) { return x; } 43 function f2() { var x = 2; return x; } 47 // Context-allocated locals. Local function forces x into f3's context. 48 function f3(x) { 49 function g() { return x; } 54 // Local function reads x from an outer context. 55 function f4(x) { 56 function g() { return x; } 63 function f5(x) [all...] |
| optimized-for-in.js | 36 function a(t) { 45 function b(t) { 55 function c(t) { 64 function d(t) { 74 function e(t) { 85 function f(t) { 96 function g(t) { 111 function h(t, deopt) { 124 function j(t, deopt) { 137 function k(t, deopt) [all...] |
| /external/v8/test/webkit/fast/js/ |
| Promise-chained-then.js | 28 var promise = new Promise(function (r) {resolve = r;}); 31 promise.then(function(localResult) { // fulfilled - continue 36 }, function() { 39 .then(function(localResult) { // fulfilled - throw an exception 44 }, function() { 46 }).then(function() { // rejected - throw an exception 48 }, function(localResult) { 54 .then(function() { // rejected - recover 56 }, function(localResult) { 61 }).then(function(localResult) { // fulfilled - the las [all...] |
| /sdk/templates/docs/ |
| jquery-1.8.0.min.js | 2 (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e== (…) [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/mocha/ |
| mocha.js | 0 ;(function(){ 5 function require(p){ 18 require.resolve = function (path){ 27 require.register = function (path, fn){ 31 require.relative = function (parent) { 32 return function(p){ 50 require.register("browser/debug.js", function(module, exports, require){ 51 module.exports = function(type){ 52 return function(){ 58 require.register("browser/diff.js", function(module, exports, require) [all...] |
| /external/v8/tools/ |
| profile.js | 31 * and calculating function execution times. 35 function Profile() { 43 * Returns whether a function with the specified name must be skipped. 46 * @param {string} name Function name. 48 Profile.prototype.skipThisFunction = function(name) { 79 * Called whenever the specified operation has failed finding a function 90 Profile.prototype.handleUnknownCode = function( 102 Profile.prototype.addLibrary = function( 118 Profile.prototype.addStaticCode = function( 135 Profile.prototype.addCode = function( [all...] |