Home
last modified time | relevance | path

Searched refs:FunctionObject (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/
H A Dfunction_types.h13 class FunctionObject
20 FunctionObject() { in FunctionObject() function
25 FunctionObject(const FunctionObject&) {++count;} in FunctionObject() function
26 ~FunctionObject() {--count; ((void)data_); } in ~FunctionObject()
34 int FunctionObject::count = 0;
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc_function.pass.cpp36 std::function<FuncType> f = FunctionObject(); in test_FunctionObject()
37 assert(FunctionObject::count == 1); in test_FunctionObject()
39 RTTI_ASSERT(f.template target<FunctionObject>()); in test_FunctionObject()
44 assert(FunctionObject::count == 2); in test_FunctionObject()
46 RTTI_ASSERT(f2.template target<FunctionObject>()); in test_FunctionObject()
50 assert(FunctionObject::count == 0); in test_FunctionObject()
H A Dalloc_F.pass.cpp48 FunctionObject target; in test_FunctionObject()
49 assert(FunctionObject::count == 1); in test_FunctionObject()
52 assert(FunctionObject::count == 2); in test_FunctionObject()
54 assert(f2.template target<FunctionObject>()); in test_FunctionObject()
58 assert(FunctionObject::count == 0); in test_FunctionObject()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.req/rand.req.urng/
H A Duniform_random_bit_generator.compile.pass.cpp53 struct FunctionObject { struct
56 static_assert(!std::uniform_random_bit_generator<FunctionObject>);
68 struct FunctionObject { struct
71 static_assert(!std::uniform_random_bit_generator<FunctionObject>);
/llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/
H A DRemarkSizeDiff.cpp426 json::Object FunctionObject({{"FunctionName", Diff.FuncName}, in getFunctionDiffListAsJSON() local
429 FunctionDiffsAsJSON.push_back(std::move(FunctionObject)); in getFunctionDiffListAsJSON()