Home
last modified time | relevance | path

Searched refs:TestResource (Results 1 – 25 of 42) sorted by relevance

12

/external/skqp/tests/
DResourceCacheTest.cpp257 class TestResource : public GrGpuResource { class
266 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource() function in TestResource
276 static TestResource* CreateScratch(GrGpu* gpu, SkBudgeted budgeted, in CreateScratch()
278 return new TestResource(gpu, budgeted, property, kScratchConstructor, size); in CreateScratch()
280 static TestResource* CreateWrapped(GrGpu* gpu, GrWrapCacheable cacheable, in CreateWrapped()
282 return new TestResource(gpu, cacheable, size); in CreateWrapped()
285 ~TestResource() override { in ~TestResource()
291 void setUnrefWhenDestroyed(sk_sp<TestResource> resource) { in setUnrefWhenDestroyed()
309 TestResource(GrGpu* gpu, SkBudgeted budgeted, SimulatedProperty property, ScratchConstructor, in TestResource() function in TestResource
321 TestResource(GrGpu* gpu, GrWrapCacheable cacheable, size_t size) in TestResource() function in TestResource
[all …]
/external/skia/tests/
DResourceCacheTest.cpp235 class TestResource : public GrGpuResource { class
244 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource() function in TestResource
254 static TestResource* CreateScratch(GrGpu* gpu, SkBudgeted budgeted, in CreateScratch()
256 return new TestResource(gpu, budgeted, property, kScratchConstructor, size); in CreateScratch()
258 static TestResource* CreateWrapped(GrGpu* gpu, GrWrapCacheable cacheable, in CreateWrapped()
260 return new TestResource(gpu, cacheable, size); in CreateWrapped()
263 ~TestResource() override { in ~TestResource()
269 void setUnrefWhenDestroyed(sk_sp<TestResource> resource) { in setUnrefWhenDestroyed()
287 TestResource(GrGpu* gpu, SkBudgeted budgeted, SimulatedProperty property, ScratchConstructor, in TestResource() function in TestResource
299 TestResource(GrGpu* gpu, GrWrapCacheable cacheable, size_t size) in TestResource() function in TestResource
[all …]
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/
Dequal.pass.cpp43 TestResource d1(1); in main()
44 TestResource d2(1); in main()
60 TestResource d1; in main()
72 TestResource d1(42); in main()
73 TestResource d2(42); in main()
88 TestResource d1(42); in main()
101 TestResource d1(1); in main()
102 TestResource d2(2); in main()
119 TestResource d1; in main()
Dnot_equal.pass.cpp43 TestResource d1(1); in main()
44 TestResource d2(2); in main()
60 TestResource d1; in main()
72 TestResource d1(1); in main()
73 TestResource d2(1); in main()
90 TestResource d1; in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/
Dequal.pass.cpp43 TestResource d1(1); in main()
44 TestResource d2(1); in main()
60 TestResource d1; in main()
72 TestResource d1(42); in main()
73 TestResource d2(42); in main()
88 TestResource d1(42); in main()
101 TestResource d1(1); in main()
102 TestResource d2(2); in main()
119 TestResource d1; in main()
Dnot_equal.pass.cpp43 TestResource d1(1); in main()
44 TestResource d2(2); in main()
60 TestResource d1; in main()
72 TestResource d1(1); in main()
73 TestResource d2(1); in main()
90 TestResource d1; in main()
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.eq/
Dequal.pass.cpp36 TestResource r1(1); in main()
37 TestResource r2(1); in main()
51 TestResource r1(1); in main()
63 TestResource r1(1); in main()
64 TestResource r2(2); in main()
Dnot_equal.pass.cpp35 TestResource r1(1); in main()
36 TestResource r2(2); in main()
50 TestResource r1(1); in main()
51 TestResource r2(1); in main()
65 TestResource r1(1); in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource/memory.resource.eq/
Dnot_equal.pass.cpp36 TestResource r1(1); in main()
37 TestResource r2(2); in main()
51 TestResource r1(1); in main()
52 TestResource r2(1); in main()
66 TestResource r1(1); in main()
Dequal.pass.cpp35 TestResource r1(1); in main()
36 TestResource r2(1); in main()
50 TestResource r1(1); in main()
62 TestResource r1(1); in main()
63 TestResource r2(2); in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
Dallocate.pass.cpp36 TestResource R(42); in main()
74 TestResource R2; in main()
Ddtor.pass.cpp48 using TR = TestResource; in main()
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
Dallocate.pass.cpp37 TestResource R(42); in main()
75 TestResource R2; in main()
Ddtor.pass.cpp47 using TR = TestResource; in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_types.pass.cpp33 TestResource R;
97 TestResource R(12435); in test_pmr_uses_alloc()
130 TestResource R(12435); in test_pmr_not_uses_alloc()
Ddeallocate.pass.cpp31 TestResource R; in testForSizeAndAlign()
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_types.pass.cpp35 TestResource R;
99 TestResource R(12435); in test_pmr_uses_alloc()
132 TestResource R(12435); in test_pmr_not_uses_alloc()
Ddeallocate.pass.cpp31 TestResource R; in testForSizeAndAlign()
Dallocate.pass.cpp34 TestResource R; in testForSizeAndAlign()
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
Dmemory_resource_convert.pass.cpp41 TestResource R; in main()
Ddefault.pass.cpp37 TestResource R1(42); in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
Dmemory_resource_convert.pass.cpp42 TestResource R; in main()
Ddefault.pass.cpp37 TestResource R1(42); in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.global/
Ddefault_resource.pass.cpp41 TestResource R; in main()
/external/libcxx/test/std/experimental/memory/memory.resource.global/
Ddefault_resource.pass.cpp41 TestResource R; in main()

12