Home | History | Annotate | Download | only in src

Lines Matching defs:source

2 // Use of this source code is governed by a BSD-style license that can be
32 template <class Source>
34 DCHECK(0 <= index && index < Source::GetBuiltinsCount());
36 if (Source::GetSourceCache(heap)->get(index)->IsUndefined(isolate_)) {
38 Vector<const char> source = Source::GetScriptSource(index);
40 new NativesExternalStringResource(source.start(), source.length());
45 Source::GetSourceCache(heap)->set(index, *source_code);
47 Handle<Object> cached_source(Source::GetSourceCache(heap)->get(index),
589 Handle<String> source = factory->NewStringFromStaticChars("() {}");
590 Handle<Script> script = factory->NewScript(source);
593 empty_function->shared()->set_end_position(source->length());
2709 Handle<String> source, int argc,
2728 source, script_name, 0, 0, ScriptOriginOptions(), Handle<Object>(),
2768 Handle<String> source =
2770 ->NewExternalStringFromOneByte(extension->source())
2772 DCHECK(source->IsOneByteRepresentation());
2785 source, script_name, 0, 0, ScriptOriginOptions(), Handle<Object>(),