Home
last modified time | relevance | path

Searched refs:cref (Results 1 – 25 of 113) sorted by relevance

12345

/external/openscreen/platform/impl/
Dsocket_handle_waiter_posix_unittest.cc58 waiter.Subscribe(&subscriber, std::cref(handle0_ref)); in TEST()
59 waiter.Subscribe(&subscriber, std::cref(handle1_ref)); in TEST()
60 waiter.Subscribe(&subscriber, std::cref(handle2_ref)); in TEST()
81 waiter.Subscribe(&subscriber, std::cref(handle0_ref)); in TEST()
82 waiter.Subscribe(&subscriber, std::cref(handle2_ref)); in TEST()
83 waiter.Subscribe(&subscriber2, std::cref(handle1_ref)); in TEST()
84 waiter.Subscribe(&subscriber2, std::cref(handle3_ref)); in TEST()
89 EXPECT_CALL(subscriber, ProcessReadyHandle(std::cref(handle0_ref), r_flags)) in TEST()
91 EXPECT_CALL(subscriber, ProcessReadyHandle(std::cref(handle2_ref), w_flags)) in TEST()
93 EXPECT_CALL(subscriber2, ProcessReadyHandle(std::cref(handle1_ref), r_flags)) in TEST()
[all …]
Dudp_socket_reader_posix.cc44 waiter_->Subscribe(this, std::cref(read_socket->GetHandle())); in OnCreate()
62 waiter_->OnHandleDeletion(this, std::cref(socket->GetHandle()), in OnDelete()
/external/llvm-project/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/
Dcref_2.pass.cpp22 void cref(A) {} in cref() function
28 std::reference_wrapper<const int> r1 = std::cref(i); in main()
29 std::reference_wrapper<const int> r2 = std::cref(r1); in main()
34 std::reference_wrapper<const adl::A> a1 = std::cref(a); in main()
35 std::reference_wrapper<const adl::A> a2 = std::cref(a1); in main()
Dcref_1.pass.cpp23 std::reference_wrapper<const int> r = std::cref(i); in main()
Dcref.incomplete.pass.cpp31 std::reference_wrapper<Foo const> ref = std::cref(foo); in test()
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
Dget_const_rv.fail.cpp21 template <class T> void cref(T const&) {} in cref() function
22 template <class T> void cref(T const&&) = delete;
31 cref(std::get<0>(tup4())); // expected-error {{call to deleted function 'cref'}} in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
Dget_const_rv.fail.cpp22 template <class T> void cref(T const&) {} in cref() function
23 template <class T> void cref(T const&&) = delete;
32 cref(std::get<0>(tup4())); // expected-error {{call to deleted function 'cref'}} in main()
/external/llvm-project/clang/test/SemaCXX/
Dcxx2a-pointer-to-const-ref-member.cpp5 void cref() const& {} in cref() function
11 X{}.cref(); // expected-no-error in test()
15 (X{}.*&X::cref)(); // expected-no-error in test()
/external/tensorflow/tensorflow/core/lib/core/
Drefcount_test.cc77 const MyRef* cref = new MyRef; in TEST_F() local
80 cref->Ref(); in TEST_F()
82 cref->Unref(); in TEST_F()
84 cref->Unref(); in TEST_F()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-reserved-identifier-invert.cpp58 cref(const Up &u) noexcept { in cref() function
66 cref(reference_wrapper<const _Tp> __t) noexcept { in cref() function
67 return cref(__t.get()); in cref()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_test.cc61 mock, TestOneInput(AllOf(IsMessageEq(std::cref(msg)), IsInitialized()))); in TEST()
66 mock, TestOneInput(AllOf(IsMessageEq(std::cref(msg)), IsInitialized()))); in TEST()
75 mock, TestOneInput(AllOf(IsMessageEq(std::cref(msg)), IsInitialized()))); in TEST()
88 mock, TestOneInput(AllOf(IsMessageEq(std::cref(msg)), IsInitialized()))); in TEST()
/external/libdrm/radeon/
Dradeon_bo.c41 op, bo, bo->handle, boi->size, boi->cref); in radeon_bo_debug()
56 boi->cref++; in radeon_bo_ref()
66 boi->cref--; in radeon_bo_unref()
124 return boi->cref > 1; in radeon_bo_is_referenced_by_cs()
Dradeon_bo_int.h17 unsigned cref; member
/external/python/pycparser/tests/
Dtest_c_ast.py29 cref = wr()
30 self.assertEqual(cref.type, 'float')
36 cref = wr()
37 self.assertEqual(cref.line, 2)
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/
Dcref_2.pass.cpp22 std::reference_wrapper<const int> r1 = std::cref(i); in main()
23 std::reference_wrapper<const int> r2 = std::cref(r1); in main()
Dcref_1.pass.cpp22 std::reference_wrapper<const int> r = std::cref(i); in main()
/external/skqp/bench/
DShapesBench.cpp178 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2); in onDelayedSetup()
181 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
184 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup()
201 std::cref(*outer), std::cref(*inner), in onDelayedSetup()
/external/skia/bench/
DShapesBench.cpp180 fShapes[i].fDraw = bind(&SkCanvas::drawRect, _1, cref(fRect.rect()), _2); in onDelayedSetup()
183 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
186 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup()
203 std::cref(*outer), std::cref(*inner), in onDelayedSetup()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DPR20855_tuple_ref_binding_diagnostics.pass.cpp113 std::tuple<int const&> t2(std::cref(x)); in allocator_tests()
117 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in allocator_tests()
122 auto cr = std::cref(x); in allocator_tests()
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DPR20855_tuple_ref_binding_diagnostics.pass.cpp112 std::tuple<int const&> t2(std::cref(x)); in allocator_tests()
116 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in allocator_tests()
121 auto cr = std::cref(x); in allocator_tests()
/external/tensorflow/tensorflow/stream_executor/
Ddevice_memory_allocator.h107 const DeviceMemory<ElemT> &cref() const { return wrapped_; } in cref() function
118 const DeviceMemory<ElemT> &operator*() const { return cref(); }
/external/llvm-project/lld/test/ELF/
Djust-symbols-cref.s6 # RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe -cref | FileCheck %s
/external/curl/src/
Dmakefile.amiga43 $(CC) $(CFLAGS) -o curl $(OBJS) $(LIBS) -Wl,-Map,curl.map,--cref
/external/llvm-project/clang/lib/Tooling/Refactoring/
DASTSelection.cpp351 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
359 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
364 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind()
/external/libcxx/test/std/containers/sequences/list/list.ops/
Dsort_comp.pass.cpp61 c1.sort(std::cref(comp)); in main()

12345