/external/chromium/chrome/browser/debugger/manual_tests/resources/ |
fib.js | 2 return n < 2 ? 1 : fib(n - 1) + fib(n - 2); 12 return;
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
international_domain_names.js | 8 // We disregard the actual return value -- all we care about is that on 14 return "DIRECT";
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
enabled.js | 7 return true; 9 return false;
|
/external/webkit/LayoutTests/storage/resources/ |
database-common.js | 6 return openDatabase(name + DB_TEST_SUFFIX, version, description, size, callback); 8 return openDatabase(name + DB_TEST_SUFFIX, version, description, size);
|
/external/webkit/PerformanceTests/Parser/resources/ |
runner.js | 10 return xhr.responseText; 22 return sum / values.length; 31 return max; 35 values.sort(function(a, b) { return a - b; }); 38 return values[(len-1)/2]; 39 return (values[len/2-1] + values[len/2]) / 2; 48 return min; 58 return Math.sqrt(sumOfSquaredDeviations / values.length);
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
access-nsieve.js | 12 return s; 27 return count;
|
math-spectral-norm.js | 7 return 1/((i+j)*(i+j+1)/2+i+1); 46 return Math.sqrt(vBv/vv);
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
access-nsieve.js | 12 return s; 27 return count;
|
math-spectral-norm.js | 7 return 1/((i+j)*(i+j+1)/2+i+1); 46 return Math.sqrt(vBv/vv);
|
/external/chromium/chrome/common/extensions/docs/js/ |
api_page_generator.js | 32 function staticResource(name) { return "static/" + name + ".html"; } 67 return this[i]; 89 return; 132 return; 210 return; 239 * does not need to return any specific value to function. 284 return s.serializeToString(document); 295 return retval; 299 return evalXPathFromNode(expression, document.getElementById(id)); 308 return lastPart.split(/\?/)[0] [all...] |
/external/chromium/chrome/browser/resources/shared/js/ |
local_strings.js | 30 * @return {string} The string after format substitution. 33 return s.replace(/\$[$1-9]/g, function(m) { 34 return (m == '$$') ? '$' : args[m[1]]; 41 * @return {string} The resulting string with accelerators removed. 44 return s.replace(/&{1,2}/g, function(m) { 45 return (m == '&&') ? '&' : ''; 59 * @return {string} The localized string. 63 return (this.templateData || window.templateData)[id] || ''; 71 * @return {string} The formatted string. 74 return replaceArgs(this.getString(id), arguments) [all...] |
/external/v8/test/mjsunit/compiler/ |
optimized-function-calls.js | 32 return 87; 38 return x | f() | (y | (x | (f() | x))); 46 var object = { f: function() { return 42; }, x: 42 }; 49 return o.f(); 58 return 42; 62 return a; 66 return a * b; 70 return a + b - c; 74 return a * b + c - d; 78 return f4(f3(f2(f1(f0()),f0()),f1(f0()),f0()),f2(f1(f0()),f0()),f1(f0()),f0() [all...] |
regress-funcaller.js | 32 if (x == 0) return fun.caller; 33 if (x == 1) return gee.caller; 34 return 42; 36 function gee(x) { return this.f(x); } 51 if (x == 0) return o.g(x); 52 if (x == 1) return o.g(x); 53 return o.g(x); 64 if (x == 0) return eval("o.g(x);"); 65 if (x == 1) return eval("o.g(x);"); 66 return o.g(x) [all...] |
simple-deopt.js | 31 return ~x; 41 return a | (b | (c | d)); 51 return g(); 54 g = function() { return 42; }; 62 return o.g(); 68 assertEquals(87, k({g: function() { return 87; }})); 76 return x | y; 83 return 'lit[' + (x + ']'); 94 function CallCharAt(n) { return str.charAt(n); } 105 return a+b+c+d [all...] |
compare.js | 29 if (x < y) return y; 30 return x; 34 if (x <= y) return y; 35 return x; 39 if (x >= y) return x; 40 return y; 44 if (x > y) return x; 45 return y; 91 function CmpX(x) { if (x == x) return 42; } 94 function CmpXY(x) { var y = x; if (x == y) return 42; [all...] |
binary-ops.js | 29 function or_test0(x, y) { return x | y; } 30 function and_test0(x, y) { return x & y; } 31 function add_test0(x, y) { return x + y; } 39 function or_test1(x, y) { return x | x; } 40 function and_test1(x, y) { return x & x; } 41 function add_test1(x, y) { return x + x; } 49 function or_test2(x, y) { x = y; return x | y; } 50 function and_test2(x, y) { x = y; return x & y; } 51 function add_test2(x, y) { x = y; return x + y; }
|
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; } 45 return i; 53 return i; 58 function f6() { var x = 0x3fffffff; x++; return x+1; } 66 return i; 75 return i; 83 return 42;
|
variables.js | 33 function f0() { return x; } 38 function f1(x) { return x; } 43 function f2() { var x = 2; return x; } 49 function g() { return x; } 50 return x; 56 function g() { return x; } 57 return g(); 64 with ({}) return x; 72 function f6(arguments) { return arguments; }
|
/external/v8/src/ |
mirror-debugger.js | 61 return mirror; 66 return mirror; 98 return mirror; 110 return mirror_cache_[handle]; 120 return MakeMirror(void 0); 230 return this.type_; 239 return this instanceof ValueMirror; 248 return this instanceof UndefinedMirror; 257 return this instanceof NullMirror; 266 return this instanceof BooleanMirror [all...] |
string.js | 41 return value; 51 return %_ValueOf(this); 59 return %_ValueOf(this); 69 return result; 79 return result; 88 return this_as_string + %_Arguments(0); 96 return %StringBuilderConcat(parts, len + 1, ""); 114 return %StringIndexOf(subject, pattern, index); 138 return -1; 140 return %StringLastIndexOf(sub, pat, index) [all...] |
debug-debugger.js | 74 return (1 << type); 85 getValue: function() { return this.value; }, 92 getValue: function() { return Debug.isBreakOnException(); }, 102 getValue: function() { return Debug.isBreakOnUncaughtException(); }, 119 return break_point; 142 return this.number_; 147 return this.func_; 152 return this.source_position_; 157 return this.hit_count_; 163 return this.script_break_point().active() [all...] |
/external/webkit/LayoutTests/fast/js/resources/ |
standalone-pre.js | 15 return text.replace(/\0/g, ""); 31 return false; 33 return false; 36 return false; 37 return true; 44 return n === 0 && 1/n < 0; 50 return _actual === _expected && (1/_actual) === (1/_expected); 52 return true; 54 return typeof(_actual) == "number" && isNaN(_actual); 56 return areArraysEqual(_actual, _expected) [all...] |
/external/v8/test/mjsunit/ |
mjsunit.js | 35 return this.message; 47 return JSON.stringify(value); 49 if (value === 0 && (1 / value) < 0) return "-0"; 54 return String(value); 56 if (value === null) return "null"; 64 return clazz + "(" + MjsUnitToString(value.valueOf()) + ")"; 66 return value.toString(); 68 return "[" + value.map(MjsUnitArrayElementToString).join(",") + "]"; 72 return clazz + "()"; 76 if (name) return name + "()" [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/ |
util.js | 49 * @return {Object|null}
62 return eval('[' + expr + '][0]');
65 return null;
70 return obj.length;
91 * @return {Object} The value, if it is
96 return /** @type Object */(value);
98 return defaultValue;
107 * @return {boolean} Is the object an array?
110 return value != null &&
122 * @return {Array} array The slice of the array from start to end. 124 return Function.prototype.call.apply(Array.prototype.slice, arguments); class [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/ |
util.js | 49 * @return {Object|null} 62 return eval('[' + expr + '][0]'); 65 return null; 70 return obj.length; 91 * @return {Object} The value, if it is 96 return /** @type Object */(value); 98 return defaultValue; 107 * @return {boolean} Is the object an array? 110 return value != null && 122 * @return {Array} array The slice of the array from start to end 124 return Function.prototype.call.apply(Array.prototype.slice, arguments); class [all...] |