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

12 3 4 5 6 7 8 91011>>

  /external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/
window-property.js 7 return true;
9 return false;
22 return true;
24 return false;
  /external/webkit/LayoutTests/fast/dom/DeviceOrientation/script-tests/
window-property.js 7 return true;
9 return false;
22 return true;
24 return false;
  /external/webkit/LayoutTests/fast/js/resources/
script-line-number.js 9 return e.line;
15 return parts[parts.length - 2];
18 return -1;
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/
jsref.js 50 return ( testcases );
118 return ( testcases );
158 return passed;
163 return passed;
178 return passed;
232 return true;
259 return ( Math.floor(t/msPerDay ) );
263 return 365;
266 return 366;
269 return 365
    [all...]
  /external/v8/test/mjsunit/compiler/
short-circuit.js 35 assertEquals(x, function () { return 0 || x }());
36 assertEquals(1, function () { return 1 || x }());
39 assertEquals(0, function () { return 0 && x }());
40 assertEquals(x, function () { return 1 && x }());
43 assertEquals(x, function(y) { return y++ || x }(0));
44 assertEquals(1, function(y) { return y++ || x }(1));
47 assertEquals(0, function(y) { return y++ && x }(0));
48 assertEquals(x, function(y) { return y++ && x }(1));
51 assertEquals(0, function () { return {x: 0}}().x);
54 assertEquals(0, function () { return {x: 0} || this }().x)
    [all...]
regress-funarguments.js 34 if (x == 1) return fee["arg" + "uments"];
35 if (x == 2) return gee["arg" + "uments"];
36 return 42;
39 function gee(x) { return this.f(2 - x, "f"); }
42 if (x == 0) return foo["arg" + "uments"];
43 if (x == 1) return goo["arg" + "uments"];
44 return 42;
47 function goo(x) { return this.f(x, "f"); }
58 if (x == 0) return o.g(x, "h");
59 if (x == 1) return o.g(x, "h")
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/
jsref.js 44 return ( testcases );
118 return passed;
123 return passed;
138 return passed;
192 return true;
219 return ( Math.floor(t/msPerDay ) );
223 return 365;
226 return 366;
229 return 365;
232 return 366
    [all...]
  /external/v8/test/mjsunit/
function.js 33 f = Function('return 1');
35 f = new Function('return 1');
38 f = Function('return true');
40 f = new Function('return true');
43 f = Function('x', 'return x');
50 f = Function('x', 'return x // comment');
53 f = Function('return typeof anonymous');
57 f = Function('return anonymous;');
60 f = new Function('x', 'return x')
67 f = Function('x', 'y', 'return x+y')
    [all...]
eval-enclosing-function-name.js 31 var f = function y() { return typeof y; };
35 f = function y() { return eval('typeof y'); };
39 f = function y() { y = 3; return typeof y; };
43 f = function y() { y += 3; return typeof y; };
47 f = function y() { y &= y; return typeof y; };
51 f = function y() { y = 3; return eval('typeof y'); }
55 f = function y() { var y = 3; return typeof y; }
59 f = function y() { var y = 3; return eval('typeof y'); }
63 f = function y() { eval('y = 3'); return typeof y; }
67 f = function y() { eval('y = 3'); return eval('typeof y');
    [all...]
eval.js 31 function f() { return 'The f function'; };
34 function g(x, y) { return 4; };
50 assertEquals(void 0, eval(eval("var eval = function f(x) { return 'hest';}")))
55 eval = function(x, y) { return x + y; };
64 return eval('foo');
74 return foo;
90 return e('foo');
111 return x.eval('foo');
118 var eval = function(x) { return x; };
120 return e('foo')
    [all...]
int32-ops.js 38 this.valueOf = function() { return 42; };
45 return x + 1;
49 return x + 100;
53 return 1 + x;
57 return 100 + x;
78 return x - 1;
82 return x - 100;
86 return 1 - x;
90 return 100 - x;
110 return x >>> 1
    [all...]
  /external/chromium/chrome/browser/resources/shared/js/
media_common.js 6 return /\.(3gp|asf|avi|di?vx|f4v|fbr|mov|mp4|m4v|mpe?g4?|ogm|ogv|ogx|webm|wmv?|xvid)$/i.test(path);
10 return /\.(aac|aiff|atrac|cda|flac|m4a|mp3|pcm|oga|ogg|raw|wav)$/i.test(path);
14 return /\.(bmp|gif|jpe?g|ico|png|webp)$/i.test(path);
18 return /\.(htm|html|txt)$/i.test(path);
22 return /\.(pdf)$/i.test(path);
  /external/chromium/net/data/proxy_resolver_v8_unittest/
passthrough.js 0 // Return a single-proxy result, which encodes ALL the arguments that were
7 return "FAIL";
10 return "PROXY " + makePseudoHost(url + "." + host);
34 return result;
39 return true;
41 return true;
43 return true;
44 return false;
dns_fail.js 2 // failing. It tests that functions return the expected values.
16 return "PROXY success:80";
19 return "PROXY failed:80";
binding_from_global.js 7 return "PROXY " + x + ":80";
side_effects.js 8 return "PROXY sideffect_" + gCounter++;
  /external/v8/src/
runtime.js 55 if (IS_STRING(this) && IS_STRING(y)) return %StringEquals(this, y);
63 if (y == null) return 1; // not equal
64 return %NumberEquals(x, %ToNumber(y));
66 if (IS_STRING(y)) return %StringEquals(x, y);
67 if (IS_NUMBER(y)) return %NumberEquals(%ToNumber(x), y);
68 if (IS_BOOLEAN(y)) return %NumberEquals(%ToNumber(x), %ToNumber(y));
69 if (y == null) return 1; // not equal
73 return %_ObjectEquals(x, y) ? 0 : 1;
75 if (y == null) return 1; // not equal
76 return %NumberEquals(%ToNumber(x), %ToNumber(y))
    [all...]
uri.js 42 return index;
55 return index;
74 return URIEncodeOctets(octets, result, index);
89 return URIEncodeOctets(octets, result, index);
99 return (highCode << 4) | lowCode;
157 return index;
161 return index;
188 return %StringFromCharCodeArray(result);
228 return %StringFromCharCodeArray(result);
236 if (35 <= cc && cc <= 36) return true
    [all...]
date.js 52 if (mod == 0) return 0;
53 return mod >= 0 ? mod : mod + remainder;
58 return Modulo(time, msPerDay);
64 if (year % 4 != 0) return 365;
65 if ((year % 100 == 0) && (year % 400 != 0)) return 365;
66 return 366;
71 return 365 * (year-1970)
79 return msPerDay * DayFromYear(year);
84 return DaysInYear(YearFromTime(time)) - 365; // Returns 1 or 0.
98 return 2008 + (recent_year + 3*28 - 2008) % 28
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-tofte.js 3 if (array[i] == x) return true;
5 return false;
47 return self.getHours() > 11? "pm" : "am";
51 return self.getHours() > 11? "PM" : "AM";
67 return beat;
72 return new String(self.getDate()).length == 1?
77 return daysShort[self.getDay()];
81 return monthsLong[self.getMonth()];
85 return self.getHours() > 12? self.getHours()-12 : self.getHours();
89 return self.getHours()
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
date-format-tofte.js 3 if (array[i] == x) return true;
5 return false;
47 return self.getHours() > 11? "pm" : "am";
51 return self.getHours() > 11? "PM" : "AM";
67 return beat;
72 return new String(self.getDate()).length == 1?
77 return daysShort[self.getDay()];
81 return monthsLong[self.getMonth()];
85 return self.getHours() > 12? self.getHours()-12 : self.getHours();
89 return self.getHours()
    [all...]
  /external/v8/benchmarks/
earley-boyer.js 33 return tmp;
67 return alert( s );
72 return typeof x;
94 return body();
97 return handler(e);
120 return ht[key];
122 return false;
124 return false;
136 return jsstring2string(sc_toDisplayString(o));
144 return (o1 === o2)
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-earley-boyer.js 27 return tmp;
61 return alert( s );
66 return typeof x;
88 return body();
91 return handler(e);
114 return ht[key];
116 return false;
118 return false;
130 return jsstring2string(sc_toDisplayString(o));
138 return (o1 === o2)
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-earley-boyer.js 27 return tmp;
61 return alert( s );
66 return typeof x;
88 return body();
91 return handler(e);
114 return ht[key];
116 return false;
118 return false;
130 return jsstring2string(sc_toDisplayString(o));
138 return (o1 === o2)
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-earley-boyer.js 27 return tmp;
61 return alert( s );
66 return typeof x;
88 return body();
91 return handler(e);
114 return ht[key];
116 return false;
118 return false;
130 return jsstring2string(sc_toDisplayString(o));
138 return (o1 === o2)
    [all...]

Completed in 437 milliseconds

12 3 4 5 6 7 8 91011>>