Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 2427) sorted by relevance

12345678910>>...98

/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp51 std::bind(f_void_1, _1)(2); in test_void_1()
56 std::bind(f_void_1, 2)(); in test_void_1()
63 std::bind(fp, _1)(3); in test_void_1()
69 std::bind(fp, 3)(); in test_void_1()
76 std::bind(a0, _1)(4); in test_void_1()
82 std::bind(a0, 4)(); in test_void_1()
89 std::bind(fp, _1)(A_void_1()); in test_void_1()
93 std::bind(fp, _1)(&a); in test_void_1()
99 std::bind(fp, A_void_1())(); in test_void_1()
103 std::bind(fp, &a)(); in test_void_1()
[all …]
Dinvoke_lvalue.pass.cpp52 std::bind(f_void_1, _1)(i); in test_void_1()
58 std::bind(f_void_1, i)(); in test_void_1()
66 std::bind(fp, _1)(i); in test_void_1()
73 std::bind(fp, i)(); in test_void_1()
81 std::bind(a0, _1)(i); in test_void_1()
88 std::bind(a0, i)(); in test_void_1()
96 std::bind(fp, _1)(a); in test_void_1()
100 std::bind(fp, _1)(ap); in test_void_1()
107 std::bind(fp, a)(); in test_void_1()
111 std::bind(fp, ap)(); in test_void_1()
[all …]
Dinvoke_void_0.pass.cpp60 test(std::bind(f)); in main()
61 test(std::bind(&f)); in main()
62 test(std::bind(A_void_0())); in main()
63 test_const(std::bind(A_void_0())); in main()
65 test(std::bind<void>(f)); in main()
66 test(std::bind<void>(&f)); in main()
67 test(std::bind<void>(A_void_0())); in main()
68 test_const(std::bind<void>(A_void_0())); in main()
70 test(std::bind<void>(g)); in main()
71 test(std::bind<void>(&g)); in main()
[all …]
Dinvoke_int_0.pass.cpp46 test(std::bind(f), 1); in main()
47 test(std::bind(&f), 1); in main()
48 test(std::bind(A_int_0()), 4); in main()
49 test_const(std::bind(A_int_0()), 5); in main()
51 test(std::bind<int>(f), 1); in main()
52 test(std::bind<int>(&f), 1); in main()
53 test(std::bind<int>(A_int_0()), 4); in main()
54 test_const(std::bind<int>(A_int_0()), 5); in main()
/external/grpc-grpc/test/cpp/interop/
Dclient.cc104 std::bind(&CreateChannelForTestCase, FLAGS_test_case); in main()
110 std::bind(&grpc::testing::InteropClient::DoEmpty, &client); in main()
112 std::bind(&grpc::testing::InteropClient::DoLargeUnary, &client); in main()
113 actions["server_compressed_unary"] = std::bind( in main()
115 actions["client_compressed_unary"] = std::bind( in main()
118 std::bind(&grpc::testing::InteropClient::DoRequestStreaming, &client); in main()
120 std::bind(&grpc::testing::InteropClient::DoResponseStreaming, &client); in main()
121 actions["server_compressed_streaming"] = std::bind( in main()
123 actions["client_compressed_streaming"] = std::bind( in main()
125 actions["slow_consumer"] = std::bind( in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/
Dmacho-bad-bind.test1 RUN: not llvm-objdump -macho -bind %p/Inputs/macho-bind-dylib-ordinal-uleb 2>&1 | FileCheck -check-…
2 DYLIB-ORDINAL-ULEB: macho-bind-dylib-ordinal-uleb': truncated or malformed object (for BIND_OPCODE_…
4 RUN: not llvm-objdump -macho -bind %p/Inputs/macho-bind-dylib-ordinal-uleb-malformed-uleb128 2>&1 |…
5 DYLIB-ORDINAL-ULEB-MALFORMED-ULEB128: macho-bind-dylib-ordinal-uleb-malformed-uleb128': truncated o…
7 RUN: not llvm-objdump -macho -bind %p/Inputs/macho-bind-dylib-ordinal-uleb-too-big 2>&1 | FileCheck…
8 DYLIB-ORDINAL-ULEB-TOO-BIG: macho-bind-dylib-ordinal-uleb-too-big': truncated or malformed object (…
10 RUN: not llvm-objdump -macho -bind %p/Inputs/macho-bind-dylib-special-imm 2>&1 | FileCheck -check-p…
11 DYLIB-SPECIAL-IMM: macho-bind-dylib-special-imm': truncated or malformed object (for BIND_OPCODE_SE…
13 RUN: not llvm-objdump -macho -bind %p/Inputs/macho-bind-set-symbol 2>&1 | FileCheck -check-prefix B…
14 BIND-SET-SYMBOL: macho-bind-set-symbol': truncated or malformed object (for BIND_OPCODE_SET_SYMBOL_…
[all …]
/external/clang/unittests/AST/
DDeclPrinterTest.cpp107 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
130 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
463 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
474 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
483 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
492 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
501 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
510 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
519 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
528 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dtoco_cmdline_flags.cc37 Flag("input_file", parsed_flags.input_file.bind(), in ParseTocoFlagsFromCommandLineFlags()
42 Flag("savedmodel_directory", parsed_flags.savedmodel_directory.bind(), in ParseTocoFlagsFromCommandLineFlags()
45 Flag("output_file", parsed_flags.output_file.bind(), in ParseTocoFlagsFromCommandLineFlags()
49 Flag("input_format", parsed_flags.input_format.bind(), in ParseTocoFlagsFromCommandLineFlags()
52 Flag("output_format", parsed_flags.output_format.bind(), in ParseTocoFlagsFromCommandLineFlags()
56 Flag("savedmodel_tagset", parsed_flags.savedmodel_tagset.bind(), in ParseTocoFlagsFromCommandLineFlags()
61 Flag("default_ranges_min", parsed_flags.default_ranges_min.bind(), in ParseTocoFlagsFromCommandLineFlags()
65 Flag("default_ranges_max", parsed_flags.default_ranges_max.bind(), in ParseTocoFlagsFromCommandLineFlags()
70 parsed_flags.default_int16_ranges_min.bind(), in ParseTocoFlagsFromCommandLineFlags()
75 parsed_flags.default_int16_ranges_max.bind(), in ParseTocoFlagsFromCommandLineFlags()
[all …]
Dmodel_cmdline_flags.cc44 Flag("input_array", parsed_flags.input_array.bind(), in ParseModelFlagsFromCommandLineFlags()
49 Flag("input_arrays", parsed_flags.input_arrays.bind(), in ParseModelFlagsFromCommandLineFlags()
53 Flag("output_array", parsed_flags.output_array.bind(), in ParseModelFlagsFromCommandLineFlags()
59 Flag("output_arrays", parsed_flags.output_arrays.bind(), in ParseModelFlagsFromCommandLineFlags()
64 Flag("input_shape", parsed_flags.input_shape.bind(), in ParseModelFlagsFromCommandLineFlags()
70 Flag("input_shapes", parsed_flags.input_shapes.bind(), in ParseModelFlagsFromCommandLineFlags()
75 Flag("batch_size", parsed_flags.batch_size.bind(), in ParseModelFlagsFromCommandLineFlags()
81 Flag("input_data_type", parsed_flags.input_data_type.bind(), in ParseModelFlagsFromCommandLineFlags()
87 Flag("input_data_types", parsed_flags.input_data_types.bind(), in ParseModelFlagsFromCommandLineFlags()
93 Flag("mean_value", parsed_flags.mean_value.bind(), in ParseModelFlagsFromCommandLineFlags()
[all …]
/external/guice/core/test/com/google/inject/
DJitBindingsTest.java63 bind(Foo.class).to(FooImpl.class); in testLinkedBindingWorks()
81 bind(Foo.class).to(FooImpl.class); in testMoreBasicsWork()
82 bind(Bar.class); in testMoreBasicsWork()
83 bind(FooBar.class); in testMoreBasicsWork()
101 bind(Foo.class).to(FooImpl.class).asEagerSingleton(); in testLinkedEagerSingleton()
119 bind(Foo.class).to(FooImpl.class).asEagerSingleton(); in testBasicsWithEagerSingleton()
120 bind(Bar.class); in testBasicsWithEagerSingleton()
121 bind(FooBar.class); in testBasicsWithEagerSingleton()
139 bind(Foo.class).to(ScopedFooImpl.class); in testLinkedToScoped()
157 bind(Foo.class).to(ScopedFooImpl.class); in testBasicsWithScoped()
[all …]
DBinderTest.java110 bind(Comparator.class); in testMissingBindings()
122 bind(Date.class).annotatedWith(Names.named("date")); in testMissingBindings()
163 bind(NeedsRunnable.class); in testMissingDependency()
207 bind(Runnable.class).to(Runnable.class); in testRecursiveBinding()
228 bind(String.class).annotatedWith(Names.named("nullTwo")).toInstance(none); in testBindingNullConstant()
252 assertEquals("BindingBuilder<java.lang.Integer>", bind(Integer.class).toString()); in testToStringOnBinderApi()
255 bind(Integer.class).annotatedWith(Names.named("a")).toString()); in testToStringOnBinderApi()
280 assertNotSerializable(bind(Integer.class)); in testNothingIsSerializableInBinderApi()
281 assertNotSerializable(bind(Integer.class).annotatedWith(Names.named("a"))); in testNothingIsSerializableInBinderApi()
307 bind(String[].class).toInstance(strings); in testArrayTypeCanonicalization()
[all …]
DDuplicateBindingsTest.java335 bind(A.class); in testJitBindingsAreCheckedAfterConversions()
336 bind(A.class).to(RealA.class); in testJitBindingsAreCheckedAfterConversions()
348 bind(String.class); in testEqualsNotCalledByDefaultOnInstance()
349 bind(HashEqualsTester.class).toInstance(a); in testEqualsNotCalledByDefaultOnInstance()
361 bind(String.class); in testEqualsNotCalledByDefaultOnProvider()
362 bind(Object.class).toProvider(a); in testEqualsNotCalledByDefaultOnProvider()
379 bind(String.class); in testHashcodeNeverCalledOnInstance()
380 bind(HashEqualsTester.class).toInstance(a); in testHashcodeNeverCalledOnInstance()
381 bind(HashEqualsTester.class).toInstance(b); in testHashcodeNeverCalledOnInstance()
398 bind(String.class); in testHashcodeNeverCalledOnProviderInstance()
[all …]
DErrorHandlingTest.java44 bind(String.class) in main()
127 bind(Runnable.class); in configure()
128 bind(Foo.class); in configure()
129 bind(Bar.class); in configure()
130 bind(Tee.class); in configure()
131 bind(new TypeLiteral<List<String>>() {}); in configure()
132 bind(String.class).annotatedWith(Names.named("foo")).in(Named.class); in configure()
133 bind(Key.get(Runnable.class)).to(Key.get(Runnable.class)); in configure()
134 bind(TooManyScopes.class); in configure()
136 bind(Object.class) in configure()
[all …]
DBindingTest.java64 bind(A.class); in testExplicitCyclicDependency()
65 bind(B.class); in testExplicitCyclicDependency()
81 bind(Object.class).to(Runnable.class).in(Scopes.SINGLETON); in configure()
84 bind(Runnable.class).toInstance(Runnables.doNothing()); in configure()
87 bind(Foo.class) in configure()
98 bind(Foo.class) in configure()
103 bind(Bar.class).in(Scopes.SINGLETON); in configure()
127 bind(Collection.class).to(List.class); in testBindToUnboundLinkedBinding()
146 bind(Integer.class).toProvider(Counter.class).asEagerSingleton(); in testScopeIsAppliedToKeyNotTarget()
147 bind(Number.class).toProvider(Counter.class).asEagerSingleton(); in testScopeIsAppliedToKeyNotTarget()
[all …]
DPrivateModuleTest.java46 bind(String.class).annotatedWith(named("a")).toInstance("public"); in testBasicUsage()
52 bind(String.class).annotatedWith(named("b")).toInstance("i"); in testBasicUsage()
54 bind(AB.class).annotatedWith(named("one")).to(AB.class); in testBasicUsage()
63 bind(String.class).annotatedWith(named("b")).toInstance("ii"); in testBasicUsage()
65 bind(AB.class).annotatedWith(named("two")).to(AB.class); in testBasicUsage()
88 bindA.bind(String.class).annotatedWith(named("a")).toInstance("i"); in testWithoutPrivateModules()
90 bindA.bind(String.class).annotatedWith(named("c")).toInstance("private to A"); in testWithoutPrivateModules()
93 bindB.bind(String.class).annotatedWith(named("b")).toInstance("ii"); in testWithoutPrivateModules()
95 bindB.bind(String.class).annotatedWith(named("c")).toInstance("private to B"); in testWithoutPrivateModules()
219 bind(String.class).toInstance("public"); in testCannotBindAKeyExportedByASibling()
[all …]
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java116 bind(String.class).toInstance("A"); in testGetProviderInModule()
117 bind(key2).toProvider(getProvider(String.class)); in testGetProviderInModule()
131 bind(String.class).toInstance("A"); in testOverrideWhatGetProviderProvided()
132 bind(key2).toProvider(getProvider(String.class)); in testOverrideWhatGetProviderProvided()
148 bind(String.class).toInstance("A"); in testOverrideUsingOriginalsGetProvider()
149 bind(key2).toInstance("B"); in testOverrideUsingOriginalsGetProvider()
157 bind(String.class).toProvider(getProvider(key2)); in testOverrideUsingOriginalsGetProvider()
171 bind(String.class).toInstance("A1"); in testOverrideOfOverride()
172 bind(key2).toInstance("A2"); in testOverrideOfOverride()
173 bind(key3).toInstance("A3"); in testOverrideOfOverride()
[all …]
/external/clang/test/SemaCXX/
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}} in test()
211 bind(&A::nonstat); // expected-error {{no matching function for call}} in test()
213 bind(&mixed); // expected-error {{no matching function for call}} in test()
214 bind(&A::mixed); // expected-error {{no matching function for call}} in test()
216 bind(&stat); // expected-error {{no matching function for call}} in test()
217 bind(&A::stat); // expected-error {{no matching function for call}} in test()
261 bind(&nonstat); in test0a()
262 bind(&B::nonstat); in test0a()
264 bind(&mixed); in test0a()
[all …]
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProviderTest.java66 bind(Double.class).toInstance(5.0d); in testAssistedFactory()
67 bind(ColoredCarFactory.class) in testAssistedFactory()
88 bind(Double.class).toInstance(5.0d); in testFactoryBindingDependencies()
89 bind(ColoredCarFactory.class) in testFactoryBindingDependencies()
107 bind(int.class).annotatedWith(Names.named("horsePower")).toInstance(250); in testAssistedFactoryWithAnnotations()
108 bind(int.class).annotatedWith(Names.named("modelYear")).toInstance(1984); in testAssistedFactoryWithAnnotations()
109 bind(ColoredCarFactory.class) in testAssistedFactoryWithAnnotations()
172 bind(float.class).toInstance(140f); in testFactoryWithMultipleMethods()
173 bind(SummerCarFactory.class) in testFactoryWithMultipleMethods()
249 bind(String.class).toInstance("turbo"); in testMethodsAndFieldsGetInjected()
[all …]
DFactoryProvider2Test.java63 bind(Double.class).toInstance(5.0d); in testAssistedFactory()
64 bind(ColoredCarFactory.class) in testAssistedFactory()
85 bind(int.class).annotatedWith(Names.named("horsePower")).toInstance(250); in testAssistedFactoryWithAnnotations()
86 bind(int.class).annotatedWith(Names.named("modelYear")).toInstance(1984); in testAssistedFactoryWithAnnotations()
87 bind(ColoredCarFactory.class) in testAssistedFactoryWithAnnotations()
150 bind(float.class).toInstance(140f); in testFactoryUsesInjectedConstructor()
151 bind(SummerCarFactory.class) in testFactoryUsesInjectedConstructor()
188 bind(SummerCarFactory.class) in testConstructorDoesntNeedAllFactoryMethodArguments()
213 bind(String.class).toInstance("turbo"); in testMethodsAndFieldsGetInjected()
214 bind(int.class).toInstance(911); in testMethodsAndFieldsGetInjected()
[all …]
/external/guice/core/test/com/googlecode/guice/
DJsr330Test.java65 bind(B.class).toInstance(b); in testInject()
66 bind(C.class).toInstance(c); in testInject()
67 bind(D.class).toInstance(d); in testInject()
68 bind(E.class).toInstance(e); in testInject()
69 bind(A.class); in testInject()
86 bind(B.class).annotatedWith(Names.named("jodie")).toInstance(b); in testQualifiedInject()
87 bind(C.class).annotatedWith(Red.class).toInstance(c); in testQualifiedInject()
88 bind(D.class).annotatedWith(RED).toInstance(d); in testQualifiedInject()
89 bind(E.class).annotatedWith(Names.named("jesse")).toInstance(e); in testQualifiedInject()
90 bind(F.class); in testQualifiedInject()
[all …]
/external/vixl/benchmarks/aarch32/
Dasm-disasm-speed-test.cc201 __ bind(&l_0000); in Generate_1() local
253 __ bind(&l_007c); in Generate_1() local
257 __ bind(&l_0080); in Generate_1() local
262 __ bind(&l_008a); in Generate_1() local
272 __ bind(&l_009e); in Generate_1() local
275 __ bind(&l_00a2); in Generate_1() local
279 __ bind(&l_00a8); in Generate_1() local
282 __ bind(&l_00ac); in Generate_1() local
285 __ bind(&l_00b0); in Generate_1() local
302 __ bind(&l_00d2); in Generate_1() local
[all …]
/external/honggfuzz/examples/bind/
DREADME.md14 2. Download and unpack bind-9.11.\*.tgz
17 $ cd bind-9.11.1-P3
18 $ patch -p1 < honggfuzz/examples/bind/patch-bind-9.11.1-P3
29 …e custom configuration files to ```/home/jagger/fuzz/bind/dist/etc/named.conf``` (i.e. to your bin…
32 $ cp honggfuzz/examples/bind/named.conf /home/jagger/fuzz/bind/dist/etc/
33 $ cp honggfuzz/examples/bind/test.zone /home/jagger/fuzz/bind/dist/etc/
39 $ honggfuzz/honggfuzz -f IN.req-response/ -z -P -- ./dist/sbin/named -c /home/jagger/fuzz/bind/dist…
Dbind-9.13.2.patch1 diff -Nur ORIG.bind-9.13.2/bin/named/fuzz.c bind-9.13.2/bin/named/fuzz.c
2 --- ORIG.bind-9.13.2/bin/named/fuzz.c 2018-07-03 09:51:40.000000000 +0200
3 +++ bind-9.13.2/bin/named/fuzz.c 2018-08-04 03:54:45.754294759 +0200
50 diff -Nur ORIG.bind-9.13.2/bin/named/main.c bind-9.13.2/bin/named/main.c
51 --- ORIG.bind-9.13.2/bin/named/main.c 2018-07-03 09:51:40.000000000 +0200
52 +++ bind-9.13.2/bin/named/main.c 2018-08-04 03:57:28.339549734 +0200
117 + if (bind(myfd, &saddr, sizeof(saddr)) == -1) {
118 + perror("bind");
187 + if (bind(sock, (const struct sockaddr *)&bsaddr, sizeof(bsaddr)) == -1) {
188 + perror("bind");
[all …]
/external/grpc-grpc/bazel/
Dgrpc_deps.bzl6 native.bind(
11 native.bind(
16 native.bind(
21 native.bind(
26 native.bind(
31 native.bind(
36 native.bind(
41 native.bind(
46 native.bind(
51 native.bind(
[all …]
/external/v8/src/ia32/
Dcodegen-ia32.cc70 __ bind(&loop); in MemMoveEmitMainLoop() local
87 __ bind(&move_last_63); in MemMoveEmitMainLoop() local
99 __ bind(&move_last_31); in MemMoveEmitMainLoop() local
221 __ bind(&move_last_15); in CreateMemMoveFunction() local
226 __ bind(&skip_last_move); in CreateMemMoveFunction() local
230 __ bind(&unaligned_source); in CreateMemMoveFunction() local
236 __ bind(&loop_until_aligned); in CreateMemMoveFunction() local
242 __ bind(&forward_much_overlap); // Entry point into this block. in CreateMemMoveFunction() local
250 __ bind(&last_15_much_overlap); in CreateMemMoveFunction() local
261 __ bind(&backward); in CreateMemMoveFunction() local
[all …]

12345678910>>...98