Home | History | Annotate | Download | only in cctest

Lines Matching refs:v8

1 // Copyright 2011 the V8 project authors. All rights reserved.
28 #include "v8.h"
35 using ::v8::internal::CStrVector;
36 using ::v8::internal::Factory;
37 using ::v8::internal::Handle;
38 using ::v8::internal::Heap;
39 using ::v8::internal::Isolate;
40 using ::v8::internal::JSFunction;
41 using ::v8::internal::Object;
42 using ::v8::internal::Runtime;
43 using ::v8::internal::Script;
44 using ::v8::internal::SmartArrayPointer;
45 using ::v8::internal::SharedFunctionInfo;
46 using ::v8::internal::String;
49 static v8::Persistent<v8::Context> env;
54 v8::HandleScope scope;
55 env = v8::Context::New();
57 v8::HandleScope scope;
62 static void CheckFunctionName(v8::Handle<v8::Script> script,
66 Handle<Object> obj = v8::Utils::OpenHandle(*script);
106 static v8::Handle<v8::Script> Compile(const char* src) {
107 return v8::Script::Compile(v8::String::New(src));
113 v8::HandleScope scope;
115 v8::Handle<v8::Script> script = Compile(
125 v8::HandleScope scope;
127 v8::Handle<v8::Script> script = Compile(
137 v8::HandleScope scope;
139 v8::Handle<v8::Script> script = Compile(
151 v8::HandleScope scope;
153 v8::Handle<v8::Script> script = Compile(
165 v8::HandleScope scope;
167 v8::Handle<v8::Script> script = Compile(
181 v8::HandleScope scope;
183 v8::Handle<v8::Script> script = Compile(
199 v8::HandleScope scope;
201 v8::Handle<v8::Script> script = Compile(
217 v8::HandleScope scope;
219 v8::Handle<v8::Script> script = Compile(
231 v8::HandleScope scope;
233 v8::Handle<v8::Script> script = Compile(
247 v8::HandleScope scope;
249 v8::Handle<v8::Script> script = Compile(
260 v8::HandleScope scope;
262 v8::Handle<v8::Script> script = Compile(
272 // See http://code.google.com/p/v8/issues/detail?id=380
275 v8::HandleScope scope;
277 v8::Handle<v8::Script> script = Compile(
288 v8::HandleScope scope;
290 v8::Handle<v8::Script> script = Compile(
304 v8::HandleScope scope;
306 v8::Handle<v8::Script> script = Compile(
318 v8::HandleScope scope;
320 v8::Handle<v8::Script> script = Compile(
334 v8::HandleScope scope;
336 v8::Handle<v8::Script> script = Compile(
353 v8::HandleScope scope;
355 v8::Handle<v8::Script> script = Compile(
368 v8::HandleScope scope;
370 v8::Handle<v8::Script> script = Compile(
386 v8::HandleScope scope;
388 v8::Handle<v8::Script> script = Compile(