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"
34 using namespace v8::internal;
125 v8::Persistent<v8::Context> env = v8::Context::New();
126 v8::HandleScope scope;
147 v8::Persistent<v8::Context> env = v8::Context::New();
148 v8::HandleScope scope;
168 env->Global()->Set(v8::String::New("Foo"), v8::Utils::ToLocal(function));
170 v8::Handle<v8::Value> result =
171 v8::Script::Compile(v8::String::New("(new Foo).get"))->Run();
185 // Use the lower half of the V8::Random() generator.