Lines Matching refs:TestResource
411 class TestResource: public String::ExternalStringResource { class
413 explicit TestResource(uint16_t* data, int* counter = NULL, in TestResource() function in TestResource
419 ~TestResource() { in ~TestResource()
477 TestResource* resource = new TestResource(two_byte_source, &dispose_count); in THREADED_TEST()
485 static_cast<TestResource*>(source->GetExternalStringResource())); in THREADED_TEST()
544 bool success = source->MakeExternal(new TestResource(two_byte_source, in THREADED_TEST()
711 CcTest::isolate(), new TestResource(two_byte_string)); in THREADED_TEST()
754 CcTest::isolate(), new TestResource(two_byte_string, &dispose_count)); in THREADED_TEST()
883 new TestResource(AsciiToTwoByteString(two_byte_extern_1))); in THREADED_TEST()
895 new TestResource(AsciiToTwoByteString(two_byte_extern_2))); in THREADED_TEST()
15283 TestResource* uc16_resource = new TestResource(two_byte_string); in TEST()
17966 explicit VisitorImpl(TestResource** resource) { in VisitorImpl()
18010 TestResource* resource = new TestResource( in TEST()
18049 TestResource* resource[4]; in TEST()
18050 resource[0] = new TestResource(two_byte_string); in TEST()
18053 resource[1] = new TestResource(two_byte_string, NULL, false); in TEST()
18058 resource[2] = new TestResource(two_byte_string, NULL, false); in TEST()
18064 resource[3] = new TestResource(AsciiToTwoByteString("Some other string")); in TEST()
19110 TestResource resource(uc16_buffer); in THREADED_TEST()
19189 new TestResource(string_contents, NULL, false)); in TEST()
19207 new TestResource(string_contents, NULL, false)); in TEST()
19230 new TestResource(string_contents + alignment, NULL, false)); in TEST()