HomeSort by relevance Sort by last modified time
    Searched refs:return (Results 76 - 100 of 3313) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/v8/test/mjsunit/regress/
regress-540.js 31 function f(x, y) { eval(x); return y(); }
32 var result = f("function y() { return 1; }", function () { return 0; })
37 function x() { return 3; }
38 return x();
39 })(function () { return 2; });
44 function x() { return 5; }
45 return arguments[0]();
46 })(function () { return 4; });
regress-crbug-3184.js 30 return dest;
38 return function () {
40 this.$proceed = function() { return _method.apply(this, arguments); };
48 var value = function() { bmethod.call(this); retval = wrapper.apply(this, arguments); amethod.call(this); return retval; };
49 return value;
54 return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase();
60 return this.split(" ").map(
62 return value.cap();
66 return this.$proceed();
78 return res
    [all...]
regress-667061.js 41 return o.x();
56 return o.x();
60 var o = new O(function() { return 1; });
76 return o.x();
79 assertEquals(1, f({ x: function () { return 1; }})); // go monomorphic
80 assertEquals(2, f({ x: function () { return 2; }})); // go megamorphic
81 assertEquals(3, f({ x: function () { return 3; }})); // stay megamorphic
regress-931.js 32 var o = { f: function (x, y) { return x + y; },
33 2: function (x, y) { return x - y} };
35 function first() { sequence += "1"; return o; }
36 function second() { sequence += "2"; return "f"; }
37 function third() { sequence += "3"; return 3; }
38 function fourth() { sequence += "4"; return 4; }
44 function second_prime() { sequence += "2'"; return 2; }
regress-70066.js 39 return value + ":" + status;
49 with ({}) { return delete value; }
53 return value + ":" + status;
66 return value + ":" + status;
77 with ({}) { return delete value; }
80 return value + ":" + status;
92 return arguments[0] + ":" + status;
100 with ({}) { return delete value; }
103 return arguments[0] + ":" + status;
112 with (object) { return delete value;
    [all...]
  /external/v8/test/mjsunit/
arguments-apply.js 29 return arguments;
33 return this;
38 return ReturnArguments.apply(this, arguments);
51 return object.f.apply(this, arguments);
64 return ReturnArguments.apply(this, arguments);
73 return ReturnReceiver.apply(receiver, arguments);
84 return ReturnReceiver.apply(Object, arguments);
91 function f() { return 42; }
92 f.apply = function() { return 87; }
93 return f.apply(this, arguments)
    [all...]
array-iteration.js 42 assertArrayEquals([0], a.filter(function(n) { return n == 0; }));
48 assertArrayEquals([42,42], a.filter(function(n) { return this.value == n }, o))
52 assertArrayEquals([42,42], a.filter(function(n, index, array) { array[index] = 43; return 42 == n; }));
58 assertArrayEquals([], a.filter(function(n, index, array) { array.push(n+1); return n == 2; }));
67 var a = a.filter(function(n) { count++; return n == 2; });
121 assertFalse(a.every(function(n) { return n == 0 }));
123 assertTrue(a.every(function(n) { return n == 0 }));
124 assertTrue([].every(function(n) { return n == 0}));
129 assertFalse(a.every(function(n) { return this.value == n; }, o));
131 assertTrue(a.every(function(n) { return this.value == n; }, o))
    [all...]
string-charcodeat.js 35 return "Te" + "st testing 123";
44 return a;
49 return "testing Testing testing 123456789012345".substring(8, 22);
54 return "Testing testing 123";
58 return "Te" + "\u1234t testing 123";
67 return a;
72 return "Te\u1234t testing testing 123".substring(0, 14);
77 return "test Te\u1234t testing testing 123".substring(5, 19);
82 return "test Te\u1234t".substring(5, 9);
87 return "Te\u1234ting testing 123"
    [all...]
top-level-assignments.js 33 x.b = function() { return 42; };
44 y.b = function() { return 42; };
52 function forty_two() { return 42; };
64 x1.b = function() { return 42; };
66 x2.b = function() { return 42; };
87 Calculator.prototype.sum = function() { return this.x + this.y; };
88 Calculator.prototype.difference = function() { return this.x - this.y; };
89 Calculator.prototype.product = function() { return this.x * this.y; };
90 Calculator.prototype.quotient = function() { return this.x / this.y; };
99 x.__defineGetter__('a', function() { return 7 })
    [all...]
multiple-return.js 30 return 42;
32 return 87;
39 return 42;
44 return 87;
51 return 42;
56 return 87;
debug-stepin-accessor.js 66 return this.name; // getter 1
69 return { // getter 2
79 return this.name; // getter y
83 return this.name; // getter 3
100 expected_source_line_text = ' return this.name; // getter 1';
107 expected_source_line_text = ' return this.name; // getter 1';
114 expected_source_line_text = ' return this.name; // getter 1';
123 expected_source_line_text = ' return this.name; // getter 1';
130 expected_source_line_text = ' return this.name; // getter 1';
138 expected_source_line_text = ' return { // getter 2'
    [all...]
arguments.js 29 return arguments.length;
33 return arguments.length;
37 return arguments.length;
58 return arguments[index];
62 return arguments[index];
66 return arguments[index];
96 function f(a) { return arguments.length; };
keyed-call-ic.js 34 return 'function1';
38 return 'function2';
54 F.prototype.one = function() {return 'one'; }
55 F.prototype.two = function() {return 'two'; }
56 F.prototype.three = function() {return 'three'; }
121 f.field = function() { return 'field'; }
133 f.four = function() { return 'four'; }
134 f.five = function() { return 'five'; }
166 if (i == 5) { F.prototype.one = function() { return '1'; } }
173 if (i == 5) { f.__proto__ = { one: function() { return 'I'; } }
    [all...]
  /external/webkit/LayoutTests/fast/encoding/resources/
char-decoding-utils.js 9 return hex;
18 return req.responseText;
31 return result;
  /external/v8/src/
math.js 46 if (%_IsSmi(x)) return x >= 0 ? x : -x;
48 if (x === 0) return 0; // To handle -0.
49 return x > 0 ? x : -x;
55 return %Math_acos(x);
61 return %Math_asin(x);
67 return %Math_atan(x);
76 return %Math_atan2(y, x);
82 return %Math_ceil(x);
88 return %_MathCos(x);
94 return %Math_exp(x)
    [all...]
v8natives.js 80 return NUMBER_IS_NAN(n);
89 return %_IsSmi(number) || number - number == 0;
101 if (%_IsSmi(string)) return string;
106 return string | 0;
112 return $NaN;
117 return %_GetCachedArrayIndex(string);
119 return %StringParseInt(string, radix);
126 if (%_HasCachedArrayIndex(string)) return %_GetCachedArrayIndex(string);
127 return %StringParseFloat(string);
132 if (!IS_STRING(x)) return x
    [all...]
  /external/chromium/chrome/browser/resources/net_internals/
sourceentry.js 24 return this.isSelected_;
38 return; // No change.
55 return this.isMatchedByFilter_;
102 return false;
105 return false;
107 return false;
113 return false;
119 return false;
123 return true;
128 return entryText.indexOf(filterText) != -1
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/
binaryajax.js 15 return data;
22 return data.charCodeAt(iOffset + dataOffset) & 0xFF;
28 return IEBinary_getByteAt(data, iOffset + dataOffset);
33 return dataLength;
39 return iByte - 256;
41 return iByte;
49 return iShort;
54 return iUShort - 65536;
56 return iUShort;
68 return iLong
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
bitops-bits-in-byte.js 12 return c;
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
bitops-bits-in-byte.js 12 return c;
  /external/v8/src/extensions/experimental/
i18n.js 40 return NativeJSAvailableLocales();
45 return new v8Locale(NativeJSMaximizedLocale(this.locale));
50 return new v8Locale(NativeJSMinimizedLocale(this.locale));
58 return result;
64 return NativeJSDisplayLanguage(this.locale, displayLocale);
70 return NativeJSDisplayScript(this.locale, displayLocale);
76 return NativeJSDisplayRegion(this.locale, displayLocale);
82 return NativeJSDisplayName(this.locale, displayLocale);
89 return iterator;
102 return new v8Locale.v8BreakIterator(this.locale, type)
    [all...]
  /external/chromium/chrome/browser/resources/shared/js/
util.js 17 * @return {HTMLElement} The found element or null if not found.
20 return document.getElementById(id);
37 return callback.apply(global, args);
45 * @return {string} The CSS url string.
58 return 'url("' + s2 + '")';
64 * @return {object} Dictionary containing name value pairs for URL
74 return params;
78 return findAncestor(el, function(el) {
80 return el.classList.contains(className);
81 return null
    [all...]
  /external/v8/test/mjsunit/compiler/
literals-assignment.js 30 // Test simple return statement.
31 assertEquals(8, eval("(function() { return 8; })()"));
37 return a;\
44 return x;\
53 return x;\
61 return y;\
68 return x = y = z = 8;\
null-compare.js 29 if (x == null) return true; else return false;
38 if (x === null) return true; else return false;
47 if ((x & 1) == null) return true;
48 if ((x | 3) === null) return true;
49 return false;
  /external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/
acceptNode-filter.js 12 return NodeFilter.FILTER_SKIP;
13 return NodeFilter.FILTER_ACCEPT;
26 return NodeFilter.FILTER_SKIP;
27 return NodeFilter.FILTER_ACCEPT;
63 var filter = function() { return NodeFilter.FILTER_ACCEPT; };
64 filter.acceptNode = function(node) { return NodeFilter.FILTER_SKIP; };
74 return NodeFilter.FILTER_ACCEPT;

Completed in 179 milliseconds

1 2 34 5 6 7 8 91011>>