Searched refs:bind (Results 1 - 25 of 1203) sorted by relevance

1234567891011>>

/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dinvoke_int_0.pass.cpp15 // 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 Dinvoke_void_0.pass.cpp15 // 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 Dinvoke_rvalue.pass.cpp15 // 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 Dinvoke_lvalue.pass.cpp15 // 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 Dinvoke_function_object.pass.cpp15 // 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 DPR23141_invoke_not_constexpr.pass.cpp15 // unspecified bind(Fn, Types...);
17 // unspecified bind(Fn, Types...);
34 std::bind(Fun{}, std::placeholders::_1, 42)("hello");
H A Dnested.pass.cpp15 // 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 DMessages.java37 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 DBackToTheFutureModule.java34 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 Dis_bind_expression.pass.cpp33 test<true>(std::bind(C()));
34 test<true>(std::bind(C(), std::placeholders::_2));
35 test<true>(std::bind<int>(C()));
/external/guice/core/test/com/google/inject/
H A DErrorHandlingTest.java45 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 DModuleTest.java16 binder.bind(X.class);
24 binder.bind(Y.class);
31 binder.bind(Z.class);
38 binder.bind(W.class);
H A DBindingOrderTest.java34 bind(BoundFirst.class);
35 bind(BoundSecond.class).to(BoundSecondImpl.class);
50 bind(A.class);
51 bind(B.class).asEagerSingleton();
86 bind(A.class).toInstance(new A());
/external/testng/src/test/java/test/guice/
H A DGuiceParentModule.java19 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 DGraphvizModule.java30 bind(NameFactory.class)
33 bind(PortIdFactory.class)
/external/ltp/testcases/kernel/fs/fs_bind/cloneNS/
H A Dchild0431 mount --bind "$disk3" dir1/b
H A Dparent0430 mount --bind "$disk2" dir1/a
/external/guice/core/test/com/googlecode/guice/
H A DGuiceTck.java46 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);
/external/webrtc/webrtc/tools/rtcbot/test/
H A Dthree_bots_video_conference.js20 createBotPeerConnectionsWithLocalStream.bind(bot1),
21 createBotPeerConnectionsWithLocalStream.bind(bot2),
22 createBotPeerConnectionsWithLocalStream.bind(bot3)],
30 onUserMediaSuccess.bind(this), test.fail);
36 test.createTurnConfig(onTurnConfig.bind(this), test.fail);
39 this.createPeerConnection(config, addStream.bind(this),
41 this.createPeerConnection(config, addStream.bind(this),
47 pc.addEventListener('addstream', onAddStream.bind(this));
69 pc1.addEventListener('icecandidate', onIceCandidate.bind(pc2));
70 pc2.addEventListener('icecandidate', onIceCandidate.bind(pc
[all...]
H A Dtwo_way_video_streaming.js19 createPeerConnectionWithLocalStream.bind(bot1),
20 createPeerConnectionWithLocalStream.bind(bot2)],
25 onUserMediaSuccess.bind(this), test.fail);
29 test.createTurnConfig(onTurnConfig.bind(this), test.fail);
32 this.createPeerConnection(config, addAndShowStream.bind(this),
47 pc1.addEventListener('addstream', onAddStream.bind(bot1));
48 pc2.addEventListener('addstream', onAddStream.bind(bot2));
49 pc1.addEventListener('icecandidate', onIceCandidate.bind(pc2));
50 pc2.addEventListener('icecandidate', onIceCandidate.bind(pc1));
/external/ltp/testcases/kernel/fs/fs_bind/bind/
H A Dtest1929 tst_resm TINFO "bind: shared subtree with shared child to slave subtree."
32 . "${FS_BIND_ROOT}/bin/setup" || (tst_resm TWARN "Setup of bind/test19 failed" && tst_exit)
52 mount --bind "$disk1" share1
53 mount --bind share1 parent1
54 mount --bind share2 parent2
58 mount --bind parent1 parent2
63 mount --bind "$disk2" parent1/child1
66 mount --bind "$disk3" parent2/a
70 mount --bind "$disk4" share1/b
77 trap 'ERR=$? ; tst_resm TWARN "bind/test1
[all...]
H A Dtest0430 tst_resm TINFO "bind: shared child to unclonable parent."
33 . "${FS_BIND_ROOT}/bin/setup" || (tst_resm TWARN "Setup of bind/test04 failed" && tst_exit)
49 mount --bind "$disk1" parent1/child1
53 mount --bind parent1/child1 share1
54 mount --bind parent1/child1 parent2/child2
58 mount --bind "$disk2" parent1/child1/a
62 mount --bind "$disk3" parent2/child2/b
66 mount --bind "$disk4" share1/c
72 trap 'ERR=$? ; tst_resm TWARN "bind/test04: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
74 tst_resm TWARN "bind/test0
[all...]
/external/valgrind/memcheck/tests/linux/
H A Drfcomm.c53 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr));
59 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr));
63 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr));
67 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr));
71 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr));
/external/clang/unittests/AST/
H A DDeclPrinterTest.cpp107 namedDecl(hasName(DeclName)).bind("id"),
130 namedDecl(hasName(DeclName)).bind("id"),
463 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"),
474 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
483 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
492 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
501 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
510 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
519 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
528 cxxConstructorDecl(ofClass(hasName("A"))).bind("i
[all...]
/external/clang/test/SemaCXX/
H A Dmember-pointer.cpp194 template <class F> void bind(F f); // expected-note 12 {{candidate template ignored}}
210 bind(&nonstat); // expected-error {{no matching function for call}}
211 bind(&A::nonstat); // expected-error {{no matching function for call}}
213 bind(&mixed); // expected-error {{no matching function for call}}
214 bind(&A::mixed); // expected-error {{no matching function for call}}
216 bind(&stat); // expected-error {{no matching function for call}}
217 bind(&A::stat); // expected-error {{no matching function for call}}
261 bind(&nonstat);
262 bind(&B::nonstat);
264 bind(
[all...]

Completed in 477 milliseconds

1234567891011>>