Home | History | Annotate | Download | only in cctest

Lines Matching refs:V8

1 // Copyright 2007-2010 the V8 project authors. All rights reserved.
31 #include "v8.h"
45 using namespace v8::internal;
104 v8::V8::Initialize();
109 CHECK_EQ(make_code(v8::internal::RUNTIME_FUNCTION, Runtime::kAbort),
144 v8::V8::Initialize();
150 decoder.Decode(make_code(v8::internal::RUNTIME_FUNCTION,
250 v8::Persistent<v8::Context> env = v8::Context::New();
259 v8::V8::Initialize();
267 v8::V8::Initialize();
282 v8::HandleScope scope;
298 v8::HandleScope scope;
301 v8::Persistent<v8::Context> env = v8::Context::New();
311 v8::HandleScope scope;
314 v8::Persistent<v8::Context> env = v8::Context::New();
324 v8::HandleScope scope;
327 v8::Persistent<v8::Context> env = v8::Context::New();
331 v8::Local<v8::String> source = v8::String::New(c_source);
332 v8::Local<v8::Script> script = v8::Script::Compile(source);
341 v8::HandleScope scope;
344 v8::Persistent<v8::Context> env = v8::Context::New();
348 v8::Local<v8::String> source = v8::String::New(c_source);
349 v8::Local<v8::Script> script = v8::Script::Compile(source);
357 v8::V8::Initialize();
359 v8::Persistent<v8::Context> env = v8::Context::New();
373 v8::HandleScope handle_scope;
374 v8::Local<v8::String> foo = v8::String::New("foo");
376 raw_foo = *(v8::Utils::OpenHandle(*foo));
461 v8::HandleScope handle_scope;
478 v8::V8::Initialize();
480 v8::Persistent<v8::Context> env = v8::Context::New();
499 Object* raw_context = *(v8::Utils::OpenHandle(*env));
544 v8::HandleScope handle_scope;
560 v8::V8::Initialize();