Lines Matching refs:TestResource
411 class TestResource: public String::ExternalStringResource {
413 explicit TestResource(uint16_t* data, int* counter = NULL,
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(AsciiToTwoByteString(two_byte_extern_1)));
895 new TestResource(AsciiToTwoByteString(two_byte_extern_2)));
15283 TestResource* uc16_resource = new TestResource(two_byte_string);
17966 explicit VisitorImpl(TestResource** resource) {
18010 TestResource* resource = new TestResource(
18049 TestResource* resource[4];
18050 resource[0] = new TestResource(two_byte_string);
18053 resource[1] = new TestResource(two_byte_string, NULL, false);
18058 resource[2] = new TestResource(two_byte_string, NULL, false);
18064 resource[3] = new TestResource(AsciiToTwoByteString("Some other string"));
19110 TestResource resource(uc16_buffer);
19189 new TestResource(string_contents, NULL, false));
19207 new TestResource(string_contents, NULL, false));
19230 new TestResource(string_contents + alignment, NULL, false));