Lines Matching defs:source
2 // Redistribution and use in source and binary forms, with or without
6 // * Redistributions of source code must retain the above copyright
183 // Source containing functions that might be lazily compiled and all types
185 const char* source =
196 int source_length = i::StrLength(source);
201 v8::ScriptData::PreCompile(source, source_length);
206 ScriptResource* resource = new ScriptResource(source, source_length);
214 ScriptResource* resource = new ScriptResource(source, source_length);
229 // Error is at "z" in source, location 10..11.
355 i::Handle<i::String> source(
357 i::ScriptDataImpl* data = i::ParserApi::PartialPreParse(source, NULL, false);
818 // nested in the global scope of a program. 'inner source' is the
819 // source code that determines the part of the source belonging
821 // parts of the source that belong to the global scope.
1014 // Parse program source.
1015 i::Handle<i::String> source(
1017 CHECK_EQ(source->length(), kProgramSize);
1018 i::Handle<i::Script> script = FACTORY->NewScript(source);
1043 void TestParserSync(i::Handle<i::String> source, int flags) {
1050 i::GenericStringUtf16CharacterStream stream(source, 0, source->length());
1060 i::Handle<i::Script> script = FACTORY->NewScript(source);
1091 *source->ToCString(), data.BuildMessage());
1100 *source->ToCString(), *type_string->ToCString());
1113 *source->ToCString(), *type_string->ToCString(), data.BuildMessage());
1120 void TestParserSyncWithFlags(i::Handle<i::String> source) {
1132 TestParserSync(source, flags[k]);
1223 // Plug the source code pieces together.
1232 i::Handle<i::String> source =
1234 TestParserSyncWithFlags(source);