/external/v8/test/webkit/fast/js/ |
D | arguments.js | 30 return arguments[0]; 35 return arguments[1]; 40 return arguments[2]; 45 return arguments[3]; 50 return arguments[4]; 54 arguments.length = 5; 55 return arguments.length; 59 Array.prototype.push.call(arguments, a); argument 60 return arguments[1]; 64 Array.prototype.push.call(arguments, a); argument [all …]
|
D | function-apply.js | 32 return t.apply(null, arguments); 41 return t.apply(null, arguments); 50 return t.apply(null, arguments); 57 return arguments.length; 59 return t.apply(null, arguments); 66 return arguments.length; 68 return t.apply(null, arguments, executedAdditionalArgument = true); 109 return arguments.length; 126 delete arguments[1]; 127 return t.apply(null, arguments); [all …]
|
D | basic-strict-mode-expected.txt | 56 PASS (function eval(){'use strict';}) threw exception SyntaxError: Unexpected eval or arguments in … 57 … eval(){'use strict';})}) threw exception SyntaxError: Unexpected eval or arguments in strict mode. 58 PASS (function (eval){'use strict';}) threw exception SyntaxError: Unexpected eval or arguments in … 59 … (eval){'use strict';})}) threw exception SyntaxError: Unexpected eval or arguments in strict mode. 60 PASS (function arguments(){'use strict';}) threw exception SyntaxError: Unexpected eval or argument… 61 PASS (function(){(function arguments(){'use strict';})}) threw exception SyntaxError: Unexpected ev… 62 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Unexpected eval or argument… 63 PASS (function(){(function (arguments){'use strict';})}) threw exception SyntaxError: Unexpected ev… 64 …'use strict'; var eval;}) threw exception SyntaxError: Unexpected eval or arguments in strict mode. 65 …se strict'; var eval;})}) threw exception SyntaxError: Unexpected eval or arguments in strict mode. [all …]
|
/external/v8/test/preparser/ |
D | nonstrict-arguments.js | 30 var arguments = 42; variable 31 arguments = arguments++; 32 arguments += --arguments; 33 arguments -= ++arguments; 34 arguments *= arguments--; 35 function arguments(arguments) {}; function 36 try {} catch (arguments) {} 41 eval(arguments); 44 var arguments = 42; 45 arguments = arguments++; [all …]
|
/external/v8/test/mjsunit/ |
D | arguments-read-and-assignment.js | 30 assertEquals(42, function(){ return arguments;}(42)[0], 32 assertEquals(42, function(){ return arguments;}(42)[0], 34 assertEquals(42, function(){ arguments;return 42}(37), 36 assertEquals(42, function(){ if(arguments)return 42;}(), 38 assertEquals(42, function(){ return arguments || true;}(42)[0], 40 assertEquals(true, function(){ return arguments && [true];}(42)[0], 42 assertEquals(42, function(){ arguments = 42; return 42;}(), 45 assertEquals(42, function(){ return arguments[0]; }(42), 47 assertEquals(42, function(){ arguments[0]; return 42}(), 49 assertEquals(42, function(){ if (arguments[0]) return 42; }(37), [all …]
|
D | arguments.js | 29 return arguments.length; 33 return arguments.length; 37 return arguments.length; 56 return arguments[index]; 60 return arguments[index]; 64 return arguments[index]; 94 function f(a) { return arguments.length; }; 102 var l = g(arguments); 112 if (arguments[0] > 0) { 113 return arguments.callee(arguments[0] - 1) + arguments[0]; [all …]
|
D | argument-named-arguments.js | 39 function f(arguments) { argument 40 assertEquals(9, arguments.length); 41 assertEquals("arguments", arguments); 48 var arguments; 50 assertEquals(1, arguments.length); 51 assertEquals("[object Arguments]", '' + arguments); 59 assertEquals(1, arguments.length); 60 assertEquals("[object Arguments]", '' + arguments); 61 var arguments = "foobar"; 63 assertEquals(6, arguments.length); [all …]
|
D | argument-assigned.js | 30 var arguments = [ 1, 2, 3 ]; 39 arguments[0] = 991; 40 var arguments = [ 1, 2, 3 ]; 49 arguments[0] = 991; 52 var arguments = [ 1, 2, 3 ]; 72 var tmp = arguments[0]; 82 var tmp = arguments[0]; 92 var tmp = arguments[0]; 102 var tmp = arguments[0]; 115 arguments = {}; [all …]
|
D | arguments-apply.js | 29 return arguments; 38 return ReturnArguments.apply(this, arguments); 51 return object.f.apply(this, arguments); 63 var arguments = [3, 4]; 64 return ReturnArguments.apply(this, arguments); 73 return ReturnReceiver.apply(receiver, arguments); 84 return ReturnReceiver.apply(Object, arguments); 93 return f.apply(this, arguments); 103 return object.apply(this, arguments); 113 var result = ReturnArguments.apply(this, arguments); [all …]
|
D | array-slice.js | 225 assertEquals(expected, Array.prototype.slice.call(arguments, 1)); 238 assertEquals(1, arguments.length); 241 assertEquals(1, arguments.length); // arguments length is the same. 242 assertEquals([x], Array.prototype.slice.call(arguments, 0)); 251 assertEquals(1, arguments.length); 252 arguments.length = 7; 253 assertEquals([x,,,,,,,], Array.prototype.slice.call(arguments, 0)); 263 assertEquals(1, arguments.length); 264 arguments.length = 'foobar'; 265 assertEquals([], Array.prototype.slice.call(arguments, 0)); [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
D | MathRuntimeException.java | 53 private final Object[] arguments; field in MathRuntimeException 64 public MathRuntimeException(final String pattern, final Object ... arguments) { in MathRuntimeException() argument 65 this(new DummyLocalizable(pattern), arguments); in MathRuntimeException() 76 public MathRuntimeException(final Localizable pattern, final Object ... arguments) { in MathRuntimeException() argument 78 this.arguments = (arguments == null) ? new Object[0] : arguments.clone(); in MathRuntimeException() 91 this.arguments = new Object[] { (rootCause == null) ? "" : rootCause.getMessage() }; in MathRuntimeException() 106 final String pattern, final Object ... arguments) { in MathRuntimeException() argument 107 this(rootCause, new DummyLocalizable(pattern), arguments); in MathRuntimeException() 121 final Localizable pattern, final Object ... arguments) { in MathRuntimeException() argument 124 this.arguments = (arguments == null) ? new Object[0] : arguments.clone(); in MathRuntimeException() [all …]
|
D | MathException.java | 52 private final Object[] arguments; field in MathException 60 this.arguments = new Object[] { "" }; in MathException() 72 public MathException(String pattern, Object ... arguments) { in MathException() argument 73 this(new DummyLocalizable(pattern), arguments); in MathException() 84 public MathException(Localizable pattern, Object ... arguments) { in MathException() argument 86 this.arguments = (arguments == null) ? new Object[0] : arguments.clone(); in MathException() 99 this.arguments = new Object[] { (rootCause == null) ? "" : rootCause.getMessage() }; in MathException() 114 public MathException(Throwable rootCause, String pattern, Object ... arguments) { in MathException() argument 115 this(rootCause, new DummyLocalizable(pattern), arguments); in MathException() 128 public MathException(Throwable rootCause, Localizable pattern, Object ... arguments) { in MathException() argument [all …]
|
D | FunctionEvaluationException.java | 72 String pattern, Object ... arguments) { in FunctionEvaluationException() argument 73 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException() 85 Localizable pattern, Object ... arguments) { in FunctionEvaluationException() argument 86 super(pattern, arguments); in FunctionEvaluationException() 99 String pattern, Object ... arguments) { in FunctionEvaluationException() argument 100 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException() 112 Localizable pattern, Object ... arguments) { in FunctionEvaluationException() argument 113 super(pattern, arguments); in FunctionEvaluationException() 152 Object ... arguments) { in FunctionEvaluationException() argument 153 this(cause, argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException() [all …]
|
D | MathConfigurationException.java | 47 public MathConfigurationException(String pattern, Object ... arguments) { in MathConfigurationException() argument 48 this(new DummyLocalizable(pattern), arguments); in MathConfigurationException() 58 public MathConfigurationException(Localizable pattern, Object ... arguments) { in MathConfigurationException() argument 59 super(pattern, arguments); in MathConfigurationException() 78 public MathConfigurationException(Throwable cause, String pattern, Object ... arguments) { in MathConfigurationException() argument 79 this(cause, new DummyLocalizable(pattern), arguments); in MathConfigurationException() 90 public MathConfigurationException(Throwable cause, Localizable pattern, Object ... arguments) { in MathConfigurationException() argument 91 super(cause, pattern, arguments); in MathConfigurationException()
|
D | ConvergenceException.java | 50 public ConvergenceException(String pattern, Object ... arguments) { in ConvergenceException() argument 51 this(new DummyLocalizable(pattern), arguments); in ConvergenceException() 61 public ConvergenceException(Localizable pattern, Object ... arguments) { in ConvergenceException() argument 62 super(pattern, arguments); in ConvergenceException() 83 public ConvergenceException(Throwable cause, String pattern, Object ... arguments) { in ConvergenceException() argument 84 this(cause, new DummyLocalizable(pattern), arguments); in ConvergenceException() 95 public ConvergenceException(Throwable cause, Localizable pattern, Object ... arguments) { in ConvergenceException() argument 96 super(cause, pattern, arguments); in ConvergenceException()
|
/external/v8/test/mjsunit/es6/ |
D | arguments-iterator.js | 13 assertTrue(arguments.hasOwnProperty(Symbol.iterator)); 14 assertFalse(arguments.propertyIsEnumerable(Symbol.iterator)); 15 var descriptor = Object.getOwnPropertyDescriptor(arguments, Symbol.iterator); 20 assertEquals(arguments[Symbol.iterator], [][Symbol.iterator]); 26 var o = arguments; 40 var iterator = arguments[Symbol.iterator](); 50 var args = arguments; 61 var iterator = arguments[Symbol.iterator](); 67 arguments[3] = 4; 68 arguments.length = 4; [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | TokenRewriteStream.js | 66 if (arguments.length===0) { 69 sup.constructor.apply(this, arguments); 154 if (arguments.length===1) { 156 instructionIndex = arguments[0]; 157 } else if (arguments.length===2) { 158 programName = arguments[0]; 159 instructionIndex = arguments[1]; 192 if (arguments.length===1) { 194 op = arguments[0]; 195 } else if (arguments.length===2) { [all …]
|
D | CommonToken.js | 8 if (arguments.length == 1) { 9 if (org.antlr.lang.isNumber(arguments[0])) { 10 this.type = arguments[0]; 12 oldToken = arguments[0]; 24 } else if (arguments.length == 2) { 25 this.type = arguments[0]; 26 this.text = arguments[1]; 28 } else if (arguments.length == 5) { 29 this.input = arguments[0]; 30 this.type = arguments[1]; [all …]
|
/external/ltrace/ |
D | lens_default.c | 46 NAME(struct value *value, TYPE *ret, struct value_dict *arguments) \ 52 if (value_extract_buf(value, u.buf, arguments) < 0) \ 66 if (value_extract_word(value, &l, arguments) < 0) \ 97 struct value_dict *arguments) in format_integer() argument 174 format_char(FILE *stream, struct value *value, struct value_dict *arguments) in format_char() argument 177 if (value_extract_word(value, &lc, arguments) < 0) in format_char() 184 struct value_dict *arguments, in format_naked() argument 190 what(stream, value, arguments)) < 0 in format_naked() 207 format_floating(FILE *stream, struct value *value, struct value_dict *arguments, in format_floating() argument 214 if (read_float(value, &f, arguments) < 0) in format_floating() [all …]
|
D | expr.c | 100 struct value_dict *arguments, void *data), in expr_init_cb1() argument 114 struct value_dict *arguments, void *data), in expr_init_cb2() argument 261 struct value_dict *arguments, struct value *ret_value) in eval_up() argument 263 if (expr_eval(node->lhs, context, arguments, ret_value) < 0) in eval_up() 276 struct value_dict *arguments, struct value *ret_value) in eval_cb1() argument 279 if (expr_eval(node->lhs, context, arguments, &val) < 0) in eval_cb1() 283 if (node->u.call.u.cb1(ret_value, &val, arguments, in eval_cb1() 295 struct value_dict *arguments, struct value *ret_value) in eval_cb2() argument 298 if (expr_eval(node->lhs, context, arguments, &lhs) < 0) in eval_cb2() 302 if (expr_eval(node->u.call.rhs, context, arguments, &rhs) < 0) { in eval_cb2() [all …]
|
/external/v8/test/mjsunit/bugs/ |
D | bug-941049.js | 32 assertEquals(100, f.arguments = 100); // read-only 33 assertEquals(3, f.arguments.length); 34 assertEquals(1, f.arguments[0]); 35 assertEquals(2, f.arguments[1]); 36 assertEquals(3, f.arguments[2]); 37 f.arguments[0] = 999; 38 f.arguments.extra = 'kallevip'; 42 assertEquals('kallevip', f.arguments.extra); 43 return f.arguments; 50 var a = arguments; [all …]
|
/external/v8/test/webkit/fast/js/kde/ |
D | arguments-scope.js | 35 var arguments; 38 shouldBeOfType("test0", arguments, 'object'); 43 shouldBeOfType("test1", arguments, 'object'); 44 var arguments; 47 function test2(arguments) { argument 49 shouldBeOfType("test2", arguments, 'number'); 55 shouldBeOfType("test3", arguments, 'function'); 56 function arguments() {} function 62 shouldBeOfType('test4.(1)', arguments, 'object'); 63 var arguments = 4; [all …]
|
/external/v8/test/mjsunit/compiler/ |
D | inline-arguments.js | 41 this.X.apply(this, arguments); 62 function F2() { F1.apply(this, arguments); } 70 return F1.apply(this, arguments); 91 assertArrayEquals([1,2], arguments); 95 assertArrayEquals([1,2,3,4], arguments); 99 G2.apply(this, arguments); 103 G4.apply(this, arguments); 125 var a = arguments; 168 for (var j = 1; j <= arguments.length; j++) { 169 return arguments[arguments.length - j]; [all …]
|
/external/v8/test/webkit/ |
D | dfg-inline-arguments-use-from-all-the-places-broken.js | 29 return [foo.arguments, bar.arguments].concat(o.f); 33 return [foo.arguments, bar.arguments, getter.arguments, fuzz.arguments]; 37 return [foo.arguments, bar.arguments, getter.arguments].concat(fuzz(42, 56)); 44 return [bar.arguments].concat(foo(o,b,c));
|
D | dfg-inline-arguments-use-from-all-the-places.js | 29 return [foo.arguments, bar.arguments].concat(o.f); 33 return [foo.arguments, bar.arguments, getter.arguments, fuzz.arguments]; 37 return [foo.arguments, bar.arguments, getter.arguments].concat(fuzz(42, 56)); 44 return [bar.arguments].concat(foo(o,b,c));
|