/external/angle/third_party/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 28 void RunFun(FunctionRef<void()> f) { f(); } in RunFun() 39 FunctionRef<int()> ref(&Function); in TEST() 44 FunctionRef<int()> ref(Function); in TEST() 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() 62 TEST(FunctionRef, ReturnMoveOnly) { in TEST() argument 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() 68 TEST(FunctionRef, ManyArgs) { in TEST() argument 70 FunctionRef<int(int, int, int)> ref(l); in TEST() 74 TEST(FunctionRef, VoidResultFromNonVoidFunctor) { in TEST() argument [all …]
|
D | function_ref.h | 64 class FunctionRef; variable 88 class FunctionRef<R(Args...)> { 101 FunctionRef(const F& f) // NOLINT(runtime/explicit) in FunctionRef() function 116 FunctionRef(F* f) // NOLINT(runtime/explicit) in FunctionRef() function 124 FunctionRef& operator=(const FunctionRef& rhs) = delete; 125 FunctionRef(const FunctionRef& rhs) = default;
|
D | function_ref_benchmark.cc | 59 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, in BM_TrivialFunctionRef() 71 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, LargeFunctor{}); in BM_LargeFunctionRef() 81 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, FreeFunction); in BM_FunPtrFunctionRef() 111 CallFunctionBenchmark<FunctionRef<void(int, int, int)>>( in BM_TrivialArgsFunctionRef() 135 FunctionRef<void(std::string, std::string, std::string)>>( in BM_NonTrivialArgsFunctionRef()
|
/external/webrtc/third_party/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 28 void RunFun(FunctionRef<void()> f) { f(); } in RunFun() 39 FunctionRef<int()> ref(&Function); in TEST() 44 FunctionRef<int()> ref(Function); in TEST() 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() 62 TEST(FunctionRef, ReturnMoveOnly) { in TEST() argument 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() 68 TEST(FunctionRef, ManyArgs) { in TEST() argument 70 FunctionRef<int(int, int, int)> ref(l); in TEST() 74 TEST(FunctionRef, VoidResultFromNonVoidFunctor) { in TEST() argument [all …]
|
D | function_ref.h | 64 class FunctionRef; variable 88 class FunctionRef<R(Args...)> { 101 FunctionRef(const F& f) // NOLINT(runtime/explicit) in FunctionRef() function 116 FunctionRef(F* f) // NOLINT(runtime/explicit) in FunctionRef() function 124 FunctionRef& operator=(const FunctionRef& rhs) = delete;
|
D | function_ref_benchmark.cc | 59 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, in BM_TrivialFunctionRef() 71 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, LargeFunctor{}); in BM_LargeFunctionRef() 81 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, FreeFunction); in BM_FunPtrFunctionRef() 111 CallFunctionBenchmark<FunctionRef<void(int, int, int)>>( in BM_TrivialArgsFunctionRef() 135 FunctionRef<void(std::string, std::string, std::string)>>( in BM_NonTrivialArgsFunctionRef()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 28 void RunFun(FunctionRef<void()> f) { f(); } in RunFun() 39 FunctionRef<int()> ref(&Function); in TEST() 44 FunctionRef<int()> ref(Function); in TEST() 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() 62 TEST(FunctionRef, ReturnMoveOnly) { in TEST() argument 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() 68 TEST(FunctionRef, ManyArgs) { in TEST() argument 70 FunctionRef<int(int, int, int)> ref(l); in TEST() 74 TEST(FunctionRef, VoidResultFromNonVoidFunctor) { in TEST() argument [all …]
|
D | function_ref.h | 64 class FunctionRef; variable 88 class FunctionRef<R(Args...)> { 101 FunctionRef(const F& f) // NOLINT(runtime/explicit) in FunctionRef() function 116 FunctionRef(F* f) // NOLINT(runtime/explicit) in FunctionRef() function 124 FunctionRef& operator=(const FunctionRef& rhs) = delete;
|
D | function_ref_benchmark.cc | 59 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, in BM_TrivialFunctionRef() 71 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, LargeFunctor{}); in BM_LargeFunctionRef() 81 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, FreeFunction); in BM_FunPtrFunctionRef() 111 CallFunctionBenchmark<FunctionRef<void(int, int, int)>>( in BM_TrivialArgsFunctionRef() 135 FunctionRef<void(std::string, std::string, std::string)>>( in BM_NonTrivialArgsFunctionRef()
|
/external/libtextclassifier/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 28 void RunFun(FunctionRef<void()> f) { f(); } in RunFun() 39 FunctionRef<int()> ref(&Function); in TEST() 44 FunctionRef<int()> ref(Function); in TEST() 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() 62 TEST(FunctionRef, ReturnMoveOnly) { in TEST() argument 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() 68 TEST(FunctionRef, ManyArgs) { in TEST() argument 70 FunctionRef<int(int, int, int)> ref(l); in TEST() 74 TEST(FunctionRef, VoidResultFromNonVoidFunctor) { in TEST() argument [all …]
|
D | function_ref.h | 64 class FunctionRef; variable 88 class FunctionRef<R(Args...)> { 101 FunctionRef(const F& f) // NOLINT(runtime/explicit) in FunctionRef() function 116 FunctionRef(F* f) // NOLINT(runtime/explicit) in FunctionRef() function 124 FunctionRef& operator=(const FunctionRef& rhs) = delete;
|
D | function_ref_benchmark.cc | 59 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, in BM_TrivialFunctionRef() 71 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, LargeFunctor{}); in BM_LargeFunctionRef() 81 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, FreeFunction); in BM_FunPtrFunctionRef() 111 CallFunctionBenchmark<FunctionRef<void(int, int, int)>>( in BM_TrivialArgsFunctionRef() 135 FunctionRef<void(std::string, std::string, std::string)>>( in BM_NonTrivialArgsFunctionRef()
|
/external/openscreen/third_party/abseil/src/absl/functional/ |
D | function_ref_test.cc | 28 void RunFun(FunctionRef<void()> f) { f(); } in RunFun() 39 FunctionRef<int()> ref(&Function); in TEST() 44 FunctionRef<int()> ref(Function); in TEST() 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() 62 TEST(FunctionRef, ReturnMoveOnly) { in TEST() argument 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() 68 TEST(FunctionRef, ManyArgs) { in TEST() argument 70 FunctionRef<int(int, int, int)> ref(l); in TEST() 74 TEST(FunctionRef, VoidResultFromNonVoidFunctor) { in TEST() argument [all …]
|
D | function_ref.h | 64 class FunctionRef; variable 88 class FunctionRef<R(Args...)> { 101 FunctionRef(const F& f) // NOLINT(runtime/explicit) in FunctionRef() function 116 FunctionRef(F* f) // NOLINT(runtime/explicit) in FunctionRef() function 124 FunctionRef& operator=(const FunctionRef& rhs) = delete;
|
D | function_ref_benchmark.cc | 59 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, in BM_TrivialFunctionRef() 71 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, LargeFunctor{}); in BM_LargeFunctionRef() 81 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, FreeFunction); in BM_FunPtrFunctionRef() 111 CallFunctionBenchmark<FunctionRef<void(int, int, int)>>( in BM_TrivialArgsFunctionRef() 135 FunctionRef<void(std::string, std::string, std::string)>>( in BM_NonTrivialArgsFunctionRef()
|
/external/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 28 void RunFun(FunctionRef<void()> f) { f(); } in RunFun() 39 FunctionRef<int()> ref(&Function); in TEST() 44 FunctionRef<int()> ref(Function); in TEST() 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() 62 TEST(FunctionRef, ReturnMoveOnly) { in TEST() argument 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() 68 TEST(FunctionRef, ManyArgs) { in TEST() argument 70 FunctionRef<int(int, int, int)> ref(l); in TEST() 74 TEST(FunctionRef, VoidResultFromNonVoidFunctor) { in TEST() argument [all …]
|
D | function_ref.h | 64 class FunctionRef; variable 88 class FunctionRef<R(Args...)> { 101 FunctionRef(const F& f) // NOLINT(runtime/explicit) in FunctionRef() function 116 FunctionRef(F* f) // NOLINT(runtime/explicit) in FunctionRef() function 124 FunctionRef& operator=(const FunctionRef& rhs) = delete;
|
D | function_ref_benchmark.cc | 59 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, in BM_TrivialFunctionRef() 71 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, LargeFunctor{}); in BM_LargeFunctionRef() 81 ConstructAndCallFunctionBenchmark<FunctionRef<void()>>(state, FreeFunction); in BM_FunPtrFunctionRef() 111 CallFunctionBenchmark<FunctionRef<void(int, int, int)>>( in BM_TrivialArgsFunctionRef() 135 FunctionRef<void(std::string, std::string, std::string)>>( in BM_NonTrivialArgsFunctionRef()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | isolate_placer_inspection_required_ops_pass_test.cc | 98 {"f", FDH::FunctionRef("ResourceIdentity", {})}}), in TEST() 111 {"f", FDH::FunctionRef("ResourceIdentity", {})}}), in TEST() 137 {"f", FDH::FunctionRef("ResourceIdentity", {})}}), in TEST() 147 {"f", FDH::FunctionRef("ResourceIdentity", {})}}), in TEST() 179 {"f", FDH::FunctionRef("Swap", {{"T", DT_RESOURCE}})}}), in TEST() 195 {"f", FDH::FunctionRef("Swap", {{"T", DT_RESOURCE}})}}), in TEST() 227 {"f", FDH::FunctionRef("Swap", {{"T", DT_RESOURCE}})}}), in TEST() 242 {"f", FDH::FunctionRef("Swap", {{"T", DT_RESOURCE}})}}), in TEST() 274 {"f", FDH::FunctionRef("Swap", {{"T", DT_RESOURCE}})}}), in TEST() 291 {"f", FDH::FunctionRef("Swap", {{"T", DT_RESOURCE}})}}), in TEST() [all …]
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | map_dataset_op_test.cc | 32 FunctionDefHelper::FunctionRef("XTimesTwo", {{"T", DT_INT64}}), in MapDatasetParams1() 44 FunctionDefHelper::FunctionRef("XTimesTwo", {{"T", DT_INT64}}), in MapDatasetParams1() 67 FunctionDefHelper::FunctionRef("XAddX", {{"T", DT_INT64}}), in MapDatasetParams2() 84 FunctionDefHelper::FunctionRef("XTimesFour", {{"T", DT_INT64}}), in MapDatasetParams3()
|
D | map_defun_op_test.cc | 133 {FunctionDefHelper::FunctionRef("XTimesTwo", {{"T", DT_INT64}})}, in TestCase1() 154 {FunctionDefHelper::FunctionRef("XAddY", {{"T", DT_INT64}})}, in TestCase2() 175 {FunctionDefHelper::FunctionRef("XAddY", {{"T", DT_INT64}})}, in TestCase3() 194 {FunctionDefHelper::FunctionRef("XAddY", {{"T", DT_INT64}})}, in InvalidOutputTypes() 212 {FunctionDefHelper::FunctionRef("XAddY", {{"T", DT_INT64}})}, in InvalidOutputShapes() 231 {FunctionDefHelper::FunctionRef("XAddY", {{"T", DT_INT64}})}, in InvalidInputs()
|
D | filter_dataset_op_test.cc | 92 /*pred_func=*/FunctionDefHelper::FunctionRef("IsZero", {{"T", DT_INT64}}), in FilterDatasetParams1() 109 /*pred_func=*/FunctionDefHelper::FunctionRef("IsZero", {{"T", DT_INT64}}), in FilterDatasetParams2() 127 FunctionDefHelper::FunctionRef("GetUnique", in InvalidPredFuncFilterDatasetParams1() 146 FunctionDefHelper::FunctionRef("IsZero", {{"T", DT_INT64}}), in InvalidPredFuncFilterDatasetParams2() 164 FunctionDefHelper::FunctionRef("NonZero", {{"T", DT_INT64}}), in InvalidPredFuncFilterDatasetParams3()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | graph_test_utils.cc | 60 {{"predicate", FunctionDefHelper::FunctionRef(string(function_name))}, in MakeFilterNode() 75 {{"f", FunctionDefHelper::FunctionRef(string(function_name))}, in MakeMapAndBatchNode() 85 {{"f", FunctionDefHelper::FunctionRef(string(function_name))}, in MakeMapNode() 102 {"f", FunctionDefHelper::FunctionRef(string(function_name))}, in MakeParallelInterleaveV2Node() 117 {"f", FunctionDefHelper::FunctionRef(string(function_name))}, in MakeParallelMapNode()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | call.h | 218 template <typename A> class FunctionRef : public ProcedureRef { 221 CLASS_BOILERPLATE(FunctionRef) in CLASS_BOILERPLATE() argument 222 explicit FunctionRef(ProcedureRef &&pr) : ProcedureRef{std::move(pr)} {} in CLASS_BOILERPLATE() 223 FunctionRef(ProcedureDesignator &&p, ActualArguments &&a) in FunctionRef() function 230 FOR_EACH_SPECIFIC_TYPE(extern template class FunctionRef, )
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_grad_test.cc | 45 {{"f", FDH::FunctionRef("Pack", in PackGrad() 86 {{"f", FDH::FunctionRef("Unpack", in UnpackGrad() 126 {{"f", FDH::FunctionRef("Concat", {{"N", 2}, {"T", T}})}, in ConcatGrad() 150 {{"f", FDH::FunctionRef("ConcatV2", {{"N", 2}, {"T", T}})}, in ConcatGradV2() 222 {{"f", FDH::FunctionRef( in SplitGrad() 253 {{"f", FDH::FunctionRef("SplitV", {{"split_dim", dim}, in SplitVGrad() 315 {{"f", FDH::FunctionRef("Reshape", {{"T", T}})}, in ReshapeGrad() 354 {{"f", FDH::FunctionRef("ExpandDims", {{"T", T}})}, in ExpandDimsGrad() 391 {{"f", FDH::FunctionRef("Squeeze", {{"T", T}})}, in SqueezeGrad() 422 {{"f", FDH::FunctionRef("Transpose", {{"T", T}})}, in TransposeGrad() [all …]
|