Home | History | Annotate | Download | only in cctest

Lines Matching defs:string

273       v8::Local<v8::String> foo = v8_str("foo");
473 v8::MaybeLocal<v8::String> source_str = v8::String::NewFromOneByte(
550 Handle<String> o = isolate->factory()->NewStringFromAsciiChecked("o");
585 v8::Local<v8::String> s = CompileRun("s")
909 Isolate* isolate, Handle<String> source, Handle<String> name,
927 Handle<String> orig_source = isolate->factory()
930 Handle<String> copy_source = isolate->factory()
939 CompileScript(isolate, orig_source, Handle<String>(), &cache,
947 copy = CompileScript(isolate, copy_source, Handle<String>(), &cache,
976 Handle<String> src = isolate->factory()
1007 Handle<String> orig_source = isolate->factory()
1010 Handle<String> copy_source = isolate->factory()
1020 CompileScript(isolate, orig_source, Handle<String>(), &cache,
1034 copy = CompileScript(isolate, copy_source, Handle<String>(), &cache,
1047 Handle<String> expected =
1050 CHECK(Handle<String>::cast(copy_result)->Equals(*expected));
1068 Handle<String> source_str =
1075 CompileScript(isolate, source_str, Handle<String>(), &cache,
1083 copy = CompileScript(isolate, source_str, Handle<String>(), &cache,
1118 Handle<String> source_str =
1127 CompileScript(isolate, source_str, Handle<String>(), &cache,
1133 copy = CompileScript(isolate, source_str, Handle<String>(), &cache,
1145 CHECK_EQ(6 * 1999999, Handle<String>::cast(copy_result)->length());
1152 // Make sure we do not serialize too much, e.g. include the source string.
1172 Handle<String> source_a_str =
1178 Handle<String> source_b_str =
1184 Handle<String> source_c_str =
1187 Handle<String> source_str =
1196 CompileScript(isolate, source_str, Handle<String>(), &cache,
1202 copy = CompileScript(isolate, source_str, Handle<String>(), &cache,
1221 v8::Local<v8::String> result_str =
1243 : public v8::String::ExternalOneByteStringResource {
1256 class SerializerTwoByteResource : public v8::String::ExternalStringResource {
1278 // Obtain external internalized one-byte string.
1280 Handle<String> one_byte_string =
1287 // Obtain external internalized two-byte string.
1289 Handle<String> two_byte_string =
1301 Handle<String> source_string = isolate->factory()
1309 CompileScript(isolate, source_string, Handle<String>(), &cache,
1315 copy = CompileScript(isolate, source_string, Handle<String>(), &cache,
1342 // Create a huge external internalized string to use as variable name.
1343 Vector<const uint8_t> string =
1346 Handle<String> name = f->NewStringFromOneByte(string).ToHandleChecked();
1348 reinterpret_cast<const char*>(string.start()), string.length());
1356 Handle<String> source_str =
1367 CompileScript(isolate, source_str, Handle<String>(), &cache,
1373 copy = CompileScript(isolate, source_str, Handle<String>(), &cache,
1387 string.Dispose();
1404 Handle<String> source_string =
1408 Handle<String> name =
1462 v8::Local<v8::String> source_str = v8_str(source);
1480 v8::Local<v8::String> result_string =
1507 v8::Local<v8::String> source_str = v8_str(source);
1548 v8::Local<v8::String> source_str = v8_str(source);
1577 v8::Local<v8::String> source_str = v8_str(source);
1609 v8::Local<v8::String> source_str = v8_str(source3);
1627 v8::Local<v8::String> result_str =
1645 v8::Local<v8::String> source_str = v8_str(source3);
1658 v8::Local<v8::String> result_str =
1785 v8::Local<v8::String> source_str = v8_str(source);
1819 Handle<String> source = isolate->factory()->NewStringFromAsciiChecked(
1823 source, Handle<String>(), 0, 0, v8::ScriptOriginOptions(),
1867 Handle<String> source = isolate->factory()->empty_string();