HomeSort by relevance Sort by last modified time
    Searched refs:function (Results 1001 - 1025 of 4292) sorted by null

<<41424344454647484950>>

  /external/v8/test/mjsunit/
keyed-call-generic.js 30 function testOne(receiver, key, result) {
36 function testMany(receiver, keys, results) {
47 function TypeOfThis() { return typeof this; }
49 Number.prototype.square = function() { return this * this; }
50 Number.prototype.power4 = function() { return this.square().square(); }
72 function zero () { return 0; }
73 function one () { return 1; }
74 function two () { return 2; }
99 function testException(receiver, keys, exceptions) {
nans.js 33 function TestAllModes(f) {
41 function TestDoubleSignalingNan() {
43 function f() {
56 function TestDoubleQuietNan() {
58 function f() {
71 function TestFloatSignalingNan() {
73 function f() {
86 function TestFloatQuietNan() {
88 function f() {
strict-mode-opt.js 35 function strictToBeInlined(n) {
41 function nonstrictCallStrict(n) {
45 (function testInlineStrictInNonStrict() {
61 function nonstrictToBeInlined(n) {
66 function strictCallNonStrict(n) {
71 (function testInlineNonStrictInStrict() {
83 // Optimize strict function.
85 function strictAssignToUndefined(n) {
91 (function testOptimizeStrictAssignToUndefined() {
string-charat.js 30 function getTwoByteString() { return "\u1234t"; }
31 function getCons() { return "testtesttesttest" + getTwoByteString() }
33 var slowIndex1 = { valueOf: function() { return 1; } };
34 var slowIndex2 = { toString: function() { return "2"; } };
35 var slowIndexOutOfRange = { valueOf: function() { return -1; } };
37 function basicTest(s, len) {
80 basicTest(function() { return s; }, s.length);
101 toString: function() { return "012"; },
102 valueOf: function() { return "should not be called"; }
105 function stealTest()
    [all...]
  /external/v8/test/mjsunit/regress/
regress-2261.js 33 (function () {
35 function inner(x) {
57 (function () {
59 function inner(x) {
69 function outer(x) {
85 (function () {
87 function inner(x,y,z) {
97 function middle(x) {
103 function outer(x) {
regress-1447.js 28 [0].forEach(function(){ Object.freeze(Array.prototype.forEach); });
29 [0].every(function(){ Object.seal(Array.prototype.every); });
31 function testStrict(){
33 [0].forEach(function(){ Object.freeze(Array.prototype.forEach); });
34 [0].every(function(){ Object.seal(Array.prototype.every); });
regress-2686.js 28 // Check Function doesn't use String.prototype.indexOf.
30 assertThrows(function() { Function('){ function foo(', '}') }, SyntaxError);
31 String.prototype.indexOf = function () { return -1; }
32 assertThrows(function() { Function('){ function foo(', '}') }, SyntaxError);
regress-crbug-325225.js 28 function f1(a) {
32 function do1() {
38 function f2(a) {
42 function do2() {
43 f2([function(a) { return f2("undefined", typeof f2(42, 0)); }]);
  /external/v8/test/webkit/fast/js/kde/
lval-exceptions.js 28 fnShouldThrow(function() { a = x; }, ReferenceError);
31 fnShouldThrow(function() { x += "foo"; }, ReferenceError);
35 fnShouldNotThrow(function() { b = a.x; });
36 fnShouldNotThrow(function() { b = a['x']; });
37 fnShouldNotThrow(function() { a['x'] += 'baz'; });
39 fnShouldNotThrow(function() { b = a.y; });
40 fnShouldNotThrow(function() { a.y += 'glarch'; });
45 function fnShouldThrow(f, exType)
66 function fnShouldNotThrow(f)
  /external/v8/test/webkit/
strict-callback-this.js 31 function strictThrowThisString()
37 function nonstrictThrowThisString()
42 function testArrayPrototypeSort(callback)
52 function testArrayPrototypeFilter(callback)
62 function testArrayPrototypeMap(callback)
72 function testArrayPrototypeEvery(callback)
82 function testArrayPrototypeForEach(callback)
92 function testArrayPrototypeSome(callback)
102 function testStringPrototypeReplace(callback)
dfg-call-function-hit-watchpoint.js 25 "Tests correctness of function calls when the function is overwritten."
28 function foo(a, b) {
32 function bar(a, b) {
38 foo = function(a, b) { return a - b; }
dfg-inline-arguments-simple.js 25 "This tests that inlining preserves basic function.arguments functionality."
28 function foo() {
32 function bar(a,b,c) {
36 function baz(a,b,c) {
40 function argsToStr(args) {
finally-codegen-failure.js 27 f: function() { return true; }
30 a.f.toString = function() { return "Fail"; };
32 function f() {
43 shouldBeTrue("(function () { var a = true; try { return a; } finally { a = false; }})()");
44 shouldThrow("(function () { var a = 'PASS'; try { throw a; } finally { a = 'FAIL'; }})()");
global-resolve-through-eval.js 28 var accessGlobal = (function() { return eval("var pass=true; (function(){ return pass; })"); })();
29 var accessLocal = (function() { var pass = false; return (function() { return eval("var pass=true; (function(){ return pass; })"); })(); })();
  /external/v8/src/
messages.js 35 called_non_callable: ["%0", " is not a function"],
37 property_not_function: ["Property '", "%0", "' of object ", "%1", " is not a function"],
48 apply_non_function: ["Function.prototype.apply was called on ", "%0", ", which is a ", "%1", " and not a function"],
49 apply_wrong_args: ["Function.prototype.apply: Arguments list has wrong type"],
50 toMethod_non_function: ["Function.prototype.toMethod was called on ", "%0", ", which is a ", "%1", " and not a function"],
51 toMethod_non_object: ["Function.prototype.toMethod: home object ", "%0", " is not an object"],
53 instanceof_function_expected: ["Expecting a function in instanceof check, but got ", "%0"],
54 instanceof_nonobject_proto: ["Function has non-object prototype '", "%0", "' in instanceof check"]
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
CommonErrorNode.as 13 public function CommonErrorNode(input:TokenStream, start:Token, stop:Token,
33 public override function get isNil():Boolean {
37 public function getType():int {
41 public function getText():String {
62 public override function toString():String {
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
CommonErrorNode.js 1 org.antlr.runtime.tree.CommonErrorNode = function(input, start, stop, e) {
19 isNil: function() {
23 getType: function() {
27 getText: function() {
48 toString: function() {
  /external/chromium-libpac/test/js-unittest/
bindings.js 5 function MyObject() {
9 MyObject.prototype.toString = function() {
13 function expectEquals(expectation, actual) {
19 function FindProxyForURL(url, host) {
61 function fn() {}
  /external/lldb/tools/lldb-perf/darwin/formatters/
formatters.cpp 219 TimeMeasurement<std::function<void(SBValue)>> m_dump_std_vector_measurement;
220 TimeMeasurement<std::function<void(SBValue)>> m_dump_std_list_measurement;
221 TimeMeasurement<std::function<void(SBValue)>> m_dump_std_map_measurement;
222 TimeMeasurement<std::function<void()>> m_dump_std_string_measurement;
225 TimeMeasurement<std::function<void(SBValue)>> m_dump_nsstring_measurement;
226 TimeMeasurement<std::function<void(SBValue)>> m_dump_nsarray_measurement;
227 TimeMeasurement<std::function<void(SBValue)>> m_dump_nsdictionary_measurement;
228 TimeMeasurement<std::function<void(SBValue)>> m_dump_nsset_measurement;
229 TimeMeasurement<std::function<void(SBValue)>> m_dump_nsbundle_measurement;
230 TimeMeasurement<std::function<void(SBValue)>> m_dump_nsdate_measurement
    [all...]
  /external/llvm/test/MC/ARM/
eh-directive-pad.s 24 .type func1,%function
53 .type func2a,%function
66 .type func2b,%function
94 .type func3a,%function
107 .type func3b,%function
136 .type func4a,%function
149 .type func4b,%function
179 .type func4a,%function
192 .type func5b,%function
205 .type func5c,%function
    [all...]
  /external/v8/test/mjsunit/es6/debug-promises/
reject-uncaught-all.js 16 var p = new Promise(function(resolve, reject) {
22 function() {
27 function listener(event, exec_state, event_data, data) {
49 function testDone(iteration) {
50 function checkResult() {
reject-uncaught-uncaught.js 16 var p = new Promise(function(resolve, reject) {
22 function() {
27 function listener(event, exec_state, event_data, data) {
49 function testDone(iteration) {
50 function checkResult() {
throw-uncaught-all.js 16 var p = new Promise(function(resolve, reject) {
22 function() {
27 function listener(event, exec_state, event_data, data) {
50 function testDone(iteration) {
51 function checkResult() {
throw-uncaught-uncaught.js 16 var p = new Promise(function(resolve, reject) {
22 function() {
27 function listener(event, exec_state, event_data, data) {
50 function testDone(iteration) {
51 function checkResult() {
  /external/v8/test/webkit/fast/js/
Promise-reject.js 29 var promise = new Promise(function(_, r) { reject = r; });
32 promise.then(function(result) {
35 }, function(result) {
46 promise.then(function() {
49 }, function() {

Completed in 572 milliseconds

<<41424344454647484950>>