Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp241 class TestResource : public GrGpuResource { class
250 TestResource(GrGpu* gpu, size_t size, GrGpuResource::LifeCycle lifeCycle) in TestResource() function in TestResource
259 TestResource(GrGpu* gpu, GrGpuResource::LifeCycle lifeCycle) in TestResource() function in TestResource
268 TestResource(GrGpu* gpu) in TestResource() function in TestResource
277 static TestResource* CreateScratch(GrGpu* gpu, SimulatedProperty property, bool cached = true) { in CreateScratch()
278 return new TestResource(gpu, property, cached, kScratchConstructor); in CreateScratch()
281 ~TestResource() { in ~TestResource()
293 void setUnrefWhenDestroyed(TestResource* resource) { in setUnrefWhenDestroyed()
312 TestResource(GrGpu* gpu, SimulatedProperty property, bool cached, ScratchConstructor) in TestResource() function in TestResource
326 TestResource* fToDelete;
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Djid_unittest.cc76 TEST(JidTest, TestResource) { in TEST() argument
/external/skia/include/gpu/
DGrResourceKey.h139 friend class TestResource; // For unit test to access kMetaDataCnt. variable
/external/v8/test/cctest/
Dtest-api.cc368 class TestResource: public String::ExternalStringResource { class
370 explicit TestResource(uint16_t* data, int* counter = NULL, in TestResource() function in TestResource
376 ~TestResource() { in ~TestResource()
434 TestResource* resource = new TestResource(two_byte_source, &dispose_count); in THREADED_TEST()
444 static_cast<TestResource*>(source->GetExternalStringResource())); in THREADED_TEST()
507 bool success = source->MakeExternal(new TestResource(two_byte_source, in THREADED_TEST()
664 new TestResource(two_byte_string)) in THREADED_TEST()
762 new TestResource(two_byte_string, &dispose_count)) in THREADED_TEST()
899 new TestResource(AsciiToTwoByteString(two_byte_extern_1))) in THREADED_TEST()
914 new TestResource(AsciiToTwoByteString(two_byte_extern_2))) in THREADED_TEST()
[all …]