/external/mockito/src/org/mockito/internal/invocation/ |
InvocationImpl.java | 33 private final Object[] arguments; field in class:InvocationImpl 47 this.arguments = ArgumentsProcessor.expandVarArgs(mockitoMethod.isVarArgs(), args); 62 return arguments; 80 return this.mock.equals(other.mock) && this.method.equals(other.method) && this.equalArguments(other.arguments); 83 private boolean equalArguments(Object[] arguments) { 84 return Arrays.equals(arguments, this.arguments);
|
/external/v8/src/ |
apiutils.h | 48 implicit_args[v8::Arguments::kDataIndex] = data; 49 implicit_args[v8::Arguments::kCalleeIndex] = callee; 50 implicit_args[v8::Arguments::kHolderIndex] = holder; 53 static v8::Arguments NewArguments(internal::Object** implicit_args, 56 ASSERT(implicit_args[v8::Arguments::kCalleeIndex]->IsJSFunction()); 57 ASSERT(implicit_args[v8::Arguments::kHolderIndex]->IsHeapObject()); 59 return v8::Arguments(implicit_args, argv, argc, is_construct_call);
|
/external/v8/test/mjsunit/regress/ |
regress-1531.js | 28 // Regression test for computing elements keys of arguments object. Should 31 arguments[10] = 0; 33 for (var p in arguments) arr.push(p); 38 // Regression test for lookup after delete of a dictionary-mode arguments 42 arguments.__defineGetter__("5", function () { return 0; }); 44 delete arguments[5]; 46 return arguments[2];
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long/ |
Test_xor_long.java | 26 * @title Arguments = 23423432423777l, 23423432423778l 34 * @title Arguments = 0xfffffff5, 0xfffffff1 42 * @title Arguments = 0xABCDEFAB & -1 50 * @title Arguments = 0 & -1 58 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 66 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 91 * @title types of arguments - int, long 105 * @title types of arguments - float, long 119 * @title types of arguments - reference, long 132 * @title Types of arguments - double, long. The verifier checks that long [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long_2addr/ |
Test_xor_long_2addr.java | 26 * @title Arguments = 23423432423777l, 23423432423778l 34 * @title Arguments = 0xfffffff5, 0xfffffff1 42 * @title Arguments = 0xABCDEFAB & -1 51 * @title Arguments = 0 & -1 59 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 67 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 92 * @title types of arguments - int, long 106 * @title types of arguments - float, long 120 * @title types of arguments - reference, long 133 * @title Types of arguments - double, long. The verifier checks that long [all...] |
/external/chromium_org/chrome/test/chromedriver/js/ |
execute_async_script_test.html | 29 // the injected arguments to the following script. 31 'var args = arguments; args[0](args); args[args.length - 1](args[1]);'; 49 executeAsyncScript('arguments[1](arguments[0])', [33], false); 53 executeAsyncScript('arguments[2](new Error("ERR"))', [33], false); 57 executeAsyncScript('var e = new Error("ERR"); e.code = 111; arguments[1](e)', 68 'var a = arguments; window.setTimeout(function() {a[0](33)}, 0);', 79 'var a = arguments; window.setTimeout(function() {a[0](33)}, 0);', 124 'var f = arguments[0]; setTimeout(function(){ f(1); }, 100000);', []); 129 executeAsyncScript('var fn = arguments[0]; fn(2);', []) [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2261.js | 30 // Test materialization of the arguments object when deoptimizing a 40 %DebugPrint(arguments[0]); 42 return arguments[0]; 54 // Test materialization of the arguments object when deoptimizing an 64 %DebugPrint(arguments[0]); 66 return arguments[0]; 82 // Test materialization of the multiple arguments objects when 92 %DebugPrint(arguments[0]); 94 return arguments[0]; 100 return inner(10*x, 20*x, 30*x) + arguments[0] [all...] |
regress-crbug-150545.js | 30 // Test that we do not generate OSR entry points that have an arguments 40 assertSame(3, arguments.length); 41 assertSame(1, arguments[0]); 42 assertSame(2, arguments[1]); 43 assertSame(3, arguments[2]);
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
base.js | 36 // Create a new function with some of its arguments pre-filled. 40 var args = Array.prototype.slice.call(arguments, 1); 42 // Prepend the bound arguments to the current arguments. 43 var newArgs = Array.prototype.slice.call(arguments);
|
/external/chromium_org/v8/test/mjsunit/ |
arguments-indirect.js | 33 var a = arguments; 40 assertEquals(3, f.arguments.length); 41 assertEquals(1, f.arguments[0]); 42 assertEquals(2, f.arguments[1]); 43 assertEquals(3, f.arguments[2]);
|
/external/chromium_org/v8/test/webkit/ |
dfg-arguments-out-of-bounds.js | 25 "Tests accessing arguments with an out-of-bounds index when the arguments have not been created but might be." 33 return arguments; 34 return arguments[0]; 42 expected = "\"[object Arguments]\"";
|
dfg-inline-arguments-out-of-bounds.js | 25 "Tests accessing arguments with an out-of-bounds index in an inlined function when the arguments have not been created but might be." 32 return arguments; 33 return arguments[0]; 44 expected = "\"[object Arguments]\"";
|
/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
p2.cpp | 8 int c = "foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const char *' and 'unsigned}} 9 int d = L"foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const wchar_t *' and 'unsigned}} 10 int e = u8"foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const char *' and 'unsigned}} 11 int f = u"foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const char16_t *' and 'unsigned}} 12 int g = U"foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const char32_t *' and 'unsigned}}
|
/external/v8/test/mjsunit/ |
arguments-indirect.js | 33 var a = arguments; 40 assertEquals(3, f.arguments.length); 41 assertEquals(1, f.arguments[0]); 42 assertEquals(2, f.arguments[1]); 43 assertEquals(3, f.arguments[2]);
|
array-slice.js | 50 // Check various forms of arguments omission. 89 // More than 2 arguments: 118 // performing ToInteger on arguments. 222 // Check slicing on arguments object. 225 assertEquals(expected, Array.prototype.slice.call(arguments, 1)); 235 // Check slicing on arguments object when missing arguments get assigined. 238 assertEquals(1, arguments.length); 241 assertEquals(1, arguments.length); // arguments length is the same [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/ |
Test_add_long.java | 26 * @title Arguments = 12345678l, 87654321l 34 * @title Arguments = 0l, 87654321l 42 * @title Arguments = -12345678l, 0l 50 * @title Arguments = 0 + Long.MAX_VALUE 58 * @title Arguments = 0 + Long.MIN_VALUE 66 * @title Arguments = 0 + 0 74 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE 82 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALUE 90 * @title Arguments = Long.MIN_VALUE + Long.MIN_VALUE 98 * @title Arguments = Long.MIN_VALUE + [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/ |
Test_add_long_2addr.java | 26 * @title Arguments = 12345678l, 87654321l 34 * @title Arguments = 0l, 87654321l 42 * @title Arguments = -12345678l, 0l 50 * @title Arguments = 0 + Long.MAX_VALUE 58 * @title Arguments = 0 + Long.MIN_VALUE 66 * @title Arguments = 0 + 0 74 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE 82 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALUE 90 * @title Arguments = Long.MIN_VALUE + Long.MIN_VALUE 98 * @title Arguments = Long.MIN_VALUE + [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float/ |
Test_mul_float.java | 27 * @title Arguments = 2.7f, 3.14f 35 * @title Arguments = 0, -3.14f 43 * @title Arguments = -2.7f, -3.14f 51 * @title Arguments = Float.MAX_VALUE, Float.NaN 59 * @title Arguments = Float.POSITIVE_INFINITY, 0 67 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 76 * @title Arguments = Float.POSITIVE_INFINITY, 86 * @title Arguments = +0, -0f 94 * @title Arguments = -0f, -0f 102 * @title Arguments = Float.MAX_VALUE, Float.MAX_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float_2addr/ |
Test_mul_float_2addr.java | 27 * @title Arguments = 2.7f, 3.14f 35 * @title Arguments = 0, -3.14f 43 * @title Arguments = -2.7f, -3.14f 51 * @title Arguments = Float.MAX_VALUE, Float.NaN 59 * @title Arguments = Float.POSITIVE_INFINITY, 0 67 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 76 * @title Arguments = Float.POSITIVE_INFINITY, 86 * @title Arguments = +0, -0f 94 * @title Arguments = -0f, -0f 102 * @title Arguments = Float.MAX_VALUE, Float.MAX_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/ushr_long/ |
Test_ushr_long.java | 26 * @title Arguments = 40000000000l, 3 34 * @title Arguments = 40000000000l, 1 42 * @title Arguments = -123456789l, 1 50 * @title Arguments = 1 & -1 58 * @title Arguments = 123456789l, 64 66 * @title Arguments = 123456789l, 63 74 * @title Arguments = 0 & -1 82 * @title Arguments = Long.MAX_VALUE & 1 90 * @title Arguments = Long.MIN_VALUE & 1 98 * @title Arguments = 1 & [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/ushr_long_2addr/ |
Test_ushr_long_2addr.java | 26 * @title Arguments = 40000000000l, 3 34 * @title Arguments = 40000000000l, 1 42 * @title Arguments = -123456789l, 1 50 * @title Arguments = 1 & -1 58 * @title Arguments = 123456789l, 64 66 * @title Arguments = 123456789l, 63 75 * @title Arguments = 0 & -1 83 * @title Arguments = Long.MAX_VALUE & 1 91 * @title Arguments = Long.MIN_VALUE & 1 99 * @title Arguments = 1 & [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestRunner.java | 85 public void onCreate(Bundle arguments) { 86 String val = arguments.getString("enable_iterations"); 95 val = arguments.getString("discoverable_iterations"); 104 val = arguments.getString("scan_iterations"); 113 val = arguments.getString("enable_pan_iterations"); 122 val = arguments.getString("pair_iterations"); 131 val = arguments.getString("connect_a2dp_iterations"); 140 val = arguments.getString("connect_headset_iterations"); 149 val = arguments.getString("connect_input_iterations"); 158 val = arguments.getString("connect_pan_iterations") [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
v8_methods.py | 45 arguments = method.arguments 51 this_cpp_value = cpp_value(interface, method, len(arguments)) 52 this_custom_signature = custom_signature(method, arguments) 84 'arguments': [generate_argument(interface, method, argument, index) 85 for index, argument in enumerate(arguments)], 112 'is_variadic': arguments and arguments[-1].is_variadic, 115 'number_of_arguments': len(arguments), 117 argument for argument in arguments [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
shell1.test | 212 } {1 {Error: unknown command or invalid arguments: "foo". Enter ".help" for help}} 215 } {1 {Error: unknown command or invalid arguments: "foo OFF". Enter ".help" for help}} 218 } {1 {Error: unknown command or invalid arguments: "foo OFF". Enter ".help" for help}} 223 } {1 {Error: unknown command or invalid arguments: "foo OFF". Enter ".help" for help}} 226 } {1 {Error: unknown command or invalid arguments: "foo OFF". Enter ".help" for help}} 282 } {1 {Error: unknown command or invalid arguments: "backup". Enter ".help" for help}} 290 # too many arguments 292 } {1 {Error: unknown command or invalid arguments: "backup". Enter ".help" for help}} 297 } {1 {Error: unknown command or invalid arguments: "bail". Enter ".help" for help}} 305 # too many arguments [all...] |
/art/runtime/entrypoints/jni/ |
jni_entrypoints.cc | 78 // Fix up jobject arguments 80 int reg_num = 2; // Current register being processed, -1 for stack arguments. 88 arg_ptr = sp + 8; // skip to out arguments 91 arg_ptr = sp + 10; // skip to out arguments plus 2 slots as long must be aligned 96 arg_ptr += 3; // unaligned, pad and move through stack arguments 98 arg_ptr += 2; // aligned, move through stack arguments 103 arg_ptr++; // move through register arguments 106 arg_ptr = sp + 8; // skip to outgoing stack arguments 110 arg_ptr++; // move through stack arguments
|