/external/v8/test/mjsunit/regress/ |
H A D | regress-crbug-484077.js | 7 assertEquals("", %FunctionGetInferredName((function(){}).bind({})));
|
H A D | regress-bind-receiver.js | 32 assertEquals(true, strict.bind(true)()); 33 assertEquals(42, strict.bind(42)()); 34 assertEquals("", strict.bind("")()); 35 assertEquals(null, strict.bind(null)()); 36 assertEquals(undefined, strict.bind(undefined)()); 37 assertEquals(obj, strict.bind(obj)()); 39 assertEquals(true, lenient.bind(true)() instanceof Boolean); 40 assertEquals(true, lenient.bind(42)() instanceof Number); 41 assertEquals(true, lenient.bind("")() instanceof String); 42 assertEquals(this, lenient.bind(nul [all...] |
H A D | regress-794.js | 31 assertFalse("prototype" in foo.bind());
|
H A D | regress-crbug-572590.js | 8 var f = g.bind();
|
H A D | regress-5010.js | 7 var bound = (function(){}).bind({});
|
H A D | regress-crbug-595738.js | 6 var x = {toJSON: foo.bind()};
|
H A D | regress-1650.js | 30 function g(f) { return f.call.apply(f.bind, arguments); } 46 assertSame(Fake.prototype.bind, this); 53 Fake.prototype.bind = function () {
|
H A D | regress-crbug-573857.js | 8 f = f.bind();
|
H A D | regress-1419.js | 28 // Test that using bind several time does not change the length of existing 34 var f1 = function (x) {}.bind(foo); 39 // the object we bind to can be any object 40 f2.bind(foo);
|
/external/v8/test/mjsunit/ |
H A D | function-bind.js | 30 // Tests the Function.prototype.bind method. 40 var f = foo.bind(foo); 45 f = foo.bind(foo, 1); 50 f = foo.bind(foo, 1, 2); 55 f = foo.bind(foo, 1, 2, 3); 62 f = foo.bind(foo, 1, 2, 3, 4, 5, 6, 7, 8, 9); 78 f = f_bound_this.bind(obj); 82 f = f_bound_this.bind(obj, 2); 91 f = foo.bind(foo); 95 f = foo.bind(fo [all...] |
H A D | function-bind-name.js | 6 var fb = f.bind({}); 10 var fb2 = f.bind({}); 14 var gb = g.bind({});
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
H A D | invoke_int_0.pass.cpp | 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 46 test(std::bind(f), 1); 47 test(std::bind(&f), 1); 48 test(std::bind(A_int_0()), 4); 49 test_const(std::bind(A_int_0()), 5); 51 test(std::bind<int>(f), 1); 52 test(std::bind<int>(&f), 1); 53 test(std::bind<int>(A_int_0()), 4); 54 test_const(std::bind<in [all...] |
H A D | invoke_void_0.pass.cpp | 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 60 test(std::bind(f)); 61 test(std::bind(&f)); 62 test(std::bind(A_void_0())); 63 test_const(std::bind(A_void_0())); 65 test(std::bind<void>(f)); 66 test(std::bind<void>(&f)); 67 test(std::bind<void>(A_void_0())); 68 test_const(std::bind<voi [all...] |
H A D | invoke_rvalue.pass.cpp | 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 51 std::bind(f_void_1, _1)(2); 56 std::bind(f_void_1, 2)(); 63 std::bind(fp, _1)(3); 69 std::bind(fp, 3)(); 76 std::bind(a0, _1)(4); 82 std::bind(a0, 4)(); 89 std::bind(fp, _1)(A_void_1()); 93 std::bind(f [all...] |
H A D | invoke_lvalue.pass.cpp | 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 52 std::bind(f_void_1, _1)(i); 58 std::bind(f_void_1, i)(); 66 std::bind(fp, _1)(i); 73 std::bind(fp, i)(); 81 std::bind(a0, _1)(i); 88 std::bind(a0, i)(); 96 std::bind(fp, _1)(a); 100 std::bind(f [all...] |
H A D | invoke_function_object.pass.cpp | 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 45 // instantiated when checking if BadUnaryFunction is a nested bind 47 auto b = std::bind(DummyUnaryFunction(), BadUnaryFunction()); 49 auto b2 = std::bind<long>(DummyUnaryFunction(), BadUnaryFunction());
|
H A D | nested.pass.cpp | 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 50 auto g = std::bind(power(), 2, _1); 52 assert(std::bind(plus_one(), g)(5) == 33);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
H A D | Messages.java | 37 public static String bind(String message) { method in class:Messages 38 return bind(message, null); 48 public static String bind(String message, Object binding) { method in class:Messages 49 return bind(message, new Object[] {binding}); 60 public static String bind(String message, Object binding1, Object binding2) { method in class:Messages 61 return bind(message, new Object[] {binding1, binding2}); 71 public static String bind(String message, Object[] bindings) { method in class:Messages
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
H A D | BackToTheFutureModule.java | 34 bind(DeLorian.class); 36 bind(EnergySource.class).annotatedWith(Nuclear.class).to(Plutonium.class); 37 bind(EnergySource.class).annotatedWith(Renewable.class).to(Lightning.class); 39 bind(Plutonium.class).toProvider(PlutoniumProvider.class); 40 bind(PinballParts.class).annotatedWith(Used.class).toInstance(new PinballParts()); 42 bind(Person.class).annotatedWith(Driver.class).to(MartyMcFly.class).in(Singleton.class); 43 bind(Person.class).annotatedWith(Inventor.class).to(DocBrown.class).in(Singleton.class);
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/ |
H A D | is_bind_expression.pass.cpp | 29 test<true>(std::bind(C())); 30 test<true>(std::bind(C(), std::placeholders::_2)); 31 test<true>(std::bind<int>(C()));
|
/external/guice/core/test/com/google/inject/ |
H A D | ErrorHandlingTest.java | 45 bind(String.class).toProvider(new Provider<String>() { 121 bind(Runnable.class); 122 bind(Foo.class); 123 bind(Bar.class); 124 bind(Tee.class); 125 bind(new TypeLiteral<List<String>>() {}); 126 bind(String.class).annotatedWith(Names.named("foo")).in(Named.class); 127 bind(Key.get(Runnable.class)).to(Key.get(Runnable.class)); 128 bind(TooManyScopes.class); 130 bind(Objec [all...] |
H A D | ModuleTest.java | 16 binder.bind(X.class); 24 binder.bind(Y.class); 31 binder.bind(Z.class); 38 binder.bind(W.class);
|
/external/testng/src/test/java/test/guice/ |
H A D | GuiceParentModule.java | 19 bind(MyService.class).toProvider(MyServiceProvider.class); 20 bind(MyContext.class).to(MyContextImpl.class).in(Singleton.class); 21 bind(ITestContext.class).toInstance(context);
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/ |
H A D | GraphvizModule.java | 30 bind(NameFactory.class) 33 bind(PortIdFactory.class)
|
/external/guice/core/test/com/googlecode/guice/ |
H A D | GuiceTck.java | 46 bind(Car.class).to(Convertible.class); 47 bind(Seat.class).annotatedWith(Drivers.class).to(DriversSeat.class); 48 bind(Engine.class).to(V8Engine.class); 49 bind(Cupholder.class); 50 bind(Tire.class); 51 bind(FuelTank.class);
|