Home
last modified time | relevance | path

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

12345678910>>...150

/external/llvm-project/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp52 std::bind(f_void_1, _1)(2); in test_void_1()
57 std::bind(f_void_1, 2)(); in test_void_1()
64 std::bind(fp, _1)(3); in test_void_1()
70 std::bind(fp, 3)(); in test_void_1()
77 std::bind(a0, _1)(4); in test_void_1()
83 std::bind(a0, 4)(); in test_void_1()
90 std::bind(fp, _1)(A_void_1()); in test_void_1()
94 std::bind(fp, _1)(&a); in test_void_1()
100 std::bind(fp, A_void_1())(); in test_void_1()
104 std::bind(fp, &a)(); in test_void_1()
[all …]
Dinvoke_lvalue.pass.cpp53 std::bind(f_void_1, _1)(i); in test_void_1()
59 std::bind(f_void_1, i)(); in test_void_1()
67 std::bind(fp, _1)(i); in test_void_1()
74 std::bind(fp, i)(); in test_void_1()
82 std::bind(a0, _1)(i); in test_void_1()
89 std::bind(a0, i)(); in test_void_1()
97 std::bind(fp, _1)(a); in test_void_1()
101 std::bind(fp, _1)(ap); in test_void_1()
108 std::bind(fp, a)(); in test_void_1()
112 std::bind(fp, ap)(); in test_void_1()
[all …]
Dinvoke_void_0.pass.cpp61 test(std::bind(f)); in main()
62 test(std::bind(&f)); in main()
63 test(std::bind(A_void_0())); in main()
64 test_const(std::bind(A_void_0())); in main()
66 test(std::bind<void>(f)); in main()
67 test(std::bind<void>(&f)); in main()
68 test(std::bind<void>(A_void_0())); in main()
69 test_const(std::bind<void>(A_void_0())); in main()
71 test(std::bind<void>(g)); in main()
72 test(std::bind<void>(&g)); in main()
[all …]
/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 …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-avoid-bind.cpp9 bind_rt<Fp, Arguments...> bind(Fp &&, Arguments &&...);
21 bind_rt<Fp, Arguments...> bind(const Fp &, Arguments...);
136 auto AAA = std::bind(add, x, y); in testCaptureByValue()
141 auto BBB = std::bind(add, x, x); in testCaptureByValue()
147 auto CCC = std::bind(add, MemberVariable, GlobalVariable); in testCaptureByValue()
152 auto DDD = std::bind(add, TestCaptureByValueStruct::StaticMemberVariable, LocalVariable); in testCaptureByValue()
156 auto EEE = std::bind(add, Param, Param); in testCaptureByValue()
163 auto FFF = boost::bind(UseF, f); in testCaptureByValue()
167 auto GGG = boost::bind(UseF, MemberStruct); in testCaptureByValue()
171 auto HHH = std::bind(add, MemberStructWithData._member, 1); in testCaptureByValue()
[all …]
/external/oss-fuzz/projects/mysql-server/targets/
Dfuzz_stmt_fetch.cc17 MYSQL_BIND bind[4]; in LLVMFuzzerTestOneInput() local
69 memset(bind, 0, sizeof(bind)); in LLVMFuzzerTestOneInput()
71 bind[0].buffer_type= MYSQL_TYPE_LONG; in LLVMFuzzerTestOneInput()
72 bind[0].buffer= (char *)&int_data; in LLVMFuzzerTestOneInput()
73 bind[0].is_null= &is_null[0]; in LLVMFuzzerTestOneInput()
74 bind[0].length= &length[0]; in LLVMFuzzerTestOneInput()
75 bind[0].error= &error[0]; in LLVMFuzzerTestOneInput()
78 bind[1].buffer_type= MYSQL_TYPE_STRING; in LLVMFuzzerTestOneInput()
79 bind[1].buffer= (char *)str_data; in LLVMFuzzerTestOneInput()
80 bind[1].buffer_length= STRING_SIZE; in LLVMFuzzerTestOneInput()
[all …]
/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/tensorflow/tensorflow/lite/delegates/xnnpack/
Dconv_2d_test.cc36 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng));
38 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
40 std::bind(std::uniform_int_distribution<int32_t>(2, 16), std::ref(rng));
62 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng));
64 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
66 std::bind(std::uniform_int_distribution<int32_t>(2, 16), std::ref(rng));
88 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng));
90 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
92 std::bind(std::uniform_int_distribution<int32_t>(2, 16), std::ref(rng));
116 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
[all …]
Ddepthwise_conv_2d_test.cc36 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
38 std::bind(std::uniform_int_distribution<int32_t>(3, 32), std::ref(rng));
57 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
59 std::bind(std::uniform_int_distribution<int32_t>(3, 32), std::ref(rng));
79 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
81 std::bind(std::uniform_int_distribution<int32_t>(3, 32), std::ref(rng));
101 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
103 std::bind(std::uniform_int_distribution<int32_t>(3, 32), std::ref(rng));
125 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng));
127 std::bind(std::uniform_int_distribution<int32_t>(3, 32), std::ref(rng));
[all …]
Dmax_pool_2d_test.cc36 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
38 std::bind(std::uniform_int_distribution<int32_t>(10, 25), std::ref(rng)); in TEST()
40 std::bind(std::uniform_int_distribution<int32_t>(5, 16), std::ref(rng)); in TEST()
63 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
65 std::bind(std::uniform_int_distribution<int32_t>(10, 25), std::ref(rng)); in TEST()
67 std::bind(std::uniform_int_distribution<int32_t>(5, 16), std::ref(rng)); in TEST()
90 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
92 std::bind(std::uniform_int_distribution<int32_t>(10, 25), std::ref(rng)); in TEST()
94 std::bind(std::uniform_int_distribution<int32_t>(2, 7), std::ref(rng)); in TEST()
96 std::bind(std::uniform_int_distribution<int32_t>(5, 16), std::ref(rng)); in TEST()
[all …]
Daverage_pool_2d_test.cc36 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
38 std::bind(std::uniform_int_distribution<int32_t>(10, 25), std::ref(rng)); in TEST()
40 std::bind(std::uniform_int_distribution<int32_t>(5, 16), std::ref(rng)); in TEST()
63 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
65 std::bind(std::uniform_int_distribution<int32_t>(10, 25), std::ref(rng)); in TEST()
67 std::bind(std::uniform_int_distribution<int32_t>(5, 16), std::ref(rng)); in TEST()
90 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
92 std::bind(std::uniform_int_distribution<int32_t>(10, 25), std::ref(rng)); in TEST()
94 std::bind(std::uniform_int_distribution<int32_t>(2, 7), std::ref(rng)); in TEST()
96 std::bind(std::uniform_int_distribution<int32_t>(5, 16), std::ref(rng)); in TEST()
[all …]
Ddepth_to_space_test.cc37 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
39 std::bind(std::uniform_int_distribution<int32_t>(2, 3), std::ref(rng)); in TEST()
41 std::bind(std::uniform_int_distribution<int32_t>(2, 16), std::ref(rng)); in TEST()
60 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
62 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng)); in TEST()
64 std::bind(std::uniform_int_distribution<int32_t>(2, 3), std::ref(rng)); in TEST()
66 std::bind(std::uniform_int_distribution<int32_t>(2, 16), std::ref(rng)); in TEST()
85 std::bind(std::uniform_int_distribution<int32_t>(2, 4), std::ref(rng)); in TEST()
87 std::bind(std::uniform_int_distribution<int32_t>(5, 25), std::ref(rng)); in TEST()
89 std::bind(std::uniform_int_distribution<int32_t>(2, 3), std::ref(rng)); in TEST()
[all …]
/external/llvm-project/clang/unittests/AST/
DDeclPrinterTest.cpp115 return PrintedDeclMatches(Code, Args, namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
136 return PrintedDeclMatches(Code, Args, namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
263 namespaceDecl(has(varDecl(hasName("X")))).bind("id"), in TEST()
272 usingDirectiveDecl().bind("id"), "using namespace X::A", in TEST()
278 "enum A { a0, a1, a2 };", enumDecl(hasName("A")).bind("id"), in TEST()
285 "enum A { a0 = -1, a1, a2 = 1 };", enumDecl(hasName("A")).bind("id"), in TEST()
293 enumDecl(has(enumConstantDecl(hasName("a0")))).bind("id"), in TEST()
300 "enum class A { a0, a1, a2 };", enumDecl(hasName("A")).bind("id"), in TEST()
307 "struct A { int a; };", recordDecl(hasName("A")).bind("id"), in TEST()
314 "struct A { struct { int i; }; };", recordDecl(hasName("A")).bind("id"), in TEST()
[all …]
DDataCollectionTest.cpp107 ASSERT_TRUE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;", in TEST()
109 ASSERT_FALSE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;", in TEST()
111 ASSERT_FALSE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;", in TEST()
116 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST()
119 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST()
122 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST()
125 ASSERT_FALSE(isStmtHashEqual(memberExpr().bind("id"), in TEST()
132 isStmtHashEqual(integerLiteral().bind("id"), "int x = 0;", "int x = 0;")); in TEST()
134 isStmtHashEqual(integerLiteral().bind("id"), "int x = 0;", "int x =00;")); in TEST()
136 isStmtHashEqual(integerLiteral().bind("id"), "int x = 0;", "int x = 1;")); in TEST()
[all …]
/external/skia/modules/skottie/src/effects/
DLevelsEffect.cpp132 .bind( kChannel_Index, fChannel ) in EasyLevelsEffectAdapter()
133 .bind( kInBlack_Index, fMapper.fInBlack ) in EasyLevelsEffectAdapter()
134 .bind( kInWhite_Index, fMapper.fInWhite ) in EasyLevelsEffectAdapter()
135 .bind( kGamma_Index, fMapper.fGamma ) in EasyLevelsEffectAdapter()
136 .bind( kOutBlack_Index, fMapper.fOutBlack) in EasyLevelsEffectAdapter()
137 .bind( kOutWhite_Index, fMapper.fOutWhite) in EasyLevelsEffectAdapter()
138 .bind(kClipToOutBlack_Index, fClip.fClipBlack ) in EasyLevelsEffectAdapter()
139 .bind(kClipToOutWhite_Index, fClip.fClipWhite ); in EasyLevelsEffectAdapter()
228 .bind( kRGBInBlack_Index, fRGBMapper.fInBlack ) in ProLevelsEffectAdapter()
229 .bind( kRGBInWhite_Index, fRGBMapper.fInWhite ) in ProLevelsEffectAdapter()
[all …]
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/
Dbad-bind.test1 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-dylib-ordinal-uleb 2>&1 | FileCheck --che…
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 | FileChe…
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 --chec…
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-prefi…
14 BIND-SET-SYMBOL: macho-bind-set-symbol': truncated or malformed object (for BIND_OPCODE_SET_SYMBOL_…
[all …]
/external/llvm-project/flang/module/
Domp_lib.h118 subroutine omp_set_num_threads(nthreads) bind(c)
123 function omp_get_num_threads() bind(c)
128 function omp_get_max_threads() bind(c)
133 function omp_get_thread_num() bind(c)
138 function omp_get_num_procs() bind(c)
143 function omp_in_parallel() bind(c)
148 subroutine omp_set_dynamic(enable) bind(c)
153 function omp_get_dynamic() bind(c)
158 function omp_get_cancelation() bind(c)
163 subroutine omp_set_nested(enable) bind(c)
[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/dokka/core/src/main/kotlin/Utilities/
DDokkaModules.kt22 binder.bind<DokkaLogger>().toInstance(logger) in configure()
25 binder.bind<KotlinCoreEnvironment>().toInstance(coreEnvironment) in configure()
28 binder.bind<DokkaResolutionFacade>().toInstance(dokkaResolutionFacade) in configure()
29 …binder.bind<DokkaResolutionFacade>().annotatedWith(Names.named("libraryResolutionFacade")).toInsta… in configure()
31 binder.bind<DocumentationOptions>().toInstance(options) in configure()
33 binder.bind<DefaultPlatformsProvider>().toInstance(defaultPlatformsProvider) in configure()
35 binder.bind<NodeReferenceGraph>().toInstance(nodeReferenceGraph) in configure()
47 …binder.bind(File::class.java).annotatedWith(Names.named("outputDir")).toInstance(File(options.outp… in configure()
49 binder.bind<DocumentationOptions>().toInstance(options) in configure()
50 binder.bind<DokkaLogger>().toInstance(logger) in configure()
[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 …]
/external/llvm-project/openmp/runtime/src/include/
Domp_lib.f90.var156 subroutine omp_set_num_threads(num_threads) bind(c)
161 subroutine omp_set_dynamic(dynamic_threads) bind(c)
166 subroutine omp_set_nested(nested) bind(c)
171 function omp_get_num_threads() bind(c)
176 function omp_get_max_threads() bind(c)
181 function omp_get_thread_num() bind(c)
186 function omp_get_num_procs() bind(c)
191 function omp_in_parallel() bind(c)
196 function omp_in_final() bind(c)
201 function omp_get_dynamic() bind(c)
[all …]
/external/starlark-go/resolve/
Dresolve.go267 func (b *block) bind(name string, bind *Binding) { func
271 b.bindings[name] = bind
300 func (r *resolver) bind(id *syntax.Ident) bool { func
303 bind, ok := r.file.bindings[id.Name]
305 bind, ok = r.globals[id.Name]
308 bind = &Binding{
313 r.globals[id.Name] = bind
314 r.moduleGlobals = append(r.moduleGlobals, bind)
319 bind.Scope, id.Name, bind.First.NamePos)
321 id.Binding = bind
[all …]
/external/llvm-project/clang/unittests/Tooling/
DRangeSelectorTest.cpp73 matchCode("static int x = 0;", varDecl().bind("bound_node_id")); in selectFromTrivial()
104 .bind("init"))) in selectFromAssorted()
105 .bind("decl"))) in selectFromAssorted()
106 .bind("expr"))) in selectFromAssorted()
107 .bind("stmt"); in selectFromAssorted()
137 ast_matchers::internal::Matcher<Stmt> M = callExpr().bind(CallID); in TEST()
156 ast_matchers::internal::Matcher<Stmt> M = callExpr().bind(CallID); in TEST()
176 TestMatch Match = matchCode(Code, callExpr().bind(Call)); in TEST()
215 matchCode(Code, declRefExpr(to(namedDecl(hasName("y")))).bind("yvar")); in TEST()
231 matchCode(Code, declRefExpr(to(namedDecl(hasName("y")))).bind("yvar")); in TEST()
[all …]

12345678910>>...150