Searched defs:TestResource (Results 1 - 2 of 2) sorted by relevance
/external/skia/tests/ |
H A D | ResourceCacheTest.cpp | 175 class TestResource : public GrGpuResource { class in inherits:GrGpuResource 179 SK_DECLARE_INST_COUNT(TestResource); 184 TestResource(GrGpu* gpu, size_t size, GrGpuResource::LifeCycle lifeCycle) function in class:TestResource 193 TestResource(GrGpu* gpu, GrGpuResource::LifeCycle lifeCycle) function in class:TestResource 202 TestResource(GrGpu* gpu) function in class:TestResource 211 static TestResource* CreateScratch(GrGpu* gpu, SimulatedProperty property, bool cached = true) { 212 return SkNEW_ARGS(TestResource, (gpu, property, cached, kScratchConstructor)); 215 ~TestResource() { 227 void setUnrefWhenDestroyed(TestResource* resource) { 246 TestResource(GrGp function in class:TestResource [all...] |
/external/v8/test/cctest/ |
H A D | test-api.cc | 411 class TestResource: public String::ExternalStringResource { class in inherits:String::ExternalStringResource 413 explicit TestResource(uint16_t* data, int* counter = NULL, function in class:TestResource 419 ~TestResource() { 477 TestResource* resource = new TestResource(two_byte_source, &dispose_count); 485 static_cast<TestResource*>(source->GetExternalStringResource())); 544 bool success = source->MakeExternal(new TestResource(two_byte_source, 711 CcTest::isolate(), new TestResource(two_byte_string)); 754 CcTest::isolate(), new TestResource(two_byte_string, &dispose_count)); 883 new TestResource(AsciiToTwoByteStrin [all...] |
Completed in 116 milliseconds