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
157 Local<String> source = String::New(c_source);
158 Local<Script> script = Script::Compile(source);
321 Local<String> source = String::New(c_source);
322 Local<Script> script = Script::Compile(source);
327 static uint16_t* AsciiToTwoByteString(const char* source) {
328 int array_length = i::StrLength(source) + 1;
330 for (int i = 0; i < array_length; i++) converted[i] = source[i];
393 Local<String> source = String::NewExternal(resource);
394 Local<Script> script = Script::Compile(source);
398 CHECK(source->IsExternal());
400 static_cast<TestResource*>(source->GetExternalStringResource()));
416 Local<String> source =
419 Local<Script> script = Script::Compile(source);
438 Local<String> source = String::New(two_byte_source);
442 bool success = source->MakeExternal(new TestResource(two_byte_source,
445 Local<Script> script = Script::Compile(source);
464 Local<String> source = v8_str(c_source);
468 bool success = source->MakeExternal(
471 Local<Script> script = Script::Compile(source);
675 Local<String> source = String::NewExternal(&res_stack);
676 Local<Script> script = Script::Compile(source);
696 Local<String> source = String::NewExternal(res_heap);
697 Local<Script> script = Script::Compile(source);
728 Local<String> source = String::Concat(left, right);
731 source = String::Concat(source, right);
734 source = String::Concat(source, right);
736 source = String::Concat(source, right);
742 source = String::Concat(source, right);
745 source = String::Concat(source, right);
746 Local<Script> script = Script::Compile(source);
4346 Local<String> source = v8_str("Object.prototype.obj = 1234;"
4351 Local<Script> script0 = Script::Compile(source);
4355 Local<Script> script1 = Script::Compile(source);
4459 Local<String> source = v8_str("undetectable.x = 42;"
4462 Local<Script> script = Script::Compile(source);
4468 source = v8_str("Object.preventExtensions(undetectable);");
4469 script = Script::Compile(source);
4473 source = v8_str("undetectable.y = 2000;");
4474 script = Script::Compile(source);
4786 const char* source,
4788 : Extension(name, source),
8596 const char* source,
8603 v8::Handle<Value> value = CompileRun(source);
10833 const char* source = sources[i];
10836 CompileRun(source);
10840 CompileRun(source);
10950 v8::Handle<v8::String> source = v8::String::New(
10968 script = v8::Script::Compile(source, v8::String::New(resource_name));
10973 script = v8::Script::Compile(source, &origin1);
10978 script = v8::Script::Compile(source, &origin2);
11311 static const char* source = "function f1() {return a;}"
11317 CompileRun(source);
11362 // Now compile the source again. And get the newly compiled functions, except
11364 CompileRun(source);
11480 Local<String> source = String::New(script);
11481 Local<Script> compiled_script = Script::New(source, NULL, sd);
11496 compiled_script = Script::New(source, NULL, sd);
11658 Local<String> source = String::New(c_source);
11659 Local<Script> script = Script::Compile(source);
11671 Local<String> source = String::New(c_source);
11672 Local<Script> script = Script::Compile(source);
11783 Local<String> source = String::New(c_source);
11784 Local<Script> script = Script::Compile(source);
11998 v8::Local<v8::String> source = v8::String::NewExternal(&uc16_resource);
11999 v8::Script::Compile(source);
12094 Local<String> source = String::New(c_source);
12095 Local<Script> script = Script::Compile(source);
13575 const char *source = "foo";
13576 v8::Handle<v8::Script> dep = v8::Script::Compile(v8::String::New(source));
13577 v8::Handle<v8::Script> indep = v8::Script::New(v8::String::New(source));
13592 const char *source = "function foo() { FAIL.FAIL; }; foo();";
13593 v8::Handle<v8::String> src = v8::String::New(source);
13641 // This is the source string inside the eval which has the call to foo.
13663 // This is the source string inside the eval which has the call to baz.
13803 const char* source =
13818 CompileRun(source);
13843 const char* source =
13854 CompileRun(source);
13875 const char* source =
13880 CompileRun(source);
13900 const char* source =
13905 CompileRun(source);
13934 const char *source =
13946 CHECK(CompileRun(source)->IsUndefined());
14586 const char* source = "function C1() {"
14601 CompileRun(source);
14620 CompileRun(source);