Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 1966) sorted by relevance

12345678910>>...79

/external/v8/test/webkit/fast/js/
Darguments.js30 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 …]
Dfunction-apply.js32 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 …]
Dbasic-strict-mode-expected.txt56 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/autotest/site_utils/
Ddut_status.py136 def _include_status(status, arguments): argument
152 return arguments.working
154 return arguments.broken
157 def _print_host_summaries(history_list, arguments): argument
171 if not _include_status(status, arguments):
196 def _print_hosts(history_list, arguments): argument
211 if not _include_status(status, arguments):
214 if arguments.full_history:
217 elif arguments.diagnosis:
222 def _validate_time_range(arguments): argument
[all …]
Dtest_that.py57 def validate_arguments(arguments): argument
64 if arguments.remote == ':lab:':
65 if arguments.args:
68 if arguments.pretend:
71 if arguments.ssh_verbosity:
74 if not arguments.board or not arguments.build:
78 if arguments.build is None:
79 arguments.build = test_runner_utils.NO_BUILD
80 if arguments.web:
170 def perform_bootstrap_into_autotest_root(arguments, autotest_path, argv): argument
[all …]
Ddut_status_unittests.py36 def _check_duration(self, arguments, duration): argument
37 start_time = (arguments.until - duration * 3600)
38 assert arguments.since == start_time
41 def _check_default_end(self, arguments, end_time): argument
43 assert arguments.until >= end_time
44 assert arguments.until <= max_end
50 arguments = self._try_parse([])
51 self._check_default_end(arguments, end_time)
52 self._check_duration(arguments, dut_status._DEFAULT_DURATION)
65 arguments = self._try_parse([option, start_time_string])
[all …]
Dtest_droid.py89 arguments = _parse_arguments_internal(argv)
92 arguments.results_dir)
93 arguments.results_dir = results_directory
100 host_attributes = {'serials' : arguments.serials,
106 if arguments.interactive:
110 if arguments.args:
111 arguments.args += ' '
113 arguments.args = ''
114 arguments.args += (
119 autotest_path, argv, arguments.tests, arguments.remote,
[all …]
/external/v8/test/preparser/
Dnonstrict-arguments.js30 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/
Darguments-read-and-assignment.js30 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 …]
Darguments.js31 return arguments.length;
35 return arguments.length;
39 return arguments.length;
58 return arguments[index];
62 return arguments[index];
66 return arguments[index];
96 function f(a) { return arguments.length; };
104 var l = g(arguments);
114 if (arguments[0] > 0) {
115 return arguments.callee(arguments[0] - 1) + arguments[0];
[all …]
Dargument-named-arguments.js39 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 …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMathRuntimeException.java53 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 …]
DMathException.java52 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 …]
DFunctionEvaluationException.java72 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 …]
/external/v8/test/mjsunit/es6/
Darrow-functions-lexical-arguments.js11 assertEquals(2, arguments.length);
12 assertEquals('a', arguments[0]);
13 assertEquals('b', arguments[1]);
30 assertEquals(2, arguments.length);
31 assertEquals('a', arguments[0]);
32 assertEquals('b', arguments[1]);
48 assertEquals(2, arguments.length);
49 assertEquals('a', arguments[0]);
50 assertEquals('b', arguments[1]);
67 assertEquals(1, arguments.length);
[all …]
Darguments-iterator.js13 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 …]
Dclass-property-name-eval-arguments.js13 arguments() { method in Method.C
19 static arguments() { method in Method.C
25 assertEquals(2, new C().arguments());
27 assertEquals(4, C.arguments());
36 get arguments() { getter in Getters.C
42 static get arguments() { getter in Getters.C
48 assertEquals(2, new C().arguments);
50 assertEquals(4, C.arguments);
60 set arguments(v) { setter in Setters.C
66 static set arguments(v) { setter in Setters.C
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js66 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 …]
/external/autotest/site_utils/deployment/
Dcommandline.py222 def _validate_arguments(arguments): argument
237 if (not arguments.hostnames and
238 (arguments.board or arguments.build)):
242 if arguments.board is not None:
243 if not _validate_board(arguments.board):
245 if (arguments.build is not None and
246 not _validate_build(arguments.board, arguments.build)):
350 def _read_arguments(input, arguments): argument
366 arguments.board = _read_board(input, arguments.board)
367 arguments.build = _read_build(input, arguments.board)
[all …]
/external/ltrace/
Dlens_default.c46 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 …]
/external/v8/test/cctest/compiler/
Dtest-run-jsobjects.cc14 Handle<Object> arguments; in TEST() local
15 T.Call(T.Val(19), T.Val(23), T.Val(42), T.Val(65)).ToHandle(&arguments); in TEST()
16 CHECK(arguments->IsJSObject() && !arguments->IsJSArray()); in TEST()
17 CHECK(JSObject::cast(*arguments)->HasSloppyArgumentsElements()); in TEST()
19 Handle<Object> length = JSObject::GetProperty(arguments, l).ToHandleChecked(); in TEST()
27 Handle<Object> arguments; in TEST() local
28 T.Call(T.Val(19), T.Val(23), T.Val(42), T.Val(65)).ToHandle(&arguments); in TEST()
29 CHECK(arguments->IsJSObject() && !arguments->IsJSArray()); in TEST()
30 CHECK(!JSObject::cast(*arguments)->HasSloppyArgumentsElements()); in TEST()
32 Handle<Object> length = JSObject::GetProperty(arguments, l).ToHandleChecked(); in TEST()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { in callAndAssertReturns() argument
92 checkNotNull(arguments); in callAndAssertReturns()
93 sendRequest(methodName, arguments); in callAndAssertReturns()
101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) in callAndAssertReturns() argument
104 checkNotNull(arguments); in callAndAssertReturns()
105 sendRequest(methodName, arguments); in callAndAssertReturns()
113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) in callAndAssertReturns() argument
116 checkNotNull(arguments); in callAndAssertReturns()
117 sendRequest(methodName, arguments); in callAndAssertReturns()
126 String methodName, Object... arguments) throws Exception { in callAndAssertThrows() argument
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Ddeterministic.js36 switch (arguments.length) {
38 case 1: return new orig_date(arguments[0]);
39 default: return new orig_date(arguments[0], arguments[1],
40 arguments.length >= 3 ? arguments[2] : 1,
41 arguments.length >= 4 ? arguments[3] : 0,
42 arguments.length >= 5 ? arguments[4] : 0,
43 arguments.length >= 6 ? arguments[5] : 0,
44 arguments.length >= 7 ? arguments[6] : 0);
/external/v8/test/mjsunit/bugs/
Dbug-941049.js32 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/
Darguments-scope.js35 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 …]

12345678910>>...79